Add white black light dark colors, Fix button inverted

This commit is contained in:
Jeremy Thomas
2016-05-06 00:23:00 +01:00
parent 7ecedc6ec5
commit 15e6ecde1c
15 changed files with 36 additions and 40 deletions

View File

@@ -1,6 +1,6 @@
.card-header
align-items: stretch
box-shadow: 0 1px 2px rgba(black, 0.1)
box-shadow: 0 1px 2px rgba($black, 0.1)
display: flex
min-height: 40px
@@ -43,8 +43,8 @@
border-right: 1px solid $border
.card
background: white
box-shadow: 0 2px 3px rgba(black, 0.1), 0 0 0 1px rgba(black, 0.1)
background: $white
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
color: $text
max-width: 100%
position: relative

View File

@@ -24,7 +24,7 @@
@each $name, $pair in $colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
$lightning: (100% - lightness($color)) - 4%
$lightning: max((100% - lightness($color)) - 4%, 0%)
$darkness: max(lightness($color) - 10%, lightness($color))
&.is-#{$name}
background: lighten($color, $lightning)

View File

@@ -1,6 +1,6 @@
.modal-background
+overlay
background: rgba(black, 0.86)
background: rgba($black, 0.86)
.modal-content
margin: 0 20px

View File

@@ -49,7 +49,7 @@
// Modifiers
&.is-active
a
background: white
background: $white
border-color: $border
border-bottom-color: transparent
// Modifiers