]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Added a "small" selector for close-button
author姜巍 <jwwxyz@icloud.com>
Sat, 24 Sep 2016 13:34:46 +0000 (21:34 +0800)
committerGitHub <noreply@github.com>
Sat, 24 Sep 2016 13:34:46 +0000 (21:34 +0800)
scss/components/_close-button.scss

index 7ea8f237f2e43a3fc31263de86970880c76baad3..0984f0fea91739d8de87add5f673ef4fda2cf563 100644 (file)
@@ -57,5 +57,10 @@ $closebutton-color-hover: $black !default;
 @mixin foundation-close-button {
   .close-button {
     @include close-button;
+    
+    &.small {
+      top: 0.25rem;
+      font-size: 1.5em;
+    }
   }
 }