Don't use hard-coded white background for notifications flyout.

Use $color-background instead
This commit is contained in:
Pablo Vazquez 2017-10-15 05:54:48 +02:00
parent 72507d7bb2
commit 49feaa8281
2 changed files with 13 additions and 14 deletions

View File

@ -43,7 +43,7 @@
-webkit-transform: scale(1) !important
.flyout-hat
border-color: transparent transparent white transparent
border-color: transparent transparent $color-background transparent
border-style: solid
border-width: 0 8px 8px 8px
bottom: -15px
@ -89,7 +89,7 @@
& .nc-item, & .nc-loading
position: relative
padding: 10px 0
border-top: thin solid lighten($color-text, 62%)
border-top: thin solid $color-background-dark
margin: 0
width: 100%
display: block

View File

@ -926,30 +926,29 @@ button, .btn
/* Flyouts (only used on notifications for now) */
.flyout
display: block
font-size: .9em
background-color: white
background-color: $color-background
border-radius: 3px
border: thin solid darken($color-background, 3%)
box-shadow: 1px 2px 2px rgba(black, .2)
display: block
font-size: .9em
& .flyout-title
font-weight: 600
display: block
padding: 8px 10px 5px 10px
font-size: 1.1em
float: left
cursor: default
display: block
float: left
font-size: 1.1em
font-weight: 600
padding: 8px 10px 5px 10px
&.notifications
max-height: 1000%
overflow-x: hidden
position: absolute
right: 0
top: 60px
z-index: 9999
width: 420px
max-height: 1000%
border-top-color: white
overflow-x: hidden
z-index: 9999
/* Font aliases */