diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-03-09 09:00:09 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-03-09 09:00:09 +0100 |
| commit | b11c1f57a95e689a751c4dff72ebe7aabc9c0601 (patch) | |
| tree | b2596b07c3482c76493cc61974932cdf33e296ab /src/components/notifications/notifications.scss | |
| parent | 502757da28d573641a48197c284b7e40dfc8154e (diff) | |
| parent | ba4f7ef3efe15aaebce523113283b5854d16ceb8 (diff) | |
Merge branch 'develop' into xj9/pleroma-fe-feature/even-better-nsfw-image-loading
Diffstat (limited to 'src/components/notifications/notifications.scss')
| -rw-r--r-- | src/components/notifications/notifications.scss | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss index 100349eb..6ad7ec1e 100644 --- a/src/components/notifications/notifications.scss +++ b/src/components/notifications/notifications.scss @@ -6,13 +6,26 @@ // force the text to stay centered, while keeping // the button in the right side of the panel heading position: relative; - button { + .read-button { position: absolute; padding: 0.1em 0.3em 0.25em 0.3em; - right: 0.6em; + right: 0.7em; } } + .unseen-count { + display: inline-block; + background-color: rgba(255, 16, 8, 0.8); + text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5); + min-width: 1.3em; + border-radius: 1.3em; + margin: 0 0.2em 0 -0.4em; + color: white; + font-size: 0.9em; + text-align: center; + line-height: 1.3em; + } + .notification { // Will have to use pixels here to ensure consistent distance with // pad alone and pad + border, browsers bad at rounding this with em, @@ -64,7 +77,7 @@ } .unseen { - border-left: 4px solid rgba(255, 48, 16, 0.65); + border-left: 4px solid rgba(255, 16, 8, 0.75); padding-left: 6px; } } |
