Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@mixin button-std($bg: $red, $color: $white) {
background-color: $bg;
color: $color;
font-size: 14px;
font-weight: 600;
line-height: 1.25;
text-align: center;
text-transform: uppercase;
text-decoration: none;
padding: 11px 16px 10px;
margin-bottom: 16px;
display: inline-block;
position: relative;
cursor: pointer;
&:active {
background-color: darken($bg, 5%) !important;
}
&:hover {
background-color: lighten($bg, 3%);
}
&:focus {
background-color: lighten($bg, 3%);
outline: 2px dotted $near-black;
outline-offset: 0;
}
}
@mixin button-rev($bg: $white, $color: $red) {
background-color: $bg;
color: $color;
border: 1px solid $color;
padding: 11px 16px 10px;
&:active {
background-color: darken($color, 5%) !important;
}
&:hover {
background-color: $color;
}
&:focus {
background-color: $color;
}
}