2017-07-28 20:05:15 +00:00
|
|
|
$box-color: $text !default
|
|
|
|
$box-background-color: $white !default
|
2017-07-13 18:44:35 +00:00
|
|
|
$box-radius: $radius-large !default
|
|
|
|
$box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
|
2017-07-26 17:44:03 +00:00
|
|
|
$box-padding: 1.25rem !default
|
2017-07-13 18:44:35 +00:00
|
|
|
|
2017-07-30 14:10:29 +00:00
|
|
|
$box-link-hover-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $link !default
|
|
|
|
$box-link-active-shadow: inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link !default
|
2017-07-13 18:44:35 +00:00
|
|
|
|
2016-04-22 19:52:49 +00:00
|
|
|
.box
|
2018-09-04 13:24:50 +00:00
|
|
|
@extend %block
|
2017-07-28 20:05:15 +00:00
|
|
|
background-color: $box-background-color
|
2017-07-13 18:44:35 +00:00
|
|
|
border-radius: $box-radius
|
|
|
|
box-shadow: $box-shadow
|
2017-07-28 20:05:15 +00:00
|
|
|
color: $box-color
|
2016-04-22 19:52:49 +00:00
|
|
|
display: block
|
2017-07-26 17:44:03 +00:00
|
|
|
padding: $box-padding
|
2016-04-22 19:52:49 +00:00
|
|
|
|
|
|
|
a.box
|
|
|
|
&:hover,
|
|
|
|
&:focus
|
2017-07-13 18:44:35 +00:00
|
|
|
box-shadow: $box-link-hover-shadow
|
2016-04-22 19:52:49 +00:00
|
|
|
&:active
|
2017-07-13 18:44:35 +00:00
|
|
|
box-shadow: $box-link-active-shadow
|