|
@@ -239,6 +239,66 @@ small,
|
|
|
* Search.
|
|
|
**************************************************/
|
|
|
|
|
|
+.search-results {
|
|
|
+ transform: scale(0);
|
|
|
+ background-color: {{ .Get "background" }};
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ top: 0;
|
|
|
+ overflow: scroll;
|
|
|
+ position: fixed;
|
|
|
+ visibility: hidden;
|
|
|
+ z-index: -99;
|
|
|
+}
|
|
|
+
|
|
|
+.dark .search-results {
|
|
|
+ background-color: rgb(40, 42, 54);
|
|
|
+}
|
|
|
+
|
|
|
+.searching {
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+.searching .search-results {
|
|
|
+ transform: scale(1);
|
|
|
+ visibility: visible;
|
|
|
+ z-index: 11; /* Second highest index, after navbar. */
|
|
|
+}
|
|
|
+
|
|
|
+.searching #search-box #search-query {
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.search-results > .container {
|
|
|
+ padding-top: calc(70px + 2rem); /* Max responsive navbar height plus padding. */
|
|
|
+}
|
|
|
+
|
|
|
+.search-header {
|
|
|
+ background-color: {{ .Get "background" }};
|
|
|
+ position: sticky;
|
|
|
+ top: calc(70px + 2rem); /* Max responsive navbar height plus padding. */
|
|
|
+ padding-bottom: 1rem;
|
|
|
+}
|
|
|
+
|
|
|
+.dark .search-header {
|
|
|
+ background-color: rgb(40, 42, 54);
|
|
|
+}
|
|
|
+
|
|
|
+.search-header h1 {
|
|
|
+ margin: 0;
|
|
|
+ line-height: 1;
|
|
|
+}
|
|
|
+
|
|
|
+.col-search-close {
|
|
|
+ text-align: right;
|
|
|
+}
|
|
|
+
|
|
|
+.search-header i {
|
|
|
+ font-size: 2rem;
|
|
|
+ line-height: 1;
|
|
|
+}
|
|
|
+
|
|
|
#search-box {
|
|
|
position: relative; /* Required for search icon positioning. */
|
|
|
margin-bottom: 0.5rem;
|
|
@@ -1788,7 +1848,7 @@ div.alert a {
|
|
|
position: -webkit-sticky;
|
|
|
position: sticky;
|
|
|
top: 51px;
|
|
|
- z-index: 1000;
|
|
|
+ z-index: 10;
|
|
|
height: calc(100vh - 51px)
|
|
|
}
|
|
|
}
|
|
@@ -1803,7 +1863,7 @@ div.alert a {
|
|
|
position: -webkit-sticky;
|
|
|
position: sticky;
|
|
|
top: 71px;
|
|
|
- z-index: 1000;
|
|
|
+ z-index: 10;
|
|
|
height: calc(100vh - 71px)
|
|
|
}
|
|
|
}
|
|
@@ -1989,6 +2049,7 @@ body.dark,
|
|
|
.dark .form-control,
|
|
|
.dark .form-control:focus {
|
|
|
color: rgb(248, 248, 242);
|
|
|
+ background: rgb(40, 42, 54);
|
|
|
}
|
|
|
|
|
|
.dark .form-control {
|