This commit is contained in:
Jeremy Thomas 2016-05-30 19:21:10 +01:00
parent 34e155150d
commit 2f5319f1f3
4 changed files with 27 additions and 21 deletions

View File

@ -1,5 +1,11 @@
# Bulma Changelog # Bulma Changelog
## 0.0.28
* BREAKING: `.control.is-grouped` now uses `.control` elements as direct children
* Fix #220
* Fix #206
## 0.0.27 ## 0.0.27
* Fix: #217 * Fix: #217

View File

@ -35,15 +35,10 @@
border-top: 1px solid rgba($border, 0.5) border-top: 1px solid rgba($border, 0.5)
display: flex display: flex
padding-top: 10px padding-top: 10px
.textarea
+control-small
.button
+button-small
.content:not(:last-child), .content:not(:last-child),
.control:not(:last-child) .control:not(:last-child)
margin-bottom: 5px margin-bottom: 5px
.media .media
font-size: 12px
padding-top: 5px padding-top: 5px
& + .media & + .media
margin-top: 5px margin-top: 5px

View File

@ -15,20 +15,11 @@
// Sizes // Sizes
&.is-small &.is-small
+control-small +control-small
&.is-flat
padding: 4px 6px
&.is-medium &.is-medium
+control-medium +control-medium
&.is-flat
padding: 4px 10px
&.is-large &.is-large
+control-large +control-large
&.is-flat
padding: 4px 12px
// Modifiers // Modifiers
&.is-flat
border: none
box-shadow: none
&.is-fullwidth &.is-fullwidth
display: block display: block
width: 100% width: 100%
@ -98,6 +89,21 @@
&:hover &:hover
&:after &:after
border-color: $link-hover border-color: $link-hover
&.is-small
height: 24px
select
+control-small
padding-right: 28px
&.is-medium
height: 40px
select
+control-medium
padding-right: 44px
&.is-large
height: 48px
select
+control-large
padding-right: 52px
.label .label
color: $text-strong color: $text-strong
@ -214,12 +220,11 @@
&.is-grouped &.is-grouped
display: flex display: flex
justify-content: flex-start justify-content: flex-start
& > .button, & > .control
& > .input,
& > .select
&:not(:last-child) &:not(:last-child)
margin-bottom: 0
margin-right: 10px margin-right: 10px
& > .input &.is-expanded
flex: 1 flex: 1
&.is-grouped-centered &.is-grouped-centered
justify-content: center justify-content: center

View File

@ -84,8 +84,8 @@
tbody tbody
tr tr
&:hover &:hover
background: darken($background, 5%) background: darken($background, 2%)
&:nth-child(2n) &:nth-child(2n)
background: $background background: $background
&:hover &:hover
background: darken($background, 5%) background: darken($background, 2%)