ui: Restrict %secondary-button to only form buttons in the main content (#7836)
This commit is contained in:
parent
ed201c3f17
commit
df1ae18a41
|
@ -6,14 +6,14 @@ a.type-create {
|
||||||
// TODO: Once we move action-groups to use aria menu we can get rid of
|
// TODO: Once we move action-groups to use aria menu we can get rid of
|
||||||
// some of this and just use not(aria-haspopup)
|
// some of this and just use not(aria-haspopup)
|
||||||
button[type='reset'],
|
button[type='reset'],
|
||||||
form button[type='button']:not([aria-haspopup='menu']),
|
%app-view-content form button[type='button']:not([aria-haspopup='menu']),
|
||||||
header .actions button[type='button']:not(.copy-btn),
|
header .actions button[type='button']:not(.copy-btn),
|
||||||
button.type-cancel,
|
button.type-cancel,
|
||||||
html.template-error div > a {
|
html.template-error div > a {
|
||||||
@extend %secondary-button;
|
@extend %secondary-button;
|
||||||
}
|
}
|
||||||
.with-confirmation .type-delete,
|
.with-confirmation .type-delete,
|
||||||
form button[type='button'].type-delete {
|
%app-view-content form button[type='button'].type-delete {
|
||||||
@extend %dangerous-button;
|
@extend %dangerous-button;
|
||||||
}
|
}
|
||||||
button.copy-btn {
|
button.copy-btn {
|
||||||
|
|
Loading…
Reference in New Issue