mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Box: Fix missing variables (#924)
* Fix missing variables Add $box-border and $box-padding variables * Manage only padding
This commit is contained in:
parent
df4232feb6
commit
f0e2fbbbda
@ -2,6 +2,7 @@ $box: $text !default
|
|||||||
$box-background: $white !default
|
$box-background: $white !default
|
||||||
$box-radius: $radius-large !default
|
$box-radius: $radius-large !default
|
||||||
$box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
|
$box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
|
||||||
|
$box-padding: 1.25rem !default
|
||||||
|
|
||||||
$box-link-hover-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $link
|
$box-link-hover-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $link
|
||||||
$box-link-active-shadow: inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link
|
$box-link-active-shadow: inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link
|
||||||
@ -13,7 +14,7 @@ $box-link-active-shadow: inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link
|
|||||||
box-shadow: $box-shadow
|
box-shadow: $box-shadow
|
||||||
color: $box
|
color: $box
|
||||||
display: block
|
display: block
|
||||||
padding: 1.25rem
|
padding: $box-padding
|
||||||
|
|
||||||
a.box
|
a.box
|
||||||
&:hover,
|
&:hover,
|
||||||
|
Loading…
Reference in New Issue
Block a user