openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin_v3/components/navigation.scss

Summary

Maintainability
Test Coverage

0px should be written without units as 0
Open

  box-shadow: 0px 1px 0px $color-7;

Avoid using id selectors
Open

#admin-menu,

Avoid using id selectors
Open

#sub-menu {

Selector should have depth of applicability no greater than 3, but was 4
Open

    &:after {

Avoid using id selectors
Open

#admin-menu,

Selector should have depth of applicability no greater than 3, but was 4
Open

      &.selected a {

Selector should have depth of applicability no greater than 3, but was 4
Open

  ul li a:hover {

Merge rule #admin-menu with rule on line 112
Open

#admin-menu {

Avoid comma sequences in @extend directives; prefer single placeholder selectors (e.g. %some-placeholder)
Open

        @extend a, :hover;

Selector should have depth of applicability no greater than 3, but was 4
Open

    li a {

Selector should have depth of applicability no greater than 3, but was 4
Open

      &:hover a {

Selector should have depth of applicability no greater than 3, but was 4
Open

      > li {

Begin pseudo elements with double colons: ::
Open

      &:after {

Prefer using placeholder selectors (e.g. %some-placeholder) with @extend
Open

      @extend :hover;

Selector should have depth of applicability no greater than 3, but was 4
Open

      a {

Avoid qualifying class selectors with an element.
Open

nav.menu {

Begin pseudo elements with double colons: ::
Open

        a:after {

Avoid using id selectors
Open

#sub-menu {

Avoid using id selectors
Open

#admin-menu {

Property width already defined on line 117
Open

      width: 200px;

Avoid using id selectors
Open

#admin-menu {

Merge rule #sub-menu with rule on line 133
Open

#sub-menu {

Selector should have depth of applicability no greater than 3, but was 5
Open

        a:after {

Selector should have depth of applicability no greater than 3, but was 4
Open

      &.active a {

Begin pseudo elements with double colons: ::
Open

    &:after {

Avoid using id selectors
Open

#header .container {

Selector should have depth of applicability no greater than 3, but was 4
Open

        i {

0px should be written without units as 0
Open

  box-shadow: 0px 1px 0px $color-7;

Avoid using id selectors
Open

#header figure {

Avoid qualifying class selectors with an element.
Open

dl.admin-tabs {

Avoid using id selectors
Open

#login-nav {

There are no issues that match your filters.

Category
Status