assets/css/scss/layout/_header.scss
Prefer single quoted strings Open
Open
@include media(">=phone", "<desktop-wide") {
- Exclude checks
Prefer single quoted strings Open
Open
@include media(">=desktop-wide") {
- Exclude checks
Properties should be ordered align-items, flex-direction, justify-content Open
Open
flex-direction: row;
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.custom-logo-link {
- Exclude checks
Properties should be ordered flex-basis, order, text-align Open
Open
order: 2;
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&:first-child {
- Exclude checks
Prefer single quoted strings Open
Open
@include media(">=phone") {
- Exclude checks
Prefer single quoted strings Open
Open
@include media("<desktop-wide") {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
min-height: 0;
- Exclude checks
Color literals like rgba(0, 0, 0, 0.15)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
- Exclude checks
Properties should be ordered margin-bottom, margin-top, max-height, max-width, transition, width Open
Open
width: auto;
- Exclude checks
Prefer single quoted strings Open
Open
@include media(">=desktop-wide") {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.mobile-header-hamburger & {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
border-radius: 0;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
margin-bottom: 0;
- Exclude checks
0.15
should be written without a leading zero as .15
Open
Open
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
- Exclude checks
Prefer single quoted strings Open
Open
@include media("<desktop-wide") {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > a {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > img {
- Exclude checks
Avoid using id selectors Open
Open
#masthead {
- Exclude checks
Prefer single quoted strings Open
Open
@include media("<desktop-wide") {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > a {
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
&:first-child {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .container {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.navbar-header {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a {
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.custom-logo-link {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
& > .container {
- Exclude checks
Prefer single quoted strings Open
Open
@include media("<desktop-wide") {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > img {
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
.custom-logo-link {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
border: 0 none;
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > img {
- Exclude checks