Stop importing old style buttons

This commit is contained in:
Katie Smith
2020-02-06 14:49:51 +00:00
parent e53a97423b
commit f40f709e4f
4 changed files with 2 additions and 19 deletions

View File

@@ -220,7 +220,3 @@ details .arrow {
.heading-upcoming-jobs { .heading-upcoming-jobs {
margin-top: $gutter-half; margin-top: $gutter-half;
} }
.button-secondary {
@include button($grey-3);
}

View File

@@ -60,10 +60,6 @@ $sticky-padding: $gutter * 2 / 3;
margin: 0; margin: 0;
} }
.button-secondary {
margin: 0 $gutter-half 3px 0;
}
} }
.content-fixed, .content-fixed,

View File

@@ -80,15 +80,8 @@ a {
input:focus, input:focus,
textarea:focus, textarea:focus,
select:focus, select:focus
button:focus { {
outline: 3px solid $focus-colour; outline: 3px solid $focus-colour;
outline-offset: 0; outline-offset: 0;
} }
// To be removed when all buttons follow the GOV.UK Frontend conventions
// - https://design-system.service.gov.uk/components/button/
button {
font-family: $govuk-font-family-nta;
}

View File

@@ -11,7 +11,6 @@ $path: '/static/images/';
@import 'typography'; @import 'typography';
@import 'grid_layout'; @import 'grid_layout';
@import 'helpers'; @import 'helpers';
@import 'design-patterns/buttons';
// Dependencies from GOVU.UK Frontend Toolkit, rewritten for this application // Dependencies from GOVU.UK Frontend Toolkit, rewritten for this application
@import 'url-helpers'; @import 'url-helpers';
@@ -23,7 +22,6 @@ $path: '/static/images/';
// https://github.com/alphagov/govuk_elements // https://github.com/alphagov/govuk_elements
@import 'elements/helpers'; @import 'elements/helpers';
@import 'elements/reset'; @import 'elements/reset';
@import 'elements/buttons';
@import 'elements/details'; @import 'elements/details';
@import 'elements/elements-typography'; @import 'elements/elements-typography';
@import 'elements/forms'; @import 'elements/forms';