Spaces:
Running
Running
Merge branch 'rolling' into FIX/463_results_from_different_search_engines_get_cached_as_the_same_key
Browse files
public/images/magnifying_glass.svg
ADDED
|
|
public/static/themes/simple.css
CHANGED
|
@@ -95,6 +95,14 @@ button {
|
|
| 95 |
color: var(--background-color);
|
| 96 |
font-weight: 600;
|
| 97 |
letter-spacing: 0.1rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
}
|
| 99 |
|
| 100 |
.search_bar button:active {
|
|
|
|
| 95 |
color: var(--background-color);
|
| 96 |
font-weight: 600;
|
| 97 |
letter-spacing: 0.1rem;
|
| 98 |
+
position: relative;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
.search_bar button img {
|
| 102 |
+
position:absolute;
|
| 103 |
+
left:50%;
|
| 104 |
+
top:50%;
|
| 105 |
+
transform:translate(-50%, -50%);
|
| 106 |
}
|
| 107 |
|
| 108 |
.search_bar button:active {
|
src/templates/partials/bar.rs
CHANGED
|
@@ -16,6 +16,8 @@ pub fn bar(query: &str) -> Markup {
|
|
| 16 |
html!(
|
| 17 |
(PreEscaped("<div class=\"search_bar\">"))
|
| 18 |
input type="search" name="search-box" value=(query) placeholder="Type to search";
|
| 19 |
-
button type="submit" onclick="searchWeb()"{
|
|
|
|
|
|
|
| 20 |
)
|
| 21 |
}
|
|
|
|
| 16 |
html!(
|
| 17 |
(PreEscaped("<div class=\"search_bar\">"))
|
| 18 |
input type="search" name="search-box" value=(query) placeholder="Type to search";
|
| 19 |
+
button type="submit" onclick="searchWeb()" {
|
| 20 |
+
img src="./images/magnifying_glass.svg" alt="Info icon for error box";
|
| 21 |
+
}
|
| 22 |
)
|
| 23 |
}
|