mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Add display responsive classes
This commit is contained in:
commit
fbf70dfc6d
@ -26,7 +26,7 @@ bower install bulma
|
|||||||
|
|
||||||
### CDN
|
### CDN
|
||||||
|
|
||||||
[https://cdnjs.cloudflare.com/ajax/libs/bulma](https://cdnjs.cloudflare.com/ajax/libs/bulma)
|
[https://cdnjs.com/libraries/bulma](https://cdnjs.com/libraries/bulma)
|
||||||
|
|
||||||
Feel free to raise an issue or submit a pull request.
|
Feel free to raise an issue or submit a pull request.
|
||||||
|
|
||||||
|
2
css/bulma.css
vendored
2
css/bulma.css
vendored
@ -963,7 +963,7 @@ a.box:active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.button.is-loading, .pagination a.is-loading {
|
.button.is-loading, .pagination a.is-loading {
|
||||||
color: transparent;
|
color: transparent !important;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
2
css/bulma.min.css
vendored
2
css/bulma.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,8 +1,31 @@
|
|||||||
// Display
|
// Display
|
||||||
|
|
||||||
.is-flex
|
$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
|
||||||
display: flex
|
|
||||||
|
|
||||||
|
@each $display in $displays
|
||||||
|
.is-#{$display}
|
||||||
|
display: #{$display}
|
||||||
|
.is-#{$display}-mobile
|
||||||
|
+mobile
|
||||||
|
display: #{$display} !important
|
||||||
|
.is-#{$display}-tablet
|
||||||
|
+tablet
|
||||||
|
display: #{$display} !important
|
||||||
|
.is-#{$display}-tablet-only
|
||||||
|
+tablet-only
|
||||||
|
display: #{$display} !important
|
||||||
|
.is-#{$display}-touch
|
||||||
|
+touch
|
||||||
|
display: #{$display} !important
|
||||||
|
.is-#{$display}-desktop
|
||||||
|
+desktop
|
||||||
|
display: #{$display} !important
|
||||||
|
.is-#{$display}-desktop-only
|
||||||
|
+desktop-only
|
||||||
|
display: #{$display} !important
|
||||||
|
.is-#{$display}-widescreen
|
||||||
|
+widescreen
|
||||||
|
display: #{$display} !important
|
||||||
// Float
|
// Float
|
||||||
|
|
||||||
.is-clearfix
|
.is-clearfix
|
||||||
@ -40,6 +63,10 @@
|
|||||||
display: none !important
|
display: none !important
|
||||||
|
|
||||||
.is-hidden-tablet
|
.is-hidden-tablet
|
||||||
|
+tablet
|
||||||
|
display: none !important
|
||||||
|
|
||||||
|
.is-hidden-tablet-only
|
||||||
+tablet-only
|
+tablet-only
|
||||||
display: none !important
|
display: none !important
|
||||||
|
|
||||||
@ -48,9 +75,17 @@
|
|||||||
display: none !important
|
display: none !important
|
||||||
|
|
||||||
.is-hidden-desktop
|
.is-hidden-desktop
|
||||||
|
+desktop
|
||||||
|
display: none !important
|
||||||
|
|
||||||
|
.is-hidden-desktop-only
|
||||||
+desktop-only
|
+desktop-only
|
||||||
display: none !important
|
display: none !important
|
||||||
|
|
||||||
|
.is-hidden-widescreen
|
||||||
|
+widescreen
|
||||||
|
display: none !important
|
||||||
|
|
||||||
// Other
|
// Other
|
||||||
|
|
||||||
.is-disabled
|
.is-disabled
|
||||||
|
@ -101,7 +101,7 @@
|
|||||||
display: block
|
display: block
|
||||||
width: 100%
|
width: 100%
|
||||||
&.is-loading
|
&.is-loading
|
||||||
color: transparent
|
color: transparent !important
|
||||||
pointer-events: none
|
pointer-events: none
|
||||||
&:after
|
&:after
|
||||||
@extend .loader
|
@extend .loader
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
display: inline-flex
|
display: inline-flex
|
||||||
font-size: $size-normal
|
font-size: $size-normal
|
||||||
height: 32px
|
height: 32px
|
||||||
|
justify-content: flex-start
|
||||||
line-height: 24px
|
line-height: 24px
|
||||||
padding-left: 8px
|
padding-left: 8px
|
||||||
padding-right: 8px
|
padding-right: 8px
|
||||||
|
Loading…
Reference in New Issue
Block a user