Don't use hard-coded white background for notifications flyout.
Use $color-background instead
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
-webkit-transform: scale(1) !important
|
-webkit-transform: scale(1) !important
|
||||||
|
|
||||||
.flyout-hat
|
.flyout-hat
|
||||||
border-color: transparent transparent white transparent
|
border-color: transparent transparent $color-background transparent
|
||||||
border-style: solid
|
border-style: solid
|
||||||
border-width: 0 8px 8px 8px
|
border-width: 0 8px 8px 8px
|
||||||
bottom: -15px
|
bottom: -15px
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
& .nc-item, & .nc-loading
|
& .nc-item, & .nc-loading
|
||||||
position: relative
|
position: relative
|
||||||
padding: 10px 0
|
padding: 10px 0
|
||||||
border-top: thin solid lighten($color-text, 62%)
|
border-top: thin solid $color-background-dark
|
||||||
margin: 0
|
margin: 0
|
||||||
width: 100%
|
width: 100%
|
||||||
display: block
|
display: block
|
||||||
|
@@ -926,30 +926,29 @@ button, .btn
|
|||||||
|
|
||||||
/* Flyouts (only used on notifications for now) */
|
/* Flyouts (only used on notifications for now) */
|
||||||
.flyout
|
.flyout
|
||||||
display: block
|
background-color: $color-background
|
||||||
font-size: .9em
|
|
||||||
background-color: white
|
|
||||||
border-radius: 3px
|
border-radius: 3px
|
||||||
border: thin solid darken($color-background, 3%)
|
border: thin solid darken($color-background, 3%)
|
||||||
box-shadow: 1px 2px 2px rgba(black, .2)
|
box-shadow: 1px 2px 2px rgba(black, .2)
|
||||||
|
display: block
|
||||||
|
font-size: .9em
|
||||||
|
|
||||||
& .flyout-title
|
& .flyout-title
|
||||||
font-weight: 600
|
|
||||||
display: block
|
|
||||||
padding: 8px 10px 5px 10px
|
|
||||||
font-size: 1.1em
|
|
||||||
float: left
|
|
||||||
cursor: default
|
cursor: default
|
||||||
|
display: block
|
||||||
|
float: left
|
||||||
|
font-size: 1.1em
|
||||||
|
font-weight: 600
|
||||||
|
padding: 8px 10px 5px 10px
|
||||||
|
|
||||||
&.notifications
|
&.notifications
|
||||||
|
max-height: 1000%
|
||||||
|
overflow-x: hidden
|
||||||
position: absolute
|
position: absolute
|
||||||
right: 0
|
right: 0
|
||||||
top: 60px
|
top: 60px
|
||||||
z-index: 9999
|
|
||||||
width: 420px
|
width: 420px
|
||||||
max-height: 1000%
|
z-index: 9999
|
||||||
border-top-color: white
|
|
||||||
overflow-x: hidden
|
|
||||||
|
|
||||||
|
|
||||||
/* Font aliases */
|
/* Font aliases */
|
||||||
|
Reference in New Issue
Block a user