about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-07 23:50:13 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:21 -0500
commitcaf265bbebe0fda892ff4fd437f91a17027b8258 (patch)
treef26c5aae06ee84554d9a8c90747baf6bb0cb9205 /app/views/layouts
parent2ee72d3aaf184c6bd109f96a9d07be5bb89e00c8 (diff)
add option to toggle captions + code: move monsterpit additons on top
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