UNPKG

uxcore-time-picker

Version:
70 lines (61 loc) 1.2 kB
.@{__timePickerPrefixClass}-panel-select { display: inline-block; vertical-align: top; font-size: 12px; border: 1px solid #e9e9e9; border-width: 0 1px; margin-left: -1px; box-sizing: border-box; width: 66px; max-height: calc(300px - 36px); overflow-y: auto; position: relative; // Fix chrome weird render bug &-active { overflow-y: auto; } &:first-child { border-left: 0; margin-left: 0; } &:last-child { border-right: 0; } ul { list-style: none; box-sizing: border-box; margin: 0; padding: 0; width: 100%; } li { list-style: none; width: 100%; height: 32px; line-height: 32px; text-align: center; cursor: pointer; user-select: none; color: @dark-alpha-3; &:hover { background: @normal-alpha-8; color: @dark-alpha-2; } } li&-option-selected { background: #f7f7f7; font-weight: bold; } li&-option-disabled { color: #ccc; &:hover { background: transparent; cursor: not-allowed; } } .@{__timePickerPrefixClass}-panel-column-2 & { width: 100px; } .@{__timePickerPrefixClass}-panel-column-4 & { width: 60px; } }