From 13f49590347dd350c534663c2876ab4db5613aba Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 10 Dec 2019 03:04:05 -0600 Subject: add accessibility option to make everything lowercase --- app/views/layouts/application.html.haml | 4 ++++ app/views/settings/preferences/show.html.haml | 1 + 2 files changed, 5 insertions(+) (limited to 'app/views') diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 985e54683..a471d7b6f 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -87,6 +87,10 @@ :css span.cursor:hover { animation: t_blink 1s linear infinite } + - if current_account&.user_forces_lowercase? + :css + * { text-transform: lowercase; font-variant: inherit !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 bde3dcf23..74a643c14 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -81,6 +81,7 @@ = f.input :setting_larger_drawer, as: :boolean, wrapper: :with_label = f.input :setting_larger_emoji, as: :boolean, wrapper: :with_label = f.input :setting_show_cursor, as: :boolean, wrapper: :with_label + = f.input :setting_force_lowercase, as: :boolean, wrapper: :with_label .fields-group = f.input :setting_hide_mascot, as: :boolean, wrapper: :with_label -- cgit