-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathstyle.scss
72 lines (61 loc) · 1.32 KB
/
style.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
@use 'sass:color';
@import './../../../styles/foundation/variables';
$btnTextColor: #fff;
$btnBgColor: #545a78;
.btn {
cursor: pointer;
display: inline-flex;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
position: relative;
box-sizing: border-box;
outline: 0;
margin: 0;
vertical-align: middle;
font-family: $mainFont;
font-weight: 500;
font-size: 1.3rem;
line-height: 1.75;
text-transform: uppercase;
border-radius: 4px;
color: $btnTextColor;
background: $btnBgColor;
padding: 6px 16px;
min-width: 22px;
min-height: 22px;
border: none;
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
&:hover {
background-color: #3a3e54;
}
&.size-small {
padding: 0;
:hover {
text-decoration: none;
background-color: rgba(255, 255, 255, 0.08);
}
}
&.disabled {
color: color.adjust($btnTextColor, $lightness: -40%);
background: color.adjust($btnBgColor, $lightness: -10%);
pointer-events: none;
cursor: inherit;
}
&.btn-active {
color: #fff;
background: #e63232;
&:hover {
background: #541313;
}
}
&.btn-inactive {
color: #ddd;
background: #8e8e8e;
&:hover {
background: #333;
}
}
}