1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

lint fixes

This commit is contained in:
Matthias Kretschmann 2020-03-16 12:08:27 +01:00
parent 94fa7701eb
commit b7c6543fbe
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 19 additions and 5 deletions

View File

@ -14,12 +14,16 @@
} }
.header { .header {
// stylelint-disable value-keyword-case
composes: categoryImage; composes: categoryImage;
// stylelint-enable value-keyword-case
height: 8rem; height: 8rem;
margin-top: $spacer / $line-height; margin-top: $spacer / $line-height;
} }
.dimmed { .dimmed {
// stylelint-disable value-keyword-case
composes: categoryImage; composes: categoryImage;
// stylelint-enable value-keyword-case
opacity: .6; opacity: .6;
} }

View File

@ -19,7 +19,9 @@
} }
.inputWrapSearch { .inputWrapSearch {
// stylelint-disable value-keyword-case
composes: inputWrap; composes: inputWrap;
// stylelint-enable value-keyword-case
.input { .input {
padding-left: $spacer * 1.5; padding-left: $spacer * 1.5;

View File

@ -17,7 +17,9 @@
/* yellow triangle */ /* yellow triangle */
.statusIndicatorCloseEnough { .statusIndicatorCloseEnough {
// stylelint-disable value-keyword-case
composes: statusIndicator; composes: statusIndicator;
// stylelint-enable value-keyword-case
background: none; background: none;
width: 0; width: 0;
height: 0; height: 0;
@ -28,7 +30,9 @@
/* green circle */ /* green circle */
.statusIndicatorActive { .statusIndicatorActive {
// stylelint-disable value-keyword-case
composes: statusIndicator; composes: statusIndicator;
// stylelint-enable value-keyword-case
border-radius: 50%; border-radius: 50%;
background: $green; background: $green;
} }

View File

@ -22,6 +22,7 @@
margin-bottom: -.1rem; margin-bottom: -.1rem;
} }
// stylelint-disable value-keyword-case
.indicator { .indicator {
composes: statusIndicator from '../AccountStatus/Indicator.module.scss'; composes: statusIndicator from '../AccountStatus/Indicator.module.scss';
} }
@ -29,6 +30,7 @@
.indicatorActive { .indicatorActive {
composes: statusIndicatorActive from '../AccountStatus/Indicator.module.scss'; composes: statusIndicatorActive from '../AccountStatus/Indicator.module.scss';
} }
// stylelint-enable value-keyword-case
.indicatorLabel { .indicatorLabel {
font-family: $font-family-title; font-family: $font-family-title;

View File

@ -21,12 +21,14 @@ $brand-gradient: linear-gradient(to right bottom, $brand-purple, $brand-pink);
$body-background: darken($brand-white, 1%); $body-background: darken($brand-white, 1%);
// Fonts // Fonts
$font-family-base: 'Sharp Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', // stylelint-disable value-keyword-case
Helvetica, Arial, sans-serif; $font-family-base: 'Sharp Sans', -apple-system, blinkmacsystemfont, 'Segoe UI',
$font-family-title: 'Sharp Sans Display', -apple-system, BlinkMacSystemFont, helvetica, arial, sans-serif;
'Segoe UI', Helvetica, Arial, sans-serif; $font-family-title: 'Sharp Sans Display', -apple-system, blinkmacsystemfont,
$font-family-monospace: 'Fira Code', 'Fira Mono', Menlo, Monaco, Consolas, 'Segoe UI', helvetica, arial, sans-serif;
$font-family-monospace: 'Fira Code', 'Fira Mono', menlo, monaco, consolas,
'Courier New', monospace; 'Courier New', monospace;
// stylelint-enable value-keyword-case
$font-size-root: 16px; $font-size-root: 16px;
$font-size-base: 1rem; $font-size-base: 1rem;