assets/css/scss/layout/_top-menu.scss
Line should be indented with spaces, not tabs Open
Open
.top-menu {
- Exclude checks
Color #FFFFFF
should be written as #FFF
Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Properties should be ordered float, height, text-align Open
Open
height: 100%;
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .container {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
& > a {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
&.email > a:before { content: $fa-var-envelope-o; }
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
@include media('<tablet') {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
@media (max-width: 500px) {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.cta {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .wpml-ls-flag + span { display: none; }
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .menu-item {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
> a {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .menu {
- Exclude checks
Color #FFFFFF
should be written as #ffffff
Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&:not(.cta):not(.cta-red) {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.dropdown-menu {
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
a {
- Exclude checks
Avoid using id selectors Open
Open
#top-menu {
- Exclude checks
Color literals like #FFFFFF
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
&:before {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&:before {
- Exclude checks
Color #9F2020
should be written as #9f2020
Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&:first-child { margin-left: 5px; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
& > a {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .menu {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .menu-item {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .menu-item {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&.email > a:before { content: $fa-var-envelope-o; }
- Exclude checks
Color literals like #FFFFFF
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > .dropdown-menu {
- Exclude checks
Avoid using id selectors Open
Open
#menu-top-menu {
- Exclude checks
Properties should be ordered display, justify-content, margin, padding, width Open
Open
width: 100%;
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > .menu-item {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.dropdown {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > a {
- Exclude checks
!important should not be used Open
Open
float: none !important;
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a {
- Exclude checks
Color literals like #D93A3A
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > .menu-item {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a { padding: 0 5px; }
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.header-central & { flex-grow: 0; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
.caret { display: none; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.wpml-ls-menu-item {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > .menu {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > a {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
&.tel > a:before { content: $fa-var-phone; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
& > a {
- Exclude checks
Color literals like #9F2020
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > .menu {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
&:not(.cta):not(.cta-red) > a {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Expected item on line 217 to appear before line 2. Rule sets should be ordered as follows: @extends
, @includes
without @content
, properties, @includes
with @content
, nested rule sets Open
Open
@include media('<tablet') {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&.map,
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
> a {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
&,
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
& > a {
- Exclude checks
Color #D93A3A
should be written as #d93a3a
Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Color literals like #9F2020
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 6 Open
Open
& > .wpml-ls-flag + span { display: none; }
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .dropdown-menu {
- Exclude checks
Properties should be ordered border, border-radius, box-shadow, display, left, margin, opacity, padding, transform, transform-origin, transition, z-index Open
Open
box-shadow: none;
- Exclude checks
@include declaration should be followed by an empty line Open
Open
}
- Exclude checks
Avoid using id selectors Open
Open
#menu-top-menu {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
& > .container {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
&.map > a:before { content: $fa-var-map-o; }
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&.map > a:before { content: $fa-var-map-o; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.cta-red {
- Exclude checks
Merge rule &:not(.pull-left)
with rule on line 17 Open
Open
&:not(.pull-left) {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
.dropdown-menu {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
.top-menu:not(.pull-left) {
- 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
&.tel > a:before { content: $fa-var-phone; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&.cta,
- Exclude checks
Color #FFFFFF
should be written as #ffffff
Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Merge rule &.pull-left
with rule on line 19 Open
Open
&.pull-left {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
& > a { padding: 0 5px; }
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
& > .menu-item {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .dropdown-menu {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
& > .dropdown-menu {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
&:hover,
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.dropdown-menu {
- 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
& > .menu-item {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
&:before {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
&:before {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .menu {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > .menu-item {
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
&.dropdown {
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
.menu-item {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 5 Open
Open
& > a {
- Exclude checks
Unnecessary parent selector (&) Open
Open
& > a {
- Exclude checks
Color #FFFFFF
should be written as #FFF
Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks
Color #9F2020
should be written as #9f2020
Open
Open
@include lsx-button-colour(#FFFFFF, #FFFFFF, #D93A3A, #9F2020, #9F2020);
- Exclude checks