]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Issue #7160 Add styling for disabled attribute button 7485/head
authorAaron Arney <ocularrhythm@users.noreply.github.com>
Fri, 11 Dec 2015 01:14:34 +0000 (20:14 -0500)
committerAaron Arney <ocularrhythm@users.noreply.github.com>
Fri, 11 Dec 2015 01:14:34 +0000 (20:14 -0500)
Add disabled attribute selector to include the disabled styling for buttons.

scss/components/_button.scss

index 6b01bb5e3c17530b2e07653c94bf388842cbd4c1..2f4d649033e6f36a034a65a8aecf6057841a84db 100644 (file)
@@ -239,7 +239,8 @@ $button-opacity-disabled: 0.25 !default;
     }
 
     // Disabled style
-    &.disabled {
+    &.disabled,
+    &[disabled] {
       @include button-disabled;
     }