zurb/foundation — pull request #5499 by javierjulio (2014-07-25 16:26:55+00:00)
Title: Add disabled cursor variables with default to Buttons and Forms

The Buttons component uses the $cursor-default-value even on disabled components. While overriding isn't problematic it does lead to a lot of unnecessary CSS where a custom variable with the $cursor-default-value as a default would be best. Right now I have to do the following to override the cursor for disabled buttons:

```css
button, .button {
&.disabled,
&[disabled] {
cursor: not-allowed;

&.secondary,
&.success,
&.alert {
cursor: not-allowed;
}
}
}
```

I've added the following variables to _settings.scss for components that support the disabled class or property maintaining the same default value (e.g. $cursor-default-value). Backwards compatible while also making it easy to customize.

$button-disabled-cursor: $cursor-default-value;
$input-disabled-cursor: $cursor-default-value;

Example docs have also been updated with the variable. I followed the Contributing guide but no Procfile is in the root or in the doc folder. Not sure if I have to compile docs. I've modified the appropriate example templates though.