forked from dringtech/ifg-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
102 lines (99 loc) · 1.94 KB
/
style.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
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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
html {
font-family: "Open Sans", sans-serif;
font-optical-sizing: auto;
font-weight: normal;
font-style: normal;
font-variation-settings: "wdth" 100;
}
.container {
max-width: 80rem;
margin-inline: auto;
padding: 10px;
background: lightgray;
}
body {
background-color: grey;
}
#timeline-chart {
background-color: paleturquoise;
}
#examples {
background-color: antiquewhite;
}
.controls {
display: flex;
flex-wrap: wrap;
margin-block-end: 10px;
row-gap: 0.3rem;
column-gap: 1rem;
}
.controls .markers {
color: white;
background-color: #00f;
display: flex;
column-gap: 0.3rem;
align-items: center;
}
.controls .colour-coding {
background-color: #0f0;
}
.controls .buttons {
flex-grow: 1;
background-color: #f00;
display: flex;
justify-content: flex-end;
align-items: center;
gap: 0.5rem;
}
.controls button {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
gap: 0.3em;
color: white;
font: inherit;
background: inherit;
border: 1px solid white;
border-radius: 2em;
padding-inline: 1em;
/* padding-block: 0.2em; */
}
.controls select {
font: inherit;
color: inherit;
background: none;
border: none;
}
.controls button:hover {
color: #f00;
background: white;
}
.controls button svg {
height: 1em;
aspect-ratio: 1/1;
}
input[type="checkbox"] {
appearance: none;
background-color: inherit;
font: inherit;
color: currentColor;
width: 1.15em;
height: 1.15em;
border: 0.15em solid currentColor;
border-radius: 0.15em;
display: grid;
place-content: center;
}
input[type="checkbox"]::before {
content: "";
width: 0.65em;
height: 0.65em;
transform: scale(0);
transition: 120ms transform ease-in-out;
box-shadow: inset 1em 1em var(--form-control-color, white);
}
input[type="checkbox"]:checked::before {
transform: scale(1);
}