|
88 | 88 | /* New sections layout of landing page */
|
89 | 89 |
|
90 | 90 | .sections-page #search-input {
|
91 |
| - border: 3px solid #496583; |
| 91 | + border: 2px solid #496583; |
92 | 92 | padding: 0.5rem 0.25rem;
|
93 | 93 | color: #496583;
|
94 | 94 | font-family: inherit;
|
|
97 | 97 | width: 18rem;
|
98 | 98 | }
|
99 | 99 |
|
| 100 | +.sections-page #search-input:active { |
| 101 | + border: 2px solid var(--eclipse-orange) !important; |
| 102 | +} |
| 103 | + |
100 | 104 | .search-input-landing {
|
101 | 105 | margin-top: 1.25rem;
|
102 | 106 | padding-right: 4rem;
|
103 | 107 | background-color: white;
|
104 | 108 | }
|
105 | 109 |
|
| 110 | +.search-input-landing:focus { |
| 111 | + border: 2px solid var(--eclipse-orange) !important; |
| 112 | +} |
| 113 | + |
| 114 | +.sections-page .search-result-dropdown-menu { |
| 115 | + position: absolute; |
| 116 | + z-index: 100; |
| 117 | + display: block; |
| 118 | + left: 0; |
| 119 | + top: 100%; |
| 120 | + border-radius: 4px; |
| 121 | + padding: 0; |
| 122 | + text-align: left; |
| 123 | + height: auto; |
| 124 | + background: transparent; |
| 125 | + border: none; |
| 126 | + max-width: 600px; |
| 127 | + min-width: 500px; |
| 128 | + box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.1); |
| 129 | +} |
| 130 | + |
| 131 | +.sections-page #search-input:hover { |
| 132 | + border: 2px solid var(--eclipse-orange); |
| 133 | +} |
| 134 | + |
106 | 135 | .search-input-landing:hover {
|
107 | 136 | border: 2px solid var(--eclipse-orange);
|
108 | 137 | }
|
109 | 138 |
|
110 | 139 | /* Mobile */
|
111 | 140 |
|
112 | 141 | @media screen and (min-width: 1441px) {
|
| 142 | + .sections-page .search-result-dropdown-menu { |
| 143 | + margin-left: 1.5rem !important; |
| 144 | + margin-top: -4rem !important; |
| 145 | + } |
| 146 | +} |
| 147 | + |
| 148 | +@media screen and (max-width: 1440px) { |
113 | 149 | .search-result-dropdown-menu {
|
114 |
| - margin-left: 2.5rem !important; |
| 150 | + margin-left: 1.5rem !important; |
115 | 151 | margin-top: -5.5rem !important;
|
116 | 152 | }
|
117 | 153 | }
|
118 | 154 |
|
119 |
| -@media screen and (min-width: 1024px) { |
| 155 | +@media screen and (max-width: 1024px) { |
120 | 156 | .navbar-brand {
|
121 | 157 | flex-grow: 1;
|
122 | 158 | }
|
|
131 | 167 | padding-right: 2rem;
|
132 | 168 | }
|
133 | 169 |
|
134 |
| - .sections-page .search-result-dropdown-menu { |
135 |
| - position: absolute; |
136 |
| - z-index: 100; |
137 |
| - display: block; |
138 |
| - left: 0; |
139 |
| - top: 100%; |
140 |
| - border-radius: 4px; |
141 |
| - margin-left: 1.5rem !important; |
142 |
| - margin-top: -4rem !important; |
143 |
| - padding: 0; |
144 |
| - text-align: left; |
145 |
| - height: auto; |
146 |
| - background: transparent; |
147 |
| - border: none; |
148 |
| - max-width: 600px; |
149 |
| - min-width: 500px; |
150 |
| - box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.1); |
| 170 | + .search-result-dropdown-menu { |
| 171 | + margin-left: 2.5rem !important; |
| 172 | + margin-top: -1.5rem !important; |
151 | 173 | }
|
152 | 174 | }
|
153 | 175 |
|
154 |
| -@media screen and (min-width: 769px) { |
155 |
| - .sections-page #search-input:hover { |
156 |
| - border: 2px solid var(--eclipse-orange); |
157 |
| - } |
158 |
| - |
| 176 | +/* @media screen and (min-width: 769px) { |
159 | 177 | #search-input {
|
160 | 178 | width: 200px;
|
161 | 179 | }
|
162 | 180 |
|
163 |
| - .search-input-landing:hover { |
164 |
| - border: 2px solid var(--eclipse-orange); |
165 |
| - } |
166 |
| -} |
| 181 | +} */ |
167 | 182 |
|
168 | 183 | @media screen and (max-width: 768px) {
|
169 | 184 | .navbar-brand .navbar-item + .navbar-item {
|
|
181 | 196 | .sections-page .search-result-dropdown-menu {
|
182 | 197 | min-width: calc(100vw - 3.75rem);
|
183 | 198 | margin-top: -23rem !important;
|
| 199 | + margin-left: 1.5rem !important; |
184 | 200 | }
|
185 | 201 |
|
186 | 202 | .search-input-landing:hover {
|
187 | 203 | border: 2px solid var(--eclipse-orange);
|
188 | 204 | }
|
189 | 205 | }
|
| 206 | + |
| 207 | +@media screen and (max-width: 375px) { |
| 208 | + .sections-page .search-result-dropdown-menu { |
| 209 | + margin-top: -14.5rem !important; |
| 210 | + margin-left: -0.5rem !important; |
| 211 | + } |
| 212 | +} |
0 commit comments