mod-base 1.0.15 → 1.0.17

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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.17
4
+
5
+ - Dark-mode updates: updated most common used selectors list
6
+
7
+ ## 1.0.16
8
+
9
+ - Adding default styling for superscripts and subscripts (`<sup>` & `<sub>`).
10
+
3
11
  ## 1.0.15
4
12
 
5
13
  - Dark-mode updates: background-color, color & filters for new selectors in form, radiobuttons, header and featured-block
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -171,3 +171,19 @@ img {
171
171
  :before {
172
172
  box-sizing: border-box;
173
173
  }
174
+
175
+ sub,
176
+ sup {
177
+ font-size: 70%;
178
+ line-height: 0;
179
+ position: relative;
180
+ vertical-align: baseline;
181
+ }
182
+
183
+ sub {
184
+ bottom: -.25em;
185
+ }
186
+
187
+ sup {
188
+ top: -.5em;
189
+ }
@@ -24,7 +24,7 @@ $contact-us-blue-light: #8498E7;
24
24
  $color-button: $color-btn !global;
25
25
 
26
26
  // Most common selectors list
27
- $selectors: '.header,.step__title,.step__subtitle,.form,.form-radio label,.form-input,.form-input:focus,.progress-bar__content,.progress-bar__text,.progress-bar__percentage,.partners,.guarantee,.guarantee__text,.information,.information__header::before,.modal-content,.modal-content .icon-close,.matched-steps,.form--inverted .loader,.form-groups,.step__windowtype label,.form-control,.form-group__label,.step__overview,.progress-bar__title,.checkbox,#tcpa-copy,body .modal-body ul,body .modal-body p,.modal-body ul,.modal-body p,.modal-body .contact-us .step__list a,.form-group__tooltip-message,.form__qualify--step span,.form-group__city-state,.hero__background, .modal-body table tr';
27
+ $selectors: '.header,.step__title,.step__subtitle,.form,.form-radio label,.form-input,.form-input:focus,.progress-bar__content,.progress-bar__text,.progress-bar__percentage,.partners,.guarantee,.guarantee__text,.information,.information__header::before,.modal-content,.modal-content .icon-close,.matched-steps,.form--inverted .loader,.form-groups,.step__windowtype label,.form-control,.form-group__label,.step__overview,.progress-bar__title,.checkbox,#tcpa-copy,body .modal-body ul,body .modal-body p,.modal-body ul,.modal-body p,.modal-body .contact-us .step__list a,.form-group__tooltip-message,.form__qualify--step span,.form-group__city-state,.hero__background, .modal-body table tr,.form-input-group__icon, .expand-collapse__icon, .expand-collapse__label, .hero__content,.information__content,.information__block, .information__title,.information__description,.featured-block__description, main';
28
28
 
29
29
  @media (prefers-color-scheme: dark){
30
30
  body[data-color-scheme="system"] {
@@ -81,6 +81,11 @@ $contact-us-blue-light: #8498E7;
81
81
 
82
82
  &-group {
83
83
 
84
+ &__label-input {
85
+ color: $color-charcoal3;
86
+ z-index: 1;
87
+ }
88
+
84
89
  &:not(.has-error) {
85
90
  .form-input,
86
91
  .form-radio label {