Feat/webpack (#2998)

* First commit

* Removed govuk for webpack. Modernized javascript importing. Removed dead js

* Fixed tests, a few styling bugs

* Fixed some table errors and regenerated backstop ref images

* Updated tests for coverage

* Changes from carlo suggestions
This commit is contained in:
Alex Janousek
2025-10-14 13:20:58 -04:00
committed by GitHub
parent 3b3191b337
commit 3a39d910b3
62 changed files with 1657 additions and 4861 deletions

View File

@@ -304,12 +304,19 @@ td.table-empty-message {
.usa-hint {
display: block;
color: color('gray-70');
}
.usa-table {
th {
border-bottom: 0 !important;
}
td {
min-height: units(5);
div:empty::before {
content: '\00a0';
}
}
}
.js-stick-at-bottom-when-scrolling {
@@ -330,9 +337,32 @@ td.table-empty-message {
margin: 0;
border: 1px solid color('gray-cool-10');
padding: units(2);
margin-bottom: units(2);
&:focus {
outline-offset: units(1);
}
.js-stick-at-bottom-when-scrolling {
display: block;
.usa-form-group {
margin-bottom: 0;
}
fieldset {
margin-bottom: 0;
}
.usa-fieldset {
margin-top: 0;
}
.radios-nested {
.usa-radio {
margin-top: units(1);
max-width: units('mobile');
}
}
.page-footer {
margin-top: units(3);
margin-bottom: 0;
}
}
}
.spark-bar-bar {
@@ -732,10 +762,6 @@ details form {
// Login page
#countdown-container {
display: none; // Hide the countdown timer
}
.placeholder,
.placeholder-conditional {
background-color: #face00;

View File

@@ -9,6 +9,8 @@ in the form $setting: value,
@use "uswds-core" with (
$theme-font-type-sans: "public-sans",
$theme-font-path: "../fonts",
$theme-image-path: "../img",
$theme-card-border-radius: 0,
$theme-card-gap: 4,
$theme-card-border-width: 2px,