|
30 | 30 | /* variables documented here: https://github.com/facebook/docusaurus/issues/3955 */
|
31 | 31 | --ifm-background-color: #F5FBFE;
|
32 | 32 | --ifm-navbar-background-color: #F5FBFE;
|
| 33 | + --ifm-dropdown-background-color: #F5FBFE; |
33 | 34 | --ifm-cloud-color: #e6f5fd;
|
34 | 35 | --ifm-cloud-accent: #cdebfb;
|
35 | 36 | --ifm-footer-color: #0A2540;
|
|
76 | 77 | html[data-theme='dark'] {
|
77 | 78 | --ifm-background-color: #0A2540;
|
78 | 79 | --ifm-navbar-background-color: #0A2540;
|
| 80 | + --ifm-dropdown-background-color: #0A2540; |
79 | 81 | --ifm-background-surface-color: #0A2540;
|
80 | 82 | --ifm-cloud-color: #08304b;
|
81 | 83 | --ifm-cloud-accent: #084062;
|
@@ -144,15 +146,22 @@ html[data-theme='dark'] {
|
144 | 146 | }
|
145 | 147 |
|
146 | 148 | .header-login-link {
|
147 |
| - background-image: url(@site/static/img/login-button.svg); |
148 | 149 | order: 5;
|
149 |
| - width: 140px; |
150 |
| - height: 43px; |
151 |
| - background-size: contain; |
152 |
| - background-position: center; |
153 |
| - background-repeat: no-repeat; |
154 |
| - margin-left: 1rem; |
155 |
| - border-radius: 21.5px; |
| 150 | +} |
| 151 | + |
| 152 | +.header-login-link::before { |
| 153 | + content: 'Login'; |
| 154 | + background-color: var(--bwBlue); |
| 155 | + border-radius: 20px; |
| 156 | + color: #FFFFF2; |
| 157 | + font-size: 12px; |
| 158 | + font-family: 'Overpass Bold'; |
| 159 | + text-transform: uppercase; |
| 160 | + line-height: 18px; |
| 161 | + letter-spacing: .1em; |
| 162 | + text-decoration: none; |
| 163 | + padding: 12px 30px; |
| 164 | + order: 5; |
156 | 165 | }
|
157 | 166 |
|
158 | 167 | /* Algolia DocSearch CSS Settings */
|
@@ -307,6 +316,10 @@ div[class^='announcementBarContent'] a:hover {
|
307 | 316 | text-decoration: none;
|
308 | 317 | }
|
309 | 318 |
|
| 319 | +html[data-theme='dark'] .navbar .dropdown__menu { |
| 320 | + box-shadow: 0 5px 40px #08121D; |
| 321 | +} |
| 322 | + |
310 | 323 | /* shows full logo name on mobile */
|
311 | 324 | .navbar .navbar__items {
|
312 | 325 | flex: auto;
|
@@ -370,6 +383,12 @@ div.text--center {
|
370 | 383 | display: none;
|
371 | 384 | }
|
372 | 385 |
|
| 386 | +@media screen and (max-width: 996px) { |
| 387 | + .RedocStandalone .menu-content { |
| 388 | + background-color: var(--ifm-background-color); |
| 389 | + } |
| 390 | +} |
| 391 | + |
373 | 392 | .RedocStandalone operation-type {
|
374 | 393 | margin-top: 6px;
|
375 | 394 | font-size: 8px;
|
@@ -444,7 +463,7 @@ div.text--center {
|
444 | 463 | }
|
445 | 464 |
|
446 | 465 | /* Loading Circle Sizing and Animation */
|
447 |
| -.RedocStandalone div > svg:last-child { |
| 466 | +.RedocStandalone > div > svg:last-child { |
448 | 467 | width: 48px;
|
449 | 468 | height: 48px;
|
450 | 469 | animation-name: ckw;
|
@@ -557,6 +576,10 @@ html:not([data-theme='dark'])
|
557 | 576 | text-shadow: none;
|
558 | 577 | }
|
559 | 578 |
|
| 579 | +.RedocStandalone caption { |
| 580 | + color: var(--ifm-font-color-base); |
| 581 | +} |
| 582 | + |
560 | 583 | /* Background of server selection dropdown */
|
561 | 584 | /** Outer Box Background **/
|
562 | 585 | html[data-theme='dark']
|
@@ -585,6 +608,55 @@ html[data-theme='dark']
|
585 | 608 | box-shadow: none;
|
586 | 609 | }
|
587 | 610 |
|
| 611 | +/** Callbacks Dropdowns **/ |
| 612 | +.RedocStandalone |
| 613 | + div[id^='operation'] |
| 614 | + > div |
| 615 | + > div:last-child |
| 616 | + > button { |
| 617 | + background-color: var(--ifm-cloud-color); |
| 618 | +} |
| 619 | + |
| 620 | +/** One of Buttons **/ |
| 621 | +.RedocStandalone |
| 622 | + div[id^='operation'] |
| 623 | + > div |
| 624 | + > div |
| 625 | + > div |
| 626 | + > div |
| 627 | + > div |
| 628 | + > div |
| 629 | + > button[class^='sc'] { |
| 630 | + background-color: var(--ifm-background-color); |
| 631 | +} |
| 632 | + |
| 633 | +/** One of Buttons **/ |
| 634 | +.RedocStandalone |
| 635 | + div[id^='operation'] |
| 636 | + > div |
| 637 | + > div |
| 638 | + > div |
| 639 | + > div |
| 640 | + > div |
| 641 | + > div |
| 642 | + > button[class^='sc']:focus { |
| 643 | + background-color: var(--white); |
| 644 | + color: #000000; |
| 645 | +} |
| 646 | + |
| 647 | +/** Copy button in Code Snippets **/ |
| 648 | +.RedocStandalone |
| 649 | + div[id^='operation'] |
| 650 | + > div |
| 651 | + > div |
| 652 | + > div |
| 653 | + > div |
| 654 | + > div |
| 655 | + > div |
| 656 | + > button:hover { |
| 657 | + background-color: transparent; |
| 658 | +} |
| 659 | + |
588 | 660 | /* Server selection dropdown arrow */
|
589 | 661 | html[data-theme='dark']
|
590 | 662 | .RedocStandalone
|
|
0 commit comments