Notifications: Define selectors once and re-use
Plus some comments and simplifying the switch/adding of icons by just adding a css class that controls it. No functional changes
This commit is contained in:
@@ -30,6 +30,18 @@
|
||||
position: relative
|
||||
user-select: none
|
||||
|
||||
> i:before
|
||||
content: '\e815'
|
||||
|
||||
&.has-notifications
|
||||
> i:before
|
||||
content: '\e813'
|
||||
|
||||
#notifications-count
|
||||
opacity: 1
|
||||
transform: scale(1) !important
|
||||
-webkit-transform: scale(1) !important
|
||||
|
||||
.flyout-hat
|
||||
border-color: transparent transparent white transparent
|
||||
border-style: solid
|
||||
@@ -68,10 +80,6 @@
|
||||
user-select: none
|
||||
width: 18px
|
||||
|
||||
&.bloom
|
||||
opacity: 1
|
||||
transform: scale(1) !important
|
||||
-webkit-transform: scale(1) !important
|
||||
|
||||
#notifications-list
|
||||
list-style-type: none
|
||||
|
Reference in New Issue
Block a user