/**
 *
 * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). 
 * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc..  
 * 
 * This source code is licensed under the Apache license.
 * See LICENSE file in the project root for license information.
 *
 */
@import '../../../styles/variables.less';
@import '../../../styles/mixins.less';

@piecewise-prefix-cls: ~'@{ant-prefix}-picker-piecewise';

.@{piecewise-prefix-cls} {
  &-dropdownPanel {
    .@{piecewise-prefix-cls}-dropdown-wrap {
      .@{piecewise-prefix-cls}-dropdown-column {
        padding: 4px 0px;
        max-height: 250px;
        overflow: hidden;
        &:hover {
          overflow-y: auto;
        }
        &-cell {
          min-width: 48px;
          line-height: 20px;
          font-size: 14px;
          color: #252931;
          padding: 6px 12px;
          &:hover {
            background-color: rgba(0, 0, 0, 0.04);
            font-weight: 500;
            cursor: pointer;
          }
          &-active {
            background-color: #ebf3ff;
            font-weight: 500;
            cursor: pointer;
          }
          &-disable {
            color: #bcbdc0;
            cursor: not-allowed;
            &:hover {
              color: #bcbdc0;
              cursor: not-allowed;
              font-weight: 400;
            }
          }
        }
      }
    }
  }
}
