time-select.scss 711 B

12345678910111213141516171819202122232425262728293031323334353637
  1. @use 'mixins/config' as *;
  2. @use 'mixins/mixins' as *;
  3. @use 'common/var' as *;
  4. @use './date-picker/picker.scss';
  5. @use './date-picker/date-picker.scss';
  6. .time-select {
  7. margin: 5px 0;
  8. min-width: 0;
  9. .#{$namespace}-picker-panel__content {
  10. max-height: 200px;
  11. margin: 0;
  12. }
  13. &-item {
  14. padding: 8px 10px;
  15. font-size: 14px;
  16. line-height: 20px;
  17. &.disabled {
  18. color: getCssVar('datepicker-border-color');
  19. cursor: not-allowed;
  20. }
  21. &:hover {
  22. background-color: getCssVar('fill-color', 'light');
  23. font-weight: bold;
  24. cursor: pointer;
  25. }
  26. }
  27. .time-select-item.selected:not(.disabled) {
  28. color: getCssVar('color-primary');
  29. font-weight: bold;
  30. }
  31. }