forked from zombieFox/nightTab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton.css
More file actions
119 lines (107 loc) · 2.44 KB
/
Copy pathbutton.css
File metadata and controls
119 lines (107 loc) · 2.44 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
background-color: var(--gray-02);
padding: 0.25em 1em;
margin: 0 0 1em 0;
color: var(--gray-16);
font-size: 1em;
font-family: var(--font-regular);
min-height: 2.5em;
line-height: 1;
border: 0;
border-top-width: 2px;
border-bottom-width: 2px;
border-style: solid;
border-color: transparent;
border-radius: var(--radius);
text-align: center;
text-decoration: none;
white-space: nowrap;
cursor: pointer;
box-shadow: none;
transition: all var(--animation-speed-medium) ease-in-out;
display: inline-flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.button.active {
border-top-width: 3px;
border-bottom-width: 3px;
border-bottom-color: rgb(var(--accent));
}
button [class^="icon-"],
button [class*=" icon-"],
.button [class^="icon-"],
.button [class*=" icon-"] {
font-size: 1.5em;
line-height: 1;
}
.button-small {
font-size: 0.8em;
}
.button-group {
margin: 0 0 1em 0;
display: flex;
justify-content: center;
align-items: stretch;
}
.button-group button,
.button-group .button {
margin: 0;
border-radius: 0;
}
.button-group button:first-child,
.button-group .button:first-child {
border-radius: var(--radius) 0 0 var(--radius);
}
.button-group button:last-child,
.button-group .button:last-child {
border-radius: 0 var(--radius) var(--radius) 0;
}
button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
background-color: var(--gray-03);
border-bottom-color: rgb(var(--accent));
color: var(--white);
outline: 0;
}
button:active,
.button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
background-color: var(--gray-04);
color: var(--white);
transition: none;
}
button [class^="button-"],
button [class*=" button-"],
.button [class^="button-"],
.button [class*=" button-"] {
margin-left: 0.25em;
margin-right: 0.25em;
}
button [class^="button-"]:first-child,
button [class*=" button-"]:first-child,
.button [class^="button-"]:first-child,
.button [class*=" button-"]:first-child {
margin-left: 0;
}
button [class^="button-"]:last-child,
button [class*=" button-"]:last-child,
.button [class^="button-"]:last-child,
.button [class*=" button-"]:last-child {
margin-right: 0;
}