2019-06-14 17:27:37 +00:00
|
|
|
@import '../base/components/buttons/index';
|
2018-08-29 11:11:58 +00:00
|
|
|
button[type='submit'],
|
|
|
|
a.type-create {
|
|
|
|
@extend %primary-button;
|
|
|
|
}
|
2019-12-17 18:47:37 +00:00
|
|
|
// TODO: Once we move action-groups to use aria menu we can get rid of
|
|
|
|
// some of this and just use not(aria-haspopup)
|
2018-08-29 11:11:58 +00:00
|
|
|
button[type='reset'],
|
2020-05-12 12:14:10 +00:00
|
|
|
%app-view-content form button[type='button']:not([aria-haspopup='menu']),
|
2020-05-11 15:37:11 +00:00
|
|
|
header .actions button[type='button']:not(.copy-btn),
|
|
|
|
button.type-cancel,
|
2018-08-29 11:11:58 +00:00
|
|
|
html.template-error div > a {
|
|
|
|
@extend %secondary-button;
|
|
|
|
}
|
2020-05-11 15:37:11 +00:00
|
|
|
.with-confirmation .type-delete,
|
2020-05-12 12:14:10 +00:00
|
|
|
%app-view-content form button[type='button'].type-delete {
|
2018-08-29 11:11:58 +00:00
|
|
|
@extend %dangerous-button;
|
|
|
|
}
|
|
|
|
button.copy-btn {
|
|
|
|
@extend %copy-button;
|
|
|
|
}
|