previewplan.qss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. QWidget
  2. {
  3. font-size: 14px;
  4. color: #3A3F63;
  5. line-height: 21px;
  6. text-align: left;
  7. font-style: normal;
  8. }
  9. QWidget#widget
  10. {
  11. background: #FFFFFF;
  12. border-radius: 8px 8px 8px 8px;
  13. }
  14. QWidget#widget_Top
  15. {
  16. background: transparent;
  17. border-top-left-radius: 8px;
  18. border-top-right-radius: 8px;
  19. border-bottom-left-radius: 0px;
  20. border-bottom-right-radius: 0px;
  21. border-bottom: 1px solid #E6E9F4;
  22. }
  23. QLabel#label_title
  24. {
  25. font-weight: 500;
  26. font-size: 18px;
  27. line-height: 24px;
  28. text-align: left;
  29. font-style: normal;
  30. text-transform: none;
  31. }
  32. QPushButton
  33. {
  34. text-align: center;
  35. }
  36. QPushButton#pBtn_close
  37. {
  38. /* border-image: url(:/ICON/ICON/Dialog_close.png); */
  39. background: transparent;
  40. border-radius: 4px;
  41. qproperty-icon: url(:/ICON/ICON/Close_Light.png);
  42. qproperty-iconSize: 20px 20px;
  43. }
  44. QPushButton#pBtn_close[Hover = true]
  45. {
  46. /* border-image: url(:/ICON/ICON/Dialog_close2.png); */
  47. background: transparent;
  48. border-radius: 4px;
  49. qproperty-icon: url(:/ICON/ICON/Close_pass.png);
  50. qproperty-iconSize: 20px 20px;
  51. border: 1px solid #438EFF;
  52. }
  53. /********* 普通椭圆按钮三种状态效果 *********/
  54. QPushButton#pBtn_cancel
  55. {
  56. border-radius: 16px;
  57. text-align: center;
  58. background: #FFFFFF;
  59. border: 1px solid #E6E9F4;
  60. color: #3A3F63;
  61. }
  62. QPushButton#pBtn_cancel:hover
  63. {
  64. text-align: center;
  65. background: #FFFFFF;
  66. border-radius: 16px;
  67. border: 1px solid #4458FE;
  68. color: #4458FE;
  69. }
  70. /********* 带有底色按钮三种状态效果 *********/
  71. QPushButton#pBtn_ok
  72. {
  73. border-radius: 16px;
  74. text-align: center;
  75. color:white;
  76. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  77. }
  78. QPushButton#pBtn_ok:hover
  79. {
  80. border-radius: 16px;
  81. text-align: center;
  82. color:white;
  83. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  84. }