Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions app/assets/stylesheets/components/_btn.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,23 @@
cursor: not-allowed;
}

.btn-account-action {
.account-action-button {
@include u-radius('lg');
background-color: color('primary-lighter');
border: 0;
color: $blue;
display: inline-block;
font-size: .8125rem;
font-weight: normal;
line-height: 1.375rem;
margin-bottom: -3px;
margin-top: -3px;
padding: .5rem;
padding-bottom: .125rem;
padding-top: .125rem;

a {
&,
&:hover {
text-decoration: none;
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/accounts/_auth_apps.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<%= link_to(
prefix_with_plus(t('account.index.auth_app_add')),
authenticator_setup_url,
class: 'btn btn-account-action rounded-lg bg-light-blue',
class: 'account-action-button',
) %>
</div>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/accounts/_emails.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<%= link_to(
prefix_with_plus(t('account.index.email_add')),
add_email_path,
class: 'btn btn-account-action rounded-lg bg-light-blue',
class: 'account-action-button',
) %>
<% end %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/accounts/_phone.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<%= link_to(
prefix_with_plus(t('account.index.phone_add')),
add_phone_path,
class: 'btn btn-account-action rounded-lg bg-light-blue',
class: 'account-action-button',
) %>
<% end %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/accounts/_piv_cac.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<%= link_to(
prefix_with_plus(t('account.index.piv_cac_add')),
setup_piv_cac_url,
class: 'btn btn-account-action rounded-lg bg-light-blue',
class: 'account-action-button',
) %>
</div>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/accounts/_webauthn.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<%= link_to(
prefix_with_plus(t('account.index.webauthn_add')),
webauthn_setup_path,
class: 'btn btn-account-action rounded-lg bg-light-blue',
class: 'account-action-button',
) %>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/accounts/actions/_generate_backup_codes.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<%= link_to prefix_with_plus(t('forms.backup_code.generate')),
backup_code_create_path,
class: 'btn btn-account-action rounded-lg bg-light-blue' %>
class: 'account-action-button' %>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<%= link_to backup_code_regenerate_path, class: 'btn btn-account-action rounded-lg bg-light-blue' do %>
<%= link_to backup_code_regenerate_path, class: 'account-action-button' do %>
<%= prefix_with_plus(t('forms.backup_code.regenerate')) %>
<% end %>