diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-13 16:59:21 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:21 -0500 |
commit | 4c170d2a98e4a289ad40580785cbeb892bd68eab (patch) | |
tree | 25487ff89d96f7f04f14432228da1c8d114f5dee /app/views | |
parent | d033327136f99f52eb64171d0da75e19cfc46091 (diff) |
Add options to increase size and spacing of context menus and to gently the kobolds. Also allow showing multiple user roles.
Diffstat (limited to 'app/views')
-rwxr-xr-x | app/views/layouts/application.html.haml | 7 | ||||
-rw-r--r-- | app/views/settings/preferences/show.html.haml | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 158abc120..8533fba76 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -52,5 +52,12 @@ span .caption { display: none } + - if current_account&.user&.setting_larger_menus + :css + .dropdown-menu__item a + { padding: 14px 14px !important; font-size: 14px !important } + .dropdown--active .dropdown__content > ul > li > a + { padding: 14px 0 !important; font-size: 14px !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 d6031d5b8..f3ae65c94 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -46,6 +46,10 @@ .fields-group = f.input :setting_hide_followers_count, as: :boolean, wrapper: :with_label + .fields-group + = f.input :setting_gently_kobolds, as: :boolean, wrapper: :with_label + = f.input :setting_user_is_kobold, as: :boolean, wrapper: :with_label + %hr#settings_web/ .fields-group @@ -54,6 +58,7 @@ = f.input :setting_disable_color, as: :boolean, wrapper: :with_label = 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 .fields-group = f.input :setting_unfollow_modal, as: :boolean, wrapper: :with_label |