consul/ui-v2/app/styles/components/buttons.scss

22 lines
593 B
SCSS

@import '../base/components/buttons/index';
button[type='submit'],
a.type-create {
@extend %primary-button;
}
// TODO: Once we move action-groups to use aria menu we can get rid of
// some of this and just use not(aria-haspopup)
button[type='reset'],
form button[type='button']:not([aria-haspopup='menu']),
header .actions button[type='button']:not(.copy-btn),
button.type-cancel,
html.template-error div > a {
@extend %secondary-button;
}
.with-confirmation .type-delete,
form button[type='button'].type-delete {
@extend %dangerous-button;
}
button.copy-btn {
@extend %copy-button;
}