about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 34c25a7d1..158abc120 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -37,5 +37,20 @@
     - if Setting.custom_css.present?
       = stylesheet_link_tag custom_css_path, media: 'all'
 
+		- if current_account&.user&.setting_disable_color
+      :css
+        .status__content p > span,
+        .reply-indicator__content p > span,
+        .composer--reply > .content p > span,
+        .account__header__content p > span,
+        .account__header__fields p > span
+        { color: inherit !important }
+
+    - if current_account&.user&.setting_hide_captions
+      :css
+        div .media-caption,
+        span .caption
+        { display: none }
+
   %body{ class: body_classes }
     = content_for?(:content) ? yield(:content) : yield