app/assets/stylesheets/sass/grid/columns.sass in bulma-rails-0.2.3 vs app/assets/stylesheets/sass/grid/columns.sass in bulma-rails-0.3.0
- old
+ new
@@ -1,11 +1,11 @@
.column
display: block
flex-basis: 0
flex-grow: 1
flex-shrink: 1
- padding: 10px
+ padding: 0.75rem
.columns.is-mobile > &.is-narrow
flex: none
.columns.is-mobile > &.is-full
flex: none
width: 100%
@@ -202,37 +202,37 @@
width: ($i / 12) * 100%
&.is-offset-#{$i}-widescreen
margin-left: ($i / 12) * 100%
.columns
- margin-left: -10px
- margin-right: -10px
- margin-top: -10px
+ margin-left: -0.75rem
+ margin-right: -0.75rem
+ margin-top: -0.75rem
&:last-child
- margin-bottom: -10px
+ margin-bottom: -0.75rem
&:not(:last-child)
- margin-bottom: 10px
+ margin-bottom: 0.75rem
// Modifiers
&.is-centered
justify-content: center
&.is-gapless
margin-left: 0
margin-right: 0
margin-top: 0
&:last-child
margin-bottom: 0
&:not(:last-child)
- margin-bottom: 20px
+ margin-bottom: 1.5rem
& > .column
margin: 0
padding: 0
&.is-grid
// Responsiveness
+tablet
flex-wrap: wrap
& > .column
max-width: 33.3333%
- padding: 10px
+ padding: 0.75rem
width: 33.3333%
& + .column
margin-left: 0
&.is-mobile
display: flex