]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Default input type 6622/head
authoroctlabs <octlabs@users.noreply.github.com>
Thu, 11 Jun 2015 14:56:08 +0000 (16:56 +0200)
committeroctlabs <octlabs@users.noreply.github.com>
Thu, 11 Jun 2015 14:56:08 +0000 (16:56 +0200)
Fix to https://github.com/zurb/foundation/issues/6416
"The default type is text, if this attribute is not specified." (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type)

scss/foundation/components/_forms.scss

index 103838804ff2eee9480f1c0456efd1961ce0b683..a1230a646a722c2f96cb0c84d60c47e12d8e3731 100644 (file)
@@ -418,7 +418,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
     span.postfix, label.postfix { @include postfix(); }
 
     /* We use this to get basic styling on all basic form elements */
-    #{text-inputs(all, 'input')} {
+    input:not([type]), #{text-inputs(all, 'input')} {
       -webkit-appearance: none;
       -moz-appearance: none;
       border-radius: 0;