2016-02-08 23:14:10 +00:00
|
|
|
// Display
|
|
|
|
|
2016-05-07 12:31:31 +00:00
|
|
|
$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
|
|
|
|
|
|
|
|
@each $display in $displays
|
|
|
|
.is-#{$display}
|
|
|
|
display: #{$display}
|
2017-07-20 17:52:24 +00:00
|
|
|
+mobile
|
|
|
|
.is-#{$display}-mobile
|
2016-05-07 12:31:31 +00:00
|
|
|
display: #{$display} !important
|
2017-07-20 17:52:24 +00:00
|
|
|
+tablet
|
|
|
|
.is-#{$display}-tablet
|
2016-05-07 12:31:31 +00:00
|
|
|
display: #{$display} !important
|
2017-07-20 17:52:24 +00:00
|
|
|
+tablet-only
|
|
|
|
.is-#{$display}-tablet-only
|
2016-05-07 12:31:31 +00:00
|
|
|
display: #{$display} !important
|
2017-07-20 17:52:24 +00:00
|
|
|
+touch
|
|
|
|
.is-#{$display}-touch
|
2016-05-07 12:31:31 +00:00
|
|
|
display: #{$display} !important
|
2017-07-20 17:52:24 +00:00
|
|
|
+desktop
|
|
|
|
.is-#{$display}-desktop
|
2016-05-07 12:31:31 +00:00
|
|
|
display: #{$display} !important
|
2017-07-20 17:52:24 +00:00
|
|
|
+desktop-only
|
|
|
|
.is-#{$display}-desktop-only
|
2016-05-07 12:31:31 +00:00
|
|
|
display: #{$display} !important
|
2017-07-20 17:52:24 +00:00
|
|
|
+widescreen
|
|
|
|
.is-#{$display}-widescreen
|
2016-05-07 12:31:31 +00:00
|
|
|
display: #{$display} !important
|
2016-05-07 14:08:27 +00:00
|
|
|
|
2016-02-14 22:10:05 +00:00
|
|
|
// Float
|
2016-02-08 23:14:10 +00:00
|
|
|
|
|
|
|
.is-clearfix
|
|
|
|
+clearfix
|
|
|
|
|
|
|
|
.is-pulled-left
|
2017-07-13 17:57:39 +00:00
|
|
|
float: left !important
|
2016-02-08 23:14:10 +00:00
|
|
|
|
|
|
|
.is-pulled-right
|
2017-07-13 17:57:39 +00:00
|
|
|
float: right !important
|
2016-02-08 23:14:10 +00:00
|
|
|
|
2016-05-07 14:08:27 +00:00
|
|
|
// Overflow
|
|
|
|
|
|
|
|
.is-clipped
|
|
|
|
overflow: hidden !important
|
|
|
|
|
2016-02-14 22:10:05 +00:00
|
|
|
// Overlay
|
|
|
|
|
|
|
|
.is-overlay
|
|
|
|
+overlay
|
|
|
|
|
|
|
|
// Text
|
|
|
|
|
2017-07-19 21:52:22 +00:00
|
|
|
@each $size in $sizes
|
|
|
|
$i: index($sizes, $size)
|
|
|
|
.is-size-#{$i}
|
|
|
|
font-size: $size
|
|
|
|
+mobile
|
|
|
|
.is-size-#{$i}-mobile
|
|
|
|
font-size: $size
|
|
|
|
+tablet
|
|
|
|
.is-size-#{$i}-tablet
|
|
|
|
font-size: $size
|
|
|
|
+touch
|
|
|
|
.is-size-#{$i}-touch
|
|
|
|
font-size: $size
|
|
|
|
+desktop
|
|
|
|
.is-size-#{$i}-desktop
|
|
|
|
font-size: $size
|
|
|
|
+widescreen
|
|
|
|
.is-size-#{$i}-widescreen
|
|
|
|
font-size: $size
|
|
|
|
+fullhd
|
|
|
|
.is-size-#{$i}-fullhd
|
|
|
|
font-size: $size
|
|
|
|
|
2016-04-10 15:00:32 +00:00
|
|
|
.has-text-centered
|
2017-07-13 17:57:39 +00:00
|
|
|
text-align: center !important
|
2016-02-14 22:10:05 +00:00
|
|
|
|
2016-04-10 15:00:32 +00:00
|
|
|
.has-text-left
|
2017-07-13 17:57:39 +00:00
|
|
|
text-align: left !important
|
2016-02-14 22:10:05 +00:00
|
|
|
|
2016-04-10 15:00:32 +00:00
|
|
|
.has-text-right
|
2017-07-13 17:57:39 +00:00
|
|
|
text-align: right !important
|
2016-02-14 22:10:05 +00:00
|
|
|
|
2017-03-27 07:49:27 +00:00
|
|
|
@each $name, $pair in $colors
|
|
|
|
$color: nth($pair, 1)
|
|
|
|
.has-text-#{$name}
|
|
|
|
color: $color
|
|
|
|
a.has-text-#{$name}
|
|
|
|
&:hover,
|
|
|
|
&:focus
|
|
|
|
color: darken($color, 10%)
|
|
|
|
|
2016-02-08 23:14:10 +00:00
|
|
|
// Visibility
|
|
|
|
|
2016-04-10 16:21:19 +00:00
|
|
|
.is-hidden
|
|
|
|
display: none !important
|
|
|
|
|
2017-07-20 18:02:58 +00:00
|
|
|
+mobile
|
|
|
|
.is-hidden-mobile
|
2016-02-08 23:14:10 +00:00
|
|
|
display: none !important
|
|
|
|
|
2017-07-20 18:02:58 +00:00
|
|
|
+tablet
|
|
|
|
.is-hidden-tablet
|
2016-05-07 12:31:31 +00:00
|
|
|
display: none !important
|
|
|
|
|
2017-07-20 18:02:58 +00:00
|
|
|
+tablet-only
|
|
|
|
.is-hidden-tablet-only
|
2016-02-08 23:14:10 +00:00
|
|
|
display: none !important
|
|
|
|
|
2017-07-20 18:02:58 +00:00
|
|
|
+touch
|
|
|
|
.is-hidden-touch
|
2016-02-08 23:14:10 +00:00
|
|
|
display: none !important
|
|
|
|
|
2017-07-20 18:02:58 +00:00
|
|
|
+desktop
|
|
|
|
.is-hidden-desktop
|
2016-05-07 12:31:31 +00:00
|
|
|
display: none !important
|
|
|
|
|
2017-07-20 18:02:58 +00:00
|
|
|
+desktop-only
|
|
|
|
.is-hidden-desktop-only
|
2016-02-08 23:14:10 +00:00
|
|
|
display: none !important
|
|
|
|
|
2017-07-20 18:02:58 +00:00
|
|
|
+widescreen
|
|
|
|
.is-hidden-widescreen
|
2016-05-07 12:31:31 +00:00
|
|
|
display: none !important
|
|
|
|
|
2016-02-08 23:14:10 +00:00
|
|
|
// Other
|
|
|
|
|
2016-04-10 15:27:27 +00:00
|
|
|
.is-marginless
|
|
|
|
margin: 0 !important
|
|
|
|
|
2016-09-11 11:00:49 +00:00
|
|
|
.is-paddingless
|
|
|
|
padding: 0 !important
|
|
|
|
|
2016-01-24 00:03:43 +00:00
|
|
|
.is-unselectable
|
2016-09-22 22:14:18 +00:00
|
|
|
+unselectable
|