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: 8px; 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--tap-highlight-color: transparent; 528} 529 530/* Make headings smaller */ 531@media screen and (max-width: 576px) { 532h2 { 533font-size: 25.5px; 534line-height: 28px; 535} 536h1 { 537font-size: 33px; 538line-height: 36px; 539} 540h1.headline { 541font-size: 39px; 542line-height: 44px; 543font-weight: 300; 544} 545} 546 547/* Extra styles */ 548 549h6 { 550/* Make it look nicer */ 551text-transform: uppercase; 552color: var(--color-accent); 553} 554 555:any-link, .link-button { 556/* Make them nicer, not possible with the font property */ 557font-weight: 500; 558text-decoration: underline; 559text-decoration-thickness: .05em; 560text-underline-offset: .1em; 561} 562 563button, .button, input[type=button], input[type=submit], input[type=reset], input[type="file"]::file-selector-button { 564/* Make it look nicer */ 565text-transform: uppercase; 566} 567 568.toast-container li { 569/* Toast appear */ 570animation: toastSlide 750ms cubic-bezier(0.16, 1, 0.3, 1); 571transform-origin: bottom; 572} 573 574.toast-container li.removing { 575/* Toast disappear */ 576animation: toastCompress 500ms cubic-bezier(0.55, 0, 1, 0.45); 577} 578 579.toast-container li.removing ~ li { 580/* TODO */ 581} 582 583@keyframes toastSlide { 5840% { 585opacity: 0; 586transform: translateY(100vh); 587} 588 589100% { 590opacity: 1; 591transform: translateY(0); 592} 593} 594 595@keyframes toastCompress { 5960% { 597transform: rotateX(0); 598opacity: 1; 599} 600 601100% { 602transform: rotateX(180deg); 603opacity: 0; 604} 605} 606 607input[type="checkbox"]:not(.switch):checked::after, input[type="checkbox"]:not(.switch):indeterminate::after, input[type="radio"]:checked::after { 608/* Checked */ 609animation: check 250ms cubic-bezier(0.61, 1, 0.88, 1); 610} 611 612input[type="checkbox"]:not(.switch), input[type="radio"] { 613/* Transition background */ 614transition: box-shadow 250ms cubic-bezier(0.61, 1, 0.88, 1); 615} 616 617input[type="checkbox"].switch::after { 618/* Transition switch thumb */ 619transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 620} 621 622input[type="range"]::-webkit-slider-thumb { 623transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 624} 625 626input[type="range"]::-moz-range-thumb { 627transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 628} 629 630button, .button, input[type="file"]::file-selector-button, input, select, textarea { 631transition: 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); 632} 633 634@keyframes check { 6350% { 636transform: scale(0); 637} 638 639100% { 640transform: scale(1); 641} 642} 643 644.navbar { 645position: sticky; 646} 647 648:is(.navbar, .breadcrumbs) a:not(:hover) { 649text-decoration: none; 650} 651 652x-notebook > label:has(input[type="radio"]:checked) { 653border-bottom: 4px solid var(--color-accent); 654transition: border 125ms ease; 655} 656 657x-notebook > label { 658text-transform: uppercase; 659font-weight: 600; 660flex: 1 0 auto; 661} 662 663th, ol.table > li.list-header { 664border: none; 665} 666 667th, td { 668text-align: start; 669} 670 671.chat-bubble::before { 672content: ""; 673position: absolute; 674width: 1em; 675height: 1em; 676border: 0.75em solid; 677border-color: transparent var(--color-bubble) transparent transparent; 678left: -1.5em; 679top: 1em; 680} 681 682.bubble-alt::before { 683content: ""; 684position: absolute; 685width: 1em; 686height: 1em; 687border: 0.75em solid; 688border-color: transparent transparent transparent var(--color-bubble-alt); 689transform: translateX(100%); 690width: 100%; 691left: 0; 692top: 1em; 693} 694 695::placeholder { 696opacity: 0.5; 697} 698 699:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range], [type=color]), select).input-flat { 700border-bottom: 2px solid var(--color-primary) !important; 701} 702 703:disabled { 704opacity: 0.5; 705} 706 707input[type="color"] { 708padding: 0; 709border: 0; 710overflow: hidden; 711} 712 713input[type="color"]::-webkit-color-swatch { 714border: none; 715} 716 717input[type="color"]::-webkit-color-swatch-wrapper { 718padding: 0; 719} 720 721:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range]), select, textarea):focus { 722outline: none; /* there is a blinking cursor, better not to have an outline */ 723} 724 725textarea { 726font: var(--mono-font); 727} 728 729button:has(iconify-icon) { 730min-width: var(--height-button); 731} 732 733details.dropdown[open] > summary ~ * { 734animation: menu 375ms cubic-bezier(0.22, 1, 0.36, 1); 735transform-origin: top; 736} 737 738@keyframes menu { 7390% { 740transform: rotateX(-90deg); 741opacity: 0; 742} 743 744100% { 745transform: rotateX(0); 746opacity: 1; 747} 748} 749 750details.slidein[open] > summary ~ * { 751animation: menu2 375ms cubic-bezier(0.22, 1, 0.36, 1); 752transform-origin: left; 753} 754 755@keyframes menu2 { 7560% { 757transform: rotateY(-90deg); 758opacity: 0; 759} 760 761100% { 762transform: rotateY(0); 763opacity: 1; 764} 765} 766 767dialog:modal { 768animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 769transform-origin: center; 770} 771 772dialog { 773transition: opacity 250ms cubic-bezier(0.33, 1, 0.68, 1); 774} 775 776dialog.sheet-left:modal { 777animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1); 778transform-origin: left; 779} 780 781dialog.sheet-right:modal { 782animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1); 783transform-origin: right; 784} 785 786dialog.sheet-top:modal { 787animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 788transform-origin: top; 789} 790 791dialog.sheet-bottom:modal { 792animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 793transform-origin: bottom; 794} 795 796dialog::backdrop { 797backdrop-filter: saturate(0.5) contrast(0.5) brightness(1.25) blur(2px); 798} 799 800@keyframes entranceX { 8010% { 802transform: rotateY(-90deg); 803} 804100% { 805transform: rotateY(0); 806} 807} 808 809@keyframes entranceY { 8100% { 811transform: rotateX(-90deg); 812} 813100% { 814transform: rotateX(0); 815} 816} 817 818@keyframes fade { 8190% { 820opacity: 0; 821} 822100% { 823opacity: 1; 824} 825} 826 827:where(.navrail, .navbar, .sidenav) > iconify-icon { 828font-size: 1.5rem; 829} 830 831.navbar > *, .navbar > ul > li > * { 832min-height: var(--height-navbar); 833display: flex; 834align-items: center; 835justify-content: center; 836} 837 838header:has(.navbar) .breadcrumbs { 839z-index: 2 !important; 840position: relative; 841box-shadow: none; 842} 843 844.navbar a { 845font-weight: 500; 846} 847 848x-notebook > label:has(input[type="radio"]:checked) { 849background: var(--color-tab-selected); 850color: var(--color-tab-selected-text); 851border: none; 852box-shadow: inset 0 -4px 0 var(--color-accent); 853transition: box-shadow 125ms ease; 854} 855 856x-notebook > label:has(input[type="radio"]) { 857transition: box-shadow 125ms ease; 858} 859 860* { 861-webkit-tap-highlight-color: var(--tap-highlight-color); 862} 863