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

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

.#{$picker-view-prefix-cls} {
  &-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;
  }
  &-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;
  }
}
