@@ -12,7 +12,7 @@ body.disable-scroll {
1212
1313@media (max-width : 800px ) {
1414 .header .search input [type = " text" ] {
15- width : 158 px ;
15+ width : 250 px ;
1616 font-size : 12px ;
1717 padding-right : 3px ;
1818 }
@@ -45,6 +45,10 @@ body.disable-scroll {
4545 position : absolute !important ;
4646 top : 4px ;
4747 left : 60px ;
48+
49+ body .mobile-nav-show & {
50+ display : none ;
51+ }
4852 }
4953
5054 .status-icon {
@@ -88,10 +92,10 @@ body.disable-scroll {
8892 }
8993 }
9094
91- & .has-badge .left > form .search {
95+ // &.has-badge .left > form.search {
9296 // width: 50%;
9397 // left: 20%;
94- }
98+ // }
9599 }
96100 .left > a .intranet-title {
97101 position : absolute ;
@@ -158,8 +162,6 @@ body.disable-scroll {
158162 height : 100% ;
159163 height : calc (100% - 42px );
160164 overflow-y : auto ;
161- background-color : rgb (242 , 242 , 244 );
162- // background-color: rgb(56, 56, 56);
163165 border-radius : 0 ;
164166 border : none ;
165167 /*
@@ -273,6 +275,7 @@ body.disable-scroll {
273275 cursor : pointer ;
274276 }
275277 .intranet-title ,
278+ .status-link ,
276279 .search {
277280 transition : all 0.2s ease ;
278281 -webkit-transition : all 0.2s ease ;
@@ -287,9 +290,30 @@ body.disable-scroll {
287290 * screens (320x480, iPhone 4)
288291 */
289292
290- @media (max-width : 325 px ) {
293+ @media (max-width : 420 px ) {
291294 body {
292295 padding-left : 6px ;
293296 padding-right : 6px ;
294297 }
298+
299+ // overlaps with the search bar otherwise
300+ body .mobile-nav-show {
301+ .right {
302+ display : none ;
303+ }
304+
305+ .left {
306+ text-align : center ;
307+
308+ // otherwise the search bar is too close to the back button
309+ > form .search {
310+ left : 20% ;;
311+ }
312+ }
313+
314+ // search bar only shows when the mobile nav menu is active
315+ .search input [type = " text" ] {
316+ width : 180px ; // using the space freed by no right buttons
317+ }
318+ }
295319}
0 commit comments