aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Origine/freshrss.css
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-02-18 19:56:26 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-02-18 19:56:26 +0100
commite50fb4179f91ec3711b0fd602a749c447d0e141d (patch)
tree37cfb58f96353369dae56f790998d88898aa94ac /p/themes/Origine/freshrss.css
parentd51048196bdddd9909d88cef05d3ebdfaac36234 (diff)
Improve notification design on mobile
Impact all themes: - Notification is extended from left to right and top (0px) - Close button is hidden: by clicking (or touching) notification it will close the notification See #427
Diffstat (limited to 'p/themes/Origine/freshrss.css')
-rw-r--r--p/themes/Origine/freshrss.css23
1 files changed, 18 insertions, 5 deletions
diff --git a/p/themes/Origine/freshrss.css b/p/themes/Origine/freshrss.css
index e605465dc..86bd508df 100644
--- a/p/themes/Origine/freshrss.css
+++ b/p/themes/Origine/freshrss.css
@@ -598,11 +598,11 @@
background: #f4a899;
}
#notification a.close {
+ position: absolute;
+ top: -10px; right: -10px;
display: inline-block;
width: 16px;
height: 16px;
- float: right;
- margin: -20px -20px 0 0;
padding: 5px;
background: #fff;
border-radius: 50px;
@@ -790,10 +790,23 @@ select.number option {
text-shadow: none;
}
- .notification,
+ #notification,
.actualizeProgress {
- left: 10px;
- right: 10px;
+ top: 0;
+ left: 0;
+ right: 0;
+ border-radius: 0;
+ }
+ #notification a.close {
+ left: 0; right: 0;
+ top: 0; bottom: 0;
+ width: auto;
+ height: auto;
+ background: transparent;
+ border: none;
+ }
+ #notification a.close .icon {
+ display: none;
}
}