Skip to content

Commit

Permalink
fix: use asterisk to make number feature working everywhere on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed May 2, 2019
1 parent abd26cc commit 3b1c194
Show file tree
Hide file tree
Showing 14 changed files with 79 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,6 @@ exports[`Button scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -494,6 +492,9 @@ exports[`Button scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-button * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-button *,
.dnb-button ::before,
.dnb-button ::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,6 @@ exports[`Dropdown scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -453,6 +451,9 @@ exports[`Dropdown scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-form-label * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-form-label *,
.dnb-form-label ::before,
.dnb-form-label ::after {
Expand Down Expand Up @@ -500,8 +501,6 @@ exports[`Dropdown scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -512,6 +511,9 @@ exports[`Dropdown scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-form-status * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-form-status *,
.dnb-form-status ::before,
.dnb-form-status ::after {
Expand Down Expand Up @@ -580,8 +582,6 @@ exports[`Dropdown scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -592,6 +592,9 @@ exports[`Dropdown scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-dropdown * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-dropdown *,
.dnb-dropdown ::before,
.dnb-dropdown ::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ exports[`FormLabel scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -75,6 +73,9 @@ exports[`FormLabel scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-form-label * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-form-label *,
.dnb-form-label ::before,
.dnb-form-label ::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ exports[`FormStatus scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -124,6 +122,9 @@ exports[`FormStatus scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-form-status * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-form-status *,
.dnb-form-status ::before,
.dnb-form-status ::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ exports[`InputMasked scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -211,6 +209,9 @@ exports[`InputMasked scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-button * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-button *,
.dnb-button ::before,
.dnb-button ::after {
Expand Down Expand Up @@ -414,8 +415,6 @@ a.dnb-button:active, a.dnb-button:focus {
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -426,6 +425,9 @@ a.dnb-button:active, a.dnb-button:focus {
*/
margin: 0;
padding: 0; }
.dnb-form-label * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-form-label *,
.dnb-form-label ::before,
.dnb-form-label ::after {
Expand Down Expand Up @@ -473,8 +475,6 @@ a.dnb-button:active, a.dnb-button:focus {
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -485,6 +485,9 @@ a.dnb-button:active, a.dnb-button:focus {
*/
margin: 0;
padding: 0; }
.dnb-form-status * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-form-status *,
.dnb-form-status ::before,
.dnb-form-status ::after {
Expand Down Expand Up @@ -553,8 +556,6 @@ a.dnb-button:active, a.dnb-button:focus {
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -565,6 +566,9 @@ a.dnb-button:active, a.dnb-button:focus {
*/
margin: 0;
padding: 0; }
.dnb-input * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-input *,
.dnb-input ::before,
.dnb-input ::after {
Expand Down Expand Up @@ -685,8 +689,6 @@ a.dnb-button:active, a.dnb-button:focus {
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -697,6 +699,9 @@ a.dnb-button:active, a.dnb-button:focus {
*/
margin: 0;
padding: 0; }
.dnb-input-masked * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-input-masked *,
.dnb-input-masked ::before,
.dnb-input-masked ::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,6 @@ exports[`Input scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -536,6 +534,9 @@ exports[`Input scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-button * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-button *,
.dnb-button ::before,
.dnb-button ::after {
Expand Down Expand Up @@ -739,8 +740,6 @@ a.dnb-button:active, a.dnb-button:focus {
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -751,6 +750,9 @@ a.dnb-button:active, a.dnb-button:focus {
*/
margin: 0;
padding: 0; }
.dnb-form-label * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-form-label *,
.dnb-form-label ::before,
.dnb-form-label ::after {
Expand Down Expand Up @@ -798,8 +800,6 @@ a.dnb-button:active, a.dnb-button:focus {
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -810,6 +810,9 @@ a.dnb-button:active, a.dnb-button:focus {
*/
margin: 0;
padding: 0; }
.dnb-form-status * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-form-status *,
.dnb-form-status ::before,
.dnb-form-status ::after {
Expand Down Expand Up @@ -878,8 +881,6 @@ a.dnb-button:active, a.dnb-button:focus {
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -890,6 +891,9 @@ a.dnb-button:active, a.dnb-button:focus {
*/
margin: 0;
padding: 0; }
.dnb-input * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-input *,
.dnb-input ::before,
.dnb-input ::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ exports[`Logo scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -81,6 +79,9 @@ exports[`Logo scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-logo * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-logo *,
.dnb-logo ::before,
.dnb-logo ::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,6 @@ exports[`Modal scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -587,6 +585,9 @@ exports[`Modal scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-button * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-button *,
.dnb-button ::before,
.dnb-button ::after {
Expand Down Expand Up @@ -786,8 +787,6 @@ a.dnb-button:active, a.dnb-button:focus {
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -798,6 +797,9 @@ a.dnb-button:active, a.dnb-button:focus {
*/
margin: 0;
padding: 0; }
.dnb-modal * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-modal *,
.dnb-modal ::before,
.dnb-modal ::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ exports[`Slider scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -115,6 +113,9 @@ exports[`Slider scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-slider * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-slider *,
.dnb-slider ::before,
.dnb-slider ::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ exports[`StepIndicator scss have to match snapshot 1`] = `
line-height: 1.5rem;
color: var(--color-black-80, #333);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\";
/**
* 1. Remove repeating backgrounds in all browsers (opinionated).
* 2. Add border box sizing in all browsers (opinionated).
Expand All @@ -233,6 +231,9 @@ exports[`StepIndicator scss have to match snapshot 1`] = `
*/
margin: 0;
padding: 0; }
.dnb-step-indicator * {
font-variant-numeric: lining-nums;
font-feature-settings: \\"lnum\\"; }
.dnb-step-indicator *,
.dnb-step-indicator ::before,
.dnb-step-indicator ::after {
Expand Down
Loading

0 comments on commit 3b1c194

Please sign in to comment.