lujanfernaud/prevy

View on GitHub
app/assets/stylesheets/layout/_header.scss

Summary

Maintainability
Test Coverage

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

  color: white;

Properties should be ordered display, float, line-height, position, top, white-space
Open

  position: relative;

Properties should be ordered font-size, margin, padding
Open

  margin: 0;

Property background already defined on line 74
Open

  background: url(image-path('svgs/if_user_981085.svg'));

Properties should be ordered background, border-radius, display, height, position, width
Open

  position: relative;

Line should be indented 2 spaces, but was indented 4 spaces
Open

    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(75, 12, 178, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

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

    fill: #fff;

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

  color: white;

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

  border-color: rgba(white, .5);

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

  fill: #fff;

Properties should be ordered border-color, color
Open

  color: white;

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

  border-color: rgba(white, .5);

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

  padding: .8rem 1.5rem .5rem 1.5rem;

Properties should be ordered border-color, color
Open

  color: $primary-dark;

There are no issues that match your filters.

Category
Status