lujanfernaud/prevy

View on GitHub
app/assets/stylesheets/components/_box.scss

Summary

Maintainability
Test Coverage

Properties should be ordered background, border-radius, border-top, box-shadow
Open

  box-shadow: 0 1px .36px 0 $shadow;

!important should not be used
Open

    border-bottom-left-radius: $box-radius !important;

Selector box-image__img--orientation-switch should be written in lowercase with hyphens
Open

.box-image__img--orientation-switch {

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

  color: #fff;

0.9 should be written without a leading zero as .9
Open

    padding: 0.9rem 0.5rem;

0.5 should be written without a leading zero as .5
Open

    padding: 1rem 0.5rem;

!important should not be used
Open

  border-bottom: 3px solid $indigo !important;

!important should not be used
Open

  border-top-right-radius: $box-radius !important;

Properties should be ordered border-bottom-left-radius, border-top-right-radius
Open

    border-top-right-radius: 0;

Avoid qualifying class selectors with an element.
Open

a.box-title:hover {

!important should not be used
Open

    border-bottom-left-radius: calc(#{$box-radius} - 2px) !important;

0.5 should be written without a leading zero as .5
Open

    padding: 0.9rem 0.5rem;

Selector box-image__img should be written in lowercase with hyphens
Open

.box-image__img {

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

  text-shadow: 1px 1px 0 rgba(0, 0, 0, .35);

Shorthand form for property padding should be written more concisely as .5rem .5rem .31rem instead of .5rem .5rem .31rem .5rem
Open

    padding: .5rem .5rem .31rem .5rem;

!important should not be used
Open

  border-top-left-radius: $box-radius !important;

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

  color: #fff;

Shorthand form for property padding should be written more concisely as 1rem .25rem .82rem instead of 1rem .25rem .82rem .25rem
Open

    padding: 1rem .25rem .82rem .25rem;

There are no issues that match your filters.

Category
Status