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/icon.sass | |
parent | 9d8f369405802c249658aa247b1c617126ead2da (diff) |
bundle bulma
Diffstat (limited to 'static/assets/bulma/sass/elements/icon.sass')
-rw-r--r-- | static/assets/bulma/sass/elements/icon.sass | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/static/assets/bulma/sass/elements/icon.sass b/static/assets/bulma/sass/elements/icon.sass new file mode 100644 index 0000000..0befe2b --- /dev/null +++ b/static/assets/bulma/sass/elements/icon.sass @@ -0,0 +1,46 @@ +$icon-dimensions: 1.5rem !default +$icon-dimensions-small: 1rem !default +$icon-dimensions-medium: 2rem !default +$icon-dimensions-large: 3rem !default +$icon-text-spacing: 0.25em !default + +.icon + align-items: center + display: inline-flex + justify-content: center + height: $icon-dimensions + width: $icon-dimensions + // Sizes + &.is-small + height: $icon-dimensions-small + width: $icon-dimensions-small + &.is-medium + height: $icon-dimensions-medium + width: $icon-dimensions-medium + &.is-large + height: $icon-dimensions-large + width: $icon-dimensions-large + +.icon-text + align-items: flex-start + color: inherit + display: inline-flex + flex-wrap: wrap + line-height: $icon-dimensions + vertical-align: top + .icon + flex-grow: 0 + flex-shrink: 0 + &:not(:last-child) + +ltr + margin-right: $icon-text-spacing + +rtl + margin-left: $icon-text-spacing + &:not(:first-child) + +ltr + margin-left: $icon-text-spacing + +rtl + margin-right: $icon-text-spacing + +div.icon-text + display: flex |