mod-base 1.0.64 → 1.0.65-beta.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.65
4
+
5
+ - Updated dark mode color for checkbox disclaimer
6
+
3
7
  ## 1.0.64
4
8
 
5
9
  - Updated dark mode styles for checkbox used in multi select questions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.64",
3
+ "version": "1.0.65-beta.2",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -128,6 +128,10 @@ $contact-us-blue-light: #8498E7;
128
128
  color: $checkbox-label-color;
129
129
  }
130
130
 
131
+ .checkbox__disclaimer {
132
+ color: $color-grey-500;
133
+ }
134
+
131
135
  .checkbox--multi-select-options {
132
136
  .checkbox__label-text {
133
137
  color: $color-grey-300;
@@ -135,28 +139,43 @@ $contact-us-blue-light: #8498E7;
135
139
 
136
140
  label {
137
141
  input[type="checkbox"] {
138
- &:not(:checked) {
139
- &::before {
140
- background: transparent;
141
- border: 1px solid $color-grey-500;
142
- }
142
+ &::before {
143
+ background: transparent;
144
+ border: 1px solid $radio-btn-border-color;
143
145
  }
144
-
146
+
145
147
  ~ .checkbox__label-text {
146
148
  &::before {
147
- border: 1px solid $color-grey-500;
149
+ border: 1px solid $radio-btn-border-color;
148
150
  }
149
151
  }
150
-
152
+
151
153
  &:active,
152
- &:focus,
153
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
+ ~ .checkbox__label-text {
162
+ &::before {
163
+ border: 1px solid $radio-btn-border-color;
164
+ }
165
+ }
166
+ }
167
+
154
168
  &:checked {
155
169
  ~ .checkbox__label-text {
156
170
  &::before {
157
- border: 1px solid $radio-btn-standard-hover-select-background-color;
171
+ border: 1px solid $radio-btn-checked-border-color;
158
172
  }
159
173
  }
174
+
175
+ &::before {
176
+ background: $radio-btn-checked-border-color;
177
+ border: 1px solid $radio-btn-checked-border-color;
178
+ }
160
179
  }
161
180
  }
162
181
  }