mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Refactor shadow variables. (#3251)
* Refactor shadow variables. * Add default flags.
This commit is contained in:
parent
7e0ea44a47
commit
fd666bbb9e
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
$card-color: $text !default
|
$card-color: $text !default
|
||||||
$card-background-color: $scheme-main !default
|
$card-background-color: $scheme-main !default
|
||||||
$card-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
$card-shadow: $shadow !default
|
||||||
$card-radius: 0.25rem !default
|
$card-radius: 0.25rem !default
|
||||||
|
|
||||||
$card-header-background-color: transparent !default
|
$card-header-background-color: transparent !default
|
||||||
|
@ -8,7 +8,7 @@ $dropdown-content-offset: 4px !default
|
|||||||
$dropdown-content-padding-bottom: 0.5rem !default
|
$dropdown-content-padding-bottom: 0.5rem !default
|
||||||
$dropdown-content-padding-top: 0.5rem !default
|
$dropdown-content-padding-top: 0.5rem !default
|
||||||
$dropdown-content-radius: $radius !default
|
$dropdown-content-radius: $radius !default
|
||||||
$dropdown-content-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
$dropdown-content-shadow: $shadow !default
|
||||||
$dropdown-content-z: 20 !default
|
$dropdown-content-z: 20 !default
|
||||||
|
|
||||||
$dropdown-item-color: $text !default
|
$dropdown-item-color: $text !default
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
$panel-margin: $block-spacing !default
|
$panel-margin: $block-spacing !default
|
||||||
$panel-item-border: 1px solid $border-light !default
|
$panel-item-border: 1px solid $border-light !default
|
||||||
$panel-radius: $radius-large !default
|
$panel-radius: $radius-large !default
|
||||||
$panel-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
$panel-shadow: $shadow !default
|
||||||
|
|
||||||
$panel-heading-background-color: $border-light !default
|
$panel-heading-background-color: $border-light !default
|
||||||
$panel-heading-color: $text-strong !default
|
$panel-heading-color: $text-strong !default
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
$box-color: $text !default
|
$box-color: $text !default
|
||||||
$box-background-color: $scheme-main !default
|
$box-background-color: $scheme-main !default
|
||||||
$box-radius: $radius-large !default
|
$box-radius: $radius-large !default
|
||||||
$box-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
$box-shadow: $shadow !default
|
||||||
$box-padding: 1.25rem !default
|
$box-padding: 1.25rem !default
|
||||||
|
|
||||||
$box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default
|
$box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default
|
||||||
|
@ -99,6 +99,10 @@ $size-normal: $size-6 !default
|
|||||||
$size-medium: $size-5 !default
|
$size-medium: $size-5 !default
|
||||||
$size-large: $size-4 !default
|
$size-large: $size-4 !default
|
||||||
|
|
||||||
|
// Effects
|
||||||
|
|
||||||
|
$shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
||||||
|
|
||||||
// Lists and maps
|
// Lists and maps
|
||||||
$custom-colors: null !default
|
$custom-colors: null !default
|
||||||
$custom-shades: null !default
|
$custom-shades: null !default
|
||||||
|
Loading…
Reference in New Issue
Block a user