diff --git a/app/assets/javascripts/collapsibleCheckboxes.js b/app/assets/javascripts/collapsibleCheckboxes.js index c6625f0a2..cbf95bbf1 100644 --- a/app/assets/javascripts/collapsibleCheckboxes.js +++ b/app/assets/javascripts/collapsibleCheckboxes.js @@ -90,7 +90,7 @@ }; CollapsibleCheckboxes.prototype.start = function(component) { this.$component = $(component); - this.$formGroup = this.$component.find('.govuk-form-group').first(); + this.$formGroup = this.$component.find('.usa-form-group').first(); this.$fieldset = this.$formGroup.find('fieldset').first(); this.$checkboxes = this.$fieldset.find('input[type=checkbox]'); this.fieldLabel = this.$component.data('fieldLabel'); diff --git a/app/assets/javascripts/colourPreview.js b/app/assets/javascripts/colourPreview.js index 20b5e0498..05d82e64b 100644 --- a/app/assets/javascripts/colourPreview.js +++ b/app/assets/javascripts/colourPreview.js @@ -10,7 +10,7 @@ this.$input = $(component); - this.$input.closest('.govuk-form-group').append( + this.$input.closest('.usa-form-group').append( this.$preview = $('') ); diff --git a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss index 3bbc9ddbb..818c5cb8b 100644 --- a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss +++ b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss @@ -357,6 +357,9 @@ td.table-empty-message { &:not(.pill-item--selected):hover { background: color("blue-warm-70v"); } + &.pill-item--selected:hover { + color: color("blue-60v"); + } } } } diff --git a/app/assets/sass/uswds/_uswds-theme.scss b/app/assets/sass/uswds/_uswds-theme.scss index 339cbd5e4..b588e264d 100644 --- a/app/assets/sass/uswds/_uswds-theme.scss +++ b/app/assets/sass/uswds/_uswds-theme.scss @@ -7,7 +7,7 @@ in the form $setting: value, ---------------------------------------- */ -@use "uswds-global" with ( +@use "uswds-core" with ( $theme-font-type-sans: "public-sans", $theme-show-notifications: false ); diff --git a/app/main/forms.py b/app/main/forms.py index a23736ced..185a581fa 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -511,7 +511,7 @@ class NestedFieldMixin: } }, "formGroup": { - "classes": "govuk-form-group--nested" + "classes": "usa-form-group--nested" }, "asList": True, "items": [] @@ -720,7 +720,6 @@ def govuk_checkboxes_field_widget(self, field, wrap_in_collapsible=False, param_ "attributes": {"id": field.name}, "legend": { "text": field.label.text, - "classes": "govuk-fieldset__legend--s" } }, "asList": self.render_as_list, diff --git a/app/templates/components/list-entry.html b/app/templates/components/list-entry.html index ae80f5950..f96f88017 100644 --- a/app/templates/components/list-entry.html +++ b/app/templates/components/list-entry.html @@ -8,7 +8,7 @@ autocomplete=True ) %} -