-
Notifications
You must be signed in to change notification settings - Fork 7
/
component-sandbox.scss
74 lines (73 loc) · 1.41 KB
/
component-sandbox.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
63
64
65
66
67
68
69
70
71
72
73
74
.component-sandbox {
section {
border-top: 1px solid #666;
}
button {
background-color: black;
border: none;
border-radius: 5px;
color: white;
font-size: 1em;
font-weight: bold;
margin: 0.5em 0;
padding: 0.5em;
}
#css-target-button {
&.visuallyHidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
&.opacityNone {
opacity: 0;
}
&.displayNone {
display: none;
}
&.visibilityHidden {
visibility: hidden;
}
}
fieldset {
border: none;
margin-top: 1em;
padding: 0;
}
legend {
font-weight: bold;
margin: 0 0 0.5em;
}
label {
border: 1px solid #ccc;
border-radius: 5em;
display: inline-block;
margin-bottom: 1em;
margin-right: 1em;
padding: 0.25em;
}
label.selected {
background-color: #ccc;
}
}
dialog {
z-index: 3;
top: 20vh;
}
.backdrop {
background-color: rgba(0, 0, 0, 0.75);
bottom: 0;
display: none;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 2;
&.active {
display: block;
}
}