openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/darkswarm/page_alert.scss

Summary

Maintainability
Test Coverage

Color white should be written in hexadecimal form as #ffffff
Open

          color: white;

Color literals like #bbb should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background-color: #bbb;

Unnecessary parent selector (&)
Open

      &, & * {

Selector should have depth of applicability no greater than 3, but was 4
Open

      &, & * {

Selector should have depth of applicability no greater than 3, but was 4
Open

      a:hover, a:active, a:focus {

Selector should have depth of applicability no greater than 3, but was 4
Open

      strong {

Unnecessary parent selector (&)
Open

        &, & * {

Color literals like #333 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

        color: #333;

Avoid qualifying class selectors with an element.
Open

.off-canvas-wrap .inner-wrap,

border-left: 0 is preferred over border-left: none
Open

    border-left: none;

Shorthand form for property padding should be written more concisely as 12px 0 8px instead of 12px 0 8px 0
Open

    padding: 12px 0 8px 0;

Each selector in a comma sequence should be on its own single line
Open

      a:hover, a:active, a:focus {

Selector should have depth of applicability no greater than 3, but was 5
Open

        &, & * {

border-right: 0 is preferred over border-right: none
Open

    border-right: none;

Each selector in a comma sequence should be on its own single line
Open

      a:hover, a:active, a:focus {

Each selector in a comma sequence should be on its own single line
Open

        &, & * {

Color literals like white should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

          color: white;

Each selector in a comma sequence should be on its own single line
Open

      &, & * {

There are no issues that match your filters.

Category
Status