@import '../../style/theme/default.less';
@import '../../style/hairlines.less';

@action-sheet-prefix-cls: ~'@{kui-prefix}-action-sheet';

.@{action-sheet-prefix-cls} {
  width: 100%;
  margin: 0 auto;

  &-body {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  &-panel {
    padding-bottom: 16px;
    overflow: hidden;
    background-color: #f2f2f2;
    border-radius: 24px 24px 0 0;
  }

  &-title {
    z-index: 1;
    padding: 44px 0;
    font-family: PingFangSC-Regular, PingFang SC;
    font-size: 28px;
    font-weight: 400;
    line-height: 40px;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    background-color: #fff;
    .hairline(bottom, rgba(0, 0, 0, 0.1));
  }

  &-option {
    padding: 32px 0;
    font-family: PingFangSC-Regular, PingFang SC;
    font-size: 34px;
    font-weight: 400;
    line-height: 48px;
    color: #000;
    text-align: center;
    cursor: pointer;
    background-color: #fff;
    .hairline(bottom, rgba(0, 0, 0, 0.1));

    &:last-child {
      border-bottom: none;
    }

    &-type-primary {
      color: @primary-color;
    }

    &-type-danger {
      color: @danger-color;
    }

    &-disabled {
      cursor: not-allowed;
      opacity: 0.25;
    }
  }

  &-cancel {
    padding: 32px 0;
    font-family: PingFangSC-Regular, PingFang SC;
    font-size: 34px;
    font-weight: 400;
    line-height: 48px;
    color: #000;
    text-align: center;
    cursor: pointer;
    background-color: #fff;
  }
}
