OSDN Git Service

Regular updates
[twpd/master.git] / _sass / 2017 / placeholders / push-button.scss
1 %push-button {
2   display: inline-block;
3   text-decoration: none;
4   padding: 8px 16px;
5   border-radius: 3px;
6
7   &,
8   &:visited {
9     background-color: $base-a;
10     background: $base-a-gradient;
11     color: white;
12   }
13
14   &:hover,
15   &:focus {
16     background: darken($base-a, 16%);
17     box-shadow: none;
18     color: white;
19   }
20 }
21
22 %push-button.-dark {
23   &,
24   &:visited {
25     background: darken($base-a, 16%);
26     color: white;
27   }
28
29   &:hover,
30   &:focus {
31     background: darken($base-a, 24%);
32     color: white;
33   }
34 }