diff options
author | navanchauhan <navanchauhan@gmail.com> | 2023-01-21 16:52:10 -0700 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2023-01-21 16:52:10 -0700 |
commit | eff65de6860690861024996bde0abb41e1a6e2d9 (patch) | |
tree | c5ae1735628c30298c25b29d9d406117a0548cc7 /static/assets/bulma/sass/elements/box.sass | |
parent | 9d8f369405802c249658aa247b1c617126ead2da (diff) |
bundle bulma
Diffstat (limited to 'static/assets/bulma/sass/elements/box.sass')
-rw-r--r-- | static/assets/bulma/sass/elements/box.sass | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/static/assets/bulma/sass/elements/box.sass b/static/assets/bulma/sass/elements/box.sass new file mode 100644 index 0000000..8552430 --- /dev/null +++ b/static/assets/bulma/sass/elements/box.sass @@ -0,0 +1,26 @@ +@import "../utilities/mixins" + +$box-color: $text !default +$box-background-color: $scheme-main !default +$box-radius: $radius-large !default +$box-shadow: $shadow !default +$box-padding: 1.25rem !default + +$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 + +.box + @extend %block + 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 |