-
Notifications
You must be signed in to change notification settings - Fork 1
/
button.scss
62 lines (49 loc) · 989 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
56
57
58
59
60
61
62
.button {
display: inline-block;
margin: 0;
padding: 10px 5px;
border: 1px solid #666;
border-radius: 4px;
width: 100%;
max-width: 256px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #eee;
background-color: #000;
font-family: "Roboto Slab", helvetica, arial, sans-serif;
font-size: 1rem;
text-decoration: none;
text-align: center;
cursor: pointer;
&:hover {
color: #eee;
background-color: #333;
transition: background 500ms, ease 500ms;
}
&--first {
align-self: flex-start;
background-color: #000;
border: none;
font-style: bold;
font-size: 2rem;
}
&--inverted {
color: #666;
background-color: #eee;
}
&--inverted:hover {
color: #333;
background-color: #ccc;
}
&--disabled,
&--disabled:hover {
border-color: #eee;
color: #999;
background-color: #eee;
}
&--formbtn {
flex-direction: row;
justify-content: center;
}
}