2019-06-14 17:27:37 +00:00
|
|
|
@import '../base/components/buttons/index';
|
|
|
|
%copy-button {
|
|
|
|
@extend %with-clipboard;
|
|
|
|
}
|
2018-08-29 11:11:58 +00:00
|
|
|
button[type='submit'],
|
|
|
|
a.type-create {
|
|
|
|
@extend %primary-button;
|
|
|
|
}
|
2018-11-19 14:57:22 +00:00
|
|
|
// the :not(li)'s here avoid styling action-group buttons
|
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'],
|
2019-12-17 18:47:37 +00:00
|
|
|
:not(li) > button[type='button']:not(.copy-btn):not(.type-delete):not([aria-haspopup='menu']),
|
2018-08-29 11:11:58 +00:00
|
|
|
html.template-error div > a {
|
|
|
|
@extend %secondary-button;
|
|
|
|
}
|
2018-11-19 14:57:22 +00:00
|
|
|
:not(li) > button.type-delete {
|
2018-08-29 11:11:58 +00:00
|
|
|
@extend %dangerous-button;
|
|
|
|
}
|
|
|
|
button.copy-btn {
|
|
|
|
@extend %copy-button;
|
|
|
|
}
|