timewidget.qss 1015 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. QPushButton
  2. {
  3. border-image: url(:/Res/image/time.png);
  4. }
  5. QPushButton[selected=true]
  6. {
  7. border-image: url(:/Res/image/time.png);
  8. }
  9. QPushButton:hover[selected=true]
  10. {
  11. border-image: url(:/Res/image/time.png);
  12. }
  13. QDateTimeEdit
  14. {
  15. padding-left: 0px;
  16. border: 0px solid #D8D8D8;
  17. }
  18. /* ==========================================================
  19. * TimeWidget
  20. * ========================================================== */
  21. QDateTimeEdit
  22. {
  23. background: transparent;
  24. border: none;
  25. }
  26. /* QTimeEdit:disabled
  27. {
  28. background: transparent;
  29. border: none;
  30. } */
  31. TimeWidget
  32. {
  33. background: #FFFFFF;
  34. border-radius: 4px;
  35. border: 1px solid #E6E9F4;
  36. padding-left: 12px;
  37. font-weight: 400;
  38. font-size: 14px;
  39. color: #3A3F63;
  40. }
  41. TimeWidget:disabled
  42. {
  43. background: rgba(0, 0, 0, 0.04);
  44. border-radius: 4px;
  45. border: 1px solid #E6E9F4;
  46. padding-left: 12px;
  47. font-weight: 400;
  48. font-size: 14px;
  49. color: #3A3F63;
  50. }
  51. TimeWidget:hover
  52. {
  53. border: 1px solid #4458FE;
  54. }