|
@@ -89,10 +89,14 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-.search_box {
|
|
|
|
- margin: 0;
|
|
|
|
- padding: 0;
|
|
|
|
|
|
+#search_view {
|
|
grid-area: search;
|
|
grid-area: search;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.search_box {
|
|
|
|
+ border: 1px solid var(--color-search-border);
|
|
|
|
+ border-radius: 0.8rem;
|
|
|
|
+ width: @search-width;
|
|
display: inline-flex;
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
@@ -102,18 +106,14 @@
|
|
display: block;
|
|
display: block;
|
|
border-collapse: separate;
|
|
border-collapse: separate;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
- width: 1.8em;
|
|
|
|
|
|
+ width: 1.8rem;
|
|
margin: 0;
|
|
margin: 0;
|
|
- padding: 8px 2px;
|
|
|
|
|
|
+ padding: 0.8rem 0.2rem;
|
|
background: none repeat scroll 0 0 var(--color-search-background);
|
|
background: none repeat scroll 0 0 var(--color-search-background);
|
|
- border-top: 1px solid var(--color-search-border);
|
|
|
|
- border-bottom: 1px solid var(--color-search-border);
|
|
|
|
- border-right: none;
|
|
|
|
- border-left: none;
|
|
|
|
- border-radius: 0;
|
|
|
|
|
|
+ border: none;
|
|
outline: none;
|
|
outline: none;
|
|
color: var(--color-search-font);
|
|
color: var(--color-search-font);
|
|
- font-size: 16px;
|
|
|
|
|
|
+ font-size: 1.1rem;
|
|
z-index: 10000;
|
|
z-index: 10000;
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
@@ -131,27 +131,22 @@ html.no-js #clear_search.hide_if_nojs {
|
|
|
|
|
|
#q,
|
|
#q,
|
|
#send_search {
|
|
#send_search {
|
|
- display: block !important;
|
|
|
|
- border-collapse: separate;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
|
|
+ display: block;
|
|
margin: 0;
|
|
margin: 0;
|
|
- padding: 10px;
|
|
|
|
|
|
+ padding: 0.8rem;
|
|
background: none repeat scroll 0 0 var(--color-search-background);
|
|
background: none repeat scroll 0 0 var(--color-search-background);
|
|
- border: 1px solid var(--color-search-border);
|
|
|
|
- border-radius: 0;
|
|
|
|
|
|
+ border: none;
|
|
outline: none;
|
|
outline: none;
|
|
color: var(--color-search-font);
|
|
color: var(--color-search-font);
|
|
- font-size: 16px;
|
|
|
|
|
|
+ font-size: 1.1rem;
|
|
z-index: 2;
|
|
z-index: 2;
|
|
}
|
|
}
|
|
|
|
|
|
#q {
|
|
#q {
|
|
- outline: medium none;
|
|
|
|
- .ltr-padding-left(12px);
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
+ .ltr-padding-left(1rem);
|
|
.ltr-padding-right(0) !important;
|
|
.ltr-padding-right(0) !important;
|
|
- .ltr-border-right(none);
|
|
|
|
- width: @search-width;
|
|
|
|
- .ltr-rounded-left-corners(10px);
|
|
|
|
|
|
+ .ltr-rounded-left-corners(0.8rem);
|
|
}
|
|
}
|
|
|
|
|
|
#q::-ms-clear,
|
|
#q::-ms-clear,
|
|
@@ -160,8 +155,7 @@ html.no-js #clear_search.hide_if_nojs {
|
|
}
|
|
}
|
|
|
|
|
|
#send_search {
|
|
#send_search {
|
|
- .ltr-border-left(none);
|
|
|
|
- .ltr-rounded-right-corners(10px);
|
|
|
|
|
|
+ .ltr-rounded-right-corners(0.8rem);
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
@@ -174,7 +168,6 @@ html.no-js #clear_search.hide_if_nojs {
|
|
.no-js #send_search {
|
|
.no-js #send_search {
|
|
width: auto !important;
|
|
width: auto !important;
|
|
.ltr-border-left(1px solid var(--color-search-border));
|
|
.ltr-border-left(1px solid var(--color-search-border));
|
|
- padding: 10px;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.search_filters {
|
|
.search_filters {
|
|
@@ -259,10 +252,9 @@ html.no-js #clear_search.hide_if_nojs {
|
|
}
|
|
}
|
|
|
|
|
|
.search_box {
|
|
.search_box {
|
|
- // hack, should be 100% ?
|
|
|
|
- width: 99%;
|
|
|
|
|
|
+ width: 98%;
|
|
display: flex;
|
|
display: flex;
|
|
- flex-direction: row;
|
|
|
|
|
|
+ margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
|
|
#q {
|
|
#q {
|
|
@@ -270,11 +262,6 @@ html.no-js #clear_search.hide_if_nojs {
|
|
flex: 1;
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
|
|
- #main_results #q:placeholder-shown ~ #send_search {
|
|
|
|
- margin-right: 2.6rem;
|
|
|
|
- transition: margin-right 0.1s; // FIX RTL
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
.search_filters {
|
|
.search_filters {
|
|
margin: 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
@@ -285,7 +272,7 @@ html.no-js #clear_search.hide_if_nojs {
|
|
margin: 0;
|
|
margin: 0;
|
|
|
|
|
|
label {
|
|
label {
|
|
- padding: 0.8rem !important;
|
|
|
|
|
|
+ padding: 1rem !important;
|
|
margin: 0 !important;
|
|
margin: 0 !important;
|
|
|
|
|
|
svg {
|
|
svg {
|
|
@@ -293,6 +280,38 @@ html.no-js #clear_search.hide_if_nojs {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ #search_view:focus-within {
|
|
|
|
+ display: block;
|
|
|
|
+ background-color: var(--color-base-background);
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ height: 100%;
|
|
|
|
+ width: 100%;
|
|
|
|
+ z-index: 10000;
|
|
|
|
+
|
|
|
|
+ .search_box {
|
|
|
|
+ border-top: none;
|
|
|
|
+ border-left: none;
|
|
|
|
+ border-right: none;
|
|
|
|
+ width: 100%;
|
|
|
|
+ border-radius: 0;
|
|
|
|
+
|
|
|
|
+ #send_search {
|
|
|
|
+ .ltr-margin-right(0) !important; // Delete when send_search button is disabled on mobile.
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ * {
|
|
|
|
+ border: none;
|
|
|
|
+ border-radius: 0;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ #main_results #q:placeholder-shown ~ #send_search {
|
|
|
|
+ .ltr-margin-right(2.6rem);
|
|
|
|
+ transition: margin 0.1s;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
@media screen and (max-width: @ultra-small-phone) {
|
|
@media screen and (max-width: @ultra-small-phone) {
|