Debian Codegraph @

vendor/static/bulma/sass/elements/box.sass

raw
1 @import "../utilities/mixins"
2
3 $box-color: $text !default
4 $box-background-color: $scheme-main !default
5 $box-radius: $radius-large !default
6 $box-shadow: $shadow !default
7 $box-padding: 1.25rem !default
8
9 $box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default
10 $box-link-active-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2), 0 0 0 1px $link !default
11
12 .box
13 @extend %block
14 background-color: $box-background-color
15 border-radius: $box-radius
16 box-shadow: $box-shadow
17 color: $box-color
18 display: block
19 padding: $box-padding
20
21 a.box
22 &:hover,
23 &:focus
24 box-shadow: $box-link-hover-shadow
25 &:active
26 box-shadow: $box-link-active-shadow