]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
style(css): removes `&-*` scss pattern
authorCatalin Zalog <c@zalog.ro>
Sun, 8 Mar 2020 06:53:41 +0000 (08:53 +0200)
committerMark Otto <otto@github.com>
Sun, 8 Mar 2020 19:59:18 +0000 (12:59 -0700)
site/assets/scss/_masthead.scss

index 82d010d19a8a9808c89bfbd8d33aec4bdf98af02..f70b4b837c2d8329f5e36c967834fd40b72ab2f7 100644 (file)
   color: $white;
   @include border-radius(25%);
   box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .15), inset 0 -1px 0 rgba(0, 0, 0, .15);
+}
 
-  &-purple {
-    background-image: linear-gradient(180deg, $pink, $purple);
-  }
+.home-icon-purple {
+  background-image: linear-gradient(180deg, $pink, $purple);
+}
 
-  &-blue {
-    background-image: linear-gradient(180deg, $teal, $blue);
-  }
+.home-icon-blue {
+  background-image: linear-gradient(180deg, $teal, $blue);
+}
 
-  &-yellow {
-    background-image: linear-gradient(180deg, $yellow, $orange);
-  }
+.home-icon-yellow {
+  background-image: linear-gradient(180deg, $yellow, $orange);
 }
 
 @include media-breakpoint-up(md) {