mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Restructure elements and components
This commit is contained in:
parent
b7fb0b9ed3
commit
23dcb47e22
12
CHANGELOG.md
12
CHANGELOG.md
@ -5,6 +5,18 @@
|
|||||||
### BREAKING
|
### BREAKING
|
||||||
|
|
||||||
* `bulma` folder renamed to `sass` to avoid the redundant `bulma/bulma` path
|
* `bulma` folder renamed to `sass` to avoid the redundant `bulma/bulma` path
|
||||||
|
* `variables.sass` moved to `/utilities`
|
||||||
|
* almost everything is singular now
|
||||||
|
* **elements** only have one class
|
||||||
|
* **components** have at least one sub-class
|
||||||
|
* `.content` moved to elements
|
||||||
|
* `.table` moved to elements
|
||||||
|
* `.message` moved to components
|
||||||
|
* `.table-icon`, `.table-link`, `.table-narrow` are now called `.is-icon`, `.is-link`, `.is-narrow`
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* all variables are now `!default` so you can set your custom variables before importing Bulma
|
||||||
|
|
||||||
## 0.0.22
|
## 0.0.22
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
@charset "utf-8"
|
@charset "utf-8"
|
||||||
|
|
||||||
@import "generic"
|
@import "generic"
|
||||||
@import "content"
|
|
||||||
@import "highlight"
|
|
||||||
@import "helpers"
|
@import "helpers"
|
||||||
|
@import "highlight"
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
@charset "utf-8"
|
@charset "utf-8"
|
||||||
|
|
||||||
@import "grid"
|
|
||||||
@import "navbar"
|
|
||||||
@import "card"
|
@import "card"
|
||||||
@import "table"
|
@import "grid"
|
||||||
@import "tabs"
|
|
||||||
@import "media"
|
@import "media"
|
||||||
@import "menu"
|
@import "menu"
|
||||||
|
@import "message"
|
||||||
|
@import "modal"
|
||||||
|
@import "navbar"
|
||||||
@import "pagination"
|
@import "pagination"
|
||||||
@import "panel"
|
@import "panel"
|
||||||
@import "modal"
|
@import "tabs"
|
||||||
|
|
||||||
.box
|
.box
|
||||||
@extend .block
|
@extend .block
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
@charset "utf-8"
|
@charset "utf-8"
|
||||||
|
|
||||||
@import "controls"
|
@import "controls"
|
||||||
@import "buttons"
|
|
||||||
@import "titles"
|
@import "button"
|
||||||
@import "images"
|
@import "content"
|
||||||
@import "messages"
|
@import "image"
|
||||||
@import "notifications"
|
@import "notification"
|
||||||
@import "progress"
|
@import "progress"
|
||||||
|
@import "table"
|
||||||
|
@import "title"
|
||||||
|
|
||||||
.delete
|
.delete
|
||||||
+unselectable
|
+unselectable
|
||||||
|
@ -10,18 +10,18 @@
|
|||||||
padding: 8px 10px
|
padding: 8px 10px
|
||||||
vertical-align: top
|
vertical-align: top
|
||||||
// Modifiers
|
// Modifiers
|
||||||
&.table-icon
|
&.is-icon
|
||||||
padding: 5px
|
padding: 5px
|
||||||
text-align: center
|
text-align: center
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
width: 1%
|
width: 1%
|
||||||
.fa
|
.fa
|
||||||
+fa(21px, 24px)
|
+fa(21px, 24px)
|
||||||
&.table-link
|
&.is-link
|
||||||
padding: 0
|
padding: 0
|
||||||
& > a
|
& > a
|
||||||
padding: 5px
|
padding: 5px
|
||||||
&.table-link
|
&.is-link
|
||||||
padding: 0
|
padding: 0
|
||||||
& > a
|
& > a
|
||||||
display: block
|
display: block
|
||||||
@ -29,7 +29,7 @@
|
|||||||
&:hover
|
&:hover
|
||||||
background: $link
|
background: $link
|
||||||
color: $link-invert
|
color: $link-invert
|
||||||
&.table-narrow
|
&.is-narrow
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
width: 1%
|
width: 1%
|
||||||
th
|
th
|
||||||
@ -70,13 +70,13 @@
|
|||||||
th
|
th
|
||||||
padding: 5px 10px
|
padding: 5px 10px
|
||||||
// Modifiers
|
// Modifiers
|
||||||
&.table-icon
|
&.is-icon
|
||||||
padding: 2px
|
padding: 2px
|
||||||
&.table-link
|
&.is-link
|
||||||
padding: 0
|
padding: 0
|
||||||
& > a
|
& > a
|
||||||
padding: 2px
|
padding: 2px
|
||||||
&.table-link
|
&.is-link
|
||||||
padding: 0
|
padding: 0
|
||||||
& > a
|
& > a
|
||||||
padding: 5px 10px
|
padding: 5px 10px
|
Loading…
Reference in New Issue
Block a user