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