mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-02 17:03:25 +05:30
Move search.ecr specific css to another file
This commit is contained in:
parent
1bb8429fe5
commit
c68ba62eae
@ -473,30 +473,6 @@ body.dark-theme {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#filters {
|
|
||||||
display: inline;
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#filters > div {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#filters > summary {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#filters > summary::before {
|
|
||||||
content: "[ + ]";
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#filters[open] > summary::before {
|
|
||||||
content: "[ - ]";
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*With commit d9528f5 all contents of the page is now within a flexbox. However,
|
/*With commit d9528f5 all contents of the page is now within a flexbox. However,
|
||||||
the hr element is rendered improperly within one.
|
the hr element is rendered improperly within one.
|
||||||
See https://stackoverflow.com/a/34372979 for more info */
|
See https://stackoverflow.com/a/34372979 for more info */
|
||||||
|
23
assets/css/search.css
Normal file
23
assets/css/search.css
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#filters {
|
||||||
|
display: inline;
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#filters > div {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#filters > summary {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#filters > summary::before {
|
||||||
|
content: "[ + ]";
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#filters[open] > summary::before {
|
||||||
|
content: "[ - ]";
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
<% content_for "header" do %>
|
<% content_for "header" do %>
|
||||||
|
<link rel="stylesheet" href="/css/search.css?v=<%= ASSET_COMMIT %>">
|
||||||
<title><%= search_query.not_nil!.size > 30 ? HTML.escape(query.not_nil![0,30].rstrip(".") + "...") : HTML.escape(query.not_nil!) %> - Invidious</title>
|
<title><%= search_query.not_nil!.size > 30 ? HTML.escape(query.not_nil![0,30].rstrip(".") + "...") : HTML.escape(query.not_nil!) %> - Invidious</title>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user