openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/darkswarm/modal-enterprises.scss

Summary

Maintainability
Test Coverage

Color literals like rgba(255, 255, 255, 0.65) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  background-color: rgba(255, 255, 255, 0.65);

Avoid qualifying class selectors with an element.
Open

.modal-header, p.modal-header {

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

.modal-header, p.modal-header {

Unnecessary parent selector (&)
Open

    &, & * {

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

    &:hover, &:active, &:focus {

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

        .hub-name, .button-address {

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

  h3 a:hover span {

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

  .enterprise-logo, img {

Shorthand form for property margin should be written more concisely as 0 0.25rem 0.75rem instead of 0 0.25rem 0.75rem 0.25rem
Open

    margin: 0 0.25rem 0.75rem 0.25rem;

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

        .hub-name, .button-address {

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

    &, & * {

Avoid qualifying class selectors with an element.
Open

  label.right {

0rem should be written without units as 0
Open

    margin-top: 0rem;

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

    &:hover, &:focus, &:active {

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

          border-bottom: 1px solid #999;

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

    &:hover, &:active, &:focus {

Avoid qualifying class selectors with an element.
Open

  a.heading {

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

    &:hover, &:focus, &:active {

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

        color: #666;

Selector is_producer should be written in lowercase with hyphens
Open

  .is_producer {

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

    color: #999;

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

  h3, p {

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

  background-color: #ececec;

Merge rule label.right with rule on line 168
Open

  label.right {

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

      color: #666;

There are no issues that match your filters.

Category
Status