2022-11-23 17:44:02 +00:00
|
|
|
@import "../utilities/mixins";
|
|
|
|
|
|
|
|
$box-color: $text !default;
|
|
|
|
$box-background-color: $scheme-main !default;
|
|
|
|
$box-radius: $radius-large !default;
|
|
|
|
$box-shadow: $shadow !default;
|
|
|
|
$box-padding: 1.25rem !default;
|
|
|
|
|
2022-11-23 22:53:56 +00:00
|
|
|
$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;
|
2022-11-23 17:44:02 +00:00
|
|
|
|
2022-11-23 22:53:56 +00:00
|
|
|
.#{$class-prefix}box {
|
2022-11-23 17:44:02 +00:00
|
|
|
@extend %block;
|
|
|
|
|
|
|
|
background-color: $box-background-color;
|
|
|
|
border-radius: $box-radius;
|
|
|
|
box-shadow: $box-shadow;
|
|
|
|
color: $box-color;
|
|
|
|
display: block;
|
|
|
|
padding: $box-padding;
|
|
|
|
}
|
|
|
|
|
2022-11-23 22:53:56 +00:00
|
|
|
a.#{$class-prefix}box {
|
2022-11-23 17:44:02 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
box-shadow: $box-link-hover-shadow;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
box-shadow: $box-link-active-shadow;
|
|
|
|
}
|
|
|
|
}
|