| 1 |
/* stylelint-disable no-descending-specificity */ |
| 2 |
|
| 3 |
* { |
| 4 |
box-sizing: border-box; |
| 5 |
} |
| 6 |
|
| 7 |
html, |
| 8 |
body { |
| 9 |
margin: 0; |
| 10 |
font-family: var(--font-family); |
| 11 |
font-size: 14px; |
| 12 |
font-weight: 400; |
| 13 |
line-height: 1.5; |
| 14 |
color: var(--text-color); |
| 15 |
background-color: var(--background); |
| 16 |
} |
| 17 |
|
| 18 |
p, |
| 19 |
ol, |
| 20 |
ul, |
| 21 |
dl, |
| 22 |
table, |
| 23 |
pre, |
| 24 |
hr { |
| 25 |
padding: 0; |
| 26 |
margin: 0 0 1rem; |
| 27 |
list-style-type: none; |
| 28 |
} |
| 29 |
|
| 30 |
dl { |
| 31 |
margin: 0; |
| 32 |
} |
| 33 |
|
| 34 |
code, |
| 35 |
pre { |
| 36 |
font-family: var(--font-family-monospaced); |
| 37 |
white-space: pre; |
| 38 |
background-color: var(--code-background); |
| 39 |
border: 1px solid var(--border); |
| 40 |
border-radius: 3px; |
| 41 |
} |
| 42 |
|
| 43 |
code { |
| 44 |
padding: 0 4px; |
| 45 |
line-height: 1; |
| 46 |
} |
| 47 |
|
| 48 |
pre { |
| 49 |
padding: 6px 10px; |
| 50 |
overflow: auto; |
| 51 |
} |
| 52 |
|
| 53 |
pre code { |
| 54 |
padding: 0; |
| 55 |
margin: 0; |
| 56 |
line-height: inherit; |
| 57 |
border: 0; |
| 58 |
} |
| 59 |
|
| 60 |
.pre { |
| 61 |
white-space: pre-wrap; |
| 62 |
} |
| 63 |
|
| 64 |
table { |
| 65 |
border-spacing: 0; |
| 66 |
border-collapse: collapse; |
| 67 |
} |
| 68 |
|
| 69 |
td, |
| 70 |
th { |
| 71 |
padding: 2px 5px; |
| 72 |
white-space: nowrap; |
| 73 |
} |
| 74 |
|
| 75 |
td.num, |
| 76 |
th.num { |
| 77 |
width: 7em; |
| 78 |
font-family: var(--font-family-monospaced); |
| 79 |
color: var(--text-color); |
| 80 |
text-align: right; |
| 81 |
} |
| 82 |
|
| 83 |
thead th, |
| 84 |
tfoot td { |
| 85 |
font-weight: 400; |
| 86 |
color: var(--table-header-text); |
| 87 |
background-color: var(--table-header-background); |
| 88 |
border: 1px solid var(--table-border); |
| 89 |
} |
| 90 |
|
| 91 |
tbody tr:nth-child(2n) { |
| 92 |
background-color: var(--table-background-even); |
| 93 |
} |
| 94 |
|
| 95 |
tbody td { |
| 96 |
border: 1px solid var(--table-border); |
| 97 |
} |
| 98 |
|
| 99 |
table pre { |
| 100 |
padding: 0; |
| 101 |
margin: 0; |
| 102 |
overflow: inherit; |
| 103 |
background-color: inherit; |
| 104 |
border: 0; |
| 105 |
} |
| 106 |
|
| 107 |
h2, |
| 108 |
h3 { |
| 109 |
padding: 0; |
| 110 |
margin: 0 0.5rem 1rem 0; |
| 111 |
font-weight: 500; |
| 112 |
color: var(--heading-color); |
| 113 |
} |
| 114 |
|
| 115 |
h2 { |
| 116 |
font-size: 1.2857em; |
| 117 |
} |
| 118 |
|
| 119 |
h3 { |
| 120 |
font-size: 1.1429em; |
| 121 |
} |
| 122 |
|
| 123 |
h4, |
| 124 |
h5 { |
| 125 |
font-size: 1em; |
| 126 |
} |
| 127 |
|
| 128 |
hr { |
| 129 |
border: 1px solid var(--border); |
| 130 |
} |
| 131 |
|
| 132 |
b, |
| 133 |
strong { |
| 134 |
font-weight: 500; |
| 135 |
} |
| 136 |
|
| 137 |
a { |
| 138 |
text-decoration: none; |
| 139 |
} |
| 140 |
|
| 141 |
a:link, |
| 142 |
a:visited { |
| 143 |
color: var(--link-color); |
| 144 |
} |
| 145 |
|
| 146 |
a:hover, |
| 147 |
a:focus-visible { |
| 148 |
color: var(--link-hover-color); |
| 149 |
} |
| 150 |
|
| 151 |
a:active, |
| 152 |
a:focus, |
| 153 |
a img { |
| 154 |
outline: none; |
| 155 |
border: 0; |
| 156 |
} |
| 157 |
|
| 158 |
a:focus-visible { |
| 159 |
outline: var(--link-color) dotted 2px; |
| 160 |
} |
| 161 |
|
| 162 |
button, |
| 163 |
input, |
| 164 |
textarea { |
| 165 |
font: inherit; |
| 166 |
color: var(--text-color); |
| 167 |
} |
| 168 |
|
| 169 |
input, |
| 170 |
textarea { |
| 171 |
padding: 6px 10px; |
| 172 |
border: 1px solid var(--border-darker); |
| 173 |
} |
| 174 |
|
| 175 |
label { |
| 176 |
cursor: pointer; |
| 177 |
} |
| 178 |
|
| 179 |
select { |
| 180 |
font-size: inherit; |
| 181 |
} |
| 182 |
|
| 183 |
input:invalid { |
| 184 |
outline: none; |
| 185 |
border: 1px solid var(--error); |
| 186 |
box-shadow: none; |
| 187 |
} |
| 188 |
|
| 189 |
input[type="text"]::-webkit-calendar-picker-indicator { |
| 190 |
display: none; |
| 191 |
} |
| 192 |
|
| 193 |
input[type="date"]::-webkit-inner-spin-button, |
| 194 |
input[type="date"]::-webkit-clear-button { |
| 195 |
display: none; |
| 196 |
appearance: none; |
| 197 |
} |
| 198 |
|
| 199 |
input[type="text"]::placeholder { |
| 200 |
color: var(--placeholder-color); |
| 201 |
opacity: 1; |
| 202 |
} |
| 203 |
|
| 204 |
input[type="text"]::placeholder:focus { |
| 205 |
color: var(--placeholder-color); |
| 206 |
} |
| 207 |
|
| 208 |
input[type="text"]:placeholder-shown { |
| 209 |
background-color: var(--placeholder-background); |
| 210 |
} |
| 211 |
|
| 212 |
button, |
| 213 |
.button { |
| 214 |
padding: 0.5em 0.75em; |
| 215 |
color: var(--button-color); |
| 216 |
cursor: pointer; |
| 217 |
outline: 0; |
| 218 |
background-color: var(--button-background); |
| 219 |
border: 0; |
| 220 |
border-radius: 0; |
| 221 |
} |
| 222 |
|
| 223 |
.button { |
| 224 |
display: inline-block; |
| 225 |
} |
| 226 |
|
| 227 |
h3 .button, |
| 228 |
h3 button { |
| 229 |
font-size: 1rem; |
| 230 |
font-weight: normal; |
| 231 |
} |
| 232 |
|
| 233 |
a.button { |
| 234 |
display: inline-block; |
| 235 |
padding: 2px 6px; |
| 236 |
} |
| 237 |
|
| 238 |
button:focus, |
| 239 |
button:active, |
| 240 |
button:hover, |
| 241 |
.button:focus, |
| 242 |
.button:active, |
| 243 |
.button:hover { |
| 244 |
box-shadow: var(--box-shadow-button); |
| 245 |
filter: brightness(90%); |
| 246 |
} |
| 247 |
|
| 248 |
button.unset { |
| 249 |
padding: 0; |
| 250 |
color: inherit; |
| 251 |
text-align: left; |
| 252 |
background: unset; |
| 253 |
} |
| 254 |
|
| 255 |
button.unset:active, |
| 256 |
button.unset:focus, |
| 257 |
button.unset:hover { |
| 258 |
box-shadow: unset; |
| 259 |
} |
| 260 |
|
| 261 |
button.unset:focus-visible { |
| 262 |
outline: var(--link-color) dotted 2px; |
| 263 |
} |
| 264 |
|
| 265 |
button:disabled, |
| 266 |
button.inactive, |
| 267 |
button.muted, |
| 268 |
.button:disabled, |
| 269 |
.button.inactive, |
| 270 |
.button.muted { |
| 271 |
color: var(--button-muted-color); |
| 272 |
background-color: var(--button-muted-background); |
| 273 |
} |
| 274 |
|
| 275 |
button.link, |
| 276 |
.button.link { |
| 277 |
padding: 0; |
| 278 |
color: var(--link-color); |
| 279 |
background: unset; |
| 280 |
} |
| 281 |
|
| 282 |
button.link:focus, |
| 283 |
button.link:active, |
| 284 |
button.link:hover, |
| 285 |
.button.link:focus, |
| 286 |
.button.link:active, |
| 287 |
.button.link:hover { |
| 288 |
box-shadow: unset; |
| 289 |
filter: brightness(90%); |
| 290 |
} |
| 291 |
|
| 292 |
button.round, |
| 293 |
.button.round { |
| 294 |
height: 1.5em; |
| 295 |
padding: 0 0.5em; |
| 296 |
border-radius: 15px; |
| 297 |
} |
| 298 |
|
| 299 |
.button:visited { |
| 300 |
height: 100%; |
| 301 |
color: var(--background); |
| 302 |
} |
| 303 |
|
| 304 |
/* Structural and generic elements */ |
| 305 |
:root { |
| 306 |
--transitions: all 0.2s ease-out; |
| 307 |
} |
| 308 |
|
| 309 |
.dragover { |
| 310 |
background-color: var(--dragover-background); |
| 311 |
} |
| 312 |
|
| 313 |
.headerline { |
| 314 |
display: flex; |
| 315 |
flex-wrap: wrap; |
| 316 |
margin: 0 0 1em; |
| 317 |
} |
| 318 |
|
| 319 |
.headerline h3 { |
| 320 |
margin: 0 1.5em 0 0; |
| 321 |
} |
| 322 |
|
| 323 |
kbd { |
| 324 |
display: inline-block; |
| 325 |
padding: 3px 6px; |
| 326 |
margin: 0 1px; |
| 327 |
font: 0.8em var(--font-family-monospaced); |
| 328 |
color: var(--text-color-lighter); |
| 329 |
background-color: var(--background); |
| 330 |
border: solid 1px var(--border); |
| 331 |
border-bottom-color: var(--border-darker); |
| 332 |
border-radius: 3px; |
| 333 |
box-shadow: var(--box-shadow-kbd); |
| 334 |
} |
| 335 |
|
| 336 |
.keyboard-tooltip { |
| 337 |
position: absolute; |
| 338 |
z-index: var(--z-index-keyboard-overlays); |
| 339 |
display: inline-block; |
| 340 |
padding: 0.3em 0.5em; |
| 341 |
font-size: 0.9em; |
| 342 |
color: var(--background); |
| 343 |
text-align: center; |
| 344 |
background-color: var(--text-color); |
| 345 |
opacity: 0.9; |
| 346 |
} |
| 347 |
|
| 348 |
.dimmed { |
| 349 |
opacity: 0.7; |
| 350 |
} |
| 351 |
|
| 352 |
/* |
| 353 |
* Components |
| 354 |
*/ |
| 355 |
|
| 356 |
.spacer { |
| 357 |
flex-grow: 1; |
| 358 |
} |
| 359 |
|
| 360 |
.row { |
| 361 |
display: flex; |
| 362 |
flex-wrap: wrap; |
| 363 |
padding: 5px; |
| 364 |
margin: -10px -20px; |
| 365 |
} |
| 366 |
|
| 367 |
.column { |
| 368 |
flex: 1; |
| 369 |
margin: 5px; |
| 370 |
} |
| 371 |
|
| 372 |
.column h3 { |
| 373 |
text-align: center; |
| 374 |
} |
| 375 |
|
| 376 |
.left { |
| 377 |
float: left; |
| 378 |
margin-right: 20px; |
| 379 |
} |
| 380 |
|
| 381 |
.right { |
| 382 |
float: right; |
| 383 |
} |
| 384 |
|
| 385 |
copyable-text { |
| 386 |
cursor: pointer; |
| 387 |
} |
| 388 |
|
| 389 |
.status-indicator { |
| 390 |
display: inline-block; |
| 391 |
width: 6px; |
| 392 |
height: 6px; |
| 393 |
margin: 5px; |
| 394 |
border-radius: 6px; |
| 395 |
} |
| 396 |
|
| 397 |
td .status-indicator { |
| 398 |
float: right; |
| 399 |
margin: 7px 0 0; |
| 400 |
} |
| 401 |
|
| 402 |
.status-indicator.status-red { |
| 403 |
background-color: var(--red); |
| 404 |
} |
| 405 |
|
| 406 |
.status-indicator.status-yellow { |
| 407 |
background-color: var(--yellow); |
| 408 |
} |
| 409 |
|
| 410 |
.status-indicator.status-green { |
| 411 |
background-color: var(--green); |
| 412 |
} |
| 413 |
|
| 414 |
.status-indicator.status-gray { |
| 415 |
background-color: var(--gray); |
| 416 |
} |
| 417 |
|
| 418 |
.indicator-header { |
| 419 |
padding-left: 0; |
| 420 |
} |
| 421 |
|
| 422 |
[data-sort] { |
| 423 |
position: relative; |
| 424 |
padding-right: 18px; |
| 425 |
cursor: pointer; |
| 426 |
} |
| 427 |
|
| 428 |
[data-order="desc"]::after { |
| 429 |
position: absolute; |
| 430 |
top: 12px; |
| 431 |
right: 4px; |
| 432 |
display: block; |
| 433 |
content: ""; |
| 434 |
border-top: 5px solid var(--text-color-lightest); |
| 435 |
border-right: 5px solid transparent; |
| 436 |
border-left: 5px solid transparent; |
| 437 |
} |
| 438 |
|
| 439 |
[data-order="asc"]::after { |
| 440 |
position: absolute; |
| 441 |
top: 10px; |
| 442 |
right: 4px; |
| 443 |
display: block; |
| 444 |
content: ""; |
| 445 |
border-right: 5px solid transparent; |
| 446 |
border-bottom: 5px solid var(--text-color-lightest); |
| 447 |
border-left: 5px solid transparent; |
| 448 |
} |