Skip to content
Snippets Groups Projects
_sidebar-menu.scss 2.67 KiB
Newer Older
@import "helpers/mixins";
@import "helpers/variables";
@import "helpers/functions";

#block-mainnavigation-2 {

  .navbar-nav {

    li {
      border-top: 1px #979797 dotted;
      line-height: 1.15;

      .link-wrapper {
        padding: 8px 0;
      }

      .active-link {
        padding-left: 5px;
      }
      position: inherit;
      background: transparent;
      border: none;
      box-shadow: none;
      padding: 0;
      list-style-type: none;

      li {

            padding-left: 27px;
          }

          li {

            .link-wrapper {
              padding-left: 37px;
            }

            li {

              .link-wrapper {
                padding-left: 47px;
              }

              li {

                .link-wrapper {
                  padding-left: 57px;
                }

                li {

                  .link-wrapper {
                    padding-left: 67px;
                  }
                }
              }
            }
    .active-trail {
      ul {
        display: inherit;

        .sidebar-nav {
          display: none;
        }

        .active-link-ul {
          display: block;
        }
      }
    .active-link-li {
      ul {
          display: block;

          ul {
            display: none;
          }
        }
    }
    }

    &:nth-last-child(1) {
      border-bottom: 1px #979797 dotted;
      border-top: none;
    }

  }

  .nav > li > a:hover, .nav > li > a:focus {
    background-color: transparent;
  .sidebar-nav {

    .active-link {
      background-color: $white;
      border-left: solid #D0021B 3px;
      padding-left: 5px;
      margin-left: -8px;
    }

    ul {
      .active-link {
        margin-left: -5px;
      }

      ul {
        .active-link {
          margin-left: -2px;
        }

        ul {
          .active-link {
            margin-left: 0;
          }
        }
      }
    }
  h2.active-link {
    background-color: transparent;
    border-left: none;
    padding-left: 0;
  }

  h2 {

    a {
      color: $black-base;
    }
  }