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,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); 2@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,700;1,300;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/1.33 /* 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/1.33 /* 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/1.33 /* 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 */ 360.9em/1.2 /* 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 */ 440.8em/1 /* 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/1 /* 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/1 /* 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 */ 7415px/1.33 /* 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/1.315 /* 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/1.30 /* 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/1.30 /* 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/1.30 /* 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/1.30 /* 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/1.30 /* 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-flat-button: 2px; 192 193--height-button: 36px; 194--padding-button: 4px 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-box: 16px; 340 341/* NAVBAR */ 342--color-navbar: #546E7A; --color-navbar-text: var(--color-primary-text); 343--color-navbar-link: var(--color-primary-text); 344 345--height-navbar: 56px; 346--padding-navbar: 16px; 347--gap-navbar: 8px; 348--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); 349--border-navbar: none; 350--radius-navbar: 0; 351 352/* BREADCRUMBS */ 353--color-breadcrumbs: #455A64; --color-breadcrumbs-text: var(--color-primary-1-text); 354--color-breadcrumbs-link: var(--color-primary-1-text); 355--color-breadcrumbs-separator: var(--color-primary-3); 356 357--height-breadcrumbs: 32px; 358--padding-breadcrumbs: 16px; 359--shadow-breadcrumbs: none; 360--border-breadcrumbs: none; 361--radius-breadcrumbs: 0; 362--separator-breadcrumbs: " > "; 363 364/* TABS */ 365--color-tab: var(--color-primary); --color-tab-text: var(--color-primary-text); 366--color-tab-selected: var(--color-primary); --color-tab-selected-text: var(--color-primary-text); 367--color-tab-hover: var(--color-primary); --color-tab-hover-text: var(--color-primary-text); 368--color-tab-hover-selected: var(--color-primary);--color-tab-hover-selected-text: var(--color-primary-text); 369 370--justify-tab-row: space-around; 371--height-tab: 36px; 372--width-tab: 80px; 373--align-tab: center; 374--border-tab: none; 375--border-tab-selected: 0 0 4px solid var(--color-accent) 0; 376--radius-tab: 0; 377 378/* DIVIDERS */ 379--line-divider: 1px solid #00000080; 380 381/* LISTS */ 382--style-unordered-list: disc; 383--color-unordered-list-marker: currentColor; 384--font-unordered-list-marker: var(--body-font); 385--indent-unordered-list: 1em; 386 387--style-ordered-list: decimal; 388--color-ordered-list-marker: currentColor; 389--font-ordered-list-marker: var(--body-font); 390--indent-ordered-list: 1em; 391 392/* TABLES */ 393--padding-cell: 1ch; 394--border-cell-horizontal: 1px solid #00000020; 395--border-cell-vertical: 1px solid #00000040; 396--color-table: #fafafa; --color-table-text: #000000; 397--color-row-odd: #00000010; --color-row-odd-text: #000000; 398--color-row-even: transparent; --color-row-even-text: #000000; 399--color-row-header: var(--color-primary-1); --color-row-header-text: var(--color-primary-1-text); 400 401/* BADGES */ 402--border-badge: none; 403--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); 404--x-badge: 100%; 405--y-badge: 25%; 406--width-badge: 2.25ch; 407--height-badge: 2.25ch; 408--radius-badge: 3ch; 409--padding-badge: 0.25ch; 410--color-badge: var(--color-accent); --color-badge-text: var(--color-accent-text); 411 412/* AVATARS */ 413--radius-avatar: 50%; 414 415/* BUBBLES */ 416--border-bubble: none; 417--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); 418--radius-bubble: 1em; 419--padding-bubble: 1ch; 420--color-bubble: var(--color-accent-1); --color-bubble-text: var(--color-accent-1-text); 421--color-bubble-alt: var(--color-accent-4); --color-bubble-alt-text: var(--color-accent-4-text); 422 423/* INPUTS */ 424--color-input: #ffffff; --color-input-text: #000000bb; 425--color-input-hover: #ffffff; --color-input-hover-text: #000000bb; 426--color-input-active: #ffffff; --color-input-active-text: #000000df; 427--color-flat-input: transparent; --color-flat-input-text: #000000bb; 428--color-flat-input-hover: transparent; --color-flat-input-hover-text: #000000bb; 429--color-flat-input-active: transparent; --color-flat-input-active-text: #000000df; 430 431--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); 432--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); 433--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); 434--shadow-flat-input: none; 435--shadow-flat-input-hover: none; 436--shadow-flat-input-active: none; 437 438--border-input: none; 439--border-input-hover: none; 440--border-input-active: none; 441--border-flat-input: none; 442--border-flat-input-hover: none; 443--border-flat-input-active: none; 444 445--radius-input: 2px; 446--radius-flat-input: 2px; 447 448--height-input: 36px; 449--padding-input: 4px 8px; 450--min-width-input: 64px; 451 452--size-input-icon: 16px; 453 454/* TEXTAREAS */ 455--color-textarea: #ffffff; --color-textarea-text: #000000bb; 456--color-textarea-hover: #ffffff; --color-textarea-hover-text: #000000bb; 457--color-textarea-active: #ffffff; --color-textarea-active-text: #000000df; 458--color-flat-textarea: transparent; --color-flat-textarea-text: #000000bb; 459--color-flat-textarea-hover: transparent; --color-flat-textarea-hover-text: #000000bb; 460--color-flat-textarea-active: transparent; --color-flat-textarea-active-text: #000000df; 461 462--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); 463--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); 464--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); 465--shadow-flat-textarea: none; 466--shadow-flat-textarea-hover: none; 467--shadow-flat-textarea-active: none; 468 469--border-textarea: none; 470--border-textarea-hover: none; 471--border-textarea-active: none; 472--border-flat-textarea: 1px solid #00000040; 473--border-flat-textarea-hover: 1px solid #00000040; 474--border-flat-textarea-active: 1px solid #00000040; 475 476--radius-textarea: 2px; 477--radius-flat-textarea: 8px; 478 479--padding-textarea: 8px; 480 481/* MENUS */ 482--color-toolbar: #ffffff; --color-toolbar-text: #000000bb; 483--color-menu: #ffffff; --color-menu-text: #000000bb; 484--color-menu-item: transparent; --color-menu-item-text: #000000bb; 485--color-menu-item-hover: #00000010; --color-menu-item-hover-text: #000000bb; 486 487--gap-toolbar: 4px; 488--gap-menu: 0; 489--border-toolbar: none; 490--border-menu: none; 491--border-menu-item: none; 492--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); 493--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); 494--height-toolbar: 48px; 495--height-menu-item: 24px; 496--width-toolbar: fit-content; 497--radius-toolbar: 0; 498--radius-menu: 0; 499--padding-toolbar: 4px; 500--padding-menu: 2px 0; 501--padding-menu-item: 2px 8px; 502 503/* DIALOGS */ 504--color-modal-backdrop: radial-gradient(circle, #00000040 12.5%, #000000cc 100%); 505} 506 507/* Extra styles */ 508 509h6 { 510/* Make it look nicer */ 511text-transform: uppercase; 512color: var(--color-accent); 513} 514 515:any-link { 516/* Make them nicer, not possible with the font property */ 517font-weight: bolder; 518text-decoration: underline; 519text-decoration-thickness: .05em; 520text-underline-offset: .1em; 521} 522 523button, .button, input[type=button], input[type=submit], input[type=reset], input[type="file"]::file-selector-button { 524/* Make it look nicer */ 525text-transform: uppercase; 526} 527 528.toast-container li { 529/* Toast appear */ 530animation: toastSlide 750ms cubic-bezier(0.16, 1, 0.3, 1); 531transform-origin: bottom; 532} 533 534.toast-container li.removing { 535/* Toast disappear */ 536animation: toastCompress 500ms cubic-bezier(0.55, 0, 1, 0.45); 537} 538 539.toast-container li.removing ~ li { 540/* TODO */ 541} 542 543@keyframes toastSlide { 5440% { 545opacity: 0; 546transform: translateY(100vh); 547} 548 549100% { 550opacity: 1; 551transform: translateY(0); 552} 553} 554 555@keyframes toastCompress { 5560% { 557transform: rotateX(0); 558opacity: 1; 559} 560 561100% { 562transform: rotateX(180deg); 563opacity: 0; 564} 565} 566 567input[type="checkbox"]:not(.switch):checked::after, input[type="checkbox"]:not(.switch):indeterminate::after, input[type="radio"]:checked::after { 568/* Checked */ 569animation: check 250ms cubic-bezier(0.61, 1, 0.88, 1); 570} 571 572input[type="checkbox"]:not(.switch), input[type="radio"] { 573/* Transition background */ 574transition: box-shadow 250ms cubic-bezier(0.61, 1, 0.88, 1); 575} 576 577input[type="checkbox"].switch::after { 578/* Transition switch thumb */ 579transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 580} 581 582input[type="range"]::-webkit-slider-thumb { 583transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 584} 585 586input[type="range"]::-moz-range-thumb { 587transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1); 588} 589 590button, .button, input[type="file"]::file-selector-button, input, select, textarea { 591transition: 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); 592} 593 594@keyframes check { 5950% { 596transform: scale(0); 597} 598 599100% { 600transform: scale(1); 601} 602} 603 604.navbar { 605position: sticky; 606} 607 608:is(.navbar, .breadcrumbs) a:not(:hover) { 609text-decoration: none; 610} 611 612x-notebook > label:has(input[type="radio"]:checked) { 613border-bottom: 4px solid var(--color-accent); 614transition: border 125ms ease; 615} 616 617x-notebook > label { 618text-transform: uppercase; 619font-weight: 600; 620flex: 1 0 auto; 621} 622 623th, ol.table > li.list-header { 624border: none; 625} 626 627tbody th { 628text-align: end; 629} 630 631thead th { 632vertical-align: bottom; 633text-align: center; 634} 635 636.chat-bubble::before { 637content: ""; 638position: absolute; 639width: 1em; 640height: 1em; 641border: 0.75em solid; 642border-color: transparent var(--color-bubble) transparent transparent; 643left: -1.5em; 644top: 1em; 645} 646 647.bubble-alt::before { 648content: ""; 649position: absolute; 650width: 1em; 651height: 1em; 652border: 0.75em solid; 653border-color: transparent transparent transparent var(--color-bubble-alt); 654transform: translateX(100%); 655width: 100%; 656left: 0; 657top: 1em; 658} 659 660::placeholder { 661opacity: 0.5; 662} 663 664:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range], [type=color]), select).input-flat { 665border-bottom: 2px solid var(--color-primary) !important; 666} 667 668:disabled { 669opacity: 0.5; 670} 671 672input[type="color"] { 673padding: 0; 674border: 0; 675overflow: hidden; 676} 677 678input[type="color"]::-webkit-color-swatch { 679border: none; 680} 681 682input[type="color"]::-webkit-color-swatch-wrapper { 683padding: 0; 684} 685 686:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range]), select, textarea):focus { 687outline: none; /* there is a blinking cursor, better not to have an outline */ 688} 689 690textarea { 691font: var(--mono-font); 692} 693 694button:has(iconify-icon) { 695min-width: var(--height-button); 696} 697 698details.dropdown[open] > summary ~ * { 699animation: menu 375ms cubic-bezier(0.22, 1, 0.36, 1); 700transform-origin: top; 701} 702 703@keyframes menu { 7040% { 705transform: rotateX(-90deg); 706opacity: 0; 707} 708 709100% { 710transform: rotateX(0); 711opacity: 1; 712} 713} 714 715details.slidein[open] > summary ~ * { 716animation: menu2 375ms cubic-bezier(0.22, 1, 0.36, 1); 717transform-origin: left; 718} 719 720@keyframes menu2 { 7210% { 722transform: rotateY(-90deg); 723opacity: 0; 724} 725 726100% { 727transform: rotateY(0); 728opacity: 1; 729} 730} 731 732dialog:modal { 733animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 734transform-origin: center; 735} 736 737dialog { 738transition: opacity 250ms cubic-bezier(0.33, 1, 0.68, 1); 739} 740 741dialog.sheet-left:modal { 742animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1); 743transform-origin: left; 744} 745 746dialog.sheet-right:modal { 747animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1); 748transform-origin: right; 749} 750 751dialog.sheet-top:modal { 752animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 753transform-origin: top; 754} 755 756dialog.sheet-bottom:modal { 757animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1); 758transform-origin: bottom; 759} 760 761dialog::backdrop { 762backdrop-filter: saturate(0.5) contrast(0.5) brightness(1.25) blur(2px); 763} 764 765@keyframes entranceX { 7660% { 767transform: rotateY(-90deg); 768} 769100% { 770transform: rotateY(0); 771} 772} 773 774@keyframes entranceY { 7750% { 776transform: rotateX(-90deg); 777} 778100% { 779transform: rotateX(0); 780} 781} 782 783@keyframes fade { 7840% { 785opacity: 0; 786} 787100% { 788opacity: 1; 789} 790} 791