aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-09-06 14:47:37 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-09-06 14:47:37 -0700
commite14ec885916e07da4fcda18ad500d63f79d76443 (patch)
tree303b9f9cdc5989e5b4c70927603dd8c1b1915412 /youtube
parent36380b03281690cef7ff95902a724e62e54dee77 (diff)
downloadyt-local-e14ec885916e07da4fcda18ad500d63f79d76443.tar.lz
yt-local-e14ec885916e07da4fcda18ad500d63f79d76443.tar.xz
yt-local-e14ec885916e07da4fcda18ad500d63f79d76443.zip
Settings: Fix centering and color scheme on other themes
Diffstat (limited to 'youtube')
-rw-r--r--youtube/static/dark_theme.css4
-rw-r--r--youtube/static/gray_theme.css4
-rw-r--r--youtube/static/light_theme.css5
-rw-r--r--youtube/templates/settings.html7
4 files changed, 17 insertions, 3 deletions
diff --git a/youtube/static/dark_theme.css b/youtube/static/dark_theme.css
index 4f302cb..d75bb82 100644
--- a/youtube/static/dark_theme.css
+++ b/youtube/static/dark_theme.css
@@ -19,3 +19,7 @@ a:not([href]){
.comment .permalink{
color: #ffffff;
}
+
+.setting-item{
+ background-color: #444444;
+}
diff --git a/youtube/static/gray_theme.css b/youtube/static/gray_theme.css
index 69cc849..a064252 100644
--- a/youtube/static/gray_theme.css
+++ b/youtube/static/gray_theme.css
@@ -7,3 +7,7 @@ body{
.comment .permalink{
color: #000000;
}
+
+.setting-item{
+ background-color: #eeeeee;
+}
diff --git a/youtube/static/light_theme.css b/youtube/static/light_theme.css
index 05697b9..50286bb 100644
--- a/youtube/static/light_theme.css
+++ b/youtube/static/light_theme.css
@@ -7,3 +7,8 @@ body{
.comment .permalink{
color: #000000;
}
+
+
+.setting-item{
+ background-color: #f8f8f8;
+}
diff --git a/youtube/templates/settings.html b/youtube/templates/settings.html
index bac3ef9..19a2461 100644
--- a/youtube/templates/settings.html
+++ b/youtube/templates/settings.html
@@ -4,9 +4,11 @@
{% block style %}
.settings-form {
margin: auto;
+ width: 500px;
+ margin-top:10px;
padding: 10px;
- display: inline-block;
- background-color: #dadada;
+ display: block;
+ background-color: var(--interface-color);
}
.settings-list{
list-style: none;
@@ -14,7 +16,6 @@
}
.setting-item{
margin-bottom: 10px;
- background-color: #eeeeee;
padding: 5px;
}
.setting-item label{