diff --git a/client/scss/styles.scss b/client/scss/styles.scss index 518057456f..c79065e9e0 100644 --- a/client/scss/styles.scss +++ b/client/scss/styles.scss @@ -2,7 +2,6 @@ // Wagtail CMS main stylesheet // ============================================================================= - @import 'tools.breakpoints'; @import 'objects'; @import 'components'; diff --git a/client/src/components/Explorer/Explorer.scss b/client/src/components/Explorer/Explorer.scss index 1ab11806f9..6f5680e1ae 100644 --- a/client/src/components/Explorer/Explorer.scss +++ b/client/src/components/Explorer/Explorer.scss @@ -1,8 +1,10 @@ -$c-explorer-bg: #4C4E4D; +// scss-lint:disable DeclarationOrder + +$c-explorer-bg: #4c4e4d; $c-explorer-bg-dark: $color-grey-1; -$c-explorer-bg-active: rgba(0,0,0,0.425); +$c-explorer-bg-active: rgba(0, 0, 0, 0.425); $c-explorer-secondary: #a5a5a5; -$c-explorer-easing: cubic-bezier(0.075, 0.820, 0.165, 1.000); +$c-explorer-easing: cubic-bezier(0.075, 0.82, 0.165, 1); $menu-footer-height: 50px; @import 'ExplorerItem'; @@ -130,7 +132,7 @@ $menu-footer-height: 50px; .c-explorer__see-more { display: block; padding: 1em; - background: rgba(0,0,0,0.3); + background: rgba(0, 0, 0, 0.3); color: $color-white; &:focus { diff --git a/client/src/components/Explorer/ExplorerItem.scss b/client/src/components/Explorer/ExplorerItem.scss index 6d5414e385..1465eebf72 100644 --- a/client/src/components/Explorer/ExplorerItem.scss +++ b/client/src/components/Explorer/ExplorerItem.scss @@ -1,3 +1,5 @@ +// scss-lint:disable DeclarationOrder + .c-explorer__item { display: flex; flex-flow: row nowrap; @@ -73,7 +75,7 @@ color: $color-white; } - .icon:before { + .icon::before { margin-right: 0; } } diff --git a/client/src/components/LoadingSpinner/LoadingSpinner.scss b/client/src/components/LoadingSpinner/LoadingSpinner.scss index bc9e17592a..66d6364318 100644 --- a/client/src/components/LoadingSpinner/LoadingSpinner.scss +++ b/client/src/components/LoadingSpinner/LoadingSpinner.scss @@ -1,4 +1,4 @@ -.c-spinner:after { +.c-spinner::after { display: inline-block; animation: spin 0.5s infinite linear; line-height: 1;