Skip to content

Commit

Permalink
Global css styles flag
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjamesstone committed Apr 15, 2020
1 parent 68c7953 commit 505fa8d
Showing 1 changed file with 2 additions and 79 deletions.
81 changes: 2 additions & 79 deletions client/sass/application.scss
@@ -1,80 +1,3 @@
@import "node_modules/govuk-frontend/govuk/all";

.nojs-hidden {
display: none;
}

.js-enabled .nojs-hidden {
display: block;
}

.check-your-answers {
td {
vertical-align: top;

&.required {
color: $govuk-error-colour;
}
}

.change-answer {
text-align: right;
padding-right: 0;
}
}

.govuk-prose-scope {

// @extend inheritance

// Contextual heading and paragraph combinations are inherited
// through the use of @extend

h1 {
@extend %govuk-heading-xl;
}
$govuk-global-styles: true;

h2 {
@extend %govuk-heading-l;
}

h3 {
@extend %govuk-heading-m;
}

h4 {
@extend %govuk-heading-s;
}

p {
@extend %govuk-body-m;
}

strong,
b {
@include govuk-typography-weight-bold;
}

ul,
ol {
@extend %govuk-list;
}

ol {
@extend %govuk-list--number;
}

ul {
@extend %govuk-list--bullet;
}

a {
@extend %govuk-link;
}

hr {
@extend %govuk-section-break;
@extend %govuk-section-break--visible;
@extend %govuk-section-break--xl;
}
}
@import "node_modules/govuk-frontend/govuk/all";

0 comments on commit 505fa8d

Please sign in to comment.