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-15 19:41:03 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commitdfbc2fc51862157e095dbd42c90979c3877a0161 (patch)
tree3aa25422d838fe534780238ca24b5362d7b517ba /app/views/layouts
parent1930b2332d4de7be92acaf1818ba7c936ec0fde8 (diff)
Add options to increase size and spacing of action buttons and width of compose drawer.
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 8533fba76..01ae25389 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -59,5 +59,23 @@
         .dropdown--active .dropdown__content > ul > li > a
         { padding: 14px 0 !important; font-size: 14px !important }
 
+    - if current_account&.user&.setting_larger_buttons
+      :css
+        .drawer { min-width: 350px !important }
+        .status__action-bar .icon-button,
+        .detailed-status__action-bar .icon-button,
+        .composer--options .icon-button
+        {
+          font-size: 24px !important;
+          height: 24px !important;
+          width: 24px !important;
+          line-height: 24px !important;
+          margin-right: 24px;
+        }
+
+    - if current_account&.user&.setting_larger_drawer
+      :css
+        .drawer { min-width: 400px !important }
+
   %body{ class: body_classes }
     = content_for?(:content) ? yield(:content) : yield