diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-06-15 09:43:48 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-06-23 09:42:20 +0200 |
commit | e0f9010ec2a558f6cf7d16fb96a2c4cdb34e3f37 (patch) | |
tree | 904f42fa442188bf456b9773295fb9582634ba6c /app/Resources/static/themes/material/css/notifications.scss | |
parent | 29714661b1df78871ceaf0e079f11041a8641d4b (diff) | |
download | wallabag-e0f9010ec2a558f6cf7d16fb96a2c4cdb34e3f37.tar.gz wallabag-e0f9010ec2a558f6cf7d16fb96a2c4cdb34e3f37.tar.zst wallabag-e0f9010ec2a558f6cf7d16fb96a2c4cdb34e3f37.zip |
Notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/Resources/static/themes/material/css/notifications.scss')
-rw-r--r-- | app/Resources/static/themes/material/css/notifications.scss | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/css/notifications.scss b/app/Resources/static/themes/material/css/notifications.scss new file mode 100644 index 00000000..60114ce4 --- /dev/null +++ b/app/Resources/static/themes/material/css/notifications.scss | |||
@@ -0,0 +1,38 @@ | |||
1 | @mixin notification { | ||
2 | .notifications-area { | ||
3 | flex-grow: 1; | ||
4 | |||
5 | .collection { | ||
6 | margin: auto; | ||
7 | } | ||
8 | } | ||
9 | |||
10 | .no-notifications { | ||
11 | position: absolute; | ||
12 | top: 40%; | ||
13 | left: 50%; | ||
14 | transform: translate(-40%, -50%); | ||
15 | } | ||
16 | |||
17 | .view-more { | ||
18 | display: block; | ||
19 | margin: auto 5px 10px; | ||
20 | flex: 0 1 2.5em; | ||
21 | } | ||
22 | |||
23 | .btn.notification-action-button { | ||
24 | display: block; | ||
25 | line-height: 25px; | ||
26 | height: auto; | ||
27 | } | ||
28 | } | ||
29 | |||
30 | .notifications-page { | ||
31 | @include notification; | ||
32 | |||
33 | .pagination { | ||
34 | float: none; | ||
35 | text-align: center; | ||
36 | margin-top: 30px; | ||
37 | } | ||
38 | } | ||