-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathButton.styles.scss
61 lines (50 loc) · 985 Bytes
/
Button.styles.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
@import 'src/styles/variables';
.group-btn {
display: flex;
.btn:not(:first-child) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.btn:not(:last-child) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.btn + .btn {
margin-left: -1px;
}
}
.btn {
padding-left: 2.4rem;
padding-right: 2.4rem;
border-radius: 4px;
font-weight: 500;
font-size: 1.4rem;
line-height: 1.8rem;
color: $secondary-text;
border: 1px $secondary-stroke solid;
&.only-icon {
width: 4.8rem;
padding: 0;
background-color: $background;
i {
margin-right: 0;
}
}
&.shadow {
box-shadow: 0 4px 16px rgba(213, 213, 213, 0.25), 0 0 12px rgba(213, 213, 213, 0.04),
0 2px 2px rgba(213, 213, 213, 0.05);
}
&.black {
background-color: $main-text;
color: #fff;
}
i {
margin-right: 0.8rem;
}
&.icon-right {
i {
margin-right: 0;
margin-left: 0.8rem;
}
}
}