summaryrefslogtreecommitdiff
path: root/WebInterface/NodeJSServer/src/style
diff options
context:
space:
mode:
authorTrueKuehli <rctcoaster2000@hotmail.de>2018-10-01 15:15:01 +0200
committerTrueKuehli <rctcoaster2000@hotmail.de>2018-10-01 15:15:01 +0200
commit77ab26824754f4338553816d5803974554b1e45a (patch)
tree5a50518bc7cacbb579ae54e9e238e039eb6d19a9 /WebInterface/NodeJSServer/src/style
parent237e4d43229847bb69aadcfa6e6aca517128913b (diff)
Added notifications badges to notifications
Shows the current amount of notifications
Diffstat (limited to 'WebInterface/NodeJSServer/src/style')
-rw-r--r--WebInterface/NodeJSServer/src/style/partials/front-layer/_notifications.scss20
1 files changed, 19 insertions, 1 deletions
diff --git a/WebInterface/NodeJSServer/src/style/partials/front-layer/_notifications.scss b/WebInterface/NodeJSServer/src/style/partials/front-layer/_notifications.scss
index 4dd7361..d8e8159 100644
--- a/WebInterface/NodeJSServer/src/style/partials/front-layer/_notifications.scss
+++ b/WebInterface/NodeJSServer/src/style/partials/front-layer/_notifications.scss
@@ -2,7 +2,6 @@
.front-layer {
.banner {
- z-index: 1;
background-color: white;
border: none;
border-radius: 16px 16px 0 0;
@@ -34,6 +33,25 @@
margin-bottom: 0;
}
+ .notification-badge {
+ height: 1rem;
+ min-width: 1rem;
+ font-weight: bold;
+ color: $secondary-text;
+ font-size: 1rem;
+ padding: 0.5rem;
+ margin: 0.5rem 0 0.5rem 1rem;
+ text-align: center;
+ line-height: 1rem;
+ background-color: $secondary;
+ border: none;
+ border-radius: 50%;
+
+ &.hidden {
+ display: none;
+ }
+ }
+
.banner-text {
align-self: left;
margin: 1rem;