-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
72 lines (66 loc) · 1.87 KB
/
index.css
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
:root {
--Button-spaceH: var(--g-controls-spaceH);
--Button-fontSize: var(--g-fontSize);
--Button-borderRadius: var(--g-borderRadius);
--Button-color: #000;
--Button-fill: transparent;
--Button-borderColor: #000;
--Button-borderSize: var(--g-controls-borderSize);
--Button-borderSize2x: calc(var(--Button-borderSize) * 2);
--Button-height: var(--g-controls-height);
--Button-primary-color: var(--g-primary);
--Button-primary-fill: transparent;
--Button-primary-borderColor: var(--g-primary-dark);
}
/* sircus-components-button
======================================== */
.Button {
font-size: var(--Button-fontSize);
line-height: calc(var(--Button-height) - var(--Button-borderSize2x));
display: inline-block;
box-sizing: border-box;
height: var(--Button-height);
margin: 0;
padding: 0 var(--Button-spaceH);
cursor: pointer;
text-align: center;
vertical-align: middle;
white-space: nowrap;
text-decoration: none;
color: var(--Button-color);
border: var(--Button-borderSize) solid var(--Button-borderColor);
border-radius: var(--Button-borderRadius);
outline: none;
background-color: var(--Button-fill);
background-image: none;
box-shadow: none;
appearance: none;
}
.Button.is-disabled,
.Button[disabled] {
pointer-events: none;
cursor: not-allowed;
opacity: .5;
}
.Button:hover,
.Button:focus,
.Button:active,
.Button.is-active {
text-decoration: none;
color: #fff;
border-color: var(--Button-borderColor);
background-color: var(--Button-borderColor);
}
.Button--primary {
background-color: var(--Button-primary-fill);
border-color: var(--Button-primary-borderColor);
color: var(--Button-primary-color);
}
.Button--primary:hover,
.Button--primary:focus,
.Button--primary:active,
.Button--primary.is-active {
background-color: var(--Button-primary-color);
color: #fff;
border-color: var(--Button-primary-borderColor);
}