georgebellos/real_estate

View on GitHub
app/assets/stylesheets/globals/_mixins.scss

Summary

Maintainability
Test Coverage

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

  @include background( linear-gradient(white, #f4f4f4));

Properties should be ordered border-bottom, border-top, margin
Open

  border-top: 1px solid #ddd;

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

  background: none repeat scroll 0% 0% rgb(0, 0, 0);

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

  @include background( linear-gradient(white, #f4f4f4));

Expected 0 spaces after ( instead of
Open

  @include background( linear-gradient(white, #f4f4f4));

Name of mixin box_sizing should be written in all lowercase letters with hyphens instead of underscores
Open

@mixin box_sizing {

Avoid vendor prefixes.
Open

  -moz-box-sizing: border-box;

0px should be written without units as 0
Open

  border: 0px none;

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

  color: rgb(255, 255, 255);

Avoid vendor prefixes.
Open

  -webkit-box-sizing: border-box;

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

  border-top: 1px solid #ddd;

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

  @include background( linear-gradient(white, #f4f4f4));

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

  @include box-shadow(0px 1px 6px #bbb);

Selector flat_button should be written in lowercase with hyphens
Open

%flat_button {

Properties should be ordered background, border, border-radius, box-shadow, color, line-height, margin-bottom, padding, text-align, text-shadow, text-transform, width
Open

  border-radius: 1px;

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

  border-bottom: 1px solid rgba(0, 0, 0, 0.18);

0.18 should be written without a leading zero as .18
Open

  border-bottom: 1px solid rgba(0, 0, 0, 0.18);

0px should be written without units as 0
Open

  @include box-shadow(0px 1px 6px #bbb);

Shorthand form for property margin should be written more concisely as 10px auto 30px instead of 10px auto 30px auto
Open

  margin: 10px auto 30px auto;

There are no issues that match your filters.

Category
Status