Navigation: Fix notification number
This commit is contained in:
parent
d347ddac2c
commit
aef2cf8c2d
@ -61,12 +61,12 @@
|
|||||||
|
|
||||||
#notifications-count
|
#notifications-count
|
||||||
align-items: center
|
align-items: center
|
||||||
background-color: $color-secondary
|
background-color: #f42942
|
||||||
border-radius: 50%
|
border-radius: 50%
|
||||||
color: white
|
color: white
|
||||||
display: flex
|
display: flex
|
||||||
font:
|
font:
|
||||||
size: .5em
|
size: $font-size-xxs
|
||||||
weight: bolder
|
weight: bolder
|
||||||
family: sans-serif
|
family: sans-serif
|
||||||
height: 18px
|
height: 18px
|
||||||
@ -74,14 +74,20 @@
|
|||||||
opacity: 0
|
opacity: 0
|
||||||
padding: 0
|
padding: 0
|
||||||
position: absolute
|
position: absolute
|
||||||
right: 14px
|
right: 0
|
||||||
text-align: center
|
text-align: center
|
||||||
top: 10px
|
top: 8px
|
||||||
transform: scale(0)
|
transform: scale(0)
|
||||||
transition: transform 250ms ease-in-out
|
transition: transform 250ms ease-in-out
|
||||||
user-select: none
|
user-select: none
|
||||||
width: 18px
|
width: 18px
|
||||||
|
|
||||||
|
/* The actual number. */
|
||||||
|
span
|
||||||
|
position: relative
|
||||||
|
top: 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#notifications-list
|
#notifications-list
|
||||||
list-style-type: none
|
list-style-type: none
|
||||||
|
Loading…
x
Reference in New Issue
Block a user