| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1 | /*! |
| 2 | Fluid UI Elements v5.0.0-dep |
| 3 | Made by jottocraft 2017-2021 |
| 4 | All code in this repository is in the public domain (https://github.com/jottocraft/fluid-old/blob/master/LICENSE) |
| 5 | */ |
| 6 | |
| 7 | /* Table of contents |
| 8 | -------------------------------------------------- |
| 9 | - Variables & Included Themes |
| 10 | - Core Styles, Fonts, & Icons |
| 11 | - Acrylic |
| 12 | - Buttons |
| 13 | - Lists & Context menus |
| 14 | - Code |
| 15 | - Input (Text, textareas, etc.) |
| 16 | - Switches & Sliders |
| 17 | - Navigation |
| 18 | - Toasts & Alerts |
| 19 | - Cards (and profile menu) |
| 20 | - Blocks |
| 21 | - Layout |
| 22 | - Sections / Headers |
| 23 | - Progress |
| 24 | - Splash screens |
| 25 | - Helpers |
| 26 | - Miscellaneous |
| 27 | */ |
| 28 | |
| 29 | /* Variables |
| 30 | -------------------------------------------------- */ |
| 31 | |
| 32 | /* Core Styles */ |
| 33 | |
| j | 469ee10 | 2023-02-27 17:15:52 -0800 | [diff] [blame] | 34 | @import url('https://fonts.googleapis.com/css2?family=Public+Sans:[email protected]&display=swap'); |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 35 | |
| 36 | :root { |
| 37 | --elementRadius: 15px; |
| 38 | --elementShadow: 0 10px 30px rgba(0, 0, 0, 0.17); |
| 39 | --lightShadow: 0 2px 3px rgba(0, 0, 0, 0.17); |
| 40 | --cardRadius: 15px; |
| 41 | --titleFont: "Public Sans",BlinkMacSystemFont,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif; |
| 42 | --textFont: "Public Sans",BlinkMacSystemFont,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif; |
| 43 | --icons: "Material Icons Extended", "Material Icons", "Material Icons Outlined", "Material Icons Round", "Material Icons Sharp"; |
| 44 | --links: #039be5; |
| 45 | } |
| 46 | |
| 47 | /* Light theme */ |
| 48 | [data-theme=light][data-theme-type=light], [data-theme-type=light] { |
| 49 | --background: white; |
| 50 | |
| 51 | --text: #333; |
| 52 | --lightText: #565656; |
| 53 | --secText: #929292; |
| 54 | |
| 55 | --elements: #ececec; |
| 56 | --elementText: #404040; |
| 57 | --elementHover: #dddddd; |
| 58 | --switchHead: white; |
| 59 | |
| 60 | --inputColor: #f5f5f5; |
| 61 | |
| 62 | --navbar: #ffffffe6; |
| 63 | --sidebar: #f0f0f0; |
| 64 | --sidebarActive: #e0e0e0; |
| 65 | --sidenav: #fbfbfb; |
| 66 | --sidenavActive: #f5f5f5; |
| 67 | |
| 68 | --cards: #ffffff; |
| 69 | --content: #ffffff; |
| 70 | --cardShadow: 0 0px 20px rgb(0 0 0 / 0.1); |
| 71 | --lightShadow: 0 0px 4px rgba(0, 0, 0, 0.14); |
| 72 | |
| 73 | --theme: #3396e6; |
| 74 | --themeText: white; |
| 75 | |
| 76 | --highlight: #0000000d; |
| 77 | --acrylic: rgb(236 236 236 / 86%); |
| 78 | --mediumAcrylic: rgb(236 236 236 / 50%); |
| 79 | --lightAcrylic: rgb(255 255 255 / 40%); |
| 80 | --acrylicBorder: #2d2d2d3d; |
| 81 | --backgroundTint: #ffffffe6; |
| 82 | |
| 83 | --themeSelectorColor: none; |
| 84 | color-scheme: light; |
| 85 | } |
| 86 | |
| 87 | /* Dark theme */ |
| 88 | [data-theme=dark][data-theme-type=dark], [data-theme-type=dark] { |
| 89 | --background: #121212; |
| 90 | |
| 91 | --text: #efefef; |
| 92 | --lightText: #c4c4c4; |
| 93 | --secText: #808080; |
| 94 | |
| 95 | --elements: #2b2b2b; |
| 96 | --elementText: white; |
| 97 | --elementHover: #3c3c3c; |
| 98 | --switchHead: #cccccc; |
| 99 | |
| 100 | --inputColor: #1b1b1b; |
| 101 | |
| 102 | --navbar: #232323f2; |
| 103 | --sidebar: #1d1d1d; |
| 104 | --sidebarActive: #292929; |
| 105 | --sidenav: #1d1d1d; |
| 106 | --sidenavActive: #212121; |
| 107 | |
| 108 | --cards: #191919; |
| 109 | --content: #1b1b1b; |
| 110 | --cardShadow: 0 0px 30px rgb(0 0 0 / 0.2); |
| 111 | --lightShadow: 0 0px 5px rgb(0 0 0 / 0.3); |
| 112 | |
| 113 | --theme: #133e61; |
| 114 | --themeText: #f1f9ff; |
| 115 | |
| 116 | --highlight: #ffffff12; |
| 117 | --acrylic: rgb(27 27 27 / 86%); |
| 118 | --mediumAcrylic: rgb(27 27 27 / 50%); |
| 119 | --lightAcrylic: rgb(37 37 37 / 40%); |
| 120 | --acrylicBorder: #ffffff14; |
| 121 | --backgroundTint: #121212e6; |
| 122 | |
| 123 | --themeSelectorColor: none; |
| 124 | color-scheme: dark; |
| 125 | } |
| 126 | |
| 127 | /* Midnight theme */ |
| 128 | [data-theme=midnight][data-theme-type=dark] { |
| 129 | --background: #000000; |
| 130 | |
| 131 | --text: #ffffff; |
| 132 | --lightText: #c3c3c3; |
| 133 | --secText: #6b6b6b; |
| 134 | |
| 135 | --elements: #1f1f1f; |
| 136 | --elementText: #f7f7f7; |
| 137 | --elementHover: #333333; |
| 138 | --switchHead: #f7f7f7; |
| 139 | |
| 140 | --inputColor: #151515; |
| 141 | |
| 142 | --navbar: #0a0a0a; |
| 143 | --sidebar: #131313; |
| 144 | --sidebarActive: #212121; |
| 145 | --sidenav: #101010; |
| 146 | --sidenavActive: #131313; |
| 147 | |
| 148 | --cards: #0c0c0c; |
| 149 | --content: #131313; |
| 150 | |
| 151 | --theme: #0c2940; |
| 152 | --themeText: #ffffff; |
| 153 | |
| 154 | --highlight: #ffffff1a; |
| 155 | --acrylic: rgb(10 10 10 / 86%); |
| 156 | --mediumAcrylic: rgb(6 6 6 / 50%); |
| 157 | --lightAcrylic: rgb(6 6 6 / 40%); |
| 158 | --acrylicBorder: #ffffff14; |
| 159 | --backgroundTint: #000000e6; |
| 160 | } |
| 161 | |
| 162 | /* Background images */ |
| 163 | [data-theme-image] body { |
| 164 | background: linear-gradient(var(--backgroundTint), var(--backgroundTint)), var(--themeImage), var(--background); |
| 165 | background-position: center; |
| 166 | background-repeat: no-repeat; |
| 167 | background-size: cover; |
| 168 | background-attachment: fixed; |
| 169 | } |
| 170 | |
| 171 | body.themeImage i, body.themeImage p, |
| 172 | body.themeImage .label, body.themeImage li, |
| 173 | body.themeImage h1, body.themeImage h2, body.themeImage h3, body.themeImage h4, body.themeImage h5, body.themeImage h6 { |
| 174 | text-shadow: 2px 2px 20px var(--background); |
| 175 | } |
| 176 | |
| 177 | body.themeImage i, body.themeImage p, |
| 178 | body.themeImage .label, body.themeImage li { |
| 179 | font-weight: 500; |
| 180 | } |
| 181 | |
| 182 | body.themeImage input:not(.filled):not([type=submit]):not([type=color]):not([type=range]):not([type=file]):not([type=checkbox]):not([type=button]):not([type=radio]):not([type=reset]), |
| j | 5e67d8e | 2022-11-08 22:55:04 -0800 | [diff] [blame] | 183 | body.themeImage button.outline, body.themeImage textarea, body.themeImage .block:not(.clickable):not(.card) { |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 184 | backdrop-filter: blur(20px) !important; |
| 185 | background: var(--lightAcrylic) !important; |
| 186 | } |
| 187 | |
| 188 | body.themeImage input:not(.filled):not(:focus):not([type=submit]):not([type=color]):not([type=range]):not([type=file]):not([type=checkbox]):not([type=button]):not([type=radio]):not([type=reset]), |
| 189 | body.themeImage button.outline:not(:hover), body.themeImage textarea:not(:focus) { |
| 190 | border-color: var(--acrylicBorder) !important; |
| 191 | } |
| 192 | |
| 193 | body.themeImage .btn *, body.themeImage .acrylicMaterial, body.themeImage .acrylicMaterial *, body.themeImage input *, body.themeImage .inputIcon, |
| 194 | body.themeImage .card *, body.themeImage .block *, body.themeImage .sidebar *, body.themeImage .sidenav *, body.themeImage .alert *, |
| 195 | body.themeImage .list .item.active * { |
| 196 | text-shadow: none !important; |
| 197 | } |
| 198 | |
| 199 | body.themeImage .sidebar { |
| 200 | background: var(--mediumAcrylic) !important; |
| 201 | } |
| 202 | |
| 203 | /* Core Styles & Fonts |
| 204 | -------------------------------------------------- */ |
| 205 | |
| 206 | body { |
| 207 | margin: 0; |
| 208 | background-color: var(--background); |
| 209 | color: var(--text); |
| 210 | } |
| 211 | |
| 212 | .container { |
| 213 | position: relative; |
| 214 | display: block; |
| 215 | max-width: 1400px; |
| 216 | margin: 0px auto; |
| 217 | padding: 20px; |
| 218 | } |
| 219 | |
| 220 | body:not(.hasNavbar) .container { |
| 221 | margin-top: 50px |
| 222 | } |
| 223 | |
| 224 | .card.container { |
| 225 | margin-top: inherit !important; |
| 226 | } |
| 227 | |
| 228 | /* Content scaling |
| 229 | [0, 600] Phone |
| 230 | (600, 1200) Tablet, <= 900px hides sidebar |
| 231 | [1200, +infinity) Desktop |
| 232 | */ |
| 233 | @media (max-width: 600px) { |
| 234 | .container { |
| 235 | width: 100%; |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | @media (min-width: 600px) { |
| 240 | .container { |
| 241 | width: 90%; |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | @media (min-width: 1200px) { |
| 246 | .container { |
| 247 | width: 80%; |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | body.hasSidebar { |
| 252 | padding-left: 275px; |
| 253 | } |
| 254 | |
| 255 | body.hasNavbar { |
| 256 | padding-top: 70px; |
| 257 | } |
| 258 | |
| 259 | body.hasSidebar.collapsedSidebar { |
| 260 | padding-left: 72px; |
| 261 | } |
| 262 | |
| 263 | * { |
| 264 | -webkit-box-sizing: border-box; |
| 265 | -moz-box-sizing: border-box; |
| 266 | box-sizing: border-box; |
| 267 | } |
| 268 | |
| 269 | .row { |
| 270 | margin-bottom: 20px; |
| 271 | } |
| 272 | |
| 273 | /* Title Font Styling */ |
| 274 | |
| 275 | h1, h2, h3, h4, h5 { |
| 276 | font-family: var(--titleFont); |
| 277 | font-weight: normal; |
| 278 | } |
| 279 | |
| 280 | /* Font sizing and margins */ |
| 281 | |
| 282 | h1, h2, h3, h4, h5, h6 { |
| 283 | line-height: 110%; |
| 284 | } |
| 285 | |
| 286 | @media (max-width: 600px) { |
| 287 | h1 { |
| 288 | font-size: 38px; |
| 289 | font-weight: 700; |
| 290 | margin: 28px 0px; |
| 291 | } |
| 292 | |
| 293 | h2 { |
| 294 | font-size: 32px; |
| 295 | font-weight: 700; |
| 296 | margin: 24px 0px; |
| 297 | } |
| 298 | |
| 299 | h3 { |
| 300 | font-size: 28px; |
| 301 | font-weight: 600; |
| 302 | margin: 20px 0px; |
| 303 | } |
| 304 | |
| 305 | h4 { |
| 306 | font-size: 26px; |
| 307 | font-weight: 500; |
| 308 | margin: 16px 0px; |
| 309 | } |
| 310 | |
| 311 | h5 { |
| 312 | font-size: 22px; |
| 313 | font-weight: 500; |
| 314 | margin: 14px 0px; |
| 315 | } |
| 316 | |
| 317 | h6 { |
| 318 | font-size: 20px; |
| 319 | font-weight: 500; |
| 320 | margin: 12px 0px; |
| 321 | } |
| 322 | } |
| 323 | |
| 324 | @media (min-width: 600px) { |
| 325 | h1 { |
| 326 | font-size: 42px; |
| 327 | font-weight: 700; |
| 328 | margin: 28px 0px; |
| 329 | } |
| 330 | |
| 331 | h2 { |
| 332 | font-size: 34px; |
| 333 | font-weight: 700; |
| 334 | margin: 24px 0px; |
| 335 | } |
| 336 | |
| 337 | h3 { |
| 338 | font-size: 30px; |
| 339 | font-weight: 600; |
| 340 | margin: 20px 0px; |
| 341 | } |
| 342 | |
| 343 | h4 { |
| 344 | font-size: 26px; |
| 345 | font-weight: 500; |
| 346 | margin: 16px 0px; |
| 347 | } |
| 348 | |
| 349 | h5 { |
| 350 | font-size: 22px; |
| 351 | font-weight: 500; |
| 352 | margin: 14px 0px; |
| 353 | } |
| 354 | |
| 355 | h6 { |
| 356 | font-size: 18px; |
| 357 | font-weight: 500; |
| 358 | margin: 12px 0px; |
| 359 | } |
| 360 | } |
| 361 | |
| 362 | @media (min-width: 1200px) { |
| 363 | h1 { |
| 364 | font-size: 46px; |
| 365 | font-weight: 700; |
| 366 | margin: 28px 0px; |
| 367 | } |
| 368 | |
| 369 | h2 { |
| 370 | font-size: 38px; |
| 371 | font-weight: 700; |
| 372 | margin: 24px 0px; |
| 373 | } |
| 374 | |
| 375 | h3 { |
| 376 | font-size: 32px; |
| 377 | font-weight: 600; |
| 378 | margin: 20px 0px; |
| 379 | } |
| 380 | |
| 381 | h4 { |
| 382 | font-size: 28px; |
| 383 | font-weight: 500; |
| 384 | margin: 16px 0px; |
| 385 | } |
| 386 | |
| 387 | h5 { |
| 388 | font-size: 24px; |
| 389 | font-weight: 500; |
| 390 | margin: 14px 0px; |
| 391 | } |
| 392 | |
| 393 | h6 { |
| 394 | font-size: 20px; |
| 395 | font-weight: 500; |
| 396 | margin: 12px 0px; |
| 397 | } |
| 398 | } |
| 399 | |
| 400 | /* Text Font Styling */ |
| 401 | |
| 402 | p, button, a, input, body, html, textarea { |
| 403 | font-family: var(--textFont); |
| 404 | font-weight: normal; |
| 405 | } |
| 406 | |
| 407 | /* Icons */ |
| 408 | |
| 409 | .fluid-icon { |
| 410 | font-family: var(--icons); |
| 411 | font-weight: normal; |
| 412 | font-style: normal; |
| 413 | font-size: 24px; |
| 414 | text-align: center; |
| 415 | line-height: 1; |
| 416 | letter-spacing: normal; |
| 417 | text-transform: none; |
| 418 | display: inline-block; |
| 419 | white-space: nowrap; |
| 420 | word-wrap: normal; |
| 421 | direction: ltr; |
| 422 | -webkit-font-smoothing: antialiased; |
| 423 | user-select: none; |
| 424 | } |
| 425 | |
| 426 | p .fluid-icon { |
| 427 | vertical-align: middle; |
| 428 | font-size: 20px; |
| 429 | margin: 0px 2px; |
| 430 | } |
| 431 | |
| 432 | img.emoji { |
| 433 | height: 1em; |
| 434 | width: auto; |
| 435 | display: inline-block; |
| 436 | vertical-align: middle; |
| 437 | } |
| 438 | |
| 439 | /* Blur & Page wrapper */ |
| 440 | |
| 441 | #fluidUIOverlay { |
| 442 | position: fixed; |
| 443 | top: 0px; |
| 444 | left: 0px; |
| 445 | width: 100%; |
| 446 | height: 100vh; |
| 447 | z-index: 999; |
| 448 | backdrop-filter: blur(32px); |
| 449 | background-blend-mode: multiply; |
| 450 | background-color: var(--lightAcrylic); |
| 451 | transition: background-color 0.2s, backdrop-filter 0.2s; |
| 452 | animation: fadeOutOverlay 0.2s; |
| 453 | opacity: 0; |
| 454 | padding: 50px 0px; |
| 455 | } |
| 456 | |
| 457 | #fluidUIOverlay.noBlur { |
| 458 | filter: opacity(0) !important; |
| 459 | } |
| 460 | |
| 461 | #fluidUIOverlay > * { |
| 462 | position: relative; |
| 463 | } |
| 464 | |
| 465 | #fluidUIOverlay.hidden { |
| 466 | display: none; |
| 467 | } |
| 468 | |
| 469 | #fluidUIOverlay.visible { |
| 470 | display: block; |
| 471 | animation: fadeInOverlay 0.2s; |
| 472 | opacity: 1; |
| 473 | } |
| 474 | |
| 475 | @keyframes fadeInOverlay { |
| 476 | from {opacity: 0;} |
| 477 | to {opacity: 1;} |
| 478 | } |
| 479 | |
| 480 | @keyframes fadeOutOverlay { |
| 481 | to {opacity: 0;} |
| 482 | from {opacity: 1;} |
| 483 | } |
| 484 | |
| 485 | body.disableOverflow { |
| 486 | overflow: hidden; |
| 487 | padding-right: var(--scrollbarWidth, 0px); |
| 488 | } |
| 489 | |
| 490 | .blur, .blur * { |
| 491 | cursor: default !important; |
| 492 | -webkit-touch-callout: none; |
| 493 | -webkit-user-select: none; |
| 494 | -khtml-user-select: none; |
| 495 | -moz-user-select: none; |
| 496 | -ms-user-select: none; |
| 497 | user-select: none; |
| 498 | } |
| 499 | |
| 500 | .blur * { |
| 501 | pointer-events: none !important; |
| 502 | } |
| 503 | |
| 504 | .blur { |
| 505 | filter: blur(30px); |
| 506 | } |
| 507 | |
| 508 | /* Links */ |
| 509 | |
| 510 | a { |
| 511 | text-decoration: none; |
| 512 | color: var(--links); |
| 513 | } |
| 514 | |
| 515 | .WorkflowRunLogsScroll::-webkit-scrollbar { |
| 516 | width: 12px |
| 517 | } |
| 518 | |
| 519 | .WorkflowRunLogsScroll::-webkit-scrollbar-thumb { |
| 520 | background-color: var(--color-auto-gray-6); |
| 521 | border: 3px solid var(--color-bg-canvas-inverse); |
| 522 | border-radius: 6px |
| 523 | } |
| 524 | |
| 525 | [data-color-mode=dark] .WorkflowRunLogsScroll::-webkit-scrollbar-thumb { |
| 526 | background-color: var(--color-scale-gray-6) |
| 527 | } |
| 528 | |
| 529 | @media (prefers-color-scheme: dark) { |
| 530 | [data-color-mode=auto] .WorkflowRunLogsScroll::-webkit-scrollbar-thumb { |
| 531 | background-color:var(--color-scale-gray-6) |
| 532 | } |
| 533 | } |
| 534 | |
| 535 | [data-color-mode=dark] .WorkflowRunLogsScroll::-webkit-scrollbar-thumb { |
| 536 | border-color: var(--color-bg-canvas-inset) |
| 537 | } |
| 538 | |
| 539 | @media (prefers-color-scheme: dark) { |
| 540 | [data-color-mode=auto] .WorkflowRunLogsScroll::-webkit-scrollbar-thumb { |
| 541 | border-color:var(--color-bg-canvas-inset) |
| 542 | } |
| 543 | } |
| 544 | |
| 545 | /* Acrylic |
| 546 | Elements that use the acrylic texture will have their background and text colors defined here |
| 547 | -------------------------------------------------- */ |
| 548 | .acrylicMaterial { |
| 549 | backdrop-filter: blur(20px); |
| 550 | -webkit-backdrop-filter: blur(20px); |
| 551 | background-blend-mode: exclusion; |
| 552 | background: var(--acrylic); |
| 553 | border: solid 1px #ffffff03; |
| 554 | } |
| 555 | |
| 556 | button.acrylicMaterial:hover { |
| 557 | background: var(--acrylicDisabled, var(--elements)); |
| 558 | } |
| 559 | |
| 560 | body.sampleBgImage { |
| 561 | background-image: url("https://i.imgur.com/d8gklDZ.jpg"); |
| 562 | background-position: center; |
| 563 | background-repeat: no-repeat; |
| 564 | background-size: cover; |
| 565 | background-attachment: fixed; |
| 566 | } |
| 567 | |
| 568 | /* Buttons |
| 569 | -------------------------------------------------- */ |
| 570 | |
| 571 | button, select { |
| 572 | font-family: var(--textFont); |
| 573 | cursor: pointer; |
| 574 | border: none; |
| 575 | outline: none; |
| 576 | padding: 8px 22px; |
| 577 | text-align: center; |
| 578 | border-radius: var(--elementRadius); |
| 579 | text-decoration: none; |
| 580 | display: inline-block; |
| 581 | font-size: 16px; |
| 582 | transition: background-color 0.2s, border 0.2s; |
| 583 | color: var(--elementText); |
| 584 | user-select: none; |
| 585 | vertical-align: middle; |
| 586 | margin: 2px 5px; |
| 587 | font-weight: bold; |
| 588 | letter-spacing: 0.9px; |
| 589 | background-color: var(--elements); |
| 590 | border: 2px solid transparent; |
| 591 | } |
| 592 | |
| 593 | button:disabled { |
| 594 | opacity: 0.5; |
| 595 | cursor: auto !important; |
| 596 | } |
| 597 | |
| 598 | button.outline, select.outline { |
| 599 | background-color: inherit; |
| 600 | border: 2px solid var(--elements); |
| 601 | color: var(--elementText); |
| 602 | } |
| 603 | |
| 604 | button.primary { |
| 605 | background-color: var(--theme); |
| 606 | color: var(--themeText); |
| 607 | border-color: transparent; |
| 608 | } |
| 609 | |
| 610 | button:focus { |
| 611 | outline: 0; |
| 612 | } |
| 613 | |
| 614 | button i, select i { |
| 615 | display: inline-block; |
| 616 | vertical-align: middle; |
| 617 | margin-top: -10px; |
| 618 | margin-bottom: -7px; |
| 619 | margin-right: 5px; |
| 620 | font-size: 26px; |
| 621 | line-height: inherit; |
| 622 | } |
| 623 | |
| 624 | button:not(.active):not(.outline):not(.primary):hover:not(:disabled) { |
| 625 | background-color: var(--elementHover); |
| 626 | border-color: var(--highlight); |
| 627 | } |
| 628 | |
| 629 | button.outline:not(.active):hover:not(:disabled) { |
| 630 | border-color: var(--elementHover); |
| 631 | } |
| 632 | |
| 633 | button.primary:not(.active):hover:not(:disabled) { |
| 634 | border-color: var(--highlight); |
| 635 | } |
| 636 | |
| 637 | button.disabled { |
| 638 | filter: blur(0.5px) !important; |
| 639 | cursor: normal !important; |
| 640 | } |
| 641 | |
| 642 | button.active { |
| 643 | box-shadow: var(--elementShadow); |
| 644 | background-color: var(--theme); |
| 645 | border-color: var(--highlight) !important; |
| 646 | color: var(--themeText); |
| 647 | } |
| 648 | |
| 649 | |
| 650 | button.small, select.small { |
| 651 | padding: 8px 12px; |
| 652 | font-size: 14px; |
| 653 | } |
| 654 | |
| 655 | .btns { |
| 656 | width: auto; |
| 657 | display: inline-block; |
| 658 | padding: 5px; |
| 659 | border-radius: var(--elementRadius); |
| 660 | margin-left: 5px; |
| 661 | background-color: var(--elements); |
| 662 | } |
| 663 | |
| 664 | .btns button:not(.active) { |
| 665 | background-color: transparent !important; |
| 666 | border-color: transparent !important; |
| 667 | } |
| 668 | |
| 669 | .btns button { |
| 670 | margin: 0; |
| 671 | transition: background-color 0.2s, border 0.2s, color 0.2s, box-shadow 0.2s; |
| 672 | } |
| 673 | |
| 674 | /* Small button row */ |
| 675 | |
| 676 | .btns.small { |
| 677 | padding: 0px; |
| 678 | border-radius: 20px; |
| 679 | } |
| 680 | |
| 681 | .btns.small button { |
| 682 | border-radius: 20px; |
| 683 | padding: 10px 20px; |
| 684 | font-size: 14px; |
| 685 | } |
| 686 | |
| 687 | .btns.small button i { |
| 688 | font-size: 22px; |
| 689 | margin-right: 2px; |
| 690 | } |
| 691 | |
| 692 | @media (max-width: 550px) { |
| 693 | button, select { |
| 694 | width: 100%; |
| 695 | margin: 5px 2px !important; |
| 696 | } |
| 697 | } |
| 698 | |
| 699 | /* Theme selector */ |
| 700 | .themeSelectionUI { |
| 701 | height: 500px; |
| 702 | border-radius: var(--elementRadius); |
| 703 | padding: 10px; |
| 704 | } |
| 705 | |
| 706 | .themeSelectionUI:not(.flat) { |
| 707 | background-color: var(--content); |
| 708 | box-shadow: var(--lightShadow); |
| 709 | } |
| 710 | |
| 711 | .themeSelectionUI .themeCustomization { |
| 712 | width: calc(100% - 250px); |
| 713 | display: inline-block; |
| 714 | vertical-align: top; |
| 715 | } |
| 716 | |
| 717 | .themeSelectionUI .themeCustomization h5 span, .themeSelectionUI .themeCustomization h5 i { |
| 718 | vertical-align: middle; |
| 719 | } |
| 720 | |
| 721 | .themeSelectionUI .themeCustomization h5 span { |
| 722 | font-size: 20px; |
| 723 | } |
| 724 | |
| 725 | .themeSelectionUI .themeCustomization h5 i { |
| 726 | font-size: 24px; |
| 727 | } |
| 728 | |
| 729 | .themeSelectionUI .themeOptions { |
| 730 | margin-right: 25px; |
| 731 | width: 220px; |
| 732 | max-height: 100%; |
| 733 | overflow: auto; |
| 734 | display: inline-block; |
| 735 | vertical-align: top; |
| 736 | } |
| 737 | |
| 738 | .themeSelectionUI .themeOptions .divider { |
| 739 | margin: 15px 10px; |
| 740 | width: auto; |
| 741 | } |
| 742 | |
| 743 | .themeSelectionUI .themeOptions .themeSelection { |
| 744 | cursor: pointer; |
| 745 | padding: 10px; |
| 746 | margin: 5px; |
| 747 | border-radius: var(--elementRadius); |
| 748 | border: 2px solid transparent; |
| 749 | white-space: nowrap; |
| 750 | overflow: hidden; |
| 751 | text-overflow: ellipsis; |
| 752 | color: var(--themeSelectorColor); |
| 753 | } |
| 754 | |
| 755 | .themeSelectionUI .themeOptions.noSelectorColors .themeSelection { |
| 756 | --themeSelectorColor: none !important; |
| 757 | } |
| 758 | |
| 759 | .themeSelectionUI .themeOptions .themeSelection.active { |
| 760 | box-shadow: var(--lightShadow); |
| 761 | font-weight: bold; |
| 762 | border-color: var(--highlight); |
| 763 | background: var(--themeSelectBg, var(--background)); |
| 764 | color: var(--themeSelectText, var(--text)); |
| 765 | } |
| 766 | |
| 767 | .themeSelectionUI .themeOptions .themeSelection span { |
| 768 | vertical-align: middle; |
| 769 | } |
| 770 | |
| 771 | .themeSelectionUI .themeOptions .themeSelection i { |
| 772 | vertical-align: middle; |
| 773 | } |
| 774 | |
| 775 | /* Lists & Context Menus |
| 776 | -------------------------------------------------- */ |
| 777 | |
| 778 | .list .item i { |
| 779 | display: inline-block; |
| 780 | vertical-align: middle; |
| 781 | margin-top: -10px; |
| 782 | margin-bottom: -10px; |
| 783 | margin-right: 7px; |
| 784 | font-size: 26px; |
| 785 | line-height: inherit; |
| 786 | } |
| 787 | |
| 788 | .list .item.disabled { |
| 789 | filter: blur(0.5px); |
| 790 | cursor: normal; |
| 791 | } |
| 792 | |
| 793 | .list { |
| 794 | border-radius: var(--cardRadius); |
| 795 | padding: 3px; |
| 796 | } |
| 797 | |
| 798 | .list .item { |
| 799 | cursor: pointer; |
| 800 | font-weight: bold; |
| 801 | letter-spacing: 0.9px; |
| 802 | padding: 15px 10px; |
| 803 | border-radius: var(--cardRadius); |
| 804 | transition: background-color 0.2s; |
| 805 | margin: 3px 0px; |
| 806 | user-select: none; |
| 807 | } |
| 808 | |
| 809 | .list .item.active { |
| 810 | background-color: var(--theme); |
| 811 | color: var(--themeText); |
| 812 | box-shadow: var(--elementShadow); |
| 813 | } |
| 814 | |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 815 | /* Input |
| 816 | -------------------------------------------------- */ |
| 817 | |
| 818 | input:not([type=submit]):not([type=color]):not([type=range]):not([type=file]):not([type=checkbox]):not([type=button]):not([type=radio]):not([type=reset]), textarea { |
| 819 | width: 380px; |
| 820 | margin-bottom: 30px; |
| 821 | border-radius: var(--elementRadius); |
| 822 | padding: 0px 10px; |
| 823 | border: none; |
| 824 | outline: none; |
| 825 | height: 44px; |
| 826 | margin-bottom: 20px; |
| 827 | transition: border 0.2s, box-shadow 0.2s; |
| 828 | color: var(--text); |
| 829 | border: 2px solid var(--elements); |
| 830 | background: inherit; |
| 831 | } |
| 832 | |
| 833 | input:not([type=submit]):not([type=color]):not([type=range]):not([type=file]):not([type=checkbox]):not([type=button]):not([type=radio]):not([type=reset]):disabled, textarea:disabled { |
| 834 | opacity: 0.5; |
| 835 | background: var(--elementHover) !important; |
| 836 | } |
| 837 | |
| 838 | input:not([type=submit]):not([type=color]):not([type=range]):not([type=file]):not([type=checkbox]):not([type=button]):not([type=radio]):not([type=reset]).filled { |
| 839 | background-color: var(--inputColor); |
| 840 | } |
| 841 | |
| 842 | input:not([type=submit]):not([type=color]):not([type=range]):not([type=file]):not([type=checkbox]):not([type=button]):not([type=radio]):not([type=reset]):not(.filled):focus, textarea:not(.filled):focus { |
| 843 | border-color: var(--theme); |
| 844 | } |
| 845 | |
| 846 | input:not([type=submit]):not([type=color]):not([type=range]):not([type=file]):not([type=checkbox]):not([type=button]):not([type=radio]):not([type=reset]).filled:not(.noshadow):focus, textarea.filled:not(.noshadow):focus { |
| 847 | box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); |
| 848 | } |
| 849 | |
| 850 | input:not([type=color]):not([type=range]):not([type=submit]):not([type=file]):not([type=checkbox]):not([type=button]):not([type=radio]):not([type=reset]).shadow, textarea.shadow { |
| 851 | box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); |
| 852 | } |
| 853 | |
| 854 | body.light input:not([type=color]):not([type=range]):not([type=submit]):not([type=file]):not([type=checkbox]):not([type=button]):not([type=radio]):not([type=reset]).shadow, body.light textarea.shadow { |
| 855 | background-color: white; |
| 856 | } |
| 857 | |
| 858 | input::placeholder, textarea::placeholder { |
| 859 | color: var(--secText); |
| 860 | } |
| 861 | |
| 862 | @media (max-width: 550px) { |
| 863 | input:not([type=submit]):not([type=color]):not([type=range]):not([type=file]):not([type=checkbox]):not([type=button]):not([type=radio]):not([type=reset]), textarea { |
| 864 | width: 100%; |
| 865 | } |
| 866 | } |
| 867 | |
| 868 | input.inputIcon { |
| 869 | padding-left: 38px !important; |
| 870 | } |
| 871 | |
| 872 | i.inputIcon { |
| 873 | position: absolute; |
| 874 | z-index: 2; |
| 875 | padding: 12px; |
| 876 | font-size: 20px; |
| 877 | } |
| 878 | |
| 879 | textarea { |
| 880 | width: 100%; |
| 881 | height: 50px; |
| 882 | margin: 0; |
| 883 | -webkit-box-sizing: border-box; |
| 884 | -moz-box-sizing: border-box; |
| 885 | box-sizing: border-box; |
| 886 | padding: 15px; |
| 887 | overflow: hidden; |
| 888 | } |
| 889 | |
| 890 | /* Switches |
| 891 | -------------------------------------------------- */ |
| 892 | |
| 893 | .switch { |
| 894 | border-radius: var(--elementRadius); |
| 895 | display: inline-block; |
| 896 | width: 50px; |
| 897 | height: 25px; |
| 898 | cursor: pointer; |
| 899 | vertical-align: middle; |
| 900 | transition: background-color 0.2s; |
| 901 | box-shadow: none; |
| 902 | background-color: var(--elements); |
| 903 | user-select: none; |
| 904 | } |
| 905 | |
| 906 | .switch .head { |
| 907 | transition: background-color 0.2s, margin 0.2s; |
| 908 | border-radius: var(--elementRadius); |
| 909 | display: inline-block; |
| 910 | background-color: var(--switchHead); |
| 911 | width: 20px; |
| 912 | height: 20px; |
| 913 | margin: 2.5px; |
| 914 | position: absolute; |
| 915 | } |
| 916 | |
| 917 | .switch.active .head { |
| 918 | margin-left: 27.5px; |
| 919 | background-color: var(--themeText); |
| 920 | box-shadow: 0 10px 30px rgba(0, 0, 0, 0.17); |
| 921 | } |
| 922 | |
| 923 | .switch.active { |
| 924 | background-color: var(--theme); |
| 925 | } |
| 926 | |
| 927 | .label { |
| 928 | line-height: 25px; |
| 929 | height: 25px; |
| 930 | display: inline-block; |
| 931 | vertical-align: middle; |
| 932 | margin-left: 15px; |
| 933 | } |
| 934 | |
| 935 | .label i { |
| 936 | vertical-align: middle; |
| 937 | font-size: 26px; |
| 938 | margin-right: 2px; |
| 939 | } |
| 940 | |
| 941 | .slider { |
| 942 | -webkit-appearance: none; |
| 943 | height: 10px; |
| 944 | outline: none; |
| 945 | border-radius: calc(var(--elementRadius) - 5px); |
| 946 | min-width: 200px; |
| 947 | background-color: var(--elements); |
| 948 | } |
| 949 | |
| 950 | .slider::-webkit-slider-thumb { |
| 951 | -webkit-appearance: none; |
| 952 | appearance: none; |
| 953 | width: 10px; |
| 954 | height: 22px; |
| 955 | background: var(--theme); |
| 956 | cursor: pointer; |
| 957 | border-radius: calc(var(--elementRadius) - 5px); |
| 958 | } |
| 959 | |
| 960 | .slider::-moz-range-thumb { |
| 961 | width: 25px; |
| 962 | height: 25px; |
| 963 | background: var(--theme); |
| 964 | cursor: pointer; |
| 965 | border-radius: calc(var(--elementRadius) - 5px); |
| 966 | } |
| 967 | |
| 968 | .checkbox { |
| 969 | border-radius: 3px; |
| 970 | display: inline-block; |
| 971 | width: 25px; |
| 972 | height: 25px; |
| 973 | cursor: pointer; |
| 974 | vertical-align: middle; |
| 975 | transition: background-color 0.2s; |
| 976 | box-shadow: none; |
| 977 | background-color: var(--elements); |
| 978 | text-align: center; |
| 979 | user-select: none; |
| 980 | } |
| 981 | |
| 982 | .checkbox.active { |
| 983 | background-color: var(--theme); |
| 984 | } |
| 985 | |
| 986 | .checkbox:not(.active) i { |
| 987 | display: none; |
| 988 | } |
| 989 | |
| 990 | .checkbox.active i { |
| 991 | font-size: 20px; |
| 992 | line-height: 24px; |
| 993 | color: var(--themeText); |
| 994 | } |
| 995 | |
| 996 | .radio > div { |
| 997 | margin: 10px 0px; |
| 998 | } |
| 999 | |
| 1000 | .radio .checkbox { |
| 1001 | border-radius: 50%; |
| 1002 | user-select: none; |
| 1003 | } |
| 1004 | |
| 1005 | .radio .checkbox.active .circle { |
| 1006 | display: block; |
| 1007 | width: 10px; |
| 1008 | height: 10px; |
| 1009 | background-color: var(--themeText); |
| 1010 | margin: 7.5px; |
| 1011 | border-radius: 50%; |
| 1012 | } |
| 1013 | |
| 1014 | /* Navigation (sidebars / navbars) |
| 1015 | -------------------------------------------------- */ |
| 1016 | |
| 1017 | .directory span { |
| 1018 | vertical-align: middle; |
| 1019 | padding: 4px 10px; |
| 1020 | border-radius: var(--elementRadius); |
| 1021 | cursor: pointer; |
| 1022 | font-size: 18px; |
| 1023 | } |
| 1024 | |
| 1025 | .directory span.active { |
| 1026 | font-weight: bold; |
| 1027 | } |
| 1028 | |
| 1029 | .directory span:hover { |
| 1030 | background-color: var(--elements); |
| 1031 | } |
| 1032 | |
| 1033 | .directory i { |
| 1034 | vertical-align: middle; |
| 1035 | margin: 0px 2px; |
| 1036 | } |
| 1037 | |
| 1038 | .sidebar .title { |
| 1039 | text-align: center; |
| 1040 | margin-top: 10px; |
| 1041 | } |
| 1042 | |
| 1043 | .sidebar .title img { |
| 1044 | width: 36px; |
| 1045 | margin-right: 7px; |
| 1046 | vertical-align: middle; |
| 1047 | } |
| 1048 | |
| 1049 | .sidebar .title h4 { |
| 1050 | color: var(--text); |
| 1051 | display: inline-block; |
| 1052 | font-weight: bold; |
| 1053 | font-size: 28px; |
| 1054 | vertical-align: middle; |
| 1055 | margin: 0px; |
| 1056 | } |
| 1057 | |
| 1058 | .sidebar .title p { |
| 1059 | margin: 7px 0px 0px 10px; |
| 1060 | } |
| 1061 | |
| 1062 | body.hasNavbar .sidebar .title { |
| 1063 | display: none; |
| 1064 | } |
| 1065 | |
| 1066 | .sidebar { |
| 1067 | height: 100vh; |
| 1068 | width: 275px; |
| 1069 | position: fixed; |
| 1070 | top: 0px; |
| 1071 | left: 0px; |
| 1072 | padding: 25px 0px 42px 0px; |
| 1073 | z-index: 98; |
| 1074 | transition: width 0.2s; |
| 1075 | display: flex; |
| 1076 | flex-direction: column; |
| 1077 | background-color: var(--acrylic); |
| 1078 | } |
| 1079 | |
| 1080 | body.hasNavbar .sidebar { |
| 1081 | top: 60px; |
| 1082 | height: calc(100vh - 60px); |
| 1083 | border-top: none; |
| 1084 | } |
| 1085 | |
| 1086 | :not([data-theme-image]) body.hasNavbar .sidebar { |
| 1087 | background-color: var(--background); |
| 1088 | } |
| 1089 | |
| 1090 | body.hasNavbar .sidebar .items { |
| 1091 | margin-top: 0px; |
| 1092 | } |
| 1093 | |
| 1094 | .sidebar .items { |
| 1095 | text-align: center; |
| 1096 | margin-top: 32px; |
| 1097 | height: 100%; |
| 1098 | overflow: auto; |
| 1099 | position: relative; |
| 1100 | } |
| 1101 | |
| 1102 | .sidebar .item { |
| 1103 | padding: 5px 10px; |
| 1104 | margin: 6px 10px; |
| 1105 | text-align: left; |
| 1106 | font-size: 16px; |
| 1107 | cursor: pointer; |
| 1108 | border-radius: calc(var(--elementRadius) - 2px); |
| 1109 | white-space: nowrap; |
| 1110 | overflow: hidden; |
| 1111 | user-select: none; |
| 1112 | } |
| 1113 | |
| 1114 | .sidebar .item.footer { |
| 1115 | color: var(--lightText); |
| 1116 | position: absolute; |
| 1117 | bottom: 0px; |
| 1118 | display: block; |
| 1119 | } |
| 1120 | |
| 1121 | body.collapsedSidebar .sidebar .item.footer { |
| 1122 | width: calc(100% - 20px); |
| 1123 | } |
| 1124 | |
| 1125 | .sidebar .item.main { |
| 1126 | padding: 10px 15px; |
| 1127 | padding-left: 10px; |
| 1128 | font-size: 18px; |
| 1129 | } |
| 1130 | |
| 1131 | .sidebar .item.main i { |
| 1132 | font-size: 24px; |
| 1133 | } |
| 1134 | |
| 1135 | .sidebar .item i, .sidebar .item .label { |
| 1136 | vertical-align: middle; |
| 1137 | } |
| 1138 | |
| 1139 | .sidebar .item .label { |
| 1140 | margin: 0px; |
| 1141 | } |
| 1142 | |
| 1143 | .sidebar .item i { |
| 1144 | margin-left: 5px; |
| 1145 | margin-right: 4px; |
| 1146 | font-size: 22px; |
| 1147 | } |
| 1148 | |
| 1149 | .sidebar .item { |
| 1150 | color: var(--text); |
| 1151 | transition: background-color 0.2s; |
| 1152 | } |
| 1153 | |
| 1154 | .sidebar .item.active { |
| 1155 | background-color: var(--sidebarActive); |
| 1156 | } |
| 1157 | |
| 1158 | .sidebar .item.active .label { |
| 1159 | font-weight: bold; |
| 1160 | } |
| 1161 | |
| 1162 | .sidebar .group { |
| 1163 | padding: 5px 10px; |
| 1164 | margin: 15px 10px; |
| 1165 | text-align: left; |
| 1166 | font-size: 16px; |
| 1167 | transition: background-color 0.2s; |
| 1168 | border-radius: var(--elementRadius); |
| 1169 | } |
| 1170 | |
| 1171 | .sidebar .group .name { |
| 1172 | margin: 0px; |
| 1173 | padding-left: 0px; |
| 1174 | user-select: none; |
| 1175 | } |
| 1176 | |
| 1177 | .sidebar .group:not(.open) .name i::before { |
| 1178 | content: "keyboard_arrow_down"; |
| 1179 | } |
| 1180 | |
| 1181 | .sidebar .group:not(.open) .items { |
| 1182 | display: none; |
| 1183 | } |
| 1184 | |
| 1185 | .sidebar .group.open { |
| 1186 | background: var(--cards); |
| 1187 | box-shadow: var(--lightShadow); |
| 1188 | border-radius: var(--elementRadius); |
| 1189 | } |
| 1190 | |
| 1191 | .sidebar .group.open .name * { |
| 1192 | font-weight: bold; |
| 1193 | } |
| 1194 | |
| 1195 | .sidebar .group.open .name { |
| 1196 | margin-bottom: 4px; |
| 1197 | } |
| 1198 | |
| 1199 | .sidebar .group .items { |
| 1200 | margin-top: 10px; |
| 1201 | } |
| 1202 | |
| 1203 | .sidebar .group .items .item { |
| 1204 | margin: 0px; |
| 1205 | padding-left: 0px; |
| 1206 | } |
| 1207 | |
| 1208 | .sidebar .group.open .name i::before { |
| 1209 | content: "keyboard_arrow_up"; |
| 1210 | } |
| 1211 | |
| 1212 | .sidebar .collapse { |
| 1213 | width: 100%; |
| 1214 | position: absolute; |
| 1215 | bottom: 0px; |
| 1216 | height: 40px; |
| 1217 | text-align: right; |
| 1218 | padding-right: 10px; |
| 1219 | cursor: pointer; |
| 1220 | } |
| 1221 | |
| 1222 | .sidebar .collapse i { |
| 1223 | height: 40px; |
| 1224 | line-height: 40px; |
| 1225 | } |
| 1226 | |
| 1227 | .sidebar .collapse i::before { |
| 1228 | content: "keyboard_arrow_left"; |
| 1229 | } |
| 1230 | |
| 1231 | body.collapsedSidebar .sidebar .collapse i::before { |
| 1232 | content: "keyboard_arrow_right"; |
| 1233 | } |
| 1234 | |
| 1235 | body.hasSidebar.collapsedSidebar .sidebar .collapse { |
| 1236 | padding: 0px; |
| 1237 | text-align: center; |
| 1238 | } |
| 1239 | |
| 1240 | .sidebar .divider { |
| 1241 | background-color: transparent; |
| 1242 | margin: 15px 0; |
| 1243 | } |
| 1244 | |
| 1245 | body.collapsedSidebar .sidebar .title img { |
| 1246 | margin: 0px; |
| 1247 | } |
| 1248 | |
| 1249 | body.collapsedSidebar .sidebar { |
| 1250 | width: 72px; |
| 1251 | text-align: center; |
| 1252 | } |
| 1253 | |
| 1254 | body.collapsedSidebar .sidebar .item .label, body.collapsedSidebar .sidebar .title *:not(img) { |
| 1255 | display: none; |
| 1256 | } |
| 1257 | |
| 1258 | body.collapsedSidebar .sidebar .item.main { |
| 1259 | padding-top: 10px; |
| 1260 | padding-bottom: 10px; |
| 1261 | } |
| 1262 | |
| 1263 | body.collapsedSidebar .sidebar .item { |
| 1264 | text-align: center; |
| 1265 | padding: 5px 0px; |
| 1266 | } |
| 1267 | |
| 1268 | .nav.links { |
| 1269 | background-color: var(--listColor); |
| 1270 | display: inline-block; |
| 1271 | padding: 0px 2px; |
| 1272 | border-radius: 20px; |
| 1273 | border: 1px solid var(--acrylic10); |
| 1274 | } |
| 1275 | |
| 1276 | .nav.links a { |
| 1277 | color: var(--lightText); |
| 1278 | margin: 10px 10px; |
| 1279 | font-size: 16px; |
| 1280 | line-height: 22px; |
| 1281 | height: 22px; |
| 1282 | display: inline-block; |
| 1283 | vertical-align: middle; |
| 1284 | } |
| 1285 | |
| 1286 | .nav.links i { |
| 1287 | vertical-align: middle; |
| 1288 | margin: 0px 4px; |
| 1289 | font-size: 22px; |
| 1290 | } |
| 1291 | |
| 1292 | body.hasSidebar .navbar .logo { |
| 1293 | margin-left: 7px; |
| 1294 | } |
| 1295 | |
| 1296 | .navbar { |
| 1297 | position: fixed; |
| 1298 | top: 0px; |
| 1299 | left: 0px; |
| 1300 | width: 100%; |
| 1301 | height: 60px; |
| 1302 | padding: 10px; |
| 1303 | z-index: 99; |
| 1304 | border-top: none !important; |
| 1305 | border-left: none !important; |
| 1306 | border-right: none !important; |
| 1307 | background-color: var(--navbar); |
| 1308 | box-shadow: var(--lightShadow); |
| 1309 | backdrop-filter: blur(20px); |
| 1310 | } |
| 1311 | |
| 1312 | body.disableOverflow .navbar { |
| 1313 | padding-right: calc(10px + var(--scrollbarWidth, 0px)); |
| 1314 | } |
| 1315 | |
| 1316 | .navbar.acrylicMaterial { |
| 1317 | box-shadow: none; |
| 1318 | } |
| 1319 | |
| 1320 | .navbar .profile { |
| 1321 | float: right; |
| 1322 | display: inline-block; |
| 1323 | } |
| 1324 | |
| 1325 | .navbar .profile .profileImage { |
| 1326 | height: 40px; |
| 1327 | width: 40px; |
| 1328 | text-align: center; |
| 1329 | border-radius: 50%; |
| 1330 | cursor: pointer; |
| 1331 | box-shadow: var(--lightShadow); |
| 1332 | background-position: center; |
| 1333 | background-repeat: no-repeat; |
| 1334 | background-size: 40px; |
| 1335 | background-color: var(--elements); |
| 1336 | border: 2px solid transparent; |
| 1337 | } |
| 1338 | |
| 1339 | .navbar .profile .profileImage:hover { |
| 1340 | border-color: #ffffff33; |
| 1341 | } |
| 1342 | |
| 1343 | .navbar .profile .profileImage i { |
| 1344 | font-size: 28px; |
| 1345 | height: 36px; |
| 1346 | line-height: 36px; |
| 1347 | } |
| 1348 | |
| 1349 | .navbar .logo img { |
| 1350 | height: 32px; |
| 1351 | width: 32px; |
| 1352 | margin: 3.5px; |
| 1353 | vertical-align: middle; |
| j | 469ee10 | 2023-02-27 17:15:52 -0800 | [diff] [blame] | 1354 | margin-right: 4px; |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1355 | } |
| 1356 | |
| 1357 | .navbar h4 { |
| 1358 | display: inline-block; |
| 1359 | vertical-align: middle; |
| 1360 | margin-top: 0px; |
| 1361 | margin-bottom: 0px; |
| 1362 | font-size: 24px; |
| j | 469ee10 | 2023-02-27 17:15:52 -0800 | [diff] [blame] | 1363 | font-weight: 600; |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1364 | } |
| 1365 | |
| 1366 | .navbar .items { |
| 1367 | display: inline-block; |
| 1368 | margin-left: 20px; |
| 1369 | vertical-align: middle; |
| 1370 | } |
| 1371 | |
| 1372 | .navbar .logo { |
| 1373 | display: inline-block; |
| 1374 | overflow: hidden; |
| 1375 | margin-right: 32px; |
| 1376 | vertical-align: middle; |
| 1377 | } |
| 1378 | |
| 1379 | .navbar .navitem { |
| 1380 | display: inline-block; |
| 1381 | cursor: pointer; |
| j | 450fbd4 | 2022-09-01 11:13:11 -0700 | [diff] [blame] | 1382 | padding: 0px 8px; |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1383 | height: 32px; |
| 1384 | line-height: 32px; |
| j | 450fbd4 | 2022-09-01 11:13:11 -0700 | [diff] [blame] | 1385 | margin: 2px; |
| 1386 | color: var(--lightText); |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1387 | transition: color 0.2s; |
| 1388 | user-select: none; |
| j | 450fbd4 | 2022-09-01 11:13:11 -0700 | [diff] [blame] | 1389 | border-radius: 4px; |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1390 | } |
| 1391 | |
| 1392 | .navbar .navitem.active { |
| j | 450fbd4 | 2022-09-01 11:13:11 -0700 | [diff] [blame] | 1393 | color: var(--themeText); |
| 1394 | background-color: var(--theme); |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1395 | } |
| 1396 | |
| 1397 | .navbar .navitem.active span, .navbar .navitem.active i { |
| 1398 | font-weight: bold; |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1399 | } |
| 1400 | |
| 1401 | .navbar .navitem i { |
| 1402 | vertical-align: middle; |
| 1403 | margin-right: 2px; |
| j | 450fbd4 | 2022-09-01 11:13:11 -0700 | [diff] [blame] | 1404 | font-size: 20px; |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1405 | } |
| 1406 | |
| 1407 | .navbar .navitem span { |
| 1408 | vertical-align: middle; |
| 1409 | font-size: 14px; |
| 1410 | } |
| 1411 | |
| 1412 | /* Toasts & Alerts |
| 1413 | -------------------------------------------------- */ |
| 1414 | |
| 1415 | .toast { |
| 1416 | position: fixed; |
| 1417 | right: 15px; |
| 1418 | top: 15px; |
| 1419 | padding: 15px; |
| 1420 | background-color: var(--cards); |
| 1421 | border: 2px solid var(--elements); |
| 1422 | border-radius: 10px; |
| 1423 | width: 400px; |
| 1424 | z-index: 88; |
| 1425 | box-shadow: var(--cardShadow); |
| 1426 | } |
| 1427 | |
| 1428 | .toast div { |
| 1429 | display: inline-block; |
| 1430 | vertical-align: top; |
| 1431 | } |
| 1432 | |
| 1433 | .toast h5 { |
| 1434 | margin: 0px; |
| 1435 | font-weight: bold; |
| 1436 | font-size: 22px; |
| 1437 | } |
| 1438 | |
| 1439 | .toast p { |
| 1440 | margin-top: 10px; |
| 1441 | margin-bottom: 0px; |
| 1442 | } |
| 1443 | |
| 1444 | .toast i { |
| 1445 | vertical-align: top; |
| 1446 | margin-right: 10px; |
| 1447 | } |
| 1448 | |
| 1449 | .toast i.close, .card.alert i.close { |
| 1450 | float: right; |
| 1451 | cursor: pointer; |
| 1452 | font-size: 18px; |
| 1453 | margin-top: 4px; |
| 1454 | } |
| 1455 | |
| 1456 | .alert:not(.card).info { |
| 1457 | background: #6997c761; |
| 1458 | } |
| 1459 | |
| 1460 | .alert:not(.card).warning { |
| 1461 | background: #d8c27e61; |
| 1462 | } |
| 1463 | |
| 1464 | .alert:not(.card).error { |
| 1465 | background: #d8777761; |
| 1466 | } |
| 1467 | |
| 1468 | .alert:not(.card).success { |
| 1469 | background: #73ca9161; |
| 1470 | } |
| 1471 | |
| 1472 | body.dark .alert:not(.card) { |
| 1473 | border: 2px solid #ffffff33; |
| 1474 | } |
| 1475 | |
| 1476 | [data-theme-type=light] .alert:not(.card) { |
| 1477 | border: 2px solid #00000033; |
| 1478 | } |
| 1479 | |
| 1480 | .alert:not(.card) { |
| 1481 | padding: 10px 15px; |
| 1482 | border-radius: var(--cardRadius); |
| 1483 | margin: 20px 0px; |
| 1484 | background: var(--acrylic); |
| 1485 | } |
| 1486 | |
| 1487 | .alert:not(.card) .header h5 { |
| 1488 | font-size: 20px; |
| 1489 | font-weight: bold; |
| 1490 | line-height: 24px; |
| 1491 | height: 24px; |
| 1492 | } |
| 1493 | |
| 1494 | .alert:not(.card) .header i { |
| 1495 | vertical-align: middle; |
| 1496 | margin-right: 5px; |
| 1497 | } |
| 1498 | |
| 1499 | .card.alert { |
| 1500 | position: fixed !important; |
| j | d88b843 | 2022-06-12 15:37:35 -0700 | [diff] [blame] | 1501 | top: 10vh; |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1502 | width: 500px; |
| 1503 | left: calc(50% - 250px); |
| j | d88b843 | 2022-06-12 15:37:35 -0700 | [diff] [blame] | 1504 | max-height: calc(100% - 16vh); |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1505 | z-index: 88; |
| j | d88b843 | 2022-06-12 15:37:35 -0700 | [diff] [blame] | 1506 | overflow: auto; |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1507 | } |
| 1508 | |
| 1509 | .card.alert .body { |
| 1510 | max-height: 300px; |
| 1511 | overflow: auto; |
| 1512 | } |
| 1513 | |
| 1514 | .card.alert h5 { |
| 1515 | display: inline-block; |
| 1516 | vertical-align: middle; |
| 1517 | margin-top: 0px; |
| 1518 | margin-bottom: 20px; |
| 1519 | } |
| 1520 | |
| 1521 | .card.alert h5 { |
| 1522 | font-size: 24px; |
| 1523 | font-weight: bold; |
| 1524 | } |
| 1525 | |
| 1526 | .card.alert>i { |
| 1527 | margin-right: 5px; |
| 1528 | vertical-align: middle; |
| 1529 | margin-bottom: 20px; |
| 1530 | } |
| 1531 | |
| 1532 | .card.alert .footer { |
| 1533 | margin: -15px; |
| 1534 | margin-top: 50px; |
| 1535 | text-align: right; |
| 1536 | } |
| 1537 | |
| 1538 | /* Cards (and profile menu) |
| 1539 | -------------------------------------------------- */ |
| 1540 | |
| 1541 | .card:not(.focus) { |
| 1542 | position: relative; |
| 1543 | } |
| 1544 | |
| 1545 | .card.close { |
| 1546 | display: none; |
| 1547 | } |
| 1548 | |
| 1549 | .card:not(.alert) i.close { |
| 1550 | position: absolute; |
| 1551 | right: 0; |
| 1552 | cursor: pointer; |
| 1553 | top: 0; |
| 1554 | margin: 25px; |
| 1555 | } |
| 1556 | |
| 1557 | .card { |
| 1558 | border-radius: calc(var(--cardRadius) + 5px); |
| 1559 | padding: 30px; |
| 1560 | box-shadow: var(--cardShadow); |
| 1561 | } |
| 1562 | |
| 1563 | .card:not(.withnav) { |
| 1564 | background-color: var(--cards); |
| 1565 | } |
| 1566 | |
| 1567 | .card.focus { |
| 1568 | max-height: 100%; |
| 1569 | overflow: auto; |
| 1570 | } |
| 1571 | |
| 1572 | @media (max-width: 1000px) { |
| 1573 | .card.focus { |
| 1574 | position: fixed !important; |
| 1575 | top: 0px !important; |
| 1576 | left: 0px !important; |
| 1577 | width: 100% !important; |
| 1578 | height: 100vh !important; |
| 1579 | max-height: 100vh !important; |
| 1580 | max-width: 100% !important; |
| 1581 | border-radius: 0px !important; |
| 1582 | margin-left: 0px !important; |
| 1583 | } |
| 1584 | .card.focus .sidenav { |
| 1585 | border-radius: 0px !important; |
| 1586 | height: 100vh !important; |
| 1587 | } |
| 1588 | } |
| 1589 | |
| 1590 | .card.withnav .content { |
| 1591 | padding: 20px; |
| 1592 | padding-left: 20px; |
| 1593 | margin-left: 240px; |
| 1594 | background-color: var(--cards); |
| 1595 | min-height: 100%; |
| 1596 | } |
| 1597 | |
| 1598 | .card.withnav { |
| 1599 | padding: 0px; |
| 1600 | overflow: hidden; |
| 1601 | } |
| 1602 | |
| 1603 | .card.container:not(.withnav) { |
| 1604 | padding: 30px !important; |
| 1605 | } |
| 1606 | |
| 1607 | .card.profileMenu.close { |
| 1608 | display: none; |
| 1609 | } |
| 1610 | |
| 1611 | .card.profileMenu { |
| 1612 | position: fixed !important; |
| 1613 | width: 400px; |
| 1614 | right: 10px; |
| 1615 | top: 70px !important; |
| 1616 | z-index: 1000; |
| 1617 | display: none; |
| 1618 | border: 2px solid var(--elements); |
| 1619 | } |
| 1620 | |
| 1621 | .card.profileMenu .person .profileImage { |
| 1622 | border-radius: 50%; |
| 1623 | height: 40px; |
| 1624 | width: 40px; |
| 1625 | text-align: center; |
| 1626 | box-shadow: var(--cardShadow); |
| 1627 | position: fixed; |
| 1628 | top: 10px; |
| 1629 | right: 10px; |
| 1630 | background-position: center; |
| 1631 | background-repeat: no-repeat; |
| 1632 | background-size: cover; |
| 1633 | background-color: var(--elements); |
| 1634 | } |
| 1635 | |
| 1636 | .card.profileMenu .person .profileImage i { |
| 1637 | font-size: 28px; |
| 1638 | height: 40px; |
| 1639 | line-height: 40px; |
| 1640 | } |
| 1641 | |
| 1642 | .card.profileMenu .person .info { |
| 1643 | display: inline-block; |
| 1644 | vertical-align: middle; |
| 1645 | } |
| 1646 | |
| 1647 | .card.profileMenu .person .info .name { |
| 1648 | font-weight: bold; |
| 1649 | margin: 0px; |
| 1650 | white-space: nowrap; |
| 1651 | overflow: hidden; |
| 1652 | text-overflow: ellipsis; |
| 1653 | } |
| 1654 | |
| 1655 | .card.profileMenu .person .info * { |
| 1656 | margin-bottom: 0px; |
| 1657 | } |
| 1658 | |
| 1659 | .card.profileMenu .divider { |
| 1660 | margin: 10px 0px; |
| 1661 | } |
| 1662 | |
| 1663 | .card.profileMenu .actions { |
| 1664 | margin-top: 32px; |
| 1665 | } |
| 1666 | |
| 1667 | .card.profileMenu .actions .item { |
| 1668 | padding: 5px 0px; |
| 1669 | margin: 5px 0px; |
| 1670 | cursor: pointer; |
| 1671 | } |
| 1672 | |
| 1673 | .card.profileMenu .actions .item span { |
| 1674 | vertical-align: middle; |
| 1675 | margin: 0px; |
| 1676 | } |
| 1677 | |
| 1678 | .card.profileMenu .actions .item i { |
| 1679 | vertical-align: middle; |
| 1680 | margin-right: 5px; |
| 1681 | } |
| 1682 | |
| 1683 | .card.profileMenu .actions .item i { |
| 1684 | vertical-align: middle; |
| 1685 | margin-right: 5px; |
| 1686 | } |
| 1687 | |
| 1688 | |
| 1689 | /* Sidenav |
| 1690 | -------------------------------------------------- */ |
| 1691 | |
| 1692 | .sidenav { |
| 1693 | width: 240px; |
| 1694 | height: 100%; |
| 1695 | display: inline-block; |
| 1696 | float: left; |
| 1697 | border-top-left-radius: calc(var(--cardRadius) + 6px); |
| 1698 | border-bottom-left-radius: calc(var(--cardRadius) + 6px); |
| 1699 | border-right: none !important; |
| 1700 | background-color: var(--sidenav); |
| 1701 | } |
| 1702 | |
| 1703 | .sidenav .title { |
| 1704 | padding: 20px; |
| 1705 | padding-top: 32px; |
| 1706 | height: 135px; |
| 1707 | } |
| 1708 | |
| 1709 | .sidenav .title h5 { |
| 1710 | font-size: 22px; |
| j | 5e67d8e | 2022-11-08 22:55:04 -0800 | [diff] [blame] | 1711 | height: 24px; |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1712 | margin: 0; |
| j | 5e67d8e | 2022-11-08 22:55:04 -0800 | [diff] [blame] | 1713 | line-height: 24px; |
| j | dc6ea0e | 2022-04-26 16:03:27 -0700 | [diff] [blame] | 1714 | } |
| 1715 | |
| 1716 | .sidenav .title p { |
| 1717 | margin: 0px; |
| 1718 | } |
| 1719 | |
| 1720 | .sidenav .item { |
| 1721 | cursor: pointer; |
| 1722 | transition: filter 0.2s; |
| 1723 | height: 55px; |
| 1724 | line-height: 55px; |
| 1725 | padding-left: 25px; |
| 1726 | font-weight: bold; |
| 1727 | letter-spacing: 0.9px; |
| 1728 | user-select: none; |
| 1729 | } |
| 1730 | |
| 1731 | .card .sidenav .item:not(.active) { |
| 1732 | color: var(--text); |
| 1733 | filter: opacity(0.3); |
| 1734 | } |
| 1735 | |
| 1736 | .card .sidenav .item.active { |
| 1737 | background: var(--sidenavActive); |
| 1738 | border-color: var(--highlight); |
| 1739 | } |
| 1740 | |
| 1741 | .sidenav .item i { |
| 1742 | margin-right: 15px; |
| 1743 | vertical-align: middle; |
| 1744 | font-size: 26px; |
| 1745 | } |
| 1746 | |
| 1747 | /* Blocks |
| 1748 | -------------------------------------------------- */ |
| 1749 | .block { |
| 1750 | display: inline-block; |
| 1751 | border-radius: var(--elementRadius); |
| 1752 | padding: 20px; |
| 1753 | position: relative; |
| 1754 | overflow: hidden; |
| 1755 | text-overflow: ellipsis; |
| 1756 | background: var(--blocks); |
| 1757 | } |
| 1758 | |
| 1759 | .block.card { |
| 1760 | z-index: 7; |
| 1761 | } |
| 1762 | |
| 1763 | .block.clickable { |
| 1764 | background: var(--elements); |
| 1765 | cursor: pointer; |
| 1766 | padding: 18px; |
| 1767 | border: 2px solid transparent; |
| 1768 | transition: background-color 0.2s, border-color 0.2s; |
| 1769 | user-select: none; |
| 1770 | } |
| 1771 | |
| 1772 | .block.clickable button { |
| 1773 | display: none; |
| 1774 | } |
| 1775 | |
| 1776 | .block.clickable:hover { |
| 1777 | border-color: var(--highlight); |
| 1778 | background: var(--elementHover); |
| 1779 | } |
| 1780 | |
| 1781 | .grid.flex .block { |
| 1782 | margin: 5px; |
| 1783 | } |
| 1784 | |
| 1785 | .block i { |
| 1786 | vertical-align: middle; |
| 1787 | } |
| 1788 | |
| 1789 | .block > * { |
| 1790 | margin-left: 0px; |
| 1791 | margin-right: 0px; |
| 1792 | } |
| 1793 | |
| 1794 | .block > *:first-child { |
| 1795 | margin-top: 0px; |
| 1796 | } |
| 1797 | |
| 1798 | .block > *:last-child { |
| 1799 | margin-bottom: 0px; |
| 1800 | } |
| 1801 | |
| 1802 | /* STATUS BLOCKS */ |
| 1803 | |
| 1804 | .block.status { |
| 1805 | min-height: 150px; |
| 1806 | } |
| 1807 | |
| 1808 | .block.status .main { |
| 1809 | font-size: 34px; |
| 1810 | font-weight: bold; |
| 1811 | } |
| 1812 | |
| 1813 | .block.status .bottom { |
| 1814 | position: absolute; |
| 1815 | bottom: 20px; |
| 1816 | left: 20px; |
| 1817 | } |
| 1818 | |
| 1819 | /* INFO BLOCKS */ |
| 1820 | |
| 1821 | .block.info { |
| 1822 | min-height: 100px; |
| 1823 | } |
| 1824 | |
| 1825 | .block.info .status .main { |
| 1826 | display: inline-block; |
| 1827 | font-size: 34px; |
| 1828 | line-height: 46px; |
| 1829 | width: 46px; |
| 1830 | height: 46px; |
| 1831 | border-radius: 50%; |
| 1832 | font-weight: bold; |
| 1833 | } |
| 1834 | |
| 1835 | .block.info .status .info { |
| 1836 | font-size: 18px; |
| 1837 | } |
| 1838 | |
| 1839 | .block.info .status { |
| 1840 | display: inline-block; |
| 1841 | vertical-align: middle; |
| 1842 | width: 50px; |
| 1843 | text-align: center; |
| 1844 | margin-right: 10px; |
| 1845 | } |
| 1846 | |
| 1847 | .block.info .content { |
| 1848 | display: inline-block; |
| 1849 | vertical-align: middle; |
| 1850 | height: 100%; |
| 1851 | max-width: calc(100% - 70px); |
| 1852 | overflow: hidden; |
| 1853 | text-overflow: ellipsis; |
| 1854 | } |
| 1855 | |
| 1856 | /* IMAGE BLOCKS */ |
| 1857 | |
| 1858 | .block.image { |
| 1859 | min-height: 300px; |
| 1860 | width: 340px; |
| 1861 | } |
| 1862 | |
| 1863 | .block.image .status { |
| 1864 | position: relative; |
| 1865 | } |
| 1866 | |
| 1867 | .block.image .status .image { |
| 1868 | display: block; |
| 1869 | height: 200px; |
| 1870 | width: 100%; |
| 1871 | border-radius: 10px; |
| 1872 | box-shadow: var(--lightShadow); |
| 1873 | background-image: var(--image); |
| 1874 | background-position: center; |
| 1875 | background-repeat: no-repeat; |
| 1876 | background-size: cover; |
| 1877 | } |
| 1878 | |
| 1879 | .block.image .status i { |
| 1880 | position: absolute; |
| 1881 | z-index: 3; |
| 1882 | left: 10px; |
| 1883 | top: 10px; |
| 1884 | font-size: 24px; |
| 1885 | padding: 5px; |
| 1886 | border-radius: 7px; |
| 1887 | } |
| 1888 | |
| 1889 | |
| 1890 | /* Layout |
| 1891 | -------------------------------------------------- */ |
| 1892 | .grid.samesize { |
| 1893 | display: grid; |
| 1894 | grid-template-columns: repeat(auto-fit, minmax(var(--size, 200px), 1fr)); |
| 1895 | grid-gap: 10px; |
| 1896 | } |
| 1897 | |
| 1898 | .grid.fixed { |
| 1899 | display: grid; |
| 1900 | grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); |
| 1901 | grid-gap: 10px; |
| 1902 | } |
| 1903 | |
| 1904 | .grid.fixed .item { |
| 1905 | height: min-content; |
| 1906 | } |
| 1907 | |
| 1908 | @media (max-width: 600px) { |
| 1909 | .grid.fixed { |
| 1910 | grid-template-columns: 1fr; |
| 1911 | } |
| 1912 | } |
| 1913 | |
| 1914 | .grid.flex { |
| 1915 | display: flex; |
| 1916 | margin: -5px; |
| 1917 | flex-flow: row wrap; |
| 1918 | } |
| 1919 | |
| 1920 | .grid.flex .item, .grid.flex .block { |
| 1921 | flex-basis: var(--size, 200px); |
| 1922 | flex-grow: 1; |
| 1923 | margin: 5px; |
| 1924 | } |
| 1925 | |
| 1926 | table.table { |
| 1927 | width: 100%; |
| 1928 | border-collapse: collapse; |
| 1929 | } |
| 1930 | |
| 1931 | table.table thead th { |
| 1932 | border: none; |
| 1933 | } |
| 1934 | |
| 1935 | table.table th, table.table td { |
| 1936 | border-top: 1px solid var(--elements); |
| 1937 | padding: 10px; |
| 1938 | } |
| 1939 | |
| 1940 | table.table tbody tr:first-child:not(.active) th, table.table tbody tr:first-child:not(.active) td { |
| 1941 | border-top: 2px solid var(--elements); |
| 1942 | } |
| 1943 | |
| 1944 | table.table th, table.table td { |
| 1945 | text-align: left; |
| 1946 | } |
| 1947 | |
| 1948 | table.table tr { |
| 1949 | transition: background-color 0.2s; |
| 1950 | } |
| 1951 | |
| 1952 | table.table tr.active { |
| 1953 | background-color: var(--theme); |
| 1954 | color: var(--themeText); |
| 1955 | } |
| 1956 | |
| 1957 | table.table tr.active * { |
| 1958 | color: var(--themeText); |
| 1959 | } |
| 1960 | |
| 1961 | table.table tr.active * { |
| 1962 | border-color: transparent; |
| 1963 | } |
| 1964 | |
| 1965 | table.table tr.active + tr * { |
| 1966 | border-color: transparent; |
| 1967 | } |
| 1968 | |
| 1969 | table.table tr *:first-child { |
| 1970 | border-radius: 10px 0px 0px 10px; |
| 1971 | } |
| 1972 | |
| 1973 | table.table tr *:last-child { |
| 1974 | border-radius: 0px 10px 10px 0px; |
| 1975 | } |
| 1976 | |
| 1977 | /* Sections / Headers |
| 1978 | -------------------------------------------------- */ |
| 1979 | .headerArea { |
| 1980 | position: relative; |
| 1981 | overflow: hidden; |
| 1982 | width: 100%; |
| 1983 | height: 400px; |
| 1984 | border-radius: var(--cardRadius); |
| 1985 | } |
| 1986 | |
| 1987 | .headerArea img { |
| 1988 | width: 100%; |
| 1989 | height: 100%; |
| 1990 | object-fit: cover; |
| 1991 | box-shadow: var(--lightShadow); |
| 1992 | position: absolute; |
| 1993 | } |
| 1994 | |
| 1995 | .headerArea .content { |
| 1996 | display: flex; |
| 1997 | flex-direction: column; |
| 1998 | justify-content: center; |
| 1999 | align-items: center; |
| 2000 | position: absolute; |
| 2001 | width: 100%; |
| 2002 | height: 100%; |
| 2003 | top: 0px; |
| 2004 | left: 0px; |
| 2005 | background: var(--backgroundTint); |
| 2006 | } |
| 2007 | |
| 2008 | .headerArea .content p { |
| 2009 | display: inline-block; |
| 2010 | vertical-align: middle; |
| 2011 | margin: 20px 10px; |
| 2012 | color: var(--lightText); |
| 2013 | } |
| 2014 | |
| 2015 | .headerArea .content p span { |
| 2016 | font-size: 16px; |
| 2017 | font-weight: bold; |
| 2018 | vertical-align: middle; |
| 2019 | text-shadow: 2px 2px 20px var(--background); |
| 2020 | display: inline-block; |
| 2021 | } |
| 2022 | |
| 2023 | .headerArea .content p i { |
| 2024 | margin: 0px; |
| 2025 | } |
| 2026 | |
| 2027 | .headerArea .content .btns { |
| 2028 | background: transparent; |
| 2029 | } |
| 2030 | |
| 2031 | .headerArea .content .btns button { |
| 2032 | color: var(--text) !important; |
| 2033 | } |
| 2034 | |
| 2035 | .headerArea .content .btns button.active { |
| 2036 | background: var(--background) !important; |
| 2037 | } |
| 2038 | |
| 2039 | .headerArea h1 { |
| 2040 | margin: 0px; |
| 2041 | text-shadow: 2px 2px 20px var(--background); |
| 2042 | } |
| 2043 | |
| 2044 | .section { |
| 2045 | border-radius: var(--cardRadius); |
| 2046 | margin-top: 20px; |
| 2047 | } |
| 2048 | |
| 2049 | .section > .header i { |
| 2050 | font-size: 38px; |
| 2051 | margin-left: 5px; |
| 2052 | margin-right: 10px; |
| 2053 | vertical-align: middle; |
| 2054 | } |
| 2055 | |
| 2056 | .section > .header h1, .section > .header h2, .section > .header h3, .section > .header h4, .section > .header h5, .section > .header h6 { |
| 2057 | display: inline-block; |
| 2058 | vertical-align: middle; |
| 2059 | margin: 0px; |
| 2060 | } |
| 2061 | |
| 2062 | .section > .header { |
| 2063 | text-align: center; |
| 2064 | overflow: hidden; |
| 2065 | text-overflow: ellipsis; |
| 2066 | white-space: nowrap; |
| 2067 | padding: 40px 20px; |
| 2068 | } |
| 2069 | |
| 2070 | @media (max-width: 550px) { |
| 2071 | .section > .header i { |
| 2072 | display: block; |
| 2073 | } |
| 2074 | .section > .header h1, .section > .header h2, .section > .header h3, .section > .header h4, .section > .header h5 { |
| 2075 | margin-top: 0px; |
| 2076 | } |
| 2077 | } |
| 2078 | |
| 2079 | /* Progress & Shimmer |
| 2080 | -------------------------------------------------- */ |
| 2081 | |
| 2082 | .progress { |
| 2083 | position: relative; |
| 2084 | width: 600px; |
| 2085 | height: 5px; |
| 2086 | overflow: hidden; |
| 2087 | border-radius: 12px; |
| 2088 | background: var(--elements); |
| 2089 | } |
| 2090 | |
| 2091 | .progress .bar { |
| 2092 | position: absolute; |
| 2093 | height: 5px; |
| 2094 | background: var(--theme); |
| 2095 | transition: width 0.2s; |
| 2096 | } |
| 2097 | |
| 2098 | .progress .indeterminate { |
| 2099 | position:absolute; |
| 2100 | background: var(--theme); |
| 2101 | height:5px; |
| 2102 | animation: indeterminate 1.4s infinite; |
| 2103 | animation-timing-function: linear; |
| 2104 | } |
| 2105 | |
| 2106 | @keyframes indeterminate { |
| 2107 | 0% { |
| 2108 | width: 5%; |
| 2109 | left: -15%; |
| 2110 | } |
| 2111 | 100% { |
| 2112 | width: 100%; |
| 2113 | left: 110%; |
| 2114 | } |
| 2115 | } |
| 2116 | |
| 2117 | .shimmer, .shimmerParent > * { |
| 2118 | animation: shimmer 2s infinite; |
| 2119 | animation-timing-function: linear; |
| 2120 | background: linear-gradient(to right, var(--elements) 4%, var(--elementHover) 25%, var(--elements) 36%); |
| 2121 | opacity: 0.5; |
| 2122 | background-size: 1000px 100%; |
| 2123 | border-radius: 7px; |
| 2124 | content: none; |
| 2125 | color: transparent !important; |
| 2126 | user-select: none; |
| 2127 | } |
| 2128 | |
| 2129 | @keyframes shimmer { |
| 2130 | 0% { |
| 2131 | background-position: -1000px; |
| 2132 | } |
| 2133 | 100% { |
| 2134 | background-position: 1000px; |
| 2135 | } |
| 2136 | } |
| 2137 | |
| 2138 | .loadingScreen { |
| 2139 | text-align: center; |
| 2140 | } |
| 2141 | |
| 2142 | .loadingScreen img { |
| 2143 | height: 98px; |
| 2144 | margin-right: 22px; |
| 2145 | vertical-align: middle; |
| 2146 | } |
| 2147 | |
| 2148 | .loadingScreen h1 { |
| 2149 | font-size: 68px; |
| 2150 | display: inline-block; |
| 2151 | vertical-align: middle; |
| 2152 | } |
| 2153 | |
| 2154 | .loadingScreen .progress { |
| 2155 | max-width: 600px; |
| 2156 | width: calc(100% - 40px); |
| 2157 | margin-top: 75px; |
| 2158 | display: inline-block; |
| 2159 | } |
| 2160 | |
| 2161 | .loadingScreen p { |
| 2162 | color: var(--lightText); |
| 2163 | margin-top: 24px; |
| 2164 | } |
| 2165 | |
| 2166 | /* Splash Screens (Basically all of the code managed in JS) |
| 2167 | -------------------------------------------------- */ |
| 2168 | |
| 2169 | .splashScreen { |
| 2170 | display: none; |
| 2171 | position: fixed; |
| 2172 | z-index: 800; |
| 2173 | top: 0px; |
| 2174 | left: 0px; |
| 2175 | width: 100%; |
| 2176 | height: 100vh; |
| 2177 | background: var(--background); |
| 2178 | padding: 100px; |
| 2179 | overflow: auto; |
| 2180 | } |
| 2181 | |
| 2182 | /* Helpers |
| 2183 | -------------------------------------------------- */ |
| 2184 | |
| 2185 | /* Shorthand floats & alignments */ |
| 2186 | |
| 2187 | .oneline { |
| 2188 | white-space: nowrap; |
| 2189 | overflow: hidden; |
| 2190 | text-overflow: ellipsis; |
| 2191 | } |
| 2192 | |
| 2193 | .center { |
| 2194 | text-align: center; |
| 2195 | } |
| 2196 | |
| 2197 | .left { |
| 2198 | float: left !important; |
| 2199 | } |
| 2200 | |
| 2201 | .right { |
| 2202 | float: right !important; |
| 2203 | } |
| 2204 | |
| 2205 | .align { |
| 2206 | display: inline-block; |
| 2207 | vertical-align: middle; |
| 2208 | } |
| 2209 | |
| 2210 | .hidden { |
| 2211 | display: none !important; |
| 2212 | } |
| 2213 | |
| 2214 | @media (max-width: 550px) { |
| 2215 | .desktop { |
| 2216 | display: none; |
| 2217 | } |
| 2218 | } |
| 2219 | |
| 2220 | @media (min-width: 550px) { |
| 2221 | .mobile { |
| 2222 | display: none; |
| 2223 | } |
| 2224 | } |
| 2225 | |
| 2226 | /* Miscellaneous |
| 2227 | -------------------------------------------------- */ |
| 2228 | |
| 2229 | /* Badges (previously .beta.notice) */ |
| 2230 | |
| 2231 | .badge { |
| 2232 | font-size: 14px; |
| 2233 | line-height: 14px; |
| 2234 | vertical-align: middle; |
| 2235 | background-color: var(--elementHover); |
| 2236 | color: var(--elementText); |
| 2237 | padding: 6px; |
| 2238 | border-radius: 10px; |
| 2239 | display: inline-block; |
| 2240 | margin: 0 5px; |
| 2241 | } |
| 2242 | |
| 2243 | /* Dividers */ |
| 2244 | |
| 2245 | .divider { |
| 2246 | width: 100%; |
| 2247 | margin: 0 10px; |
| 2248 | background-color: var(--elements); |
| 2249 | height: 3px; |
| 2250 | border-radius: 100px; |
| 2251 | } |
| 2252 | |
| 2253 | /* SweetAlert dark theme */ |
| 2254 | |
| 2255 | body.dark .swal-icon--success:after, body.dark .swal-icon--success:before, body.dark .swal-icon--success__hide-corners { |
| 2256 | background: var(--elements) !important; |
| 2257 | } |
| 2258 | |
| 2259 | body.dark .swal-title, body.dark .swal-text { |
| 2260 | color: var(--elementText); |
| 2261 | } |
| 2262 | |
| 2263 | body.dark .swal-modal { |
| 2264 | background-color: var(--elements); |
| 2265 | } |
| 2266 | |
| 2267 | body.pizzapizza { |
| 2268 | --background: #fb651b; |
| 2269 | --text: black; |
| 2270 | --cards: #fb651b; |
| 2271 | --theme: #ff9865; |
| 2272 | --themeText: #ffffff; |
| 2273 | --backgroundTint: #fb651bb3; |
| 2274 | } |
| 2275 | |
| 2276 | /* Thank you for using Fluid UI :) */ |