mod-base 1.0.65-beta.1 → 1.0.65-beta.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.65-beta.1",
3
+ "version": "1.0.65-beta.3",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -139,26 +139,43 @@ $contact-us-blue-light: #8498E7;
139
139
 
140
140
  label {
141
141
  input[type="checkbox"] {
142
- &:not(:checked) {
143
- &::before {
144
- background: transparent;
145
- border: 1px solid $color-grey-500;
146
- }
142
+ &::before {
143
+ background: transparent;
144
+ border: 1px solid $radio-btn-border-color;
147
145
  }
148
-
146
+
149
147
  ~ .checkbox__label-text {
150
148
  &::before {
151
- border: 1px solid $color-grey-500;
149
+ border: 1px solid $radio-btn-border-color;
152
150
  }
153
151
  }
154
-
152
+
155
153
  &:active,
156
- &:focus,
157
154
  &:hover,
155
+ &:focus-visible {
156
+ &::before {
157
+ background: $radio-btn-standard-hover-select-background-color;
158
+ border: 1px solid $radio-btn-standard-hover-select-background-color;
159
+ }
160
+ }
161
+
158
162
  &:checked {
159
163
  ~ .checkbox__label-text {
160
164
  &::before {
161
- border: 1px solid $radio-btn-standard-hover-select-background-color;
165
+ border: 1px solid $radio-btn-checked-border-color;
166
+ }
167
+ }
168
+
169
+ &::before {
170
+ background: $radio-btn-checked-border-color;
171
+ border: 1px solid $radio-btn-checked-border-color;
172
+ }
173
+ }
174
+
175
+ &:focus-visible {
176
+ ~ .checkbox__label-text {
177
+ &::before {
178
+ border: 1px solid $radio-btn-checked-border-color;
162
179
  }
163
180
  }
164
181
  }