Sha256: 7acc9d763fe6d07e316494fa31ee0b464a2c08aa895a2cfd324eed2c52e3f5d5

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

.dropdown-menu {
  @extend .shadow;
}

.header {
  .navbar {
    min-height:54px;

    a:hover {
      text-decoration: none;
    }
    .btn {
      &:hover,
      &:focus {
        text-decoration: none;
        outline: 0;
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
      }
    }

    #storeSwitcherDropdown {
      .dropdown-menu.show {
        min-width: 250px;
        width: fit-content;
        max-width: 90vw;
        max-height: 70vh;
        overflow-y: hidden !important;
        top: $navbar-brand-height + 1.5rem;
        left: 50%;
        right: 50%;
        transform: translate(-50%, 0%);

        @include media-breakpoint-up(lg) {
          left: 0%;
          right: 0%;
          transform: translate(0%, 0%);
        }

        a {
          white-space: nowrap;
          overflow-x: hidden;
          text-overflow: ellipsis;

          svg {
            vertical-align: text-top;
            margin-right: 1em;
          }

          &.disabled svg {
            color: theme-color('success');
          }
        }
      }
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_backend-4.8.4 app/assets/stylesheets/spree/backend/components/_navbar.scss
spree_backend-4.8.3 app/assets/stylesheets/spree/backend/components/_navbar.scss
spree_backend-4.8.2 app/assets/stylesheets/spree/backend/components/_navbar.scss
spree_backend-4.8.1 app/assets/stylesheets/spree/backend/components/_navbar.scss