-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.css
188 lines (162 loc) · 3.47 KB
/
dashboard.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
.nl-row {
display: flex;
flex-direction: row;
gap: 40px;
margin: 10px auto;
width: min(100%, 991px);
}
.nl-full-row {
margin: 10px auto;
width: min(100%, 991px);
}
.nl-column {
flex: 1;
margin-top: 0px !important;
}
.nl-download * {
margin: 0 !important;
}
.nl-card {
color: rgb(36, 41, 46) !important;
}
/* Header styles */
.nl-header {
display: flex;
justify-content: center;
align-items: center;
gap: 2em;
margin: auto;
margin-bottom: 20px;
border: 1px solid;
border-radius: 10px;
padding: 5px 10px;
width: min(100%, 768px);
text-align: center;
/* If light-dark isn't supported (Safari < 14.5) */
background: rgb(220, 220, 220);
border-color: lightgray;
color: rgb(36, 41, 46);
/* If it is supported */
border-color: light-dark(lightgray, rgba(204, 204, 220, 0.07));
background: light-dark(rgb(220, 220, 220), rgb(34, 37, 43));
color: light-dark(rgb(36, 41, 46), rgb(204, 204, 220));
}
.nl-tooltip {
position: absolute;
bottom: 0;
visibility: hidden;
background-color: rgba(40, 40, 40, 0.9);
padding: 0.5em;
width: 100%;
color: white;
font-size: 12px;
text-align: center;
}
.nl-card:hover .nl-tooltip {
visibility: visible;
}
.nl-header h1,
.nl-header h2,
.nl-header h3 {
margin: 5px 10px !important;
overflow: hidden;
font-weight: 400 !important;
text-overflow: ellipsis;
}
/* Home card styles */
.nl-home-card {
position: relative;
transition: all 0.3s ease !important;
margin: auto;
box-shadow: inset 0 0 6px rgba(20, 20, 20, 0.25) !important;
border: lightgray solid 1px;
border-radius: 15%;
background-position: center;
background-size: 100% !important;
aspect-ratio: 1 / 1;
width: 100%;
max-width: 225px;
max-height: 225px;
overflow: hidden;
text-align: center;
}
.nl-card:hover .nl-home-card {
border-radius: 10% !important;
background-size: 110% !important;
}
.nl-home-title {
word-wrap: break-word;
display: flex;
justify-content: center;
align-items: center;
backdrop-filter: blur(4px);
margin: auto;
box-shadow: 0 0 6px rgba(20, 20, 20, 0.25);
border-bottom: lightgrey solid 1px;
background: rgba(255, 255, 255, 0.5);
padding: 0.5em;
height: 64px;
color: rgb(36, 41, 46);
overflow-wrap: break-word;
}
/* Modal styles */
.nl-modal {
display: none;
position: fixed;
z-index: 1050;
backdrop-filter: blur(1px);
inset: 0px;
background-color: rgba(208, 209, 211, 0.24);
}
.nl-modal-content {
position: relative;
margin: 20vh auto;
border: 1px solid lightgrey;
border-radius: 8px;
background-color: white;
padding: 24px;
width: min(500px, 80%);
}
/* Toggle styles */
#description-container {
display: block;
}
#table-summary-container {
display: none;
}
#toggle-description:checked ~ .description-container {
display: none;
}
#toggle-description:checked ~ .table-summary-container {
display: block;
}
/* Mapbox styles */
.js-plotly-plot .plotly .main-svg {
border-radius: 4px !important;
}
/* Button styles */
.buttons .btn {
font-size: 12px;
}
/* Media queries */
@media screen and (max-width: 768px) {
.nl-row {
flex-direction: column;
gap: 20px;
}
.nl-column {
margin-top: inherit !important;
width: 100%;
}
.nl-header {
flex-direction: column;
gap: 0.5em;
}
}
[data-testid*="Nav toolbar"] {
padding: 0px 8px 0px 8px !important;
}
/* Remove border on hover for panel containers */
[class*="-panel-container-panel-transparent-container"]:hover {
border: 1px solid transparent !important;
}