timepopupwidget.qss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /*
  2. QWidget
  3. {
  4. border-radius: 0px;
  5. background: #FFFFFF;
  6. } */
  7. /* ==========================================================
  8. * QPushButton
  9. * ========================================================== */
  10. /* QWidget#widget_pBtn
  11. {
  12. border-top: 1px solid #E6E9F4;
  13. } */
  14. QPushButton
  15. {
  16. font-weight: 400;
  17. font-size: 14px;
  18. text-align: center;
  19. }
  20. /********* 普通椭圆按钮三种状态效果 *********/
  21. QPushButton#pBtn_Cancel
  22. {
  23. background: "#FFFFFF";
  24. color: #3A3F63;
  25. border: 1px solid #E6E9F4;
  26. border-radius: 4px;
  27. }
  28. QPushButton#pBtn_Cancel:hover
  29. {
  30. background: "#FFFFFF";
  31. color: #4458FE;
  32. border: 1px solid #4458FE;
  33. border-radius: 4px;
  34. }
  35. /********* 带有底色椭圆按钮三种状态效果 *********/
  36. QPushButton#pBtn_Ok
  37. {
  38. color:white;
  39. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  40. border-radius: 4px;
  41. }
  42. QPushButton#pBtn_Ok:hover
  43. {
  44. color:white;
  45. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  46. border-radius: 4px;
  47. }
  48. /* ==========================================================
  49. * TimePartWidget - QListWidget
  50. * ========================================================== */
  51. QListWidget
  52. {
  53. font-size: 14px;
  54. color: "#3A3F63";
  55. border: none;
  56. border-right: 1px solid rgba(0, 0, 0, 0.06);
  57. background: #ffffff;
  58. outline: 0px;
  59. }
  60. QListView::item:hover
  61. {
  62. background-color: rgb(245,245,245);
  63. color: "#3A3F63";
  64. }
  65. QListView::item:selected
  66. {
  67. background-color: rgb(227, 238, 255);
  68. color: "#3A3F63";
  69. outline: none;
  70. }
  71. QScrollBar:vertical
  72. {
  73. border:none;
  74. background-color: "#e2e2e2";
  75. width: 4px;
  76. }
  77. QScrollBar::handle:vertical
  78. {
  79. background: #e2e2e2;
  80. border-radius: 2px;
  81. }
  82. QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical
  83. {
  84. background: #ffffff;/*transparent;*/
  85. border: none;
  86. }
  87. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
  88. {
  89. background: #ffffff;/*transparent;*/
  90. border: none;
  91. }