37 lines
664 B
SCSS
37 lines
664 B
SCSS
@use 'mixins/config' as *;
|
|
@use 'common/var' as *;
|
|
@use './date-picker/picker.scss';
|
|
@use './date-picker/date-picker.scss';
|
|
|
|
.time-select {
|
|
margin: 5px 0;
|
|
min-width: 0;
|
|
|
|
.#{$namespace}-picker-panel__content {
|
|
max-height: 200px;
|
|
margin: 0;
|
|
}
|
|
|
|
&-item {
|
|
padding: 8px 10px;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
|
|
&.disabled {
|
|
color: var(--el-datepicker-border-color);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: var(--el-bg-color);
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.time-select-item.selected:not(.disabled) {
|
|
color: var(--el-color-primary);
|
|
font-weight: bold;
|
|
}
|
|
}
|