ducky/web
2015-07-07
Parent:99a43a6d1d30
ducky/web/src/styles/base/_buttons.scss
Make production builds possible. Our production builds were erroring out, making it hard to deploy. This fixes things so that our production builds succeed, though I'm lying if I say I understand all the reasoning behind it. The major reasoning seems to be "BUGS".
1 #{$all-button-inputs},
2 button {
3 @include appearance(none);
4 -webkit-font-smoothing: antialiased;
5 background-color: $action-color;
6 border-radius: $base-border-radius;
7 border: none;
8 color: #fff;
9 cursor: pointer;
10 display: inline-block;
11 font-family: $base-font-family;
12 font-size: $base-font-size;
13 font-weight: 600;
14 line-height: 1;
15 padding: 0.75em 1em;
16 text-decoration: none;
17 user-select: none;
18 vertical-align: middle;
19 white-space: nowrap;
21 &:hover,
22 &:focus {
23 background-color: darken($action-color, 15%);
24 color: #fff;
25 }
27 &:disabled {
28 cursor: not-allowed;
29 opacity: 0.5;
30 }
31 }