app/assets/stylesheets/styles/_presets.scss
TODO found Open
Open
// TODO(warpling): replace magic number
- Exclude checks
TODO found Open
Open
// TODO(warpling): replace magic number
- Exclude checks
Use //
comments everywhere Open
Open
/*
- Exclude checks
Use //
comments everywhere Open
Open
/* When we have multiple stacked headers, we'll remove their bottom margin and let the parent handle it */
- Exclude checks
0px
should be written without units as 0
Open
Open
@include box-shadow(0px 4px 0px 0px darken($of-red, 10%));
- Exclude checks
Color #DDD
should be written as #ddd
Open
Open
color: #DDD;
- Exclude checks
Avoid vendor prefixes. Open
Open
background-image: -ms-linear-gradient(to top, $from, $to);
- Exclude checks
Avoid using id selectors Open
Open
html,
- Exclude checks
Use //
comments everywhere Open
Open
/* For "full-screen" rows that shouldn't be edge to edge on huge screens (~1440px) */
- Exclude checks
Properties should be ordered display, float, vertical-align Open
Open
vertical-align: middle;
- Exclude checks
0px
should be written without units as 0
Open
Open
@include box-shadow(0px 4px 0px 0px darken($of-green, 10%));
- Exclude checks
0px
should be written without units as 0
Open
Open
@include box-shadow(0px 4px 0px 0px darken($of-red, 10%));
- Exclude checks
Color literals like rgba(0, 0, 0, 0.05)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background-color: rgba(0, 0, 0, 0.05);
- Exclude checks
Prefer single quoted strings Open
Open
@import "compass/layout/sticky-footer";
- Exclude checks
Use //
comments everywhere Open
Open
/*
- Exclude checks
Use //
comments everywhere Open
Open
/* Apply to columns that should have the same bottom padding as left/right */
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
&[disabled=disabled].loading, &[disabled].loading, &[disabled].loading:hover {
- Exclude checks
0px
should be written without units as 0
Open
Open
@include box-shadow(0px 4px 0px 0px darken($of-red, 10%));
- Exclude checks
0px
should be written without units as 0
Open
Open
@include box-shadow(0px 3px 0px 0px darken($secondary-color, 8%));
- Exclude checks
0px
should be written without units as 0
Open
Open
@include box-shadow(0px 3px 0px 0px darken($secondary-color, 8%));
- Exclude checks
Avoid vendor prefixes. Open
Open
background-image: -moz-linear-gradient(to top, $from, $to);
- Exclude checks
Properties should be ordered background, height, margin-bottom, padding-left, padding-right Open
Open
height: $height;
- Exclude checks
Expected item on line 132 to appear before line 128. Rule sets should be ordered as follows: @extends
, @includes
without @content
, properties, @includes
with @content
, nested rule sets Open
Open
margin-bottom: 1.8rem;
- Exclude checks
0px
should be written without units as 0
Open
Open
@include box-shadow(0px 4px 0px 0px darken($of-green, 10%));
- Exclude checks
0.025
should be written without a leading zero as .025
Open
Open
letter-spacing: 0.025rem;
- Exclude checks
URLs should be enclosed in quotes Open
Open
background-image: url(ajax-loader-button-disabled.gif);
- Exclude checks
Color white
should be written in hexadecimal form as #ffffff
Open
Open
color: white;
- Exclude checks
Use //
comments everywhere Open
Open
/* Apply this to the column that should be vertically centered */
- Exclude checks
0px
should be written without units as 0
Open
Open
@include box-shadow(0px 4px 0px 0px darken($of-green, 10%));
- Exclude checks
Expected item on line 224 to appear before line 222. Rule sets should be ordered as follows: @extends
, @includes
without @content
, properties, @includes
with @content
, nested rule sets Open
Open
@include box-shadow(0px 3px 0px 0px darken($secondary-color, 8%));
- Exclude checks
0.2
should be written without a leading zero as .2
Open
Open
transition: all 0.2s ease-in-out;
- Exclude checks
0px
should be written without units as 0
Open
Open
@include box-shadow(0px 3px 0px 0px darken($secondary-color, 8%));
- Exclude checks
0.1
should be written without a leading zero as .1
Open
Open
background-color: rgba(0, 0, 0, 0.1);
- Exclude checks
0.15
should be written without a leading zero as .15
Open
Open
@include transition(all 0.15s ease-out);
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
.button, input[type=submit] {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a, & > a.title-wrapper {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a, & > a.title-wrapper {
- Exclude checks
Use //
comments everywhere Open
Open
/*
- Exclude checks
Expected item on line 188 to appear before line 185. Rule sets should be ordered as follows: @extends
, @includes
without @content
, properties, @includes
with @content
, nested rule sets Open
Open
@include box-shadow(0px 4px 0px 0px darken($of-green, 10%));
- Exclude checks
Expected item on line 218 to appear before line 216. Rule sets should be ordered as follows: @extends
, @includes
without @content
, properties, @includes
with @content
, nested rule sets Open
Open
@include box-shadow(0px 4px 0px 0px darken($of-red, 10%));
- Exclude checks
Color #DDD
should be written as #ddd
Open
Open
border: 2px dashed #DDD;
- Exclude checks
Properties should be ordered background-color, border-style Open
Open
border-style: solid;
- Exclude checks
Color white
should be written in hexadecimal form as #ffffff
Open
Open
color: white;
- Exclude checks
0.25
should be written without a leading zero as .25
Open
Open
background-color: rgba(0, 0, 0, 0.25);
- Exclude checks
Use //
comments everywhere Open
Open
/*
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
& > a, & > a.title-wrapper {
- Exclude checks
0.025
should be written without a leading zero as .025
Open
Open
letter-spacing: 0.025rem;
- Exclude checks
Use //
comments everywhere Open
Open
/* We shouldn't need vendor prefixed border-radius, but because of a bug in foundation-rails we do.
- Exclude checks
Avoid vendor prefixes. Open
Open
background-image: -o-linear-gradient(to top, $from, $to);
- Exclude checks
Color literals like white
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: white;
- Exclude checks
Color literals like #DDD
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: #DDD;
- Exclude checks
Color literals like rgba(0, 0, 0, 0.1)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background-color: rgba(0, 0, 0, 0.1);
- Exclude checks
Color literals like white
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: white;
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
& > a, & > a.title-wrapper {
- Exclude checks
Properties should be ordered bottom, left, position, right, top Open
Open
position: absolute;
- Exclude checks
Properties should be ordered background-color, bottom, left, position, right, top Open
Open
position: absolute;
- Exclude checks
Color literals like rgba(0, 0, 0, 0.25)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background-color: rgba(0, 0, 0, 0.25);
- Exclude checks
0px
should be written without units as 0
Open
Open
box-shadow: inset 0px 3px 0 darken($gray-bg, 10%);
- Exclude checks
Properties should be ordered color, font-size, line-height, margin, padding, text-align, vertical-align Open
Open
margin: 0;
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
.button, input[type=submit] {
- Exclude checks
Properties should be ordered background, font-weight, transition Open
Open
font-weight: 600;
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
&[disabled=disabled].loading, &[disabled].loading, &[disabled].loading:hover {
- Exclude checks
0.05
should be written without a leading zero as .05
Open
Open
background-color: rgba(0, 0, 0, 0.05);
- Exclude checks
Use //
comments everywhere Open
Open
/*
- Exclude checks
Use //
comments everywhere Open
Open
/* Title bars that sit beneath the nav */
- Exclude checks
Use //
comments everywhere Open
Open
/* Apply this to a row that will vertically center a column */
- Exclude checks
Color literals like #DDD
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
border: 2px dashed #DDD;
- Exclude checks