mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 19:30:13 -04:00
Bump styles for existing GOVUK Frontend radios
We have some radios using the GOVUK Frontend radios component in this app. They are version 2.x.x though so this bumps their styles to version 3.x.x to get the new focus style.
This commit is contained in:
@@ -177,8 +177,9 @@ $govuk-radios-focus-width: $govuk-focus-width + 1px;
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
// Focused state
|
||||
.multiple-choice [type=radio]:focus + label::before {
|
||||
// Focused state (includes targeting for GOVUK radios, to apply version 3.x.x styles)
|
||||
.multiple-choice [type=radio]:focus + label::before,
|
||||
.govuk-radios__input:focus + .govuk-radios__label::before {
|
||||
border-width: 4px;
|
||||
// Since box-shadows are removed when users customise their colours we set a
|
||||
// transparent outline that is shown instead.
|
||||
|
||||
Reference in New Issue
Block a user