summaryrefslogtreecommitdiff
path: root/p/themes/Flat
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-02-13 21:01:12 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-02-13 21:01:12 +0100
commit178af19fb0e7c13015e991593feea6a5f4aafcc0 (patch)
treea24f99372a88e14e67f38ae9478f7d38508c0e2e /p/themes/Flat
parentc33b13809ef4e1941d3655479db8c5fcf5731013 (diff)
Add possibility to open notification in JavaScript + new message
Notifications can be opened directly in JavaScript Class .notification is now id #notification New message when there is no feed to refresh See 06abbd02c2d10934155b2464f73d8ecdb2a68de1 (comments)
Diffstat (limited to 'p/themes/Flat')
-rw-r--r--p/themes/Flat/freshrss.css15
1 files changed, 9 insertions, 6 deletions
diff --git a/p/themes/Flat/freshrss.css b/p/themes/Flat/freshrss.css
index 19f5967ea..edd67e17c 100644
--- a/p/themes/Flat/freshrss.css
+++ b/p/themes/Flat/freshrss.css
@@ -561,7 +561,7 @@ body {
}
/*** NOTIFICATION ***/
-.notification {
+#notification {
position: absolute;
top: 10px;
left: 25%; right: 25%;
@@ -575,15 +575,18 @@ body {
font-weight: bold;
z-index: 10;
}
- .notification.good {
+ #notification.closed {
+ display: none;
+ }
+ #notification.good {
background: #1abc9c;
color: #fff;
}
- .notification.bad {
+ #notification.bad {
background: #e74c3c;
color: #fff;
}
- .notification a.close {
+ #notification a.close {
display: inline-block;
width: 16px;
height: 16px;
@@ -593,10 +596,10 @@ body {
border-radius: 3px;
line-height: 16px;
}
- .notification.good a.close {
+ #notification.good a.close {
background: #1abc9c;
}
- .notification.bad a.close {
+ #notification.bad a.close {
background: #e74c3c;
}