$slipbox: 'slipbox';
.#{$slipbox}__wraper {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  z-index: $zindex-modal-backdrop;
  height: 100%;
  // min-width: $slipbox-wraper-min-width;
  // max-width: $slipbox-wraper-max-width;
  // overflow: visible;
  width: 100%;
  //overflow: auto;
  // margin-top: $slipbox-wraper-top;
  background: transparent;
  // @include box-shadow(-2px 2px 7px rgba(0, 0, 0, .15));
  &.#{$slipbox}__wraper--right {
    .#{$slipbox}__content {
      right: 0;
      left: auto;
    }
  }
  &.#{$slipbox}__wraper--left {
    .#{$slipbox}__content {
      left: 0;
      @include box-shadow(2px 2px 7px rgba(0, 0, 0, .15));
    }
  }
  .#{$slipbox}__content {
    position: absolute;
    z-index: $zindex-modal-backdrop;
    display: flex;
    flex-direction: column;
    //height: 100%;
    // top: 0;
    // left: auto;
    background: #fff;
    // overflow: auto;
    width: $slipbox-wraper-min-width;
    top: $slipbox-wraper-top;
    bottom:0;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    @include box-shadow(-2px 2px 7px rgba(0, 0, 0, .15));
  }
  .#{$slipbox}__header {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    //min-height: $slipbox-header-height;
    padding: 0 $slipbox-header-padding;
    font-size: $slipbox-header-fontSize;
    color: $slipbox-header-color;
  }
  .#{$slipbox}__header--inner {
    padding: ($slipbox-header-padding + 2) 0;
    line-height: $slipbox-header-padding + 12;
    &.#{$slipbox}__header--border {
      border-bottom: 1px solid $slipbox-header-border-color;
    }
    .#{$slipbox}__arrow {
      margin-right: $slipbox-header-padding - 8;
      cursor: pointer;
    }
    .#{$slipbox}__arrow--left {
      @include float-right;
      margin-right: 0;
    }
  }
  .#{$slipbox}__body {
    flex: 1;
    overflow: auto;
    padding: $slipbox-header-padding;
    @extend %thin-scroll;
  }
}
.#{$slipbox}__wrap--backdrop {
  z-index: $zindex-modal-backdrop - 10;
}