openfoodfoundation/openfoodnetwork

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

Summary

Maintainability
Test Coverage

Property padding already defined on line 25
Open

  padding: 1.875rem;

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

    background: white !important;

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

  background-color: white;

Avoid qualifying class selectors with an element.
Open

.reveal-modal.radius,

Rule declaration should be followed by an empty line
Open

  }

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

  background: black;

Color black should be written in hexadecimal form as #000000
Open

  background: black;

Avoid qualifying class selectors with an element.
Open

  .reveal-modal.xlarge,

0px should be written without units as 0
Open

  border: 0px none;

Rule declaration should be followed by an empty line
Open

  }

Rule declaration should be followed by an empty line
Open

  }

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

  background-color: white;

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

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);

Rule declaration should be followed by an empty line
Open

  }

Avoid qualifying class selectors with an element.
Open

.reveal-modal.full,

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

  color: #aaaaaa;

Merge rule .reveal-modal-bg.in with rule on line 1
Open

.reveal-modal-bg.in {

Property background already defined on line 101
Open

  background: rgba(0, 0, 0, 0.45);

Merge rule .reveal-modal-bg.fade with rule on line 1
Open

.reveal-modal-bg.fade {

Rule declaration should be followed by an empty line
Open

  }

Avoid qualifying class selectors with an element.
Open

.reveal-modal.round,

Color #aaaaaa should be written as #aaa
Open

  color: #aaaaaa;

Property left already defined on line 99
Open

  left: 0;

Rule declaration should be followed by an empty line
Open

  }

Avoid qualifying class selectors with an element.
Open

  .reveal-modal.fit,

Color black should be written in hexadecimal form as #000000
Open

  background: black;

Avoid qualifying class selectors with an element.
Open

  .reveal-modal.tiny,

Avoid qualifying class selectors with an element.
Open

  .reveal-modal.small,

Property left already defined on line 5
Open

  left: 0;

Avoid qualifying attribute selectors with an element.
Open

dialog[open] {

Avoid qualifying class selectors with an element.
Open

.reveal-modal.collapse,

Avoid qualifying class selectors with an element.
Open

  .reveal-modal.medium,

Avoid qualifying class selectors with an element.
Open

  .reveal-modal.full,

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

  background: black;

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

    background: white !important;

Merge rule .fade.in with rule on line 123
Open

.fade.in {

Rule declaration should be followed by an empty line
Open

  }

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

  background: rgba(0, 0, 0, 0.45);

Avoid qualifying class selectors with an element.
Open

  .reveal-modal.large,

There are no issues that match your filters.

Category
Status