Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit aa4fce5

Browse files
author
Nick Litwin
committed
Fix search bar, styling and placement of user handle
1 parent ea9804f commit aa4fce5

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

assets/css/layout/header.scss

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -148,17 +148,18 @@
148148

149149
.search-wrapper {
150150
input {
151-
font-weight: bold;
152-
border: 1px solid #7f7f7f;
153-
color: #fff;
154-
border-radius: 4px;
155151
display: block;
152+
box-sizing: border-box;
156153
height: 32px;
157154
width: 100%;
158155
padding: 0 15px 0 37px;
159156
background: transparent;
160-
outline: none;
157+
border: 1px solid #7f7f7f;
158+
border-radius: 4px;
161159
box-shadow: none;
160+
outline: none;
161+
font-weight: bold;
162+
color: #fff;
162163

163164
&:focus {
164165
outline: none;
@@ -193,13 +194,20 @@
193194
width: 31px;
194195
vertical-align: middle;
195196
border-radius: 50%;
197+
@media only screen and (max-width: 1024px) {
198+
margin-right: 10px;
199+
}
196200
}
197201

198202
.username {
199203
vertical-align: middle;
200204
&.underline {
201205
padding-bottom: 12px;
202206
border-bottom: 2px $primary solid;
207+
@media only screen and (max-width: 1024px) {
208+
padding-bottom: 0;
209+
border-bottom: none;
210+
}
203211
}
204212
}
205213

@@ -212,8 +220,17 @@
212220
text-transform: uppercase;
213221
}
214222

223+
.user-menu .submenu {
224+
padding-top: 5px;
225+
}
226+
215227
.submenu {
216228
font-size: 14px;
229+
@media only screen and (max-width: 1024px) {
230+
.submenu-item {
231+
margin-top: 3px;
232+
}
233+
}
217234
}
218235

219236
.suggestion-list {
@@ -297,11 +314,11 @@
297314
}
298315

299316
.top-header {
300-
padding: 0 20px;
317+
padding: 0 20px 20px;
301318

302319
.logo-link:after {
303-
margin-top: 17px;
304-
margin-left: 4px;
320+
margin-top: 21px;
321+
margin-left: -3px;
305322
}
306323
}
307324

0 commit comments

Comments
 (0)