Sha256: a0036223a9ece0bc310c7966551622fc5295dd0456830315bab7c212f97eff25

Contents?: true

Size: 1.42 KB

Versions: 174

Compression:

Stored size: 1.42 KB

Contents

.dropdown-content {
  &:focus {
    outline: 0;
  }


  @extend .z-depth-1;
  background-color: $dropdown-bg-color;
  margin: 0;
  display: none;
  min-width: 100px;
  overflow-y: auto;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999; // TODO: Check if this doesn't break other things
  transform-origin: 0 0;


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

    &:focus {
      outline: none;
    }

    &.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;
      float: left;
      margin: 0 24px 0 0;
      width: 24px;
    }


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

body.keyboard-focused {
  .dropdown-content li:focus {
    background-color: darken($dropdown-hover-bg-color, 8%);
  }
}

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

.dropdown-trigger {
  cursor: pointer;
}

Version data entries

174 entries across 174 versions & 5 rubygems

Version Path
j1-template-2023.4.0 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.3.3 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.3.2 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.3.1 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.3.0 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.2.7 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.2.6 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.2.5 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.2.4 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.2.3 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.2.2 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.2.1 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.2.0 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.1.0 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.0.17 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.0.16 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.0.15 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.0.14 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.0.13 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss
j1-template-2023.0.12 assets/themes/j1/modules/materialize/scss/components/_dropdown.scss