aicomparewidget.qss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. QWidget#widget
  2. {
  3. background: transparent;
  4. border-bottom: 1px solid #E9E9E9;
  5. }
  6. QLabel
  7. {
  8. font-weight: 400;
  9. font-size: 14px;
  10. color: #3A3F63;
  11. }
  12. QLabel#label_tip
  13. {
  14. font-weight: 400;
  15. font-size: 14px;
  16. color: rgba(58,63,99,0.8);
  17. line-height: 21px;
  18. text-align: left;
  19. font-style: normal;
  20. }
  21. /* ==========================================================
  22. * QLineEdit
  23. * ========================================================== */
  24. QLineEdit
  25. {
  26. background: #FFFFFF;
  27. border-radius: 4px;
  28. border: 1px solid #E6E9F4;
  29. padding-left: 12px;
  30. font-weight: 400;
  31. font-size: 14px;
  32. color: #3A3F63;
  33. }
  34. QLineEdit:hover,QLineEdit:focus
  35. {
  36. border: 1px solid #4458FE;
  37. }
  38. QLineEdit:enabled[Warn=true]
  39. {
  40. border: 1px solid #D21F21;
  41. }
  42. QLineEdit:!enabled
  43. {
  44. background: #F5F5F5;
  45. color:rgba(58,63,99,0.65);
  46. }
  47. /* ==========================================================
  48. * QPushButton
  49. * ========================================================== */
  50. QPushButton
  51. {
  52. font-weight: 500;
  53. font-size: 14px;
  54. text-align: center;
  55. }
  56. /* QPushButton#pBtn_close
  57. {
  58. background: transparent;
  59. border-radius: 4px;
  60. qproperty-icon: url(:/ICON/ICON/Close_Light.png);
  61. qproperty-iconSize: 20px 20px;
  62. }
  63. QPushButton#pBtn_close[Hover = true]
  64. {
  65. background: transparent;
  66. border-radius: 4px;
  67. qproperty-icon: url(:/ICON/ICON/Close_pass.png);
  68. qproperty-iconSize: 20px 20px;
  69. border: 1px solid #4458FE;
  70. } */
  71. /********* 普通椭圆按钮三种状态效果 *********/
  72. /* QPushButton#pBtn_cancel, #pBtn_saveTotemplate
  73. {
  74. background: transparent;
  75. color: #3A3F63;
  76. border: 1px solid #E6E9F4;
  77. border-radius: 16px;
  78. }
  79. QPushButton#pBtn_cancel:hover, #pBtn_saveTotemplate:hover
  80. {
  81. background: transparent;
  82. color: #4458FE;
  83. border: 1px solid #4458FE;
  84. border-radius: 16px;
  85. } */
  86. /********* 带有底色椭圆按钮三种状态效果 *********/
  87. /* QPushButton#pBtn_ok
  88. {
  89. color:white;
  90. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  91. border-radius: 16px;
  92. }
  93. QPushButton#pBtn_ok:hover
  94. {
  95. color:white;
  96. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  97. border-radius: 16px;
  98. } */
  99. /********* 普通方框按钮三种状态效果 *********/
  100. QPushButton#pBtn_restore
  101. {
  102. background: transparent;
  103. color: #3A3F63;
  104. border: 1px solid #E6E9F4;
  105. border-radius: 4px;
  106. }
  107. QPushButton#pBtn_restore:hover
  108. {
  109. background: transparent;
  110. color: #4458FE;
  111. border: 1px solid #4458FE;
  112. border-radius: 4px;
  113. }
  114. /********* 带有底色方框按钮三种状态效果 *********/
  115. /* QPushButton#pBtn_addPlan
  116. {
  117. color:white;
  118. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  119. border-radius: 4px;
  120. }
  121. QPushButton#pBtn_addPlan:hover
  122. {
  123. color:white;
  124. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  125. border-radius: 4px;
  126. } */
  127. /* ==========================================================
  128. * QCheckBox
  129. * ========================================================== */
  130. QCheckBox
  131. {
  132. font-weight: 400;
  133. font-size: 14px;
  134. color: #3A3F63;
  135. }
  136. QCheckBox::indicator
  137. {
  138. width: 16px;
  139. height: 16px;
  140. }
  141. QCheckBox::indicator:unchecked
  142. {
  143. image: url(:/icon/unchecked.png);
  144. }
  145. QCheckBox::indicator:checked
  146. {
  147. image: url(:/icon/checked.png);
  148. }