assets/css/scss/global/mixins/_button.scss
0.6
should be written without a leading zero as .6
Open
Open
letter-spacing: 0.6px;
- Exclude checks
Properties should be ordered align-items, display, justify-content, margin, padding, text-align, vertical-align, width Open
Open
display: flex;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
&,
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Selector block-editor-block-list__block
should be written in lowercase with hyphens Open
Open
&.wp-block.block-editor-block-list__block {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
&,
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
padding: 0;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
@include lsx-button-colour($color, $color-hover, $bg, $bg-hover);
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
&:active {
- Exclude checks
Selector wp-block-button__link
should be written in lowercase with hyphens Open
Open
a.wp-block-button__link {
- Exclude checks
@mixin declaration should be followed by an empty line Open
Open
}
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
margin: 0;
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
a.wp-block-button__link {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.border-btn {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
justify-content: center;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.btn {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
a.wp-block-button__link {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
& > .fa {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
text-align: center;
- Exclude checks
Selector wp-block-button__link
should be written in lowercase with hyphens Open
Open
a.wp-block-button__link {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.white-border-btn {
- Exclude checks
Color literals like #9f2020
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#9f2020
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
input[type="submit"] {
- Exclude checks
Color literals like #ed6c6e
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#ed6c6e,
- Exclude checks
Color literals like #fff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-bordered-button($bg, #fff, transparent, $bg);
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.cta-red {
- Exclude checks
Avoid using id selectors Open
Open
#respond input#submit,
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
a.button,
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
a.button,
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
a.button,
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.lsx-wc-cart-menu-item {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
& > a {
- Exclude checks
Avoid using id selectors Open
Open
a.button,
- Exclude checks
Selector widget_shopping_cart
should be written in lowercase with hyphens Open
Open
.widget_shopping_cart {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .fa {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
width: 100%;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
align-items: center;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
#respond {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .menu {
- Exclude checks
Selector wc_am_lost_api_key_form
should be written in lowercase with hyphens Open
Open
#wc_am_lost_api_key_form {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
#respond input#submit,
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 6 Open
Open
.checkout-button {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.tertiary-btn {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
transition: all 300ms ease;
- 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
& > .menu-item {
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
input[type="submit"] {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.lsx-wc-cart-menu-item {
- 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 6 Open
Open
&:hover {
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
a.button,
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.button.checkout {
- Exclude checks
Avoid using id selectors Open
Open
#top-menu {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > .menu-item {
- Exclude checks
Color literals like #ffffff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#ffffff,
- Exclude checks
Avoid using id selectors Open
Open
#footer-cta {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.button {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.woocommerce-cart-form {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 6 Open
Open
.button {
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
&:hover {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
display: flex;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
vertical-align: middle;
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
a.wp-block-button__link {
- Exclude checks
Avoid using id selectors Open
Open
#respond {
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
input[type="submit"] {
- Exclude checks
Color literals like #fff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-bordered-button($bg, #fff, transparent, $bg);
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.cta {
- Exclude checks
Color literals like #d93a3a
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#d93a3a,
- Exclude checks
Avoid using id selectors Open
Open
.woocommerce-page #main {
- Exclude checks
Selector shop_table
should be written in lowercase with hyphens Open
Open
.shop_table {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
.wc-proceed-to-checkout {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.quiz {
- Exclude checks
Color literals like #fff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-bordered-button($bg, #fff, transparent, $bg);
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.button-3d-true {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .comment-form {
- Exclude checks
Color literals like #fff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-bordered-button(#fff, $bg, transparent, #fff);
- Exclude checks
Color literals like #fff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-bordered-button(#fff, $bg, transparent, #fff);
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a {
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
#respond input#submit,
- Exclude checks
!important should not be used Open
Open
height: 100% !important;
- Exclude checks
Color literals like #4e8b4a
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#4e8b4a,
- Exclude checks
Properties should be ordered height, min-height Open
Open
min-height: 40px;
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
a.button,
- Exclude checks
Selector wp-block-button__link
should be written in lowercase with hyphens Open
Open
div.wp-block-button__link {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.cta-border-btn {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.caldera-forms-modal {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.tertiary-border-btn {
- Exclude checks
Color literals like #ffffff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#ffffff,
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.woocommerce-page #main {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.wc-proceed-to-checkout {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a {
- Exclude checks
Color #ffffff
should be written as #fff
Open
Open
#ffffff,
- Exclude checks
Avoid using id selectors Open
Open
#wc_am_lost_api_key_form {
- Exclude checks
Avoid qualifying id selectors with an element. Open
Open
#respond input#submit,
- Exclude checks
Avoid using id selectors Open
Open
a.button,
- Exclude checks
Avoid qualifying attribute selectors with an element. Open
Open
input[type="submit"] {
- Exclude checks
Color literals like #e73f41
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#e73f41,
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.wp-block-button:not(.is-style-outline) {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.secondary-btn {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.secondary-border-btn {
- Exclude checks
Color literals like #fff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-bordered-button($bg, #fff, transparent, $bg);
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
#wc_am_lost_api_key_form {
- Exclude checks
Selector widget_shopping_cart
should be written in lowercase with hyphens Open
Open
.widget_shopping_cart {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 6 Open
Open
&[name="update_cart"] {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 6 Open
Open
&:hover {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .menu-item {
- Exclude checks
Color #ffffff
should be written as #fff
Open
Open
#ffffff,
- Exclude checks
Color literals like #9f2020
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#9f2020,
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
#footer-cta {
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
#respond input#submit,
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
#respond input#submit,
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.course-container,
- Exclude checks
Avoid qualifying class selectors with an element. Open
Open
div.wp-block-button__link {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
#top-menu {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
& > a {
- Exclude checks
Avoid using id selectors Open
Open
#respond input#submit,
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
.shop_table {
- Exclude checks
Color literals like #457a42
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#457a42
- Exclude checks
Color literals like #e5282b
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#e5282b
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.button.checkout {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.button {
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
&:hover {
- 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
.cart_totals {
- Exclude checks
Color literals like #63a95f
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
#63a95f,
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.cta-btn {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.shop_table {
- Exclude checks
Selector cart_totals
should be written in lowercase with hyphens Open
Open
.cart_totals {
- Exclude checks