about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-11 16:32:01 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:17 -0500
commit57e21cf47e7c1bf0b5f1c034e756944f9d57fb39 (patch)
treedbca96256a928d880162f9322901ca3fb4091dc0 /app/views
parentcd5fadcd8d9df4a12e984cfc43193571dae5bdae (diff)
[UI] Move CSS for style settings to custom web app CSS controller
Diffstat (limited to 'app/views')
-rwxr-xr-xapp/views/layouts/application.html.haml28
1 files changed, 2 insertions, 26 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index f3f29f43e..34f742c16 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -39,34 +39,10 @@
 
     - if Setting.custom_css.present?
       = stylesheet_link_tag custom_css_path, media: 'all'
-    
-    - if current_account&.user&.setting_style_css_webapp.present?
-      = stylesheet_link_tag user_webapp_css_path(current_account.id), media: 'all'
-
-    - if current_account&.user&.setting_style_dashed_nest
-      :css
-        div[data-nest-level] {
-          border-style: dashed;
-        }
 
-    - if current_account&.user&.setting_style_underline_a
-      :css
-        .status__content__text a,
-        .reply-indicator__content a,
-        .composer--reply > .content a,
-        .account__header__content a
-        {
-          text-decoration: underline;          
-        }
+    - if current_account&.user.present?
+      = stylesheet_link_tag user_webapp_css_path(current_account.id), media: 'all'
 
-        .status__content__text a:hover,
-        .reply-indicator__content a:hover,
-        .composer--reply > .content a:hover,
-        .account__header__content a:hover
-        {
-          text-decoration: none;          
-        }
-    
     = yield :header_overrides
 
   %body{ class: body_classes }