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
|
2018-08-29 11:11:58 +00:00
|
|
|
button[type='reset'],
|
2018-11-19 14:57:22 +00:00
|
|
|
:not(li) > button[type='button']:not(.copy-btn):not(.type-delete),
|
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;
|
|
|
|
}
|