assets/css/scss/templates/_common.scss
Properties should be ordered padding-bottom, padding-top Open
Open
padding-top: $lsx-medium-gap;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
&:not(.page-has-banner) {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&.aligncenter {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&.alignright {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& + p { margin-top: $lsx-gap; }
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > .widget-title {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&:last-child {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.submit-button {
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
&:before {
- Exclude checks
Avoid using id selectors Open
Open
#facetwp-top, .facetwp-sidebar {
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
right: 20px;
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.sitemap-child {
- Exclude checks
Color #FFF
should be written as #fff
Open
Open
color: #FFF;
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.archive-title,
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.archive-title,
- Exclude checks
@include declaration should be preceded by an empty line Open
Open
@include media('<=tablet') {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&.alignnone {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& + .widget { margin-top: $lsx-large-gap / 2; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.woocommerce_info {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
border: 1px solid #E4E4E4;
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
.facetwp-per-page:after, .facetwp-sort:after {
- Exclude checks
Properties should be ordered color, content, font-family, font-size, position, right, top Open
Open
content: '\f0d7';
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.sitemap-child {
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Color literals like #E4E4E4
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
border: 1px solid #E4E4E4;
- Exclude checks
Color #E4E4E4
should be written as #e4e4e4
Open
Open
border: 1px solid #E4E4E4;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
color: #919191;
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > p {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
margin-bottom: $lsx-large-gap;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .wp-caption-text {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&.alignleft {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.alignright {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&:before {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
.facetwp-per-page:after, .facetwp-sort:after {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.facetwp-type-search .facetwp-search-wrap .facetwp-search {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.lsx.page-has-banner:not(.single-post) & { display: none; }
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.content >.content-area {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.content-area,
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > .wp-caption-text {
- Exclude checks
Properties should be ordered font-family, font-size, font-style, font-weight, margin-top Open
Open
font-size: 13px;
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.wp-caption,
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.wp-caption,
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
text-align: center;
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
.facetwp-per-page:after, .facetwp-sort:after {
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
content: '\f0d7';
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.archive-header-wrapper {
- Exclude checks
!important should not be used Open
Open
display: none !important;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.content-area,
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .rsswidget {
- Exclude checks
Avoid using id selectors Open
Open
#facetwp-top {
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
position: relative;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
top: 3px;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
&.home {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > p {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
+ .content-area {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.entry-content {
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.entry-content {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > .wp-caption-text {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.lsx.single-post & {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&:first-child { display: none; }
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.content-area,
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
article.page,
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > .rsswidget {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
clip: rect(1px, 1px, 1px, 1px);
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Colon after property should be followed by one space Open
Open
padding:5px;
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }
- Exclude checks
Prefer single quoted strings Open
Open
content: "\f002";
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
margin-top: $lsx-large-gap;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.aligncenter {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
&.alignnone {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.search.search-no-results:not(.has-sidebar) & {
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
.single-post:not(.using-gutenberg), .archive {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&.alignleft,
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.facetwp-type-search .facetwp-search-wrap .facetwp-search {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > p {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.facetwp-template {
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
#facetwp-top, .facetwp-sidebar {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
padding: 15px;
- Exclude checks
Properties should be ordered margin-top, padding Open
Open
@include media('<=tablet') { padding: 50px 9999rem 50px; margin-top: 50px; }
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > p {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
&.page-has-banner {
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
.wp-caption,
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
& > .widget {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.woocommerce_info {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
background-color: #ffffff;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
font-family: FontAwesome;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.archive-header {
- Exclude checks
Shorthand form for property padding
should be written more concisely as 50px 9999rem
instead of 50px 9999rem 50px
Open
Open
@include media('<=tablet') { padding: 50px 9999rem 50px; margin-top: 50px; }
- Exclude checks
Color literals like #FFF
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: #FFF;
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
article.page,
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
p img[class*="wp-image-"] {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.has-sidebar & {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
.wp-caption,
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .widget {
- Exclude checks
Color literals like #ffffff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background-color: #ffffff;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
font-size: 20px;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.home &,
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
&.page-has-no-banner {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.content-area,
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& + p { margin-top: $lsx-gap; }
- Exclude checks
Selector widget_rss
should be written in lowercase with hyphens Open
Open
&.widget_rss {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&:before {
- Exclude checks
Selector woocommerce_info
should be written in lowercase with hyphens Open
Open
.woocommerce_info {
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Properties should be ordered left, position Open
Open
position: relative;
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
article.page,
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.alignnone {
- Exclude checks
Merge rule .widget-area
with rule on line 134 Open
Open
.widget-area {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .widget-title {
- Exclude checks
Color literals like #919191
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: #919191;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
font-size: 14px;
- Exclude checks
0.875
should be written without a leading zero as .875
Open
Open
font-size: 0.875rem;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
line-height: normal;
- Exclude checks
Commas in function arguments should be followed by one space Open
Open
box-shadow: 1px 1px 5px rgba(155,155,155,0.7);
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
p img[class*="wp-image-"] {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.alignleft,
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.alignleft {
- Exclude checks
Properties should be ordered clip, height, overflow, position, white-space, width Open
Open
position: absolute !important;
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
.wp-caption,
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > p {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
white-space: nowrap;
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > p {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
width: auto;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.page-content {
- Exclude checks
Color #ffffff
should be written as #fff
Open
Open
background-color: #ffffff;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
padding: 5px;
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
.facetwp-type-search .facetwp-search-wrap .facetwp-search {
- Exclude checks
!important should not be used Open
Open
clip: auto !important;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
top: 5px;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
z-index: 100000; /* Above WP toolbar. */
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
width: 1px;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
clip: auto !important;
- Exclude checks
Property font-size
already defined on line 325 Open
Open
font-size: 0.875rem;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
overflow: hidden;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
font-size: 0.875rem;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
display: block;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
height: auto;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
text-decoration: none;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
font-weight: bold;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
left: 5px;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
box-shadow: 1px 1px 5px rgba(155,155,155,0.7);
- Exclude checks
Color literals like rgba(155, 155, 155, 0.7)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
box-shadow: 1px 1px 5px rgba(155,155,155,0.7);
- Exclude checks
Use //
comments everywhere Open
Open
z-index: 100000; /* Above WP toolbar. */
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
position: absolute !important;
- Exclude checks
Commas in function arguments should be followed by one space Open
Open
box-shadow: 1px 1px 5px rgba(155,155,155,0.7);
- Exclude checks
!important should not be used Open
Open
position: absolute !important;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
border-radius: 3px;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
padding: 15px 23px 14px;
- Exclude checks
Commas in function arguments should be followed by one space Open
Open
box-shadow: 1px 1px 5px rgba(155,155,155,0.7);
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
height: 1px;
- Exclude checks
0.7
should be written without a leading zero as .7
Open
Open
box-shadow: 1px 1px 5px rgba(155,155,155,0.7);
- Exclude checks