-
Notifications
You must be signed in to change notification settings - Fork 0
/
_button.scss
55 lines (44 loc) · 977 Bytes
/
_button.scss
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
48
49
50
51
52
53
54
55
.button {
--button-color-1: #1f1f1f;
--button-color-2: white;
--button-color-3: #fbce51;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
box-sizing: border-box;
padding: 20px 18px;
border: 0;
border-radius: 9999px;
background-color: var(--button-color-1);
color: var(--button-color-2);
font: 500 16px/130% var(--default-font);
text-align: center;
text-decoration: none;
transition:
background-color .5s,
color .1s;
&:hover {
background-color: var(--button-color-3);
color: var(--button-color-1);
}
}
.button_secondary {
opacity: .9;
background-color: var(--button-color-2);
color: var(--button-color-1);
&:hover {
background-color: var(--button-color-1);
color: var(--button-color-2);
}
}
@include breakpoint {
.button {
padding: 20px 49px;
}
.button_secondary {
opacity: 1;
background-color: initial;
border: 2px solid var(--button-color-1);
}
}