about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-09-04 18:11:13 +0200
committerThibG <thib@sitedethib.com>2018-09-04 18:50:26 +0200
commit3d5a789bbb890ffb4e9c63fa436f9db9b7cb70db (patch)
tree6eb51dcf00dfacd4060cfdff003eac09fb340bda /app
parentf1a73fd5f414ebbfbcb2f1484be9dcb083a72c0f (diff)
Fix “sensitive” media warning and upload form colors in Mastodon-light
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/styles/mastodon-light/diff.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/mastodon-light/diff.scss b/app/javascript/flavours/glitch/styles/mastodon-light/diff.scss
index 00d2411a1..aba8baf70 100644
--- a/app/javascript/flavours/glitch/styles/mastodon-light/diff.scss
+++ b/app/javascript/flavours/glitch/styles/mastodon-light/diff.scss
@@ -82,6 +82,12 @@
 
 }
 
+// Change the background colors of media and video spoilers
+.media-spoiler,
+.video-player__spoiler {
+  background: $ui-base-color;
+}
+
 // Change the colors used in the dropdown menu
 .dropdown-menu {
   background: $ui-base-color;
@@ -147,6 +153,24 @@
 
 }
 
+.composer--upload_form--actions .icon-button {
+  color: lighten($white, 7%);
+
+  &:active,
+  &:focus,
+  &:hover {
+    color: $white;
+  }
+}
+
+.composer--upload_form--item > div input {
+  color: lighten($white, 7%);
+
+  &::placeholder {
+    color: lighten($white, 10%);
+  }
+}
+
 .dropdown-menu__separator {
   border-bottom-color: lighten($ui-base-color, 12%);
 }