| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,11 +59,11 @@ <h3>{{ _('Navigation') }}</h3> | |||
| 59 | 59 | ||
| 60 | 60 | {%- macro themeselector() %} | |
| 61 | 61 | <label class="theme-selector-label"> | |
| 62 | - {{ _('Color theme') }} | ||
| 62 | + {{ _('Theme') }} | ||
| 63 | 63 | <select class="theme-selector" oninput="activateTheme(this.value)"> | |
| 64 | - <option value="auto" selected>{{ _('Auto (default)') }}</option> | ||
| 65 | - <option value="light">{{ _('Light theme') }}</option> | ||
| 66 | - <option value="dark">{{ _('Dark theme') }}</option> | ||
| 64 | + <option value="auto" selected>{{ _('Auto') }}</option> | ||
| 65 | + <option value="light">{{ _('Light') }}</option> | ||
| 66 | + <option value="dark">{{ _('Dark') }}</option> | ||
| 67 | 67 | </select> | |
| 68 | 68 | </label> | |
| 69 | 69 | {%- endmacro %} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -324,19 +324,19 @@ dl > dt span ~ em { | |||
| 324 | 324 | z-index: 1; | |
| 325 | 325 | height: 40px; | |
| 326 | 326 | width: 100%; | |
| 327 | - max-width: 100vw; | ||
| 328 | - padding: 0 1rem 0 45px; | ||
| 329 | 327 | display: flex; | |
| 330 | 328 | background-color: white; | |
| 331 | 329 | } | |
| 332 | 330 | .nav-items-wrapper { | |
| 333 | 331 | display: flex; | |
| 334 | 332 | flex: auto; | |
| 335 | - padding: .5rem; | ||
| 333 | + padding: .25rem; | ||
| 334 | + align-items: stretch; | ||
| 336 | 335 | } | |
| 337 | 336 | .nav-logo { | |
| 338 | 337 | margin-right: 1rem; | |
| 339 | 338 | flex-shrink: 0; | |
| 339 | + align-self: center; | ||
| 340 | 340 | } | |
| 341 | 341 | .nav-content img { | |
| 342 | 342 | display: block; | |
@@ -352,64 +352,47 @@ dl > dt span ~ em { | |||
| 352 | 352 | display: flex; | |
| 353 | 353 | flex: auto; | |
| 354 | 354 | border: 1px solid #a9a9a9; | |
| 355 | - } | ||
| 356 | - .nav-content .search:hover { | ||
| 357 | - box-shadow: 0 1px 6px 0 rgba(32,33,36,0.28); | ||
| 358 | - border-color: rgba(223,225,229,0); | ||
| 355 | + align-items: stretch; | ||
| 359 | 356 | } | |
| 360 | 357 | .nav-content .search input[type=search] { | |
| 361 | 358 | border: 0; | |
| 362 | - outline: 0; | ||
| 363 | - padding-left: 20px; | ||
| 359 | + padding-left: 24px; | ||
| 364 | 360 | flex: 1; | |
| 365 | 361 | } | |
| 366 | 362 | .nav-content .search input[type=submit] { | |
| 367 | 363 | height: 100%; | |
| 368 | - appearance: none; | ||
| 369 | - -webkit-appearance: none; | ||
| 370 | 364 | box-shadow: none; | |
| 371 | 365 | border: 0; | |
| 372 | - outline: 1px solid #999; | ||
| 366 | + border-left: 1px solid #a9a9a9; | ||
| 373 | 367 | cursor: pointer; | |
| 374 | - background-color: #f0f0f0; | ||
| 375 | 368 | margin-right: 0; | |
| 376 | 369 | } | |
| 377 | - .nav-content .search input[type=submit]:hover { | ||
| 378 | - border-color: #a9a9a9; | ||
| 379 | - } | ||
| 380 | 370 | .nav-content .search svg { | |
| 381 | 371 | position: absolute; | |
| 372 | + align-self: center; | ||
| 373 | + padding-left: 4px; | ||
| 382 | 374 | } | |
| 383 | 375 | .toggler__input { | |
| 384 | 376 | display: none; | |
| 385 | 377 | } | |
| 386 | 378 | .toggler__label { | |
| 387 | 379 | width: 40px; | |
| 388 | 380 | cursor: pointer; | |
| 389 | - background-color: transparent; | ||
| 390 | - border: 1px solid white; | ||
| 391 | 381 | display: flex; | |
| 392 | 382 | align-items: center; | |
| 393 | 383 | justify-content: center; | |
| 394 | 384 | padding: 8px; | |
| 395 | 385 | flex-shrink: 0; | |
| 396 | 386 | } | |
| 397 | - .toggler__label:focus { | ||
| 398 | - background-color: #eee; | ||
| 399 | - border: 1px solid #ededed; | ||
| 400 | - box-shadow: rgba(0, 0, 0, 0.25) 1px 0 2px 0; | ||
| 401 | - } | ||
| 402 | - .toggler__label:hover { | ||
| 403 | - background-color: #eee; | ||
| 404 | - border: 1px solid #ededed; | ||
| 405 | - box-shadow: rgba(0, 0, 0, 0.25) 1px 0 2px 0; | ||
| 387 | + .toggler__label:hover, .toggler__label:focus { | ||
| 388 | + background-color: rgba(127 127 127 / 50%); | ||
| 406 | 389 | } | |
| 407 | 390 | .toggler__label > span { | |
| 408 | 391 | position: relative; | |
| 409 | 392 | flex: none; | |
| 410 | 393 | height: 2px; | |
| 411 | 394 | width: 100%; | |
| 412 | - background: #444; | ||
| 395 | + background: currentColor; | ||
| 413 | 396 | transition: all 400ms ease; | |
| 414 | 397 | } | |
| 415 | 398 | .toggler__label > span::before, | |
@@ -496,38 +479,9 @@ dl > dt span ~ em { | |||
| 496 | 479 | .menu ul li { | |
| 497 | 480 | margin-bottom: 0.5rem; | |
| 498 | 481 | } | |
| 499 | - .language_switcher_placeholder, | ||
| 500 | - .version_switcher_placeholder { | ||
| 501 | - position: relative; | ||
| 502 | - border: 1px solid #a8a8a8; | ||
| 503 | - height: 30px; | ||
| 504 | - padding-right: 7px; | ||
| 505 | - } | ||
| 506 | 482 | .language_switcher_placeholder { | |
| 507 | 483 | margin-top: 2rem; | |
| 508 | 484 | } | |
| 509 | - .language_switcher_placeholder::after, | ||
| 510 | - .version_switcher_placeholder::after { | ||
| 511 | - content: url('../_static/caret-down.svg'); | ||
| 512 | - position: absolute; | ||
| 513 | - top: 7px; | ||
| 514 | - width: 15px; | ||
| 515 | - height: 15px; | ||
| 516 | - right: 0; | ||
| 517 | - pointer-events: none; | ||
| 518 | - } | ||
| 519 | - .language_switcher_placeholder select, | ||
| 520 | - .version_switcher_placeholder select { | ||
| 521 | - -webkit-appearance: none; | ||
| 522 | - appearance: none; | ||
| 523 | - border: 0; | ||
| 524 | - height: 100%; | ||
| 525 | - background-color: white; | ||
| 526 | - } | ||
| 527 | - .language_switcher_placeholder:focus-visible, | ||
| 528 | - .version_switcher_placeholder:focus-visible { | ||
| 529 | - outline-offset: 5px; | ||
| 530 | - } | ||
| 531 | 485 | .language_switcher_placeholder select { | |
| 532 | 486 | width: 100%; | |
| 533 | 487 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ | |||
| 2 | 2 | /* Browser elements */ | |
| 3 | 3 | :root { | |
| 4 | 4 | scrollbar-color: #616161 transparent; | |
| 5 | - color-scheme: dark light; | ||
| 5 | + color-scheme: dark; | ||
| 6 | 6 | } | |
| 7 | 7 | ||
| 8 | 8 | html, | |
@@ -28,7 +28,7 @@ div.sphinxsidebar, .menu-wrapper { | |||
| 28 | 28 | color: inherit !important; | |
| 29 | 29 | } | |
| 30 | 30 | ||
| 31 | - div.sidebar { | ||
| 31 | + div.sidebar, aside.sidebar { | ||
| 32 | 32 | background-color: #424242; | |
| 33 | 33 | border-color: #616161; | |
| 34 | 34 | } | |
@@ -120,7 +120,3 @@ div.note { | |||
| 120 | 120 | .nav-content { | |
| 121 | 121 | background-color: black; | |
| 122 | 122 | } | |
| 123 | - | ||
| 124 | - .nav-content .search svg { | ||
| 125 | - color: black; | ||
| 126 | - } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments