]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add `is-empty` modifier to file upload (#1383)
authorTim MacDonald <tim.mac7@me.com>
Mon, 6 Nov 2017 12:26:08 +0000 (23:26 +1100)
committerJeremy Thomas <bbxdesign@gmail.com>
Mon, 6 Nov 2017 12:26:08 +0000 (12:26 +0000)
* add classes

* add to changelog

CHANGELOG.md
sass/elements/form.sass

index 9a4d411d31f7cbddc190fdf051ac47d7953b78eb..b86009f3f0e451c5af2f5ba804ab8d622c4e9aa8 100644 (file)
@@ -9,6 +9,7 @@
 * ðŸŽ‰ #1287 New `.is-invisible` helper
 * ðŸŽ‰ #1255 New `.is-expanded` modifier for `navbar-item`
 * ðŸŽ‰ #1384 New `.is-centered` and `.is-right` modifiers for `tags`
+* ðŸŽ‰ #1383 New `.is-empty` modifier for `file`
 
 ### Improvements
 
index 5708b567f58756087bbf5bc398be737d4065ee27..303a6454a4e8523c2801a6402943950058168bee 100644 (file)
@@ -269,6 +269,11 @@ $help-size: $size-small !default
     .file-name
       border-bottom-left-radius: 0
       border-top-left-radius: 0
+    &.is-empty
+      .file-cta
+        border-radius: $file-radius
+      .file-name
+        display: none
   &.is-centered
     justify-content: center
   &.is-right