diff --git a/static/paper_list.js b/static/paper_list.js index 30458f5..61c8504 100644 --- a/static/paper_list.js +++ b/static/paper_list.js @@ -65,8 +65,9 @@ const PaperList = props => { const Tag = props => { const t = props.tag; const turl = "/?rank=tags&tags=" + t.name; + const tag_class = 'rel_utag' + (t.name === 'all' ? ' rel_utag_all' : ''); return ( -
+
{t.n} {t.name} diff --git a/static/style.css b/static/style.css index b9d0658..e4cc133 100644 --- a/static/style.css +++ b/static/style.css @@ -99,6 +99,9 @@ body { border-radius: 4px; cursor: pointer; } +.rel_utag_all { /* distinguishes the special 'all' tag from others */ + background-color: #909; +} .rel_utag_add { /* adds a paper to a tag */ background-color: #55f; margin-right: 2px;