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