@import '../../../../style/theme/index';

$picker-prefix-cls: #{$anna-prefix}-base-picker;


.#{$picker-prefix-cls} {
  font-size: 28px;
  color: #000;
  &-toolbar {
    height: 88px;
    line-height: 88px;
    display: flex;
    justify-content: space-between;
    &-cancel {
      padding: 0 24px;
      color: #999;
    }
    &-title {
      color: #333;
      font-weight: 500;
    }
    &-confirm {
      padding: 0 24px;
      color: $brand-color;
    }
  }
  &-columns {
    position: relative;
    display: flex;
    height: 440px;
  }
  &-column {
    flex: 1;
    backface-visibility: hidden;
    touch-action: none;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    &-items {
      transform: translate3d(0, 176px, 0);
    }
    &-item {
      height: 88px;
      line-height: 88px;
      padding: 0 24px;
      text-align: center;
    }
  }
  &-selected {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 176px;
    width: 100%;
    height: 88px;
    background-color: rgba(102, 204, 255, 0.08);
    pointer-events: none;
  }
  &-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4)), 
    linear-gradient(0deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4));
    background-repeat: no-repeat;
    background-position: top, bottom; // 此处逗号隔开对应多个background-image
    background-size: 100% 176px;
    pointer-events: none;
  }
}