about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorLynx Kotoura <admin@sanin.link>2018-06-10 23:54:22 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-06-10 16:54:22 +0200
commit7e27a3c225d564a1aa763a8b9062e29311a4a6b7 (patch)
tree63b46b839afc6fdeddde16d5c86e9b33b18c5f5f /app/javascript
parent01ee460ceba31cafd3672e8746f8e40f02cfd985 (diff)
Uniform media and video spoiler settings and fix them of the light theme (#7778)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon-light/diff.scss11
-rw-r--r--app/javascript/styles/mastodon/components.scss2
2 files changed, 12 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon-light/diff.scss b/app/javascript/styles/mastodon-light/diff.scss
index 2deec6bf4..fad7feb98 100644
--- a/app/javascript/styles/mastodon-light/diff.scss
+++ b/app/javascript/styles/mastodon-light/diff.scss
@@ -87,6 +87,17 @@
   }
 }
 
+// Change the background colors of media and video spoiler
+
+.media-spoiler,
+.video-player__spoiler {
+  background: $ui-base-color;
+}
+
+.account-gallery__item a {
+  background-color: $ui-base-color;
+}
+
 // Change the colors used in the dropdown menu
 .dropdown-menu {
   background: $ui-base-color;
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 939178b50..cb790ac05 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -4555,7 +4555,7 @@ a.status-card {
     height: 100%;
     z-index: 4;
     border: 0;
-    background: $base-shadow-color;
+    background: $base-overlay-background;
     color: $darker-text-color;
     transition: none;
     pointer-events: none;