aboutsummaryrefslogtreecommitdiff
path: root/public/themes/flat-design
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-04 14:15:59 -0800
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-04 14:15:59 -0800
commitaff58561e94396f2078c4f724cc50ab8acf26898 (patch)
tree6aad9fbd05ed6b3cbd690ae7b71e2d3785193f54 /public/themes/flat-design
parentcabacaff97f45ab858cc68fe00b0dd2585b6af02 (diff)
parente7dd4829799e9e14456e1b1fc3aca20412394798 (diff)
Merge pull request #214 from Alkarex/updateUnreads
Mise à jour automatique des nombres d'articles non lus et favoris
Diffstat (limited to 'public/themes/flat-design')
-rw-r--r--public/themes/flat-design/freshrss.css35
1 files changed, 19 insertions, 16 deletions
diff --git a/public/themes/flat-design/freshrss.css b/public/themes/flat-design/freshrss.css
index ede188ccb..60c454bbe 100644
--- a/public/themes/flat-design/freshrss.css
+++ b/public/themes/flat-design/freshrss.css
@@ -92,9 +92,7 @@ body {
text-align: center;
list-style: none;
}
- .categories .all,
- .categories .favorites,
- .categories .category {
+ .category {
display: block;
padding: 5px 0;
width: 220px;
@@ -104,12 +102,21 @@ body {
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: 5px; right: 0px;
+ padding: 0 5px;
+ color: #fff;
+ font-size: 90%;
+ background: #3498DB;
+ border-left: 3px solid #2980B9;
+ border-radius: 5px 0 0 5px;
+ }
.categories .feeds {
width: 220px;
margin: 0 auto;
@@ -138,6 +145,12 @@ body {
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;
}
@@ -155,16 +168,6 @@ body {
background-color: #95a5a6;
border-radius: 3px;
}
- .categories .notRead {
- position: absolute;
- top: 5px; right: 0px;
- padding: 0 5px;
- color: #fff;
- font-size: 90%;
- background: #3498DB;
- border-left: 3px solid #2980B9;
- border-radius: 5px 0 0 5px;
- }
.categories .btn:hover .notRead,
.categories .btn.active .notRead {
background: #2980B9;