]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix #506
authorJeremy Thomas <bbxdesign@gmail.com>
Sun, 2 Apr 2017 15:28:18 +0000 (16:28 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Sun, 2 Apr 2017 16:18:20 +0000 (17:18 +0100)
CHANGELOG.md
docs/css/bulma-docs.css
sass/layout/hero.sass

index 56692be925f0c34b2399b7a2c342176be8743464..49096999ee24273705d9cbd30bbda816f4058073 100644 (file)
@@ -13,6 +13,7 @@
 * Fix #565 `dl` styles
 * Fix #389 `pre` `margin-bottom`
 * Fix #484 icon alignment
+* Fix #506 bold nav menu
 
 ## 0.4.0
 
index c24426834a3d0a56c8e56967c9d821dd93e92db1..0dd1da89b1438efaff5c3fa9f038fe2432e00641 100644 (file)
@@ -6204,6 +6204,13 @@ label.panel-block:hover {
   background-image: linear-gradient(141deg, #e6e6e6 0%, white 71%, white 100%);
 }
 
+@media screen and (max-width: 768px) {
+  .hero.is-white.is-bold .nav-menu {
+    background-image: -webkit-linear-gradient(309deg, #e6e6e6 0%, white 71%, white 100%);
+    background-image: linear-gradient(141deg, #e6e6e6 0%, white 71%, white 100%);
+  }
+}
+
 @media screen and (max-width: 768px) {
   .hero.is-white .nav-toggle span {
     background-color: #0a0a0a;
@@ -6295,6 +6302,13 @@ label.panel-block:hover {
   background-image: linear-gradient(141deg, black 0%, #0a0a0a 71%, #181616 100%);
 }
 
+@media screen and (max-width: 768px) {
+  .hero.is-black.is-bold .nav-menu {
+    background-image: -webkit-linear-gradient(309deg, black 0%, #0a0a0a 71%, #181616 100%);
+    background-image: linear-gradient(141deg, black 0%, #0a0a0a 71%, #181616 100%);
+  }
+}
+
 @media screen and (max-width: 768px) {
   .hero.is-black .nav-toggle span {
     background-color: white;
@@ -6386,6 +6400,13 @@ label.panel-block:hover {
   background-image: linear-gradient(141deg, #dfd8d8 0%, whitesmoke 71%, white 100%);
 }
 
+@media screen and (max-width: 768px) {
+  .hero.is-light.is-bold .nav-menu {
+    background-image: -webkit-linear-gradient(309deg, #dfd8d8 0%, whitesmoke 71%, white 100%);
+    background-image: linear-gradient(141deg, #dfd8d8 0%, whitesmoke 71%, white 100%);
+  }
+}
+
 @media screen and (max-width: 768px) {
   .hero.is-light .nav-toggle span {
     background-color: #363636;
@@ -6477,6 +6498,13 @@ label.panel-block:hover {
   background-image: linear-gradient(141deg, #1f1919 0%, #363636 71%, #463f3f 100%);
 }
 
+@media screen and (max-width: 768px) {
+  .hero.is-dark.is-bold .nav-menu {
+    background-image: -webkit-linear-gradient(309deg, #1f1919 0%, #363636 71%, #463f3f 100%);
+    background-image: linear-gradient(141deg, #1f1919 0%, #363636 71%, #463f3f 100%);
+  }
+}
+
 @media screen and (max-width: 768px) {
   .hero.is-dark .nav-toggle span {
     background-color: whitesmoke;
@@ -6568,6 +6596,13 @@ label.panel-block:hover {
   background-image: linear-gradient(141deg, #009e6c 0%, #00d1b2 71%, #00e7eb 100%);
 }
 
+@media screen and (max-width: 768px) {
+  .hero.is-primary.is-bold .nav-menu {
+    background-image: -webkit-linear-gradient(309deg, #009e6c 0%, #00d1b2 71%, #00e7eb 100%);
+    background-image: linear-gradient(141deg, #009e6c 0%, #00d1b2 71%, #00e7eb 100%);
+  }
+}
+
 @media screen and (max-width: 768px) {
   .hero.is-primary .nav-toggle span {
     background-color: #fff;
@@ -6659,6 +6694,13 @@ label.panel-block:hover {
   background-image: linear-gradient(141deg, #1577c6 0%, #3273dc 71%, #4366e5 100%);
 }
 
+@media screen and (max-width: 768px) {
+  .hero.is-info.is-bold .nav-menu {
+    background-image: -webkit-linear-gradient(309deg, #1577c6 0%, #3273dc 71%, #4366e5 100%);
+    background-image: linear-gradient(141deg, #1577c6 0%, #3273dc 71%, #4366e5 100%);
+  }
+}
+
 @media screen and (max-width: 768px) {
   .hero.is-info .nav-toggle span {
     background-color: #fff;
@@ -6750,6 +6792,13 @@ label.panel-block:hover {
   background-image: linear-gradient(141deg, #12af2f 0%, #23d160 71%, #2ce28a 100%);
 }
 
+@media screen and (max-width: 768px) {
+  .hero.is-success.is-bold .nav-menu {
+    background-image: -webkit-linear-gradient(309deg, #12af2f 0%, #23d160 71%, #2ce28a 100%);
+    background-image: linear-gradient(141deg, #12af2f 0%, #23d160 71%, #2ce28a 100%);
+  }
+}
+
 @media screen and (max-width: 768px) {
   .hero.is-success .nav-toggle span {
     background-color: #fff;
@@ -6841,6 +6890,13 @@ label.panel-block:hover {
   background-image: linear-gradient(141deg, #ffaf24 0%, #ffdd57 71%, #fffa70 100%);
 }
 
+@media screen and (max-width: 768px) {
+  .hero.is-warning.is-bold .nav-menu {
+    background-image: -webkit-linear-gradient(309deg, #ffaf24 0%, #ffdd57 71%, #fffa70 100%);
+    background-image: linear-gradient(141deg, #ffaf24 0%, #ffdd57 71%, #fffa70 100%);
+  }
+}
+
 @media screen and (max-width: 768px) {
   .hero.is-warning .nav-toggle span {
     background-color: rgba(0, 0, 0, 0.7);
@@ -6932,6 +6988,13 @@ label.panel-block:hover {
   background-image: linear-gradient(141deg, #ff0561 0%, #ff3860 71%, #ff5257 100%);
 }
 
+@media screen and (max-width: 768px) {
+  .hero.is-danger.is-bold .nav-menu {
+    background-image: -webkit-linear-gradient(309deg, #ff0561 0%, #ff3860 71%, #ff5257 100%);
+    background-image: linear-gradient(141deg, #ff0561 0%, #ff3860 71%, #ff5257 100%);
+  }
+}
+
 @media screen and (max-width: 768px) {
   .hero.is-danger .nav-toggle span {
     background-color: #fff;
index 7de0f7b4c2f98362ae6b9f33fec169e0525d4848..2f95c892e4c66a5d91a846f18ca10a904003b6d5 100644 (file)
         $gradient-top-left: darken(saturate(adjust-hue($color, -10deg), 10%), 10%)
         $gradient-bottom-right: lighten(saturate(adjust-hue($color, 10deg), 5%), 5%)
         background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
+        +mobile
+          .nav-menu
+            background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
       // Responsiveness
       +mobile
         .nav-toggle