open-consul/ui/packages/consul-ui/app/components/buttons/index.scss
John Cowen 61842beb3b
ui: CopyButton amends (#10511)
* ui: Add with-copyable modifier

* Use with-copyable modifier for our own CopyButton

* Move copy-button styling and remove most of `copy-btn`
2021-07-06 16:56:36 +01:00

19 lines
496 B
SCSS

@import './skin';
@import './layout';
button[type='submit'],
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'],
header .actions button[type='button']:not(.copy-btn),
button.type-cancel {
@extend %secondary-button;
}
.with-confirmation .type-delete,
%app-view-content form button[type='button'].type-delete {
@extend %dangerous-button;
}