From dfbc2fc51862157e095dbd42c90979c3877a0161 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 15 Apr 2019 19:41:03 -0500 Subject: Add options to increase size and spacing of action buttons and width of compose drawer. --- app/views/layouts/application.html.haml | 18 ++++++++++++++++++ app/views/settings/preferences/show.html.haml | 2 ++ 2 files changed, 20 insertions(+) (limited to 'app/views') 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 diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml index f3ae65c94..945384204 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -59,6 +59,8 @@ = f.input :setting_system_font_ui, as: :boolean, wrapper: :with_label = f.input :setting_hide_captions, as: :boolean, wrapper: :with_label = f.input :setting_larger_menus, as: :boolean, wrapper: :with_label + = f.input :setting_larger_buttons, as: :boolean, wrapper: :with_label + = f.input :setting_larger_drawer, as: :boolean, wrapper: :with_label .fields-group = f.input :setting_unfollow_modal, as: :boolean, wrapper: :with_label -- cgit