-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbutton.scss
More file actions
60 lines (54 loc) · 1017 Bytes
/
button.scss
File metadata and controls
60 lines (54 loc) · 1017 Bytes
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
@use "../vars";
@use "../base/mixins";
.button {
display: inline-block;
padding: 10px 15px;
text-transform: uppercase;
background-color: white;
color: vars.$blue;
border: 1px solid vars.$lighter-grey;
border-radius: vars.$br;
font-size: larger;
font-weight: bold;
text-align: center;
cursor: pointer;
@include mixins.no-text-decoration;
&:not(:last-child) {
margin-right: 15px;
}
&.disabled {
cursor: no-drop;
}
i {
margin-left: 10px;
color: vars.$medium-grey;
}
&.blue {
background-color: vars.$blue;
color: white;
border: none;
&.error {
background-color: vars.$red;
}
i {
color: white;
}
}
&.grey {
background-color: vars.$lighter-grey;
color: white;
border: none;
}
&.green {
background-color: vars.$green;
color: white;
border: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
i {
color: white;
margin:0;
font-size: larger;
}
}
}