diff options
| author | 2013-11-04 14:15:59 -0800 | |
|---|---|---|
| committer | 2013-11-04 14:15:59 -0800 | |
| commit | aff58561e94396f2078c4f724cc50ab8acf26898 (patch) | |
| tree | 6aad9fbd05ed6b3cbd690ae7b71e2d3785193f54 /public/themes/default | |
| parent | cabacaff97f45ab858cc68fe00b0dd2585b6af02 (diff) | |
| parent | e7dd4829799e9e14456e1b1fc3aca20412394798 (diff) | |
Merge pull request #214 from Alkarex/updateUnreads
Mise à jour automatique des nombres d'articles non lus et favoris
Diffstat (limited to 'public/themes/default')
| -rw-r--r-- | public/themes/default/freshrss.css | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/public/themes/default/freshrss.css b/public/themes/default/freshrss.css index bf4b0ab09..144c77c92 100644 --- a/public/themes/default/freshrss.css +++ b/public/themes/default/freshrss.css @@ -93,9 +93,7 @@ text-align: center; list-style: none; } - .categories .all, - .categories .favorites, - .categories .category { + .category { display: block; padding: 5px 0; width: 220px; @@ -105,12 +103,23 @@ white-space: nowrap; text-overflow: ellipsis; } - .categories .all .btn, - .categories .favorites .btn, - .categories .category .btn:first-child { + .category .btn:first-child { width: 195px; position: relative; } + .category .btn:first-child:not([data-unread="0"]):after { + content: attr(data-unread); + position: absolute; + top: 3px; right: 3px; + padding: 1px 5px; + background: #ccc; + color: #fff; + font-size: 90%; + border: 1px solid #bbb; + border-radius: 5px; + box-shadow: 1px 3px 3px #aaa inset; + text-shadow: 0 0 1px #aaa; + } .categories .feeds { width: 100%; margin: 0; @@ -146,6 +155,12 @@ white-space: nowrap; text-overflow: ellipsis; } + .feed:not([data-unread="0"]) { + font-weight:bold; + } + .feed:not([data-unread="0"]):before { + content: "(" attr(data-unread) ") "; + } .categories .feeds .dropdown .dropdown-menu { left: 0; } @@ -163,18 +178,6 @@ background-color: #fff; border-radius: 3px; } - .categories .notRead { - position: absolute; - top: 3px; right: 3px; - padding: 1px 5px; - background: #ccc; - color: #fff; - font-size: 90%; - border: 1px solid #bbb; - border-radius: 5px; - box-shadow: 1px 3px 3px #aaa inset; - text-shadow: 0 0 1px #aaa; - } .post { padding: 10px 50px; |
