2021-02-15 07:50:28 +00:00
|
|
|
@import "../utilities/mixins"
|
|
|
|
|
2018-01-29 09:42:34 +00:00
|
|
|
$box-color: $text !default
|
2021-02-15 07:50:28 +00:00
|
|
|
$box-background-color: $scheme-main !default
|
2018-01-29 09:42:34 +00:00
|
|
|
$box-radius: $radius-large !default
|
2021-02-15 07:50:28 +00:00
|
|
|
$box-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
2018-01-29 09:42:34 +00:00
|
|
|
$box-padding: 1.25rem !default
|
|
|
|
|
2021-02-15 07:50:28 +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
|
2018-01-29 09:42:34 +00:00
|
|
|
|
|
|
|
.box
|
2021-02-15 07:50:28 +00:00
|
|
|
@extend %block
|
2018-01-29 09:42:34 +00:00
|
|
|
background-color: $box-background-color
|
|
|
|
border-radius: $box-radius
|
|
|
|
box-shadow: $box-shadow
|
|
|
|
color: $box-color
|
|
|
|
display: block
|
|
|
|
padding: $box-padding
|
|
|
|
|
|
|
|
a.box
|
|
|
|
&:hover,
|
|
|
|
&:focus
|
|
|
|
box-shadow: $box-link-hover-shadow
|
|
|
|
&:active
|
|
|
|
box-shadow: $box-link-active-shadow
|