]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fixed dropdown mixin issue
authorLaurelBCodin <laurel@zurb.com>
Sat, 22 Apr 2017 00:04:40 +0000 (17:04 -0700)
committerLaurelBCodin <laurel@zurb.com>
Sat, 22 Apr 2017 00:04:40 +0000 (17:04 -0700)
_vendor/normalize-scss/sass/normalize/_normalize-mixin.scss
docs/pages/button.md
scss/components/_button.scss
tmp.txt [new file with mode: 0644]

index edfd399a2a27b6a9fbe91c0cd9af11d5b2f97b5f..70a8d3d371e7fa432b243941e0a7fd88e44ddda6 100644 (file)
     optgroup,
     select,
     textarea {
-      font-family: inherit; /* 1 */
+      font-family: $base-font-family; /* 1 */
       font-size: 100%; /* 1 */
       @if $normalize-vertical-rhythm {
         line-height: ($base-line-height / $base-font-size) * 1em; /* 1 */
index 81b33574577004bad3a1870000881813773e45d6..e14ff7c9a7bc8fd0984bd029b75654972eb0faf4 100644 (file)
@@ -40,8 +40,10 @@ Additional classes can be added to your button to change its size and shape.
 <a class="button large" href="#">So Large</a>
 <a class="button expanded" href="#">Such Expand</a>
 <a class="button small expanded" href="#">Wow, Small Expand</a>
+<button class="button test-button">Test button</button>
 ```
 
+
 ---
 
 ## Coloring
index eb266c59475c0895e71c24a97d8b7cec34b6eec9..c85f5f95119b8618c66a64b9adcc93b8cc7d09ac 100644 (file)
@@ -258,7 +258,7 @@ $button-transition: background-color 0.25s ease-out, color 0.25s ease-out !defau
 
     display: inline-block;
     float: #{$global-right};
-    margin-#{$global-left}: get-side($button-padding, right);
+    margin-#{$global-left}: $offset;
   }
 }
 
diff --git a/tmp.txt b/tmp.txt
new file mode 100644 (file)
index 0000000..a43b386
--- /dev/null
+++ b/tmp.txt
@@ -0,0 +1,4 @@
+$button-padding: 4px;
+$button-padding: 4px 2px;
+$button-padding: 4px 1px 3px;
+$button-padding: 4px 5px 3px 1px;