Sha256: 4e5e4d00c3b5611ce21fc31599db2734049eb7f3077eacc02ff6356049a3ca71

Contents?: true

Size: 1.19 KB

Versions: 13

Compression:

Stored size: 1.19 KB

Contents

.dropdown-content {
  @extend .z-depth-1;
  background-color: $dropdown-bg-color;
  margin: 0;
  display: none;
  min-width: 100px;
  max-height: 650px;
  overflow-y: auto;
  opacity: 0;
  position: absolute;
  z-index: 999;
  will-change: width, height;

  li {
    clear: both;
    color: $off-black;
    cursor: pointer;
    min-height: $dropdown-item-height;
    line-height: 1.5rem;
    width: 100%;
    text-align: left;
    text-transform: none;

    &:hover, &.active, &.selected {
      background-color: $dropdown-hover-bg-color;
    }

    &.active.selected {
      background-color: darken($dropdown-hover-bg-color, 5%);
    }

    &.divider {
      min-height: 0;
      height: 1px;
    }

    & > a, & > span {
      font-size: 16px;
      color: $dropdown-color;
      display: block;
      line-height: 22px;
      padding: (($dropdown-item-height - 22) / 2) 16px;
    }

    & > span > label {
      top: 1px;
      left: 0;
      height: 18px;
    }

    // Icon alignment override
    & > a > i {
      height: inherit;
      line-height: inherit;
    }
  }
}

// Input field specificity bugfix
.input-field.col .dropdown-content [type="checkbox"] + label {
  top: 1px;
  left: 0;
  height: 18px;
}

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
mtl-1.1.7 vendor/assets/stylesheets/materialize/_dropdown.scss
mtl-1.1.6 vendor/assets/stylesheets/materialize/_dropdown.scss
mtl-1.1.5 vendor/assets/stylesheets/materialize/_dropdown.scss
mtl-1.1.4 vendor/assets/stylesheets/materialize/_dropdown.scss
mtl-1.1.2 vendor/assets/stylesheets/materialize/_dropdown.scss
materialize-sass-0.98.0 app/assets/stylesheets/materialize/components/_dropdown.scss
mtl-1.1.1 vendor/assets/stylesheets/materialize/_dropdown.scss
mtl-1.1.0 vendor/assets/stylesheets/materialize/_dropdown.scss
kh-portfolio-0.1.5 _sass/materialize/components/_dropdown.scss
kh-portfolio-0.1.3 _sass/materialize/components/_dropdown.scss
dr-jekylls-materials-0.1.5 _sass/components/_dropdown.scss
dr-jekylls-materials-0.1.4 _sass/components/_dropdown.scss
materialize-sass-0.97.8 app/assets/stylesheets/materialize/components/_dropdown.scss