@import '~moda-themes';

.SizeDropdown {
  $self: &;
  width: 80%;
  height: 100%;
  border: 1px solid color('cashmere');
  font-family: font-family('sans');
  font-size: 14px;
  line-height: 1.2;
  color: color('cement');
  text-align: center;
  z-index: z-index('modal') + 1;

  &__option {
    $self: &;
    padding: 8px 0;
    text-transform: uppercase;
    cursor: pointer;

    &-cell {
      width: 60%;
      height: 100%;
      display: inline-flex;
      justify-content: space-evenly;
      text-align: center;
    }

    &-empty {
      padding: 14px 0;
    }

    &[data-disabled='true'] {
      color: color('elephant');
      text-decoration: line-through;
      cursor: not-allowed;
    }

    &:hover {
      background-color: color('noise');
    }
  }

  .collapsible-header {
    color: color('cement');
    margin: 0;
    padding: 12px 12px;
    justify-content: center;
  }

  .collapsible-text {
    position: relative;
  }

  .collapsible-button {
    vertical-align: center;
    position: absolute;
    right: 16px;
  }

  .collapsible {
    position: relative;
    &:focus {
      outline-width: medium;
    }
  }

  .collapsible-container {
    height: 100px;
    border: 1px solid color('cashmere');
    background-color: color('white');
    box-sizing: content-box;
    position: absolute;
    border-top: none;
    width: 100%;
    overflow-y: scroll;
  }
}
