@import "mixins";

// Cascade panel
.von-cascade-panel {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 30px 0 0 0;
  background-color: #f5f5f5;
  z-index: 12;
  box-sizing: border-box;
  pointer-events: auto !important;

  transition: transform .2s ease-in-out;
  -webkit-transition: -webkit-transform .2s ease-in-out;

  transform: translate(0, 100%);
  -webkit-transform: translate(0, 100%);

  &.active {
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

    transition: transform .3s cubic-bezier(0.4, 0, 0, 1);
    -webkit-transition: -webkit-transform .3s cubic-bezier(0.4, 0, 0, 1);
  }

  .title {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: 1000;

    font-size: 14px;
    line-height: 30px;
    text-align: center;
  }

  .options {
    max-height: 215px;
    overflow-x: hidden;
    overflow-y: overflow;
    -webkit-overflow-scrolling: touch;

    .item {
      min-height: 44px;
      height: 44px;
      padding: 15px 12px;
      text-align: center;

      &:active {
        background-color: #eee;
      }
    }
  }
}

.von-cascade {
  padding-left: 16px;
  background: #FFF;

  .item-icon-right {
    .icon {
      color: #DDD;
    }
  }
}
