mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 04:14:29 -07:00
Add CSS class name prefix
This commit is contained in:
@@ -6,10 +6,12 @@ $box-radius: $radius-large !default;
|
||||
$box-shadow: $shadow !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-active-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2), 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;
|
||||
$box-link-active-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2),
|
||||
0 0 0 1px $link !default;
|
||||
|
||||
.box {
|
||||
.#{$class-prefix}box {
|
||||
@extend %block;
|
||||
|
||||
background-color: $box-background-color;
|
||||
@@ -20,7 +22,7 @@ $box-link-active-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2), 0 0 0 1px $l
|
||||
padding: $box-padding;
|
||||
}
|
||||
|
||||
a.box {
|
||||
a.#{$class-prefix}box {
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: $box-link-hover-shadow;
|
||||
|
||||
Reference in New Issue
Block a user