beavy/jsbeavy/components/MainMenu.scss
Selector navigationNav
should be written in lowercase with hyphens Open
Open
.navigationNav {
- Exclude checks
Properties should be ordered clear, display, margin, overflow, padding, -webkit-transform-style, width, z-index Open
Open
-webkit-transform-style: preserve-3d; // stop webkit flicker
- Exclude checks
Avoid vendor prefixes. Open
Open
-webkit-transform-style: preserve-3d; // stop webkit flicker
- Exclude checks
Expected item on line 100 to appear before line 96. Rule sets should be ordered as follows: @extends
, @includes
without @content
, properties, @includes
with @content
, nested rule sets Open
Open
@include media ($main-navigation-horizontal-bar-mode) {
- Exclude checks
0.6
should be written without a leading zero as .6
Open
Open
padding-right: 0.6em;
- Exclude checks
Selector navigationTools
should be written in lowercase with hyphens Open
Open
.navigationTools {
- Exclude checks
0.3
should be written without a leading zero as .3
Open
Open
$main-navigation-color: transparentize(white, 0.3) !default;
- Exclude checks
Selector navigationMenuButton
should be written in lowercase with hyphens Open
Open
.navigationMenuButton {
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
input[type=search] {
- Exclude checks
Properties should be ordered background, border, border-radius, color, font-size, font-style, margin, padding, width Open
Open
border-radius: $base-border-radius * 2;
- Exclude checks
Prefer single quoted strings Open
Open
@import "main";
- Exclude checks
Selector navigationMenu
should be written in lowercase with hyphens Open
Open
.navigationMenu {
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
> a:after {
- Exclude checks
0.7
should be written without a leading zero as .7
Open
Open
padding-bottom: 0.7em;
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
> ul > li:first-child a {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
> a:after {
- Exclude checks
Selector searchBar
should be written in lowercase with hyphens Open
Open
.searchBar {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
> ul > li:first-child a {
- Exclude checks
0.2
should be written without a leading zero as .2
Open
Open
left: $main-navigation-submenu-width - 0.2em;
- Exclude checks
Color literals like #505050
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background: #505050;
- Exclude checks
0.3
should be written without a leading zero as .3
Open
Open
top: 0.3em;
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
a {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:after {
- Exclude checks
0.6
should be written without a leading zero as .6
Open
Open
padding: 0.85em 0.85em 0.7em 0.6em;
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
padding: 0.5em 0.8em;
- Exclude checks
Color white
should be written in hexadecimal form as #ffffff
Open
Open
$main-navigation-color-hover: white !default;
- Exclude checks
Color white
should be written in hexadecimal form as #ffffff
Open
Open
$main-navigation-active-link-color: transparentize(white, 0.5) !default;
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
> a {
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
a.active {
- Exclude checks
0.9
should be written without a leading zero as .9
Open
Open
font-size: 0.9em;
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
$main-navigation-active-link-color: transparentize(white, 0.5) !default;
- Exclude checks
0.3
should be written without a leading zero as .3
Open
Open
bottom: 0.3em;
- Exclude checks
@include declaration should be followed by an empty line Open
Open
}
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&:focus,
- Exclude checks
0.4
should be written without a leading zero as .4
Open
Open
@include position(absolute, auto -0.4em auto auto);
- Exclude checks
Expected item on line 201 to appear before line 176. Rule sets should be ordered as follows: @extends
, @includes
without @content
, properties, @includes
with @content
, nested rule sets Open
Open
@include media($main-navigation-horizontal-bar-mode) {
- Exclude checks
border: 0
is preferred over border: none
Open
Open
border: none;
- Exclude checks
0.3
should be written without a leading zero as .3
Open
Open
right: 0.3em;
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
img {
- Exclude checks
0.7
should be written without a leading zero as .7
Open
Open
opacity: 0.7;
- Exclude checks
0.8
should be written without a leading zero as .8
Open
Open
padding-right: 0.8em;
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
button[type=submit] {
- Exclude checks
Selector navigationWrapper
should be written in lowercase with hyphens Open
Open
.navigationWrapper {
- Exclude checks
0.7
should be written without a leading zero as .7
Open
Open
padding: 0.85em 0.85em 0.7em 0.6em;
- Exclude checks
0.85
should be written without a leading zero as .85
Open
Open
padding: 0.85em 0.85em 0.7em 0.6em;
- Exclude checks
0.8
should be written without a leading zero as .8
Open
Open
padding: 0.8em 0;
- Exclude checks
Color white
should be written in hexadecimal form as #ffffff
Open
Open
$main-navigation-color: transparentize(white, 0.3) !default;
- Exclude checks
Opening curly brace {
should be preceded by one space Open
Open
> ul > li:first-child a {
- Exclude checks
0.8
should be written without a leading zero as .8
Open
Open
padding: 0.5em 0.8em;
- Exclude checks
0.8
should be written without a leading zero as .8
Open
Open
padding-right: 0.8em;
- Exclude checks
Properties should be ordered color, content Open
Open
content: '\25BE';
- Exclude checks
0.8
should be written without a leading zero as .8
Open
Open
padding-right: 0.8em;
- Exclude checks
0.85
should be written without a leading zero as .85
Open
Open
padding: 0.85em 0.85em 0.7em 0.6em;
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
img {
- Exclude checks
Expected item on line 321 to appear before line 282. Rule sets should be ordered as follows: @extends
, @includes
without @content
, properties, @includes
with @content
, nested rule sets Open
Open
@include media($main-navigation-horizontal-bar-mode) {
- Exclude checks