From 13f911b9b5bde77d02ae6aa4a3edf3cc3b2ffd64 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Mon, 3 May 2021 13:54:44 -0400 Subject: [PATCH 01/15] Use consistent separator styles for colored horizontal rule --- app/assets/stylesheets/components/_modal.scss | 2 +- .../stylesheets/components/_troubleshooting-options.scss | 2 +- app/assets/stylesheets/utilities/_border.scss | 5 ----- app/views/account_reset/confirm_request/show.html.erb | 4 ++-- app/views/forgot_password/show.html.erb | 4 ++-- app/views/partials/personal_key/_key.html.erb | 2 +- app/views/reactivate_account/_modal.html.erb | 2 +- app/views/session_timeout/_warning.html.erb | 2 +- app/views/shared/_failure.html.erb | 2 +- app/views/sign_up/emails/show.html.erb | 4 ++-- app/views/users/backup_code_setup/confirm_delete.html.erb | 2 +- app/views/users/backup_code_setup/edit.html.erb | 2 +- app/views/users/delete/show.html.erb | 2 +- app/views/users/emails/verify.html.erb | 4 ++-- app/views/users/piv_cac_setup/confirm_delete.html.erb | 2 +- app/views/users/totp_setup/confirm_delete.html.erb | 2 +- app/views/users/webauthn_setup/delete.html.erb | 2 +- 17 files changed, 20 insertions(+), 25 deletions(-) diff --git a/app/assets/stylesheets/components/_modal.scss b/app/assets/stylesheets/components/_modal.scss index b3bc075ee89..8f45232c422 100644 --- a/app/assets/stylesheets/components/_modal.scss +++ b/app/assets/stylesheets/components/_modal.scss @@ -75,7 +75,7 @@ } hr { - width: 7.5rem; + width: 5rem; } } diff --git a/app/assets/stylesheets/components/_troubleshooting-options.scss b/app/assets/stylesheets/components/_troubleshooting-options.scss index 7c684e596dc..c05311ac06e 100644 --- a/app/assets/stylesheets/components/_troubleshooting-options.scss +++ b/app/assets/stylesheets/components/_troubleshooting-options.scss @@ -11,7 +11,7 @@ content: ''; display: block; height: 4px; - width: 5.5rem; + width: 5rem; } } diff --git a/app/assets/stylesheets/utilities/_border.scss b/app/assets/stylesheets/utilities/_border.scss index 12256d68ed6..a73be33f73d 100644 --- a/app/assets/stylesheets/utilities/_border.scss +++ b/app/assets/stylesheets/utilities/_border.scss @@ -1,8 +1,3 @@ -.bw1 { border-width: 1px; } -.bw2 { border-width: 2px; } -.bw3 { border-width: 3px; } -.bw4 { border-width: 4px; } - .border-dashed { border-style: dashed; } .rounded-md { border-radius: $border-radius-md; } diff --git a/app/views/account_reset/confirm_request/show.html.erb b/app/views/account_reset/confirm_request/show.html.erb index ad68fdd12c1..bf793d6b830 100644 --- a/app/views/account_reset/confirm_request/show.html.erb +++ b/app/views/account_reset/confirm_request/show.html.erb @@ -10,8 +10,8 @@ <%= t('account_reset.confirm_request.instructions_end') %>

-
-
+
+
<% if sms_phone %> diff --git a/app/views/forgot_password/show.html.erb b/app/views/forgot_password/show.html.erb index f824e64555f..82bc806a557 100644 --- a/app/views/forgot_password/show.html.erb +++ b/app/views/forgot_password/show.html.erb @@ -17,8 +17,8 @@ <%= t('notices.forgot_password.first_paragraph_end') %>

-
-
+
+
<%= validated_form_for @view_model.password_reset_email_form, diff --git a/app/views/partials/personal_key/_key.html.erb b/app/views/partials/personal_key/_key.html.erb index 30af37563d2..43a9aeb6924 100644 --- a/app/views/partials/personal_key/_key.html.erb +++ b/app/views/partials/personal_key/_key.html.erb @@ -2,7 +2,7 @@

<%= t('users.personal_key.header') %>

-
+
<%- code.split('-').each do |word| -%>