mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Commit before switching branches
This commit is contained in:
@@ -7,19 +7,19 @@
|
||||
|
||||
const states = {
|
||||
'valueVisible': (options) => `
|
||||
<span class="copy-to-clipboard__value">${options.valueLabel ? '<span class="govuk-visually-hidden">' + options.thing + ': </span>' : ''}${options.value}</span>
|
||||
<span class="copy-to-clipboard__notice govuk-visually-hidden" aria-live="assertive">
|
||||
<span class="copy-to-clipboard__value margin-bottom-1">${options.valueLabel ? '<span class="govuk-visually-hidden">' + options.thing + ': </span>' : ''}${options.value}</span>
|
||||
<span class="copy-to-clipboard__notice usa-sr-only" aria-live="assertive">
|
||||
${options.onload ? '' : options.thing + ' returned to page, press button to copy to clipboard'}
|
||||
</span>
|
||||
<button class="govuk-button govuk-button--secondary copy-to-clipboard__button--copy">
|
||||
<button class="usa-button usa-button--outline copy-to-clipboard__button--copy">
|
||||
Copy ${options.thing} to clipboard${options.name ? '<span class="govuk-visually-hidden"> for ' + options.name + '</span>' : ''}
|
||||
</button>
|
||||
`,
|
||||
'valueCopied': (options) => `
|
||||
<span class="copy-to-clipboard__notice" aria-live="assertive">
|
||||
<span class="govuk-visually-hidden">${options.thing} </span>Copied to clipboard<span class="govuk-visually-hidden">, press button to show in page</span>
|
||||
<span class="usa-sr-only">${options.thing} </span>Copied to clipboard<span class="govuk-visually-hidden">, press button to show in page</span>
|
||||
</span>
|
||||
<button class="govuk-button govuk-button--secondary copy-to-clipboard__button--show">
|
||||
<button class="usa-button copy-to-clipboard__button--show">
|
||||
Show ${options.thing}${options.name ? '<span class="govuk-visually-hidden"> for ' + options.name + '</span>' : ''}
|
||||
</button>
|
||||
`
|
||||
|
||||
@@ -44,13 +44,13 @@ h1 {
|
||||
h1,
|
||||
h2:not(.get-started-list__heading, .usa-process-list__heading) {
|
||||
margin-top: units(4);
|
||||
font-weight: bold !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h2:not(.get-started-list__heading, .usa-process-list__heading),
|
||||
h3 {
|
||||
margin-top: units(5) !important;
|
||||
margin-bottom: units(2) !important;
|
||||
margin-top: units(5);
|
||||
margin-bottom: units(2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,8 +75,10 @@ p,
|
||||
}
|
||||
|
||||
.show-more-no-border:focus,
|
||||
.show-more:focus {
|
||||
box-shadow: none;
|
||||
.show-more:focus,
|
||||
.table-field-right-aligned a:active:before,
|
||||
.table-field-right-aligned a:focus:before {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.govuk-checkboxes__label::after {
|
||||
@@ -131,6 +133,7 @@ td.table-empty-message {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.sub-content .banner-dangerous h1 {
|
||||
.sub-content .banner-dangerous h1,
|
||||
.sub-content h2.user-list-item-heading {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user