2020-10-31 23:52:27 +00:00
|
|
|
@import "../utilities/mixins"
|
|
|
|
|
|
2017-07-28 21:05:15 +01:00
|
|
|
$box-color: $text !default
|
2019-10-13 15:12:30 +01:00
|
|
|
$box-background-color: $scheme-main !default
|
2017-07-13 19:44:35 +01:00
|
|
|
$box-radius: $radius-large !default
|
2021-01-30 14:01:42 +01:00
|
|
|
$box-shadow: $shadow !default
|
2017-07-26 19:44:03 +02:00
|
|
|
$box-padding: 1.25rem !default
|
2017-07-13 19:44:35 +01:00
|
|
|
|
2019-10-13 15:12:30 +01: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
|
2017-07-13 19:44:35 +01:00
|
|
|
|
2016-04-22 20:52:49 +01:00
|
|
|
.box
|
2018-09-04 15:24:50 +02:00
|
|
|
@extend %block
|
2017-07-28 21:05:15 +01:00
|
|
|
background-color: $box-background-color
|
2017-07-13 19:44:35 +01:00
|
|
|
border-radius: $box-radius
|
|
|
|
|
box-shadow: $box-shadow
|
2017-07-28 21:05:15 +01:00
|
|
|
color: $box-color
|
2016-04-22 20:52:49 +01:00
|
|
|
display: block
|
2017-07-26 19:44:03 +02:00
|
|
|
padding: $box-padding
|
2016-04-22 20:52:49 +01:00
|
|
|
|
|
|
|
|
a.box
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus
|
2017-07-13 19:44:35 +01:00
|
|
|
box-shadow: $box-link-hover-shadow
|
2016-04-22 20:52:49 +01:00
|
|
|
&:active
|
2017-07-13 19:44:35 +01:00
|
|
|
box-shadow: $box-link-active-shadow
|