]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Restructure elements and components
authorJeremy Thomas <bbxdesign@gmail.com>
Mon, 18 Apr 2016 20:50:59 +0000 (21:50 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Mon, 18 Apr 2016 20:50:59 +0000 (21:50 +0100)
CHANGELOG.md
sass/base/base.sass
sass/components/components.sass
sass/components/message.sass [moved from sass/elements/messages.sass with 100% similarity]
sass/elements/button.sass [moved from sass/elements/buttons.sass with 100% similarity]
sass/elements/content.sass [moved from sass/base/content.sass with 100% similarity]
sass/elements/elements.sass
sass/elements/image.sass [moved from sass/elements/images.sass with 100% similarity]
sass/elements/notification.sass [moved from sass/elements/notifications.sass with 100% similarity]
sass/elements/table.sass [moved from sass/components/table.sass with 91% similarity]
sass/elements/title.sass [moved from sass/elements/titles.sass with 100% similarity]

index 86c82cd71b8b9c5c096f42c3392c27ddcc8ce67d..ede3215f836183cfc2ea53359ec9ca3de4a7454b 100644 (file)
@@ -5,6 +5,18 @@
 ### BREAKING
 
 * `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
 
index 74209c01efcc5a17686c51ba987df71f144b5348..7346c0ca53716b0c7ce4931f34ae937e06a37db0 100644 (file)
@@ -1,6 +1,5 @@
 @charset "utf-8"
 
 @import "generic"
-@import "content"
-@import "highlight"
 @import "helpers"
+@import "highlight"
index 9caf620a1d805938e1ef1db535e70da77c1b2332..0e0445d62f9979b9bf07851ad788635651e2f866 100644 (file)
@@ -1,15 +1,15 @@
 @charset "utf-8"
 
-@import "grid"
-@import "navbar"
 @import "card"
-@import "table"
-@import "tabs"
+@import "grid"
 @import "media"
 @import "menu"
+@import "message"
+@import "modal"
+@import "navbar"
 @import "pagination"
 @import "panel"
-@import "modal"
+@import "tabs"
 
 .box
   @extend .block
index 437ab99960e94221a724738ede437786f8da16d1..74b963342a74da22ebcfed86be900466af753d92 100644 (file)
@@ -1,12 +1,14 @@
 @charset "utf-8"
 
 @import "controls"
-@import "buttons"
-@import "titles"
-@import "images"
-@import "messages"
-@import "notifications"
+
+@import "button"
+@import "content"
+@import "image"
+@import "notification"
 @import "progress"
+@import "table"
+@import "title"
 
 .delete
   +unselectable
similarity index 91%
rename from sass/components/table.sass
rename to sass/elements/table.sass
index 47bfeb6426387145af758cdbcee0fc26bd2a939e..1f994939f7f6bc39e7c80f15435815f5c05dd661 100644 (file)
     padding: 8px 10px
     vertical-align: top
     // Modifiers
-    &.table-icon
+    &.is-icon
       padding: 5px
       text-align: center
       white-space: nowrap
       width: 1%
       .fa
         +fa(21px, 24px)
-      &.table-link
+      &.is-link
         padding: 0
         & > a
           padding: 5px
-    &.table-link
+    &.is-link
       padding: 0
       & > a
         display: block
@@ -29,7 +29,7 @@
         &:hover
           background: $link
           color: $link-invert
-    &.table-narrow
+    &.is-narrow
       white-space: nowrap
       width: 1%
   th
     th
       padding: 5px 10px
       // Modifiers
-      &.table-icon
+      &.is-icon
         padding: 2px
-        &.table-link
+        &.is-link
           padding: 0
           & > a
             padding: 2px
-      &.table-link
+      &.is-link
         padding: 0
         & > a
           padding: 5px 10px