Skip to content

Commit

Permalink
Fixed stylelint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Taloth committed Jul 14, 2019
1 parent 57a059e commit f371e8a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 38 deletions.
32 changes: 4 additions & 28 deletions frontend/src/Calendar/Events/CalendarEvent.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,15 @@
border-left-color: $gray !important;

&:global(.colorImpaired) {
background: repeating-linear-gradient(
45deg,
$colorImpairedGradientDark,
$colorImpairedGradientDark 5px,
$colorImpairedGradient 5px,
$colorImpairedGradient 10px
);
background: repeating-linear-gradient(45deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
}
}

.onAir {
border-left-color: $warningColor !important;

&:global(.colorImpaired) {
background: repeating-linear-gradient(
90deg,
$colorImpairedGradientDark,
$colorImpairedGradientDark 5px,
$colorImpairedGradient 5px,
$colorImpairedGradient 10px
);
background: repeating-linear-gradient(90deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
}
}

Expand All @@ -86,26 +74,14 @@

&:global(.colorImpaired) {
border-left-color: color($dangerColor saturation(+15%)) !important;
background: repeating-linear-gradient(
90deg,
$colorImpairedGradientDark,
$colorImpairedGradientDark 5px,
$colorImpairedGradient 5px,
$colorImpairedGradient 10px
);
background: repeating-linear-gradient(90deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
}
}

.unaired {
border-left-color: $primaryColor !important;

&:global(.colorImpaired) {
background: repeating-linear-gradient(
90deg,
$colorImpairedGradientDark,
$colorImpairedGradientDark 5px,
$colorImpairedGradient 5px,
$colorImpairedGradient 10px
);
background: repeating-linear-gradient(90deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
}
}
12 changes: 6 additions & 6 deletions frontend/src/Calendar/Events/CalendarEventGroup.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,25 +58,25 @@
*/

.downloaded {
composes: downloaded from "~Calendar/Events/CalendarEvent.css";
composes: downloaded from '~Calendar/Events/CalendarEvent.css';
}

.downloading {
composes: downloading from "~Calendar/Events/CalendarEvent.css";
composes: downloading from '~Calendar/Events/CalendarEvent.css';
}

.unmonitored {
composes: unmonitored from "~Calendar/Events/CalendarEvent.css";
composes: unmonitored from '~Calendar/Events/CalendarEvent.css';
}

.onAir {
composes: onAir from "~Calendar/Events/CalendarEvent.css";
composes: onAir from '~Calendar/Events/CalendarEvent.css';
}

.missing {
composes: missing from "~Calendar/Events/CalendarEvent.css";
composes: missing from '~Calendar/Events/CalendarEvent.css';
}

.premiere {
composes: premiere from "~Calendar/Events/CalendarEvent.css";
composes: premiere from '~Calendar/Events/CalendarEvent.css';
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

.label {
composes: label from "~Components/Label.css";
composes: label from '~Components/Label.css';

border-style: none;
font-size: 13px;
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/Components/Form/AutoSuggestInput.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.input {
composes: input from "~Components/Form/Input.css";
composes: input from '~Components/Form/Input.css';
}

.hasError {
composes: hasError from "~Components/Form/Input.css";
composes: hasError from '~Components/Form/Input.css';
}

.hasWarning {
composes: hasWarning from "~Components/Form/Input.css";
composes: hasWarning from '~Components/Form/Input.css';
}

.inputContainer {
Expand Down

0 comments on commit f371e8a

Please sign in to comment.