open-consul/ui-v2/app/styles/components/buttons.scss
John Cowen 93ebf086e0 UI: Use buttons instead of anchors where appropriate (#4939)
Use buttons instead of anchors where appropriate
2019-05-01 18:21:45 +00:00

18 lines
410 B
SCSS

@import './buttons/index';
button[type='submit'],
a.type-create {
@extend %primary-button;
}
// the :not(li)'s here avoid styling action-group buttons
button[type='reset'],
:not(li) > button[type='button']:not(.copy-btn):not(.type-delete),
html.template-error div > a {
@extend %secondary-button;
}
:not(li) > button.type-delete {
@extend %dangerous-button;
}
button.copy-btn {
@extend %copy-button;
}