]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Move CSS of hover underline to base from color variants
authorysds <ysds.code@gmail.com>
Wed, 29 Aug 2018 17:48:41 +0000 (02:48 +0900)
committerMark Otto <otto@github.com>
Sun, 2 Sep 2018 23:25:21 +0000 (16:25 -0700)
scss/_badge.scss
scss/mixins/_badge.scss

index b87a1b00495abc8b00d4c813ec301c22cb320f80..2e489a05b134a80834d1464d61422e7ac6ab4156 100644 (file)
   vertical-align: baseline;
   @include border-radius($badge-border-radius);
 
+  &[href] {
+    @include hover-focus {
+      text-decoration: none;
+    }
+  }
+
   // Empty badges collapse automatically
   &:empty {
     display: none;
index eeca0b40de92773d3925c557edb2c6642ff37645..535bcb4cc3686be6168e27231783f98f5d324848 100644 (file)
@@ -5,7 +5,6 @@
   &[href] {
     @include hover-focus {
       color: color-yiq($bg);
-      text-decoration: none;
       background-color: darken($bg, 10%);
     }
   }