|
4 | 4 | } */ |
5 | 5 |
|
6 | 6 | .md-header { |
7 | | - background-color: rgb(0, 76, 117) !important; |
| 7 | + background-color: #232837 !important; |
8 | 8 | } |
9 | 9 |
|
10 | 10 | .md-tabs { |
11 | 11 | /* background-image: url(../assets/images/second-nav-blue.png); */ |
12 | | - background-color: rgb(0, 155, 223) !important; |
| 12 | + background-color: #FAFAFA !important; |
13 | 13 | font-weight: bold; |
| 14 | + color: #000000; |
| 15 | +} |
| 16 | + |
| 17 | +/* Properly align the Documentation title in the header */ |
| 18 | +.md-header__title { |
| 19 | + font-family: "Roboto", sans-serif !important; |
| 20 | + font-weight: 600 !important; /* Matches weight 600 */ |
| 21 | + font-size: 16px !important; /* Matches size 16px */ |
| 22 | + line-height: 18.75px !important; /* Matches line height */ |
| 23 | + letter-spacing: 0 !important; /* Matches letter spacing */ |
| 24 | + color: #FFFFFF !important; /* Matches hex #FFFFFF */ |
| 25 | + width: 145px !important; /* Matches width */ |
| 26 | + height: 24px !important; /* Matches height */ |
| 27 | + display: flex; |
| 28 | + align-items: center; /* Ensures vertical alignment */ |
| 29 | + justify-content: center; /* Optional: Centers horizontally */ |
| 30 | + padding-top: 2px; /* Fine-tune vertical spacing */ |
| 31 | + padding-bottom: 2px; /* Fine-tune vertical spacing */ |
| 32 | +} |
| 33 | + |
| 34 | +/* Set the initial background color before input */ |
| 35 | +.md-search__form { |
| 36 | + background-color: rgba(255, 255, 255, 0.2) !important; /* White with 20% opacity */ |
| 37 | + border-radius: 4px; /* Optional: rounded edges */ |
| 38 | +} |
| 39 | + |
| 40 | +/* Default state before typing: white with 20% opacity */ |
| 41 | +.md-search__form { |
| 42 | + background-color: rgba(255, 255, 255, 0.2) !important; /* White with 20% opacity */ |
| 43 | + border-radius: 4px; /* Optional rounded edges */ |
| 44 | + transition: background-color 0.3s ease-in-out; /* Smooth transition */ |
| 45 | +} |
| 46 | + |
| 47 | +/* Keep placeholder text visible */ |
| 48 | +.md-search__input::placeholder { |
| 49 | + color: rgba(255, 255, 255, 0.8) !important; /* Light placeholder for readability */ |
| 50 | +} |
| 51 | + |
| 52 | +/* When the user clicks inside the search bar (focus), change to full white */ |
| 53 | +.md-search__input:focus, |
| 54 | +.md-search__input:not(:placeholder-shown) { |
| 55 | + background-color: rgba(255, 255, 255, 1) !important; /* Fully white when typing */ |
| 56 | + color: #000000 !important; /* Black text while typing */ |
| 57 | + transition: background-color 0.3s ease-in-out; /* Smooth transition */ |
14 | 58 | } |
15 | | -/* Footer */ |
16 | 59 |
|
| 60 | +/* Ensure search icon remains unchanged */ |
| 61 | +.md-search__icon { |
| 62 | + color: inherit !important; /* Keeps default color */ |
| 63 | +} |
| 64 | + |
| 65 | + |
| 66 | +/* Footer */ |
17 | 67 | .md-footer-nav { |
18 | 68 | /* background-image: url(../assets/images/second-nav-blue.png); */ |
19 | 69 | background-color: rgb(0, 76, 117) !important; |
20 | | - |
21 | 70 | /* max-height: 90px; */ |
22 | 71 | } |
23 | 72 |
|
| 73 | +.custom-ticket-button { |
| 74 | + background-color: #0654FE !important; /* Change to your preferred color */ |
| 75 | + color: white !important; |
| 76 | + font-weight: bold; |
| 77 | + border-radius: 5px; |
| 78 | + padding: 10px 15px; |
| 79 | + text-decoration: none; |
| 80 | +} |
24 | 81 |
|
25 | 82 | .md-footer-meta { |
26 | 83 | background-color: rgb(0, 76, 117) !important; |
27 | 84 | border-top: 1px solid #1b2532 !important; |
28 | 85 | } |
29 | | -.md-header-nav__button.md-logo img, .md-header-nav__button.md-logo svg { |
30 | | - width: 50px |
| 86 | + |
| 87 | +/* Default logo size for desktop */ |
| 88 | +html .md-header-nav__button.md-logo img, |
| 89 | +html .md-header-nav__button.md-logo svg { |
| 90 | + width: 104px !important; |
| 91 | + height: 30px !important; |
| 92 | +} |
| 93 | + |
| 94 | +/* Adjust logo for tablet view */ |
| 95 | +@media only screen and (max-width: 1024px) { |
| 96 | + html .md-header-nav__button.md-logo img, |
| 97 | + html .md-header-nav__button.md-logo svg { |
| 98 | + width: 70px !important; |
| 99 | + height: 20px !important; |
| 100 | + } |
| 101 | +} |
| 102 | + |
| 103 | +/* Smaller logo for mobile view */ |
| 104 | +@media only screen and (max-width: 768px) { |
| 105 | + html .md-header-nav__button.md-logo img, |
| 106 | + html .md-header-nav__button.md-logo svg { |
| 107 | + width: 50px !important; |
| 108 | + height: 15px !important; |
| 109 | + } |
| 110 | +} |
| 111 | + |
| 112 | +/* Extra small logo for very narrow screens */ |
| 113 | +@media only screen and (max-width: 480px) { |
| 114 | + html .md-header-nav__button.md-logo img, |
| 115 | + html .md-header-nav__button.md-logo svg { |
| 116 | + width: 40px !important; |
| 117 | + height: 12px !important; |
| 118 | + } |
| 119 | +} |
| 120 | + |
| 121 | +/* Fix for sidebar navigation logo */ |
| 122 | +html .md-nav__button.md-logo img { |
| 123 | + width: 104px !important; |
| 124 | + height: 30px !important; |
| 125 | +} |
| 126 | + |
| 127 | +/* Adjust sidebar logo for tablet view */ |
| 128 | +@media only screen and (max-width: 1024px) { |
| 129 | + html .md-nav__button.md-logo img { |
| 130 | + width: 70px !important; |
| 131 | + height: 20px !important; |
| 132 | + } |
| 133 | +} |
| 134 | + |
| 135 | +/* Smaller sidebar logo for mobile view */ |
| 136 | +@media only screen and (max-width: 768px) { |
| 137 | + html .md-nav__button.md-logo img { |
| 138 | + width: 50px !important; |
| 139 | + height: 15px !important; |
| 140 | + } |
| 141 | +} |
| 142 | + |
| 143 | +/* Extra small sidebar logo for very narrow screens */ |
| 144 | +@media only screen and (max-width: 480px) { |
| 145 | + html .md-nav__button.md-logo img { |
| 146 | + width: 40px !important; |
| 147 | + height: 12px !important; |
| 148 | + } |
| 149 | +} |
| 150 | + |
| 151 | +/* Ensure non-selected tabs are always #6B6B6B */ |
| 152 | +.md-tabs__link { |
| 153 | + font-family: "Roboto", sans-serif !important; |
| 154 | + font-weight: 600 !important; /* Semi-Bold */ |
| 155 | + font-size: 14px !important; |
| 156 | + color: #6B6B6B !important; /* Non-selected tabs */ |
| 157 | +} |
| 158 | + |
| 159 | +/* Change color on hover */ |
| 160 | +.md-tabs__link:hover { |
| 161 | + color: #232837 !important; /* Hover color */ |
| 162 | +} |
| 163 | + |
| 164 | +/* Style the active (selected) tab */ |
| 165 | +.md-tabs__item--active > .md-tabs__link { |
| 166 | + color: #232837 !important; /* Selected tab color */ |
31 | 167 | } |
32 | 168 |
|
33 | 169 | /* for the mobile nav bar */ |
34 | 170 | @media only screen and (max-width: 76.1875em) { |
35 | | - |
36 | 171 | html .md-nav--primary .md-nav__title--site { |
37 | | - background-color: rgb(0, 76, 117) !important; |
| 172 | + background-color: #232837 !important; |
38 | 173 | border-bottom: 1px solid #1b2532 !important; |
39 | 174 | } |
40 | 175 |
|
41 | 176 | .md-nav__source { |
42 | | - background-color: #1f4e79 !important; |
| 177 | + background-color: #232837 !important; |
43 | 178 | } |
44 | 179 |
|
45 | 180 | html .md-nav--primary .md-nav__title { |
46 | | - background-color: rgb(0, 76, 117) !important; |
| 181 | + background-color: #232837 !important; |
47 | 182 | border-bottom: 1px solid #1b2532 !important; |
48 | 183 | color: #ffffff; |
49 | 184 | } |
50 | 185 |
|
51 | 186 | html .md-nav--primary .md-nav__title::before { |
52 | 187 | color: #ffffff; |
53 | 188 | } |
54 | | - |
55 | 189 | } |
56 | 190 |
|
57 | 191 | /* override swagger code */ |
|
0 commit comments