From 7276edddf8d726cc841b3045ba4e6d10eb364c4a Mon Sep 17 00:00:00 2001 From: syeopite Date: Sat, 10 Apr 2021 03:05:48 -0700 Subject: [PATCH] Add search bar to channel page. Closes #1923 --- assets/css/default.css | 18 ++++++++++++++++++ src/invidious/views/channel.ecr | 13 ++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/assets/css/default.css b/assets/css/default.css index b3309c2f1..d01644cec 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -163,6 +163,13 @@ img.thumbnail { top: -0.7em; } +.search-button { + border: none; + color: #3E4446; + background: transparent; + font-size: 1.1em; +} + /* * Navbar */ @@ -421,6 +428,13 @@ body.dark-theme { color: inherit; } +.dark-theme .search-button { + border: none; + color: #B0ADA4; + background: transparent; + font-size: 1.1em; +} + .dark-theme .pure-menu-link:hover, .dark-theme .pure-menu-link:active { background-color: rgb(34, 36, 38) } @@ -504,3 +518,7 @@ hr { order: 1; margin-top: 20px; } + +#content-navigation { + margin-bottom: 0.5em; +} diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr index 3500288a2..00d2dcc25 100644 --- a/src/invidious/views/channel.ecr +++ b/src/invidious/views/channel.ecr @@ -38,7 +38,7 @@ <%= rendered "components/subscribe_widget" %> -
+
@@ -67,6 +67,17 @@ <% end %> +