previewplan.qss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. QWidget
  2. {
  3. font-size: 14px;
  4. color: #D2D2D2;
  5. line-height: 21px;
  6. text-align: left;
  7. font-style: normal;
  8. }
  9. QWidget#widget
  10. {
  11. background: #464649;
  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 rgba(255,255,255,0.15);
  22. }
  23. QLabel#label_title
  24. {
  25. font-weight: 500;
  26. font-size: 18px;
  27. color: #D2D2D2;
  28. line-height: 24px;
  29. text-align: left;
  30. font-style: normal;
  31. text-transform: none;
  32. }
  33. QPushButton#pBtn_close
  34. {
  35. /* border-image: url(:/ICON/ICON/Dialog_close.png); */
  36. background: transparent;
  37. border-radius: 4px;
  38. qproperty-icon: url(:/ICON/ICON/Close_Dark.png);
  39. qproperty-iconSize: 20px 20px;
  40. text-align: center;
  41. }
  42. QPushButton#pBtn_close[Hover = true]
  43. {
  44. /* border-image: url(:/ICON/ICON/Dialog_close2.png); */
  45. background: transparent;
  46. border-radius: 4px;
  47. qproperty-icon: url(:/ICON/ICON/Close_pass.png);
  48. qproperty-iconSize: 20px 20px;
  49. text-align: center;
  50. border: 1px solid #438EFF;
  51. }
  52. /********* 普通方框按钮三种状态效果 *********/
  53. QPushButton#pBtn_cancel:enabled
  54. {
  55. text-align: center;
  56. color: #EBEBEB;
  57. border: 1px solid rgba(255,255,255,0.25);
  58. border-radius: 16px;
  59. background: transparent;
  60. }
  61. QPushButton#pBtn_cancel:hover
  62. {
  63. text-align: center;
  64. color: #EBEBEB;
  65. border: 1px solid rgba(255,255,255,0.25);
  66. border-radius: 16px;
  67. background: rgba(0,0,0,0.15);
  68. }
  69. /********* 带有底色按钮三种状态效果 *********/
  70. QPushButton#pBtn_ok
  71. {
  72. border-radius: 16px;
  73. text-align: center;
  74. color:white;
  75. background: #438EFF;
  76. border-radius: 16px;
  77. }
  78. QPushButton#pBtn_ok:hover
  79. {
  80. border-radius: 16px;
  81. text-align: center;
  82. color:white;
  83. background: #5F9EFF;
  84. border-radius: 16px;
  85. }