From: Wikiki Date: Wed, 26 Jul 2017 17:44:03 +0000 (+0200) Subject: Box: Fix missing variables (#924) X-Git-Tag: 0.5.0~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0e2fbbbda0928c3bb66dc3de1dfe457ef7c33de;p=thirdparty%2Fbulma.git Box: Fix missing variables (#924) * Fix missing variables Add $box-border and $box-padding variables * Manage only padding --- diff --git a/sass/elements/box.sass b/sass/elements/box.sass index dec3be79c..0042e1aa9 100644 --- a/sass/elements/box.sass +++ b/sass/elements/box.sass @@ -2,6 +2,7 @@ $box: $text !default $box-background: $white !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-padding: 1.25rem !default $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 @@ -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 color: $box display: block - padding: 1.25rem + padding: $box-padding a.box &:hover,