openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/order_cycles.scss

Summary

Maintainability
Test Coverage

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

        td {

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

          color: #ffffff;

Selector order_cycle should be written in lowercase with hyphens
Open

form.order_cycle {

Avoid qualifying class selectors with an element.
Open

form.order_cycle {

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

      #add-remove-buttons {

Files should end with a trailing newline
Open

}

Avoid using id selectors
Open

#schedule-dialog {

border: 0 is preferred over border: none
Open

        border: none;

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

              background-color: #b9d1e9;

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

            &:hover {

Avoid qualifying class selectors with an element.
Open

        a.button {

Color #dddddd should be written as #ddd
Open

          border: 1px solid #dddddd;

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

          border: 1px solid #dddddd;

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

        a.button {

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

      #available-order-cycles,

Avoid using id selectors
Open

#linked-order-warning-modal .reveal-modal{

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

      td {

Avoid using id selectors
Open

      #available-order-cycles,

Color #ffffff should be written as #fff
Open

          color: #ffffff;

Avoid using id selectors
Open

      #available-order-cycles,

Opening curly brace { should be preceded by one space
Open

#linked-order-warning-modal .reveal-modal{

Avoid using id selectors
Open

      #add-remove-buttons {

Rule declaration should be followed by an empty line
Open

      }

border: 0 is preferred over border: none
Open

    border: none;

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

          .order-cycle {

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

        .order-cycles {

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

            &.selected {

There are no issues that match your filters.

Category
Status