georgebellos/real_estate

View on GitHub
app/assets/stylesheets/sections/property.scss

Summary

Maintainability
Test Coverage

Prefer single quoted strings
Open

@import "globals/colors";

Rule declaration should be followed by an empty line
Open

  }

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

  ul li:first-child > a {

Rule declaration should be followed by an empty line
Open

  }

Prefer single quoted strings
Open

@import "compass";

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

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

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

    -webkit-box-shadow: rgba(64, 64, 64, 0.5) 0 2px 5px;

Selector gmaps4rails_map should be written in lowercase with hyphens
Open

  .gmaps4rails_map {

Properties should be ordered display, width
Open

    width: auto; display:inline;

Selector gmaps4rails_map should be written in lowercase with hyphens
Open

  .gmaps4rails_map img{ max-width: none; }

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

    border-color: #ccc #ccc #999 #ccc;

Avoid using id selectors
Open

  #map label {

Avoid using id selectors
Open

#actions-box, #admin-box {

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

  ul li:first-child > a {

1.0 should be written without the mantissa as 1
Open

      opacity:1.0;

Rule declaration should be preceded by an empty line
Open

  ul li:first-child > a {

Prefer single quoted strings
Open

@import "globals/mixins";

Colon after property should be followed by one space
Open

    width: auto; display:inline;

Avoid using id selectors
Open

#actions-box, #admin-box {

Rule declaration should be preceded by an empty line
Open

  ul li:first-child > a {

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);

Avoid using id selectors
Open

  #price {

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

    border-color: #ccc #ccc #999 #ccc;

Shorthand form for property border-color should be written more concisely as #ccc #ccc #999 instead of #ccc #ccc #999 #ccc
Open

    border-color: #ccc #ccc #999 #ccc;

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

    border-color: #ccc #ccc #999 #ccc;

0px should be written without units as 0
Open

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

Property 'display' should be placed on own line
Open

    width: auto; display:inline;

Selector map_container should be written in lowercase with hyphens
Open

  .map_container img{ max-width: none; }

Merge rule .gmaps4rails_map img with rule on line 31
Open

  .gmaps4rails_map img{ max-width: none; }

Opening curly brace { should be preceded by one space
Open

  .gmaps4rails_map img{ max-width: none; }

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

    &:hover {

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

  background: white;

Properties should be ordered float, padding
Open

    padding: 13px;

Each selector in a comma sequence should be on its own single line
Open

#actions-box, #admin-box {

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

    background: white;

Colon after property should be followed by one space
Open

      box-shadow:none;

Selector map_container should be written in lowercase with hyphens
Open

  .map_container {

Properties should be ordered border-color, border-style, border-width, -moz-box-shadow, -webkit-box-shadow, box-shadow, padding
Open

    padding: 6px;

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

    border-color: #ccc #ccc #999 #ccc;

Avoid vendor prefixes.
Open

    -moz-box-shadow: rgba(64, 64, 64, 0.5) 0 2px 5px;

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

    box-shadow: rgba(64, 64, 64, 0.1) 0 2px 5px;

Colon after property should be followed by one space
Open

      opacity:1.0;

Properties should be ordered background, box-shadow, opacity
Open

      opacity:1.0;

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

    -moz-box-shadow: rgba(64, 64, 64, 0.5) 0 2px 5px;

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

    background: white;

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;

Avoid vendor prefixes.
Open

    -webkit-box-shadow: rgba(64, 64, 64, 0.5) 0 2px 5px;

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

    -webkit-box-shadow: rgba(64, 64, 64, 0.5) 0 2px 5px;

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

    -moz-box-shadow: rgba(64, 64, 64, 0.5) 0 2px 5px;

Opening curly brace { should be preceded by one space
Open

  .map_container img{ max-width: none; }

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

  background: white;

0.1 should be written without a leading zero as .1
Open

    box-shadow: rgba(64, 64, 64, 0.1) 0 2px 5px;

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

      background: white;

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);

Properties should be ordered background, border-bottom, margin, padding
Open

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

Rule declaration should be preceded by an empty line
Open

  #price {

Avoid using id selectors
Open

  #map img {

Merge rule .map_container img with rule on line 21
Open

  .map_container img{ max-width: none; }

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

      background: white;

There are no issues that match your filters.

Category
Status