bulma/sass/elements/box.sass

15 lines
351 B
Sass
Raw Normal View History

.box
@extend .block
2016-06-29 22:59:48 +00:00
background-color: $white
2016-06-29 22:25:27 +00:00
border-radius: $radius-large
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
display: block
padding: 20px
a.box
&:hover,
&:focus
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $link
&:active
box-shadow: inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link