govuk_publishing_components 64.2.0 → 65.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/component_guide/application.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/_base.scss +7 -0
- data/app/assets/stylesheets/govuk_publishing_components/{_all_components.scss → all-components.scss} +9 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_add-another.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_app-promo-banner.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_attachment-link.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_back-link.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_back-to-top-link.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +0 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_character-count.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list-with-body.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +0 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_date-input.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_details.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_devolved-nations.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_error-alert.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_error-message.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_fieldset.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_figure.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_file-upload.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_glance-metric.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_global-banner.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_hint.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_inset-text.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_label.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +0 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_pagination.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_panel.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_password-input.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_published-dates.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_radio.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_search-with-autocomplete.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_secondary-navigation.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_select-with-search.scss +0 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_select.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_service-navigation.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_skip-link.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +0 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_summary-banner.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_summary-card.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_summary-list.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_tag.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/{govuk_frontend_support.scss → components/helpers/_colours.scss} +0 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_index.scss +4 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/mixins/{_css3.scss → _prefixed-transform.scss} +0 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_scale.scss +5 -0
- data/app/assets/stylesheets/govuk_publishing_components/settings/_app-font-url.scss +7 -0
- data/app/assets/stylesheets/govuk_publishing_components/settings/_app-image-url.scss +7 -0
- data/app/assets/stylesheets/govuk_publishing_components/settings/_colours.scss +5 -0
- data/app/assets/stylesheets/govuk_publishing_components/settings/_index.scss +4 -0
- data/app/assets/stylesheets/govuk_publishing_components/settings/_typography.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/specific-components.scss +11 -0
- data/app/models/govuk_publishing_components/audit_applications.rb +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +14 -8
- data/app/assets/stylesheets/govuk_publishing_components/_individual_component_support.scss +0 -8
- data/app/assets/stylesheets/govuk_publishing_components/component_support.scss +0 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_govuk-frontend-settings.scss +0 -17
- /data/app/assets/stylesheets/govuk_publishing_components/{components/helpers → lib}/_link.scss +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8110b60536780706fc5f2a95c7deeb61d68f3825c0101ece1a711787c1cf018e
|
|
4
|
+
data.tar.gz: '014694429a493990cb1cf5b189fde35007ef6801bfa898566e4d848e5d2e69c2'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f34432ba979ccfb07bcbef0f04ef138ac738106a493868372941810c55806d05ef36897eca217a1703574a9197d5ebd34e45f87a5aac85ea2a6f5a1b0db360a
|
|
7
|
+
data.tar.gz: 87ffbcb2d78bbd713283c455bfed76f1eca151801bd5a475c4166322fb3e0ba2f233e56e73d9ce343faa1ebb14f6dad7eeda9be8b1767f56f72e31c213a9fe54
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file contains the styles for the Component Guide.
|
|
2
2
|
@use "sass:color";
|
|
3
|
-
@import "govuk_publishing_components/
|
|
3
|
+
@import "govuk_publishing_components/all-components";
|
|
4
4
|
|
|
5
5
|
// Include required helpers
|
|
6
6
|
@import "../../stylesheets/govuk_publishing_components/components/helpers/markdown-typography";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// nothing in this file should add any CSS weight
|
|
2
|
+
// so that it can be imported into any CSS file
|
|
3
|
+
|
|
4
|
+
@import "settings/index";
|
|
5
|
+
@import "govuk/base";
|
|
6
|
+
@import "govuk_publishing_components/components/helpers/colours";
|
|
7
|
+
@import "govuk_publishing_components/components/mixins/index";
|
data/app/assets/stylesheets/govuk_publishing_components/{_all_components.scss → all-components.scss}
RENAMED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
// the components.
|
|
1
|
+
@import "base";
|
|
3
2
|
|
|
4
|
-
@import "
|
|
5
|
-
@import "
|
|
3
|
+
@import "govuk/core/index";
|
|
4
|
+
@import "govuk/objects/index";
|
|
5
|
+
@import "govuk/utilities/index";
|
|
6
|
+
@import "govuk/overrides/index";
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
@import "
|
|
8
|
+
@import "govuk_publishing_components/components/helpers/brand-colours";
|
|
9
|
+
@import "govuk_publishing_components/components/helpers/contents-list-helper";
|
|
10
|
+
@import "govuk_publishing_components/lib/link";
|
|
11
|
+
@import "govuk_publishing_components/lib/print_support";
|
|
9
12
|
|
|
10
|
-
// components
|
|
11
13
|
@import "components/accordion";
|
|
12
14
|
@import "components/action-link";
|
|
13
15
|
@import "components/add-another";
|
data/app/assets/stylesheets/govuk_publishing_components/components/_search-with-autocomplete.scss
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import "govuk_publishing_components/individual_component_support";
|
|
2
|
-
|
|
3
1
|
// These styles are adapted from the original Accessible Autocomplete component stylesheet, mostly
|
|
4
2
|
// to remove superfluous styles that are already provided by the GOV.UK Design System, and to adapt
|
|
5
3
|
// the styling to match the new GOV.UK search box designs (e.g. to remove the zebra striping on
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
// overload the choices.js variables
|
|
2
2
|
|
|
3
|
-
@import "govuk_publishing_components/individual_component_support";
|
|
4
|
-
|
|
5
3
|
$font-size: 19px;
|
|
6
4
|
|
|
7
5
|
$choices-bg-color: govuk-colour("white") !default;
|
|
@@ -16,7 +14,6 @@ $choices-border-radius-item: 0 !default;
|
|
|
16
14
|
$choices-z-index: 2 !default;
|
|
17
15
|
$choices-button-dimension: 12px !default;
|
|
18
16
|
|
|
19
|
-
@import "mixins/css3";
|
|
20
17
|
@import "govuk/components/label/label";
|
|
21
18
|
@import "choices.js/src/styles/choices";
|
|
22
19
|
|
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import "../helpers/markdown-typography";
|
|
2
1
|
// Govspeak typography
|
|
3
2
|
// https://components.publishing.service.gov.uk/component-guide/govspeak/heading_levels
|
|
4
3
|
// https://components.publishing.service.gov.uk/component-guide/govspeak/lists
|
|
@@ -10,6 +9,7 @@
|
|
|
10
9
|
// - alphagov/govspeak: ✔︎
|
|
11
10
|
|
|
12
11
|
// stylelint-disable max-nesting-depth
|
|
12
|
+
@import "../helpers/markdown-typography";
|
|
13
13
|
|
|
14
14
|
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
|
15
15
|
.gem-c-govspeak {
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
// This file should be included in an application prior to specific components
|
|
2
|
-
// It provides govuk-frontend but adds no weight to the compiled CSS
|
|
3
|
-
@import "components/helpers/govuk-frontend-settings";
|
|
4
|
-
@import "govuk/base";
|
|
5
|
-
|
|
6
|
-
@import "components/mixins/margins";
|
|
7
|
-
|
|
8
|
-
$govuk-suppressed-warnings: (
|
|
9
|
-
organisation-colours
|
|
10
|
-
);
|
|
11
|
-
|
|
12
1
|
$gem-secondary-button-colour: #00823b;
|
|
13
2
|
$gem-secondary-button-hover-colour: darken($gem-secondary-button-colour, 5%);
|
|
14
3
|
$gem-secondary-button-background-colour: govuk-colour("white");
|
|
@@ -17,10 +6,7 @@ $gem-secondary-button-hover-background-colour: govuk-colour("light-grey");
|
|
|
17
6
|
$gem-quiet-button-colour: govuk-colour("dark-grey");
|
|
18
7
|
$gem-quiet-button-hover-colour: darken($gem-quiet-button-colour, 5%);
|
|
19
8
|
|
|
20
|
-
$gem-hover-dark-background: #dddcdb;
|
|
21
|
-
|
|
22
9
|
// Brand refresh
|
|
23
|
-
|
|
24
10
|
$govuk-blue-tint-95: govuk-tint($govuk-brand-colour, 95%);
|
|
25
11
|
$govuk-blue-tint-80: govuk-tint(govuk-colour("blue"), 80%);
|
|
26
12
|
$govuk-blue-tint-50: govuk-tint(govuk-colour("blue"), 50%);
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
@mixin scale($size) {
|
|
2
|
-
-webkit-transform: scale($size); // Chrome, Opera 15+, Safari 3.1+
|
|
3
|
-
-ms-transform: scale($size); // IE 9
|
|
4
|
-
transform: scale($size); // Firefox 16+, IE 10+, Opera
|
|
5
|
-
}
|
|
6
|
-
|
|
7
1
|
@mixin prefixed-transform($translateY: 0, $rotate: 0, $scale: 1) {
|
|
8
2
|
-webkit-transform: translateY($translateY) rotate($rotate) scale($scale);
|
|
9
3
|
-ms-transform: translateY($translateY) rotate($rotate) scale($scale);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Custom font URL function
|
|
2
|
+
// https://github.com/alphagov/govuk-frontend/blob/9f05cea739d14d4cbf18e79b17228045ca84b3ba/packages/govuk-frontend/src/govuk/settings/_assets.scss#L57-L82
|
|
3
|
+
|
|
4
|
+
@function app-font-url($filename) {
|
|
5
|
+
@return url("#{$filename}");
|
|
6
|
+
}
|
|
7
|
+
$govuk-font-url-function: "app-font-url";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Custom image URL function
|
|
2
|
+
// https://github.com/alphagov/govuk-frontend/blob/9f05cea739d14d4cbf18e79b17228045ca84b3ba/packages/govuk-frontend/src/govuk/settings/_assets.scss#L30-L55
|
|
3
|
+
|
|
4
|
+
@function app-image-url($filename) {
|
|
5
|
+
@return url("#{$filename}");
|
|
6
|
+
}
|
|
7
|
+
$govuk-image-url-function: "app-image-url";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$govuk-new-typography-scale: true;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import "base";
|
|
2
|
+
|
|
3
|
+
@import "govuk/core/index";
|
|
4
|
+
@import "govuk/objects/index";
|
|
5
|
+
@import "govuk/utilities/index";
|
|
6
|
+
@import "govuk/overrides/index";
|
|
7
|
+
|
|
8
|
+
@import "govuk_publishing_components/components/helpers/brand-colours";
|
|
9
|
+
@import "govuk_publishing_components/components/helpers/contents-list-helper";
|
|
10
|
+
@import "govuk_publishing_components/lib/link";
|
|
11
|
+
@import "govuk_publishing_components/lib/print_support";
|
|
@@ -18,7 +18,7 @@ module GovukPublishingComponents
|
|
|
18
18
|
|
|
19
19
|
find_components = /(?<=govuk_publishing_components\/components\/)[a-zA-Z_-]+(?=['"])/
|
|
20
20
|
|
|
21
|
-
@find_all_stylesheets = /@import ["']{1}govuk_publishing_components\/
|
|
21
|
+
@find_all_stylesheets = /@import ["']{1}govuk_publishing_components\/all-components/ # if using the all stylesheets option
|
|
22
22
|
find_stylesheets = /(?<=@import ["']{1}govuk_publishing_components\/components\/)(?!print\/)+[a-zA-Z_-]+(?=['"])/
|
|
23
23
|
|
|
24
24
|
@find_all_javascripts = /\/\/ *= require govuk_publishing_components\/all_components/
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_publishing_components
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 65.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
@@ -540,9 +540,8 @@ files:
|
|
|
540
540
|
- app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-measurer.js
|
|
541
541
|
- app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js
|
|
542
542
|
- app/assets/stylesheets/component_guide/application.scss
|
|
543
|
-
- app/assets/stylesheets/govuk_publishing_components/
|
|
544
|
-
- app/assets/stylesheets/govuk_publishing_components/
|
|
545
|
-
- app/assets/stylesheets/govuk_publishing_components/component_support.scss
|
|
543
|
+
- app/assets/stylesheets/govuk_publishing_components/_base.scss
|
|
544
|
+
- app/assets/stylesheets/govuk_publishing_components/all-components.scss
|
|
546
545
|
- app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss
|
|
547
546
|
- app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss
|
|
548
547
|
- app/assets/stylesheets/govuk_publishing_components/components/_add-another.scss
|
|
@@ -653,15 +652,22 @@ files:
|
|
|
653
652
|
- app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss
|
|
654
653
|
- app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss
|
|
655
654
|
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss
|
|
655
|
+
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_colours.scss
|
|
656
656
|
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_contents-list-helper.scss
|
|
657
|
-
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_govuk-frontend-settings.scss
|
|
658
|
-
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_link.scss
|
|
659
657
|
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss
|
|
660
|
-
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_css3.scss
|
|
661
658
|
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_grid-helper.scss
|
|
659
|
+
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_index.scss
|
|
662
660
|
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
|
|
663
|
-
- app/assets/stylesheets/govuk_publishing_components/
|
|
661
|
+
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_prefixed-transform.scss
|
|
662
|
+
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_scale.scss
|
|
663
|
+
- app/assets/stylesheets/govuk_publishing_components/lib/_link.scss
|
|
664
664
|
- app/assets/stylesheets/govuk_publishing_components/lib/_print_support.scss
|
|
665
|
+
- app/assets/stylesheets/govuk_publishing_components/settings/_app-font-url.scss
|
|
666
|
+
- app/assets/stylesheets/govuk_publishing_components/settings/_app-image-url.scss
|
|
667
|
+
- app/assets/stylesheets/govuk_publishing_components/settings/_colours.scss
|
|
668
|
+
- app/assets/stylesheets/govuk_publishing_components/settings/_index.scss
|
|
669
|
+
- app/assets/stylesheets/govuk_publishing_components/settings/_typography.scss
|
|
670
|
+
- app/assets/stylesheets/govuk_publishing_components/specific-components.scss
|
|
665
671
|
- app/controllers/govuk_publishing_components/application_controller.rb
|
|
666
672
|
- app/controllers/govuk_publishing_components/applications_page_controller.rb
|
|
667
673
|
- app/controllers/govuk_publishing_components/audit_controller.rb
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// This flag stops the font from being included in this components's
|
|
2
|
-
// stylesheet - the font is being served by Static across all of GOV.UK, so is
|
|
3
|
-
// not needed here.
|
|
4
|
-
$govuk-include-default-font-face: false;
|
|
5
|
-
|
|
6
|
-
// Each component needs access to the variables, functions, and mixins from
|
|
7
|
-
// GOVUK Frontend.
|
|
8
|
-
@import "govuk_frontend_support";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// This file should be included in an application prior to specific components
|
|
2
|
-
// It provides supporting gem component helpers and mixins
|
|
3
|
-
// and everything else from govuk-frontend not included in govuk_frontend_support
|
|
4
|
-
@import "govuk/core/index";
|
|
5
|
-
@import "govuk/objects/index";
|
|
6
|
-
@import "govuk/utilities/index";
|
|
7
|
-
@import "govuk/overrides/index";
|
|
8
|
-
|
|
9
|
-
@import "govuk_publishing_components/components/helpers/brand-colours";
|
|
10
|
-
@import "govuk_publishing_components/components/helpers/link";
|
|
11
|
-
@import "govuk_publishing_components/components/mixins/margins";
|
|
12
|
-
@import "govuk_publishing_components/components/mixins/css3";
|
|
13
|
-
|
|
14
|
-
@import "govuk_publishing_components/lib/print_support";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Custom image URL function
|
|
2
|
-
// https://github.com/alphagov/govuk-frontend/blob/9f05cea739d14d4cbf18e79b17228045ca84b3ba/packages/govuk-frontend/src/govuk/settings/_assets.scss#L30-L55
|
|
3
|
-
|
|
4
|
-
@function app-image-url($filename) {
|
|
5
|
-
@return url("#{$filename}");
|
|
6
|
-
}
|
|
7
|
-
// Custom font URL function
|
|
8
|
-
// https://github.com/alphagov/govuk-frontend/blob/9f05cea739d14d4cbf18e79b17228045ca84b3ba/packages/govuk-frontend/src/govuk/settings/_assets.scss#L57-L82
|
|
9
|
-
|
|
10
|
-
@function app-font-url($filename) {
|
|
11
|
-
@return url("#{$filename}");
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
$govuk-image-url-function: "app-image-url";
|
|
15
|
-
$govuk-font-url-function: "app-font-url";
|
|
16
|
-
$govuk-new-typography-scale: true;
|
|
17
|
-
$govuk-new-organisation-colours: true;
|
/data/app/assets/stylesheets/govuk_publishing_components/{components/helpers → lib}/_link.scss
RENAMED
|
File without changes
|