--standout-text: #fff;
--standout-form-bg: #fdf9eb;
--standout-form-text: #fff;
+ --standout-form-button-text: #191724;
}
/* Light mode */
--standout-form-text: #333333;
--standout-text: #333333;
--standout-form-bg: #fff;
+ --standout-form-button-text: #fff;
}
}
.reg-form input {
background-color: var(--standout-form-bg) !important;
- color: var(--standout-form-text) !important;
+ color: var(--standout-form-button-text) !important;
}
.reg-form .help-text {
<p class="help-text">When enabled, AI-generated summaries will not be displayed on posts.</p>
</div>
- <div class="field reg-form">
- <%= f.label :current_password %><p class="help-text">We need your current password to confirm your changes:</p>
- <%= f.password_field :current_password, autocomplete: "current-password" %>
- </div>
+ <div class="reg-form">
+ <div class="field">
+ <%= f.label :current_password %><p class="help-text">We need your current password to confirm your changes:</p>
+ <%= f.password_field :current_password, autocomplete: "current-password" %>
+ </div>
- <div class="actions">
- <%= f.submit "Update" %>
+ <div class="actions">
+ <%= f.submit "Update" %>
+ </div>
</div>
+
<% end %>
<br>
<div class="container">
- <h2>Two-Factor Authentication</h2>
+ <h2>Two-factor authentication</h2>
</div>
<div class="post">
<div class="container">
<%= form_tag(users_two_factor_authentication_path, method: :post) do %>
- <div>
- <%= label_tag :otp_attempt, "Enter your two-factor code" %>
- <%= text_field_tag :otp_attempt, nil, autocomplete: 'off', inputmode: 'numeric', pattern: '[0-9]*' %>
- </div>
-
- <%= submit_tag "Verify" %>
+ <div class="reg-form">
+ <div>
+ <%= label_tag :otp_attempt, "Enter your two-factor code" %>
+ <%= text_field_tag :otp_attempt, nil, autocomplete: 'one-time-code', inputmode: 'numeric', pattern: '[0-9]*' %>
+ </div>
+
+ <%= submit_tag "Verify" %>
+ </div>
<% end %>
</div>
-</div>
\ No newline at end of file
+</div>