THEME.css
Unicode text, UTF-8 text
1:root, ::backdrop { 2/* FONTS */ 3--body-font: /* body text */ 4normal /* style */ 5normal /* variant */ 6400 /* weight */ 7normal /* stretch */ 816px/20px /* size / line height */ 9"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 10; 11--table-font: 12normal /* style */ 13normal /* variant */ 14400 /* weight */ 15normal /* stretch */ 1615.4px/20px /* size / line height */ 17"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 18; 19--table-header-font: 20normal /* style */ 21normal /* variant */ 22500 /* weight */ 23normal /* stretch */ 2415.4px/20px /* size / line height */ 25"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 26; 27--mono-font: /* code */ 28normal /* style */ 29normal /* variant */ 30300 /* weight */ 31normal /* stretch */ 3214.5px/20px /* size / line height */ 33"Roboto Mono", "Noto Sans Mono", "Noto Mono", "DejaVu Sans Mono", "Source Code Pro", "Source Code", "source-pro-code", Cousine, Consolas, monospace /* family */ 34; 35--keyboard-font: /* keyboard */ 36normal /* style */ 37normal /* variant */ 38600 /* weight */ 39normal /* stretch */ 4012px/12px /* size / line height */ 41"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 42; 43--button-font: /* buttons */ 44normal /* style */ 45normal /* variant */ 46600 /* weight */ 47normal /* stretch */ 4815px/20px /* size / line height */ 49"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 50; 51--badge-font: /* badges */ 52normal /* style */ 53normal /* variant */ 54700 /* weight */ 55normal /* stretch */ 5613.2px/16px /* size / line height */ 57"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 58; 59--gui-font: /* everything not covered by something else */ 60var(--body-font); 61--input-font: /* all inputs which show text */ 62var(--gui-font); 63--textarea-font: /* textareas */ 64var(--mono-font); 65--h6-font: /* h6 */ 66normal /* style */ 67normal /* variant */ 68700 /* weight */ 69normal /* stretch */ 7016px/20px /* size / line height */ 71"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 72; 73--h5-font: /* h5 */ 74normal /* style */ 75normal /* variant */ 76900 /* weight */ 77normal /* stretch */ 7818px/20px /* size / line height */ 79"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 80; 81--h4-font: /* h4 */ 82normal /* style */ 83normal /* variant */ 84700 /* weight */ 85normal /* stretch */ 8619.5px/24px /* size / line height */ 87"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 88; 89--h3-font: /* h3 */ 90normal /* style */ 91normal /* variant */ 92400 /* weight */ 93normal /* stretch */ 9422.5px/28px /* size / line height */ 95"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 96; 97--h2-font: /* h2 */ 98normal /* style */ 99normal /* variant */ 100300 /* weight */ 101normal /* stretch */ 10228px/32px /* size / line height */ 103"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 104; 105--h1-font: /* h1 */ 106normal /* style */ 107normal /* variant */ 108300 /* weight */ 109normal /* stretch */ 11036px/44px /* size / line height */ 111"Roboto", "Noto Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 112; 113--headline-font: /* h1 as a headline */ 114normal /* style */ 115normal /* variant */ 116100 /* weight */ 117normal /* stretch */ 11852px/60px /* size / line height */ 119"Roboto", "Noto Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */ 120; 121 122/* GENERAL COLOURS */ 123/* background */ /* foreground */ 124--color-primary: #3F51B5; --color-primary-text: #ffffff; 125--color-primary-1: #303F9F; --color-primary-1-text: #ffffff; 126--color-primary-2: #1A237E; --color-primary-2-text: #ffffff; 127--color-primary-3: #7986CB; --color-primary-3-text: #000000; 128--color-primary-4: #C5CAE9; --color-primary-4-text: #000000; 129 130--color-accent: #E91E63; --color-accent-text: #ffffff; 131--color-accent-1: #C2185B; --color-accent-1-text: #ffffff; 132--color-accent-2: #880E4F; --color-accent-2-text: #ffffff; 133--color-accent-3: #F06292; --color-accent-3-text: #000000; 134--color-accent-4: #F8BBD0; --color-accent-4-text: #000000; 135 136--color-background: #fafafa; --color-background-text: #000000df; 137--color-caption-text: #000000b9; 138--color-label-text: #000000df; 139 140--color-error: #d50000; --color-error-text: #ffffff; 141--color-alert: #ffab00; --color-alert-text: #000000; 142--color-info: #00b8d4; --color-info-text: #000000; 143--color-success: #00c853; --color-success-text: #ffffff; 144 145--color-not-accent: transparent; --color-not-accent-text: var(--color-background-text); 146 147--color-scheme: light; 148 149/* CODE BLOCKS */ 150--color-code: #263238; --color-code-text: #ffffff; 151--color-quote: #fafafa; --color-quote-text: #000000cc; 152--color-short-code: #f5f5f5; --color-short-code-text: #000000cc; 153--color-keyboard: #757575; --color-keyboard-text: #ffffff; 154 155--color-scheme-code: dark; 156 157--size-keyboard: 1.5em; 158--padding-keyboard: 0.375em; 159--padding-code: 12px; 160 161--radius-code: 0; 162--radius-short-code: 0.125em; 163--border-code: none; 164--border-short-code: none; 165 166--shadow-keyboard: 0 1px 1px 0 rgba(0, 0, 0, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.24); 167 168/* BUTTONS */ 169--color-button: var(--color-primary); --color-button-text: var(--color-primary-text); 170--color-button-hover: var(--color-primary); --color-button-hover-text: var(--color-primary-text); 171--color-button-active: var(--color-primary); --color-button-active-text: var(--color-primary-text); 172--color-flat-button: transparent; --color-flat-button-text: var(--color-primary); 173--color-flat-button-hover: #00000020; --color-flat-button-hover-text: var(--color-primary-2); 174--color-flat-button-active: #00000030; --color-flat-button-active-text: var(--color-primary-3); 175 176--shadow-button: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 177--shadow-button-hover: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 178--shadow-flat-button: none; 179--shadow-flat-button-hover: none; 180 181--border-button: none; 182--border-button-hover: none; 183--border-flat-button: none; 184--border-flat-button-hover: none; 185 186--radius-button: 2px; 187--radius-round-button: 100vmin; 188--radius-flat-button: 2px; 189 190--height-button: 36px; 191--size-round-button: 48px; 192--margin-round-button: 8px; 193--padding-button: 4px 8px; 194--padding-round-button: 8px; 195--gap-button: 4px; 196--min-width-button: 64px; 197 198/* LINKS */ 199--color-link-text: #1e88e5; 200--color-link-hover-text: #1565c0; 201--color-link-active-text: #1e88e580; 202--color-link-visited-text: #1e88e5; 203--color-link-visited-hover-text: #1565c0; 204 205/* TOASTS */ 206--color-callout: #546e7a; --color-callout-text: #ffffff; 207--color-callout-1: #37474f; --color-callout-1-text: #ffffff; 208--color-callout-2: #78909c; --color-callout-2-text: #ffffff; 209--color-callout-button-text: var(--color-accent-4); 210 211--border-toast: none; 212--radius-toast: 2px; 213--gap-toast: 8px; 214--min-width-toast: 192px; 215--max-width-toast: 50%; 216--height-toast: 40px; 217--padding-toast: 0 0 0 8px; 218--toast-align-horizontal: end; 219--toast-align-vertical: end; 220--toast-stack: column-reverse wrap; 221--margin-toast: 12px; 222 223--shadow-toast: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 224 225/* CHECKBOXES */ 226--color-checkbox: var(--color-not-accent); --color-checkbox-text: var(--color-accent); 227--color-checkbox-hover: var(--color-not-accent); --color-checkbox-hover-text: var(--color-accent); 228--color-checkbox-active: var(--color-accent); --color-checkbox-active-text: var(--color-accent-text); 229--color-checkbox-indeterminate: var(--color-accent);--color-checkbox-indeterminate-text: var(--color-accent-text); 230--color-checkbox-indeterminate-hover: var(--color-accent);--color-checkbox-indeterminate-hover-text: var(--color-accent-text); 231--color-checkbox-active-hover: var(--color-accent);--color-checkbox-active-hover-text: var(--color-accent-text); 232--color-radio: var(--color-not-accent); --color-radio-text: var(--color-accent); 233--color-radio-active: var(--color-not-accent); --color-radio-active-text: var(--color-accent); 234--color-radio-hover: var(--color-not-accent); --color-radio-hover-text: var(--color-accent); 235--color-radio-active-hover: var(--color-not-accent);--color-radio-active-hover-text: var(--color-accent); 236 237--border-checkbox: 0.125em solid currentColor; 238--border-checkbox-checked: 0.125em solid var(--color-checkbox-active); 239--border-checkbox-indeterminate: 0.125em solid var(--color-checkbox-indeterminate); 240--border-checkbox-hover: 0.125em solid currentColor; 241--border-checkbox-checked-hover: 0.125em solid var(--color-checkbox-active); 242--border-checkbox-indeterminate-hover: 0.125em solid var(--color-checkbox-indeterminate); 243--border-radio: 0.125em solid currentColor; 244--border-radio-checked: 0.125em solid currentColor; 245--border-radio-hover: 0.125em solid currentColor; 246--border-radio-checked-hover: 0.125em solid currentColor; 247 248--color-switch: #eeeeee; --color-switch-thumb: #757575; 249--color-switch-on: var(--color-accent-4); --color-switch-thumb-on: var(--color-accent); 250--color-switch-hover: #eeeeee; --color-switch-thumb-hover: #757575; 251--color-switch-on-hover: var(--color-accent-4); --color-switch-thumb-on-hover: var(--color-accent); 252 253--border-switch: none; 254--border-switch-hover: none; 255--radius-switch: 1em; 256--height-switch: 0.75em; 257--width-switch: 2em; 258--border-switch-thumb: none; 259--border-switch-thumb-hover: none; 260--radius-switch-thumb: 1em; 261--width-switch-thumb: 1em; 262--height-switch-thumb: 1em; 263--padding-switch-thumb: 0em; /* for some reason, you must set the unit */ 264--width-switch-thumb-hover: 1em; 265--height-switch-thumb-hover: 1em; 266 267--shadow-switch: 0 0 0 0 transparent; /* none */ 268--shadow-switch-thumb: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 0 3px 0 rgba(0, 0, 0, 0.40); 269--shadow-switch-hover: 0 0 0 0 transparent; /* none */ 270--shadow-switch-thumb-hover: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.40); 271 272--border-switch-on: none; 273--border-switch-on-hover: none; 274--border-switch-thumb-on: none; 275--border-switch-thumb-on-hover: none; 276--radius-switch-thumb-on: 1em; 277--width-switch-thumb-on: 1em; 278--height-switch-thumb-on: 1em; 279--padding-switch-thumb-on: 0em; /* for some reason, you must set the unit */ 280--width-switch-thumb-on-hover: 1em; 281--height-switch-thumb-on-hover: 1em; 282 283--shadow-switch-on: 0 0 0 0 transparent; /* none */ 284--shadow-switch-thumb-on: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 0 3px 0 rgba(0, 0, 0, 0.40); 285--shadow-switch-on-hover: 0 0 0 0 transparent; /* none */ 286--shadow-switch-thumb-on-hover: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.40); 287 288--radius-checkbox: 0.125em; 289--radius-radio: 1em; 290--size-checkbox: 1em; 291 292--shadow-form: 0 0 0 0 transparent; /* none */ 293--shadow-form-checked: 0 0 0 0 transparent; /* none */ 294--shadow-form-indeterminate: 0 0 0 0 transparent; /* none */ 295--shadow-form-hover: 0 0 0 0 transparent; /* none */ 296--shadow-form-checked-hover: 0 0 0 0 transparent; /* none */ 297--shadow-form-indeterminate-hover: 0 0 0 0 transparent; /* none */ 298 299/* RANGES */ 300--color-range: var(--color-accent-4); --color-range-text: var(--color-accent); 301--color-range-hover: var(--color-accent-4); --color-range-hover-text: var(--color-accent); 302 303--border-range: none; 304--border-range-hover: none; 305--radius-range: 1em; 306--height-range: 0.75em; 307--border-range-thumb: none; 308--border-range-thumb-hover: none; 309--position-range-thumb: -12.5%; 310--position-range-thumb-hover: -12.5%; 311--radius-range-thumb: 1em; 312--width-range-thumb: 1em; 313--height-range-thumb: 1em; 314--width-range-thumb-hover: 1em; 315--height-range-thumb-hover: 1em; 316--shadow-range: 0 0 0 0 transparent; /* none */ 317--shadow-range-thumb: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 0 3px 0 rgba(0, 0, 0, 0.40); 318--shadow-range-hover: 0 0 0 0 transparent; /* none */ 319--shadow-range-thumb-hover: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.40); 320 321/* CARDS */ 322--color-card: #ffffff; --color-card-text: #000000df; 323--color-figcaption-text: #000000df; 324 325--radius-card: 0; 326--outline-outlined-card: 1px solid #00000080; 327--radius-outlined-card: 4px; 328--border-card: none; 329--shadow-card: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 330 331--padding-card: 0 12px 12px 12px; 332--padding-card-top: 12px; 333--padding-card-figcaption: 0 12px 12px 12px; 334--figure-max-size-horizontal-card: clamp(200px, 50%, 768px); 335 336/* LAYOUT */ 337--gap-buttonbox: 4px; 338--gap-label-checkbox: 4px; 339--gap-label-input: 4px; 340--gap-box: 16px; 341 342/* NAVBAR */ 343--color-navbar: #546E7A; --color-navbar-text: var(--color-primary-text); 344--color-navbar-link: var(--color-primary-text); 345 346--height-navbar: 48px; 347--width-navbar-button: 56px; 348--padding-navbar: 12px; 349--gap-navbar: 0; 350--shadow-navbar: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 351--border-navbar: none; 352--radius-navbar: 0; 353 354/* NAVRAIL */ 355--color-navrail: #455a64; --color-navrail-text: var(--color-primary-text); 356--color-navrail-link: var(--color-primary-text); 357--color-navrail-link-hover: var(--color-primary-3); 358--color-navrail-link-selected: var(--color-primary-3); 359 360--width-navrail: 72px; 361--height-navrail-button: 56px; 362--padding-navrail: 0; 363--gap-navrail: 0; 364--shadow-navrail: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 365--border-navrail: none; 366--radius-navrail: 0; 367 368/* SIDENAV */ 369--color-sidenav: transparent; --color-sidenav-text: var(--color-caption-text); 370--gap-sidenav-item: 1ch; 371--padding-sidenav: 8px; 372 373/* BREADCRUMBS */ 374--color-breadcrumbs: var(--color-navbar); --color-breadcrumbs-text: var(--color-navbar-text); 375--color-breadcrumbs-link: var(--color-navbar-text); 376--color-breadcrumbs-separator: var(--color-navbar-text); 377 378--height-breadcrumbs: 48px; 379--padding-breadcrumbs: 16px; 380--shadow-breadcrumbs: var(--shadow-navbar); 381--border-breadcrumbs: none; 382--radius-breadcrumbs: 0; 383--separator-breadcrumbs: " > "; 384 385/* TABS */ 386--color-tab: var(--color-navbar); --color-tab-text: var(--color-navbar-text); 387--color-tab-selected: var(--color-navbar); --color-tab-selected-text: var(--color-navbar-text); 388--color-tab-hover: var(--color-navbar); --color-tab-hover-text: var(--color-navbar-text); 389--color-tab-hover-selected: var(--color-navbar); --color-tab-hover-selected-text: var(--color-navbar-text); 390 391--justify-tab-row: space-around; 392--height-tab: 36px; 393--width-tab: 80px; 394--align-tab: center; 395--border-tab: none; 396--border-tab-selected: none; 397--radius-tab: 0; 398 399/* DIVIDERS */ 400--line-divider: 1px solid #00000080; 401 402/* LISTS */ 403--style-unordered-list: disc; 404--color-unordered-list-marker: currentColor; 405--font-unordered-list-marker: var(--body-font); 406--indent-unordered-list: 1em; 407 408--style-ordered-list: decimal; 409--color-ordered-list-marker: currentColor; 410--font-ordered-list-marker: var(--body-font); 411--indent-ordered-list: 1em; 412 413/* TABLES */ 414--padding-cell: 1ch; 415--border-cell-horizontal: 1px solid #00000020; 416--border-cell-vertical: 1px solid #00000040; 417--color-table: #fafafa; --color-table-text: #000000; 418--color-row-odd: #00000010; --color-row-odd-text: #000000; 419--color-row-even: transparent; --color-row-even-text: #000000; 420--color-row-header: var(--color-primary-1); --color-row-header-text: var(--color-primary-1-text); 421 422/* BADGES */ 423--border-badge: none; 424--shadow-badge: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 425--x-badge: 100%; 426--y-badge: 25%; 427--width-badge: 2.25ch; 428--height-badge: 2.25ch; 429--radius-badge: 3ch; 430--padding-badge: 0.25ch; 431--color-badge: var(--color-accent); --color-badge-text: var(--color-accent-text); 432 433/* AVATARS */ 434--radius-avatar: 0; 435 436/* BUBBLES */ 437--border-bubble: none; 438--shadow-bubble: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 439--radius-bubble: 1em; 440--padding-bubble: 1ch; 441--color-bubble: var(--color-accent-1); --color-bubble-text: var(--color-accent-1-text); 442--color-bubble-alt: var(--color-accent-4); --color-bubble-alt-text: var(--color-accent-4-text); 443 444/* INPUTS */ 445--color-input: #ffffff; --color-input-text: #000000bb; 446--color-input-hover: #ffffff; --color-input-hover-text: #000000bb; 447--color-input-active: #ffffff; --color-input-active-text: #000000df; 448--color-flat-input: transparent; --color-flat-input-text: #000000bb; 449--color-flat-input-hover: transparent; --color-flat-input-hover-text: #000000bb; 450--color-flat-input-active: transparent; --color-flat-input-active-text: #000000df; 451 452--shadow-input: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 453--shadow-input-hover: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 454--shadow-input-active: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 455--shadow-flat-input: none; 456--shadow-flat-input-hover: none; 457--shadow-flat-input-active: none; 458 459--border-input: none; 460--border-input-hover: none; 461--border-input-active: none; 462--border-flat-input: none; 463--border-flat-input-hover: none; 464--border-flat-input-active: none; 465 466--radius-input: 2px; 467--radius-flat-input: 2px; 468 469--height-input: 36px; 470--padding-input: 4px 8px; 471--min-width-input: 64px; 472 473--size-input-icon: 16px; 474 475/* TEXTAREAS */ 476--color-textarea: #ffffff; --color-textarea-text: #000000bb; 477--color-textarea-hover: #ffffff; --color-textarea-hover-text: #000000bb; 478--color-textarea-active: #ffffff; --color-textarea-active-text: #000000df; 479--color-flat-textarea: transparent; --color-flat-textarea-text: #000000bb; 480--color-flat-textarea-hover: transparent; --color-flat-textarea-hover-text: #000000bb; 481--color-flat-textarea-active: transparent; --color-flat-textarea-active-text: #000000df; 482 483--shadow-textarea: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 484--shadow-textarea-hover: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 485--shadow-textarea-active: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12); 486--shadow-flat-textarea: none; 487--shadow-flat-textarea-hover: none; 488--shadow-flat-textarea-active: none; 489 490--border-textarea: none; 491--border-textarea-hover: none; 492--border-textarea-active: none; 493--border-flat-textarea: 1px solid #00000040; 494--border-flat-textarea-hover: 1px solid #00000040; 495--border-flat-textarea-active: 1px solid #00000040; 496 497--radius-textarea: 2px; 498--radius-flat-textarea: 8px; 499 500--padding-textarea: 8px; 501 502/* MENUS */ 503--color-toolbar: #ffffff; --color-toolbar-text: #000000bb; 504--color-menu: #ffffff; --color-menu-text: #000000bb; 505--color-menu-item: transparent; --color-menu-item-text: #000000bb; 506--color-menu-item-hover: #00000010; --color-menu-item-hover-text: #000000bb; 507 508--gap-toolbar: 4px; 509--gap-menu: 0; 510--border-toolbar: none; 511--border-menu: none; 512--border-menu-item: none; 513--shadow-toolbar: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 514--shadow-menu: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12); 515--height-toolbar: 48px; 516--height-menu-item: 24px; 517--width-toolbar: fit-content; 518--radius-toolbar: 0; 519--radius-menu: 0; 520--padding-toolbar: 4px; 521--padding-menu: 2px 0; 522--padding-menu-item: 2px 8px; 523 524/* DIALOGS */ 525--color-modal-backdrop: radial-gradient(circle, #00000040 12.5%, #000000cc 100%); 526} 527 528/* Make headings smaller */ 529@media screen and (max-width: 576px) { 530h2 { 531font-size: 25.5px; 532line-height: 28px; 533} 534h1 { 535font-size: 33px; 536line-height: 36px; 537} 538h1.headline { 539font-size: 39px; 540line-height: 44px; 541font-weight: 300; 542} 543} 544 545/* Extra styles */ 546 547h6 { 548/* Make it look nicer */ 549text-transform: uppercase; 550color: var(--color-accent); 551} 552 553:any-link, .link-button { 554/* Make them nicer, not possible with the font property */ 555font-weight: 500; 556text-decoration: underline; 557text-decoration-thickness: .05em; 558text-underline-offset: .1em; 559} 560 561button, .button, input[type=button], input[type=submit], input[type=reset], input[type="file"]::file-selector-button { 562/* Make it look nicer */ 563text-transform: uppercase; 564} 565 566.toast-container li { 567/* Toast appear */ 568animation: toastSlide 750ms cubic-bezier(0.16, 1, 0.3, 1); 569transform-origin: bottom; 570} 571 572.toast-container li.removing { 573/* Toast disappear */ 574animation: toastCompress 500ms cubic-bezier(0.55, 0, 1, 0.45); 575} 576 577.toast-container li.removing ~ li { 578/* TODO */ 579} 580 581@keyframes toastSlide { 5820% { 583opacity: 0; 584transform: translateY(100vh); 585} 586 587100% { 588opacity: 1; 589transform: translateY(0); 590} 591} 592 593@keyframes toastCompress { 5940% { 595transform: rotateX(0); 596opacity: 1; 597} 598 599100% { 600transform: rotateX(180deg); 601opacity: 0; 602} 603} 604 605input[type="checkbox"]:not(.switch):checked::after, input[type="checkbox"]:not(.switch):indeterminate::after, input[type="radio"]:checked::after { 606/* Checked */ 607animation: check 250ms cubic-bezier(0.61, 1, 0.88, 1); 608} 609 610input[type="checkbox"]:not(.switch), input[type="radio"] { 611/* Transition background */ 612transition: box-shadow 250ms cubic-bezier(0.61, 1, 0.88, 1); 613} 614 615input[type="checkbox"].switch::after { 616/* Transition switch thumb */ 617transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 618} 619 620input[type="range"]::-webkit-slider-thumb { 621transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 622} 623 624input[type="range"]::-moz-range-thumb { 625transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 626} 627 628button, .button, input[type="file"]::file-selector-button, input, select, textarea { 629transition: box-shadow 375ms cubic-bezier(0.5, 1, 0.89, 1), background 375ms cubic-bezier(0.5, 1, 0.89, 1), color 375ms cubic-bezier(0.5, 1, 0.89, 1); 630} 631 632@keyframes check { 6330% { 634transform: scale(0); 635} 636 637100% { 638transform: scale(1); 639} 640} 641 642.navbar { 643position: sticky; 644} 645 646:is(.navbar, .breadcrumbs) a:not(:hover) { 647text-decoration: none; 648} 649 650x-notebook > label:has(input[type="radio"]:checked) { 651border-bottom: 4px solid var(--color-accent); 652transition: border 125ms ease; 653} 654 655x-notebook > label { 656text-transform: uppercase; 657font-weight: 600; 658flex: 1 0 auto; 659} 660 661th, ol.table > li.list-header { 662border: none; 663} 664 665th, td { 666text-align: start; 667} 668 669.chat-bubble::before { 670content: ""; 671position: absolute; 672width: 1em; 673height: 1em; 674border: 0.75em solid; 675border-color: transparent var(--color-bubble) transparent transparent; 676left: -1.5em; 677top: 1em; 678} 679 680.bubble-alt::before { 681content: ""; 682position: absolute; 683width: 1em; 684height: 1em; 685border: 0.75em solid; 686border-color: transparent transparent transparent var(--color-bubble-alt); 687transform: translateX(100%); 688width: 100%; 689left: 0; 690top: 1em; 691} 692 693::placeholder { 694opacity: 0.5; 695} 696 697:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range], [type=color]), select).input-flat { 698border-bottom: 2px solid var(--color-primary) !important; 699} 700 701:disabled { 702opacity: 0.5; 703} 704 705input[type="color"] { 706padding: 0; 707border: 0; 708overflow: hidden; 709} 710 711input[type="color"]::-webkit-color-swatch { 712border: none; 713} 714 715input[type="color"]::-webkit-color-swatch-wrapper { 716padding: 0; 717} 718 719:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range]), select, textarea):focus { 720outline: none; /* there is a blinking cursor, better not to have an outline */ 721} 722 723textarea { 724font: var(--mono-font); 725} 726 727button:has(iconify-icon) { 728min-width: var(--height-button); 729} 730 731details.dropdown[open] > summary ~ * { 732animation: menu 375ms cubic-bezier(0.22, 1, 0.36, 1); 733transform-origin: top; 734} 735 736@keyframes menu { 7370% { 738transform: rotateX(-90deg); 739opacity: 0; 740} 741 742100% { 743transform: rotateX(0); 744opacity: 1; 745} 746} 747 748details.slidein[open] > summary ~ * { 749animation: menu2 375ms cubic-bezier(0.22, 1, 0.36, 1); 750transform-origin: left; 751} 752 753@keyframes menu2 { 7540% { 755transform: rotateY(-90deg); 756opacity: 0; 757} 758 759100% { 760transform: rotateY(0); 761opacity: 1; 762} 763} 764 765dialog:modal { 766animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 767transform-origin: center; 768} 769 770dialog { 771transition: opacity 250ms cubic-bezier(0.33, 1, 0.68, 1); 772} 773 774dialog.sheet-left:modal { 775animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1); 776transform-origin: left; 777} 778 779dialog.sheet-right:modal { 780animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1); 781transform-origin: right; 782} 783 784dialog.sheet-top:modal { 785animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 786transform-origin: top; 787} 788 789dialog.sheet-bottom:modal { 790animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 791transform-origin: bottom; 792} 793 794dialog::backdrop { 795backdrop-filter: saturate(0.5) contrast(0.5) brightness(1.25) blur(2px); 796} 797 798@keyframes entranceX { 7990% { 800transform: rotateY(-90deg); 801} 802100% { 803transform: rotateY(0); 804} 805} 806 807@keyframes entranceY { 8080% { 809transform: rotateX(-90deg); 810} 811100% { 812transform: rotateX(0); 813} 814} 815 816@keyframes fade { 8170% { 818opacity: 0; 819} 820100% { 821opacity: 1; 822} 823} 824 825:where(.navrail, .navbar, .sidenav) > iconify-icon { 826font-size: 1.5rem; 827} 828 829.navbar > *, .navbar > ul > li > * { 830min-height: var(--height-navbar); 831display: flex; 832align-items: center; 833justify-content: center; 834} 835 836header:has(.navbar) .breadcrumbs { 837z-index: 2 !important; 838position: relative; 839box-shadow: none; 840} 841 842.navbar a { 843font-weight: 500; 844} 845 846x-notebook > label:has(input[type="radio"]:checked) { 847background: var(--color-tab-selected); 848color: var(--color-tab-selected-text); 849border: none; 850box-shadow: inset 0 -4px 0 var(--color-accent); 851transition: box-shadow 125ms ease; 852} 853 854x-notebook > label:has(input[type="radio"]) { 855transition: box-shadow 125ms ease; 856} 857