You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.2 KiB

2 years ago
  1. <template>
  2. <client-only>
  3. <div class="md:tw-flex md:tw-items-center">
  4. <label class="tw-block tw-mb-[20px] md:tw-mb-0 md:tw-mr-[100px]"><span>{{$t('Departure Time')}}<span
  5. class="required">*</span></span></label>
  6. <div class="element tw-flex tw-items-center">
  7. <vue-timepicker format="HH" placeholder="--" input-width="90px" fixed-dropdown-button></vue-timepicker>
  8. <div class="tw-mx-[16px]">:</div>
  9. <vue-timepicker format="mm" placeholder="--" input-width="90px" fixed-dropdown-button></vue-timepicker>
  10. </div>
  11. </div>
  12. </client-only>
  13. </template>
  14. <script>
  15. export default {
  16. name: "elementTimePicker",
  17. };
  18. </script>
  19. <style lang="scss" scoped>
  20. :deep() {
  21. .element {
  22. .vue__time-picker-dropdown ul li:not([disabled]).active,
  23. .vue__time-picker-dropdown ul li:not([disabled]).active:focus,
  24. .vue__time-picker-dropdown ul li:not([disabled]).active:hover,
  25. .vue__time-picker .dropdown ul li:not([disabled]).active,
  26. .vue__time-picker .dropdown ul li:not([disabled]).active:focus,
  27. .vue__time-picker .dropdown ul li:not([disabled]).active:hover {
  28. background: #f48800;
  29. color: #fff;
  30. }
  31. }
  32. }
  33. </style>