dialogbase.qss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. QWidget
  2. {
  3. font-size: 14px;
  4. color: #3A3F63;
  5. line-height: 22px;
  6. text-align: left;
  7. font-style: normal;
  8. text-transform: none;
  9. }
  10. /* 整体背景 */
  11. QWidget#widget_content__
  12. {
  13. background: #FFFFFF;
  14. border-radius: 8px 8px 8px 8px;
  15. }
  16. QPushButton
  17. {
  18. color: #3A3F63;
  19. line-height: 22px;
  20. text-align: center;
  21. font-style: normal;
  22. text-transform: none;
  23. }
  24. /*===============================================================
  25. * widget_Top
  26. ================================================================*/
  27. QWidget#widget_top
  28. {
  29. border-top-left-radius: 8px;
  30. border-top-right-radius: 8px;
  31. border-bottom-left-radius: 0px;
  32. border-bottom-right-radius: 0px;
  33. border-bottom: 1px solid #E6E9F4;
  34. }
  35. QLabel#label_X1
  36. {
  37. text-align: center;
  38. color: #F53F3F;
  39. }
  40. QLabel#label_title
  41. {
  42. font-weight: 500;
  43. font-size: 18px;
  44. color: #3A3F63;
  45. line-height: 27px;
  46. text-align: left;
  47. font-style: normal;
  48. text-transform: uppercase;
  49. }
  50. /* ==========================================================
  51. * QPushButton
  52. * ========================================================== */
  53. QPushButton
  54. {
  55. font-weight: 500;
  56. font-size: 14px;
  57. text-align: center;
  58. }
  59. QPushButton#pBtn_Close
  60. {
  61. background: transparent;
  62. border-radius: 4px;
  63. qproperty-icon: url(:/icon/close.png);
  64. qproperty-iconSize: 32px 32px;
  65. }
  66. QPushButton#pBtn_Close[Hover = true]
  67. {
  68. background: transparent;
  69. border-radius: 4px;
  70. qproperty-icon: url(:/icon/close_hover.png);
  71. qproperty-iconSize: 32px 32px;
  72. border: 1px solid #4458FE;
  73. }
  74. /********* 普通椭圆按钮三种状态效果 *********/
  75. QPushButton#pBtn_Cancel
  76. {
  77. background: transparent;
  78. color: #3A3F63;
  79. border: 1px solid #E6E9F4;
  80. border-radius: 16px;
  81. }
  82. QPushButton#pBtn_Cancel:hover
  83. {
  84. background: transparent;
  85. color: #4458FE;
  86. border: 1px solid #4458FE;
  87. border-radius: 16px;
  88. }
  89. /********* 带有底色椭圆按钮三种状态效果 *********/
  90. QPushButton#pBtn_OK
  91. {
  92. color:white;
  93. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  94. border-radius: 16px;
  95. }
  96. QPushButton#pBtn_OK:hover
  97. {
  98. color:white;
  99. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  100. border-radius: 16px;
  101. }
  102. /* ------------------------------------------------------- */
  103. /********* 普通方框按钮三种状态效果 *********/
  104. /* QPushButton#pBtn_compareItem, #pBtn_restore
  105. {
  106. background: transparent;
  107. color: #3A3F63;
  108. border: 1px solid #E6E9F4;
  109. border-radius: 4px;
  110. }
  111. QPushButton#pBtn_compareItem:hover, #pBtn_restore:hover
  112. {
  113. background: transparent;
  114. color: #4458FE;
  115. border: 1px solid #4458FE;
  116. border-radius: 4px;
  117. } */
  118. /********* 带有底色方框按钮三种状态效果 *********/
  119. /* QPushButton#pBtn_addPlan
  120. {
  121. color:white;
  122. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  123. border-radius: 4px;
  124. }
  125. QPushButton#pBtn_addPlan:hover
  126. {
  127. color:white;
  128. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  129. border-radius: 4px;
  130. } */