bulma/sass/elements/icon.sass

22 lines
540 B
Sass
Raw Permalink Normal View History

2017-07-28 20:05:15 +00:00
$icon-dimensions: 1.5rem !default
$icon-dimensions-small: 1rem !default
$icon-dimensions-medium: 2rem !default
$icon-dimensions-large: 3rem !default
2016-10-30 12:20:51 +00:00
.icon
2017-03-12 14:13:08 +00:00
align-items: center
display: inline-flex
justify-content: center
2017-07-28 20:05:15 +00:00
height: $icon-dimensions
width: $icon-dimensions
2016-10-30 12:20:51 +00:00
// Sizes
&.is-small
2017-07-28 20:05:15 +00:00
height: $icon-dimensions-small
width: $icon-dimensions-small
2016-10-30 12:20:51 +00:00
&.is-medium
2017-07-28 20:05:15 +00:00
height: $icon-dimensions-medium
width: $icon-dimensions-medium
2016-10-30 12:20:51 +00:00
&.is-large
2017-07-28 20:05:15 +00:00
height: $icon-dimensions-large
width: $icon-dimensions-large