aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-09-09 16:08:24 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-09-09 20:40:38 -0700
commit652cef15ec7d2e5deb2a1d14c784421260f70305 (patch)
tree44079ee2ef63dd991a0bcb03dbadc83956cfc9c0 /youtube
parent1b6fb4e100a2aed8c9c391e100fbbe60ac74d352 (diff)
downloadyt-local-652cef15ec7d2e5deb2a1d14c784421260f70305.tar.lz
yt-local-652cef15ec7d2e5deb2a1d14c784421260f70305.tar.xz
yt-local-652cef15ec7d2e5deb2a1d14c784421260f70305.zip
Watch page: Background color on video when scrubbing bar larger than video
Diffstat (limited to 'youtube')
-rw-r--r--youtube/static/dark_theme.css1
-rw-r--r--youtube/static/gray_theme.css1
-rw-r--r--youtube/static/light_theme.css1
-rw-r--r--youtube/templates/watch.html2
4 files changed, 4 insertions, 1 deletions
diff --git a/youtube/static/dark_theme.css b/youtube/static/dark_theme.css
index 7389aa5..221dc95 100644
--- a/youtube/static/dark_theme.css
+++ b/youtube/static/dark_theme.css
@@ -2,6 +2,7 @@ body{
--interface-color: #333333;
--text-color: #cccccc;
--background-color: #000000;
+ --video-background-color: #080808;
}
a:link {
diff --git a/youtube/static/gray_theme.css b/youtube/static/gray_theme.css
index a5f3b23..ca699c7 100644
--- a/youtube/static/gray_theme.css
+++ b/youtube/static/gray_theme.css
@@ -2,6 +2,7 @@ body{
--interface-color: #dadada;
--text-color: #222222;
--background-color: #bcbcbc;
+ --video-background-color: #dadada;
}
.comment .permalink{
diff --git a/youtube/static/light_theme.css b/youtube/static/light_theme.css
index 9e37449..e4d7eb3 100644
--- a/youtube/static/light_theme.css
+++ b/youtube/static/light_theme.css
@@ -2,6 +2,7 @@ body{
--interface-color: #ffffff;
--text-color: #222222;
--background-color: #f8f8f8;
+ --video-background-color: #ffffff;
}
.comment .permalink{
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 14e953b..25bd34c 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -22,7 +22,7 @@
width: {{ theater_video_target_width }}px;
max-height: {{ video_height }}px;
margin-bottom: 10px;
- background-color: var(--background-color);
+ background-color: var(--video-background-color);
}
.related-videos-outer{
grid-row: 2 /span 3;