Use icon for tabs

This commit is contained in:
Jeremy Thomas
2016-05-05 22:23:08 +01:00
parent 53ac20f199
commit 7ecedc6ec5
3 changed files with 18 additions and 6 deletions

View File

@@ -1,5 +1,11 @@
# Bulma Changelog # Bulma Changelog
## 0.0.25
* Added: `utilities/controls.sass` and `elements/form.sass`
* Changed: `.tabs` need `.icon` now
* Changed: cdnjs link doesn't include version
## 0.0.24 ## 0.0.24
### Added ### Added

View File

@@ -71,6 +71,10 @@ input[type="radio"]
small small
font-size: $size-small font-size: $size-small
span
font-style: inherit
font-weight: inherit
strong strong
color: $text-strong color: $text-strong
font-weight: $weight-bold font-weight: $weight-bold

View File

@@ -5,9 +5,11 @@
overflow-x: auto overflow-x: auto
white-space: nowrap white-space: nowrap
a a
align-items: center
border-bottom: 1px solid $border border-bottom: 1px solid $border
color: $text color: $text
display: block display: flex
justify-content: center
margin-bottom: -1px margin-bottom: -1px
padding: 5px 0 padding: 5px 0
vertical-align: top vertical-align: top
@@ -27,11 +29,11 @@
ul ul
border-bottom: 1px solid $border border-bottom: 1px solid $border
display: flex display: flex
.fa .icon
font-size: 14px &:first-child
line-height: 20px margin-right: 5px
margin: 2px -2px &:last-child
width: 20px margin-left: 5px
// Modifiers // Modifiers
&.is-boxed &.is-boxed
a a