copytoother.qss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. QWidget
  2. {
  3. background: transparent;
  4. font-size: 14px;
  5. color: #D2D2D2;
  6. line-height: 21px;
  7. text-align: left;
  8. font-style: normal;
  9. }
  10. QWidget#widget
  11. {
  12. background: #464649;
  13. border-radius: 8px 8px 8px 8px;
  14. }
  15. QWidget#widget_Top
  16. {
  17. background: transparent;
  18. border-top-left-radius: 8px;
  19. border-top-right-radius: 8px;
  20. border-bottom-left-radius: 0px;
  21. border-bottom-right-radius: 0px;
  22. border-bottom: 1px solid rgba(255,255,255,0.15);
  23. }
  24. QLabel#label_title
  25. {
  26. font-weight: 500;
  27. font-size: 18px;
  28. color: #D2D2D2;
  29. line-height: 24px;
  30. text-align: left;
  31. font-style: normal;
  32. text-transform: none;
  33. }
  34. QPushButton#pBtn_close
  35. {
  36. /* border-image: url(:/ICON/ICON/Dialog_close.png); */
  37. background: transparent;
  38. border-radius: 4px;
  39. qproperty-icon: url(:/ICON/ICON/Close_Dark.png);
  40. qproperty-iconSize: 20px 20px;
  41. text-align: center;
  42. }
  43. QPushButton#pBtn_close[Hover = true]
  44. {
  45. /* border-image: url(:/ICON/ICON/Dialog_close2.png); */
  46. background: transparent;
  47. border-radius: 4px;
  48. qproperty-icon: url(:/ICON/ICON/Close_pass.png);
  49. qproperty-iconSize: 20px 20px;
  50. text-align: center;
  51. border: 1px solid #438EFF;
  52. }
  53. /********* 普通方框按钮三种状态效果 *********/
  54. QPushButton#pBtn_cancel:enabled
  55. {
  56. text-align: center;
  57. color: #EBEBEB;
  58. border: 1px solid rgba(255,255,255,0.25);
  59. border-radius: 16px;
  60. background: transparent;
  61. }
  62. QPushButton#pBtn_cancel:hover
  63. {
  64. text-align: center;
  65. color: #EBEBEB;
  66. border: 1px solid rgba(255,255,255,0.25);
  67. border-radius: 16px;
  68. background: rgba(0,0,0,0.15);
  69. }
  70. /********* 带有底色按钮三种状态效果 *********/
  71. QPushButton#pBtn_ok
  72. {
  73. border-radius: 16px;
  74. text-align: center;
  75. color:white;
  76. background: #438EFF;
  77. border-radius: 16px;
  78. }
  79. QPushButton#pBtn_ok:hover
  80. {
  81. border-radius: 16px;
  82. text-align: center;
  83. color:white;
  84. background: #5F9EFF;
  85. border-radius: 16px;
  86. }
  87. /* ==========================================================
  88. * QCheckBox
  89. * ========================================================== */
  90. /* 左下角和右下角是直角 */
  91. QCheckBox#checkBox_list
  92. {
  93. font-weight: 500;
  94. font-size: 16px;
  95. color: #D2D2D2;
  96. text-align: left;
  97. font-style: normal;
  98. text-transform: none;
  99. padding-left: 16px;
  100. border-top-left-radius: 4px;
  101. border-top-right-radius: 4px;
  102. border-bottom-left-radius: 0px;
  103. border-bottom-right-radius: 0px;
  104. border: 1px solid rgba(255,255,255,0.15);
  105. }
  106. QCheckBox
  107. {
  108. font-weight: 400;
  109. font-size: 14px;
  110. color: #B1B3B4;
  111. text-align: left;
  112. font-style: normal;
  113. text-transform: none;
  114. padding-left: 16px;
  115. }
  116. /*===============================================================
  117. * QScrollBar 滚动条
  118. ================================================================*/
  119. QScrollArea
  120. {
  121. background:transparent;
  122. border-top-left-radius: 0px;
  123. border-top-right-radius: 0px;
  124. border-bottom-left-radius: 4px;
  125. border-bottom-right-radius: 4px;
  126. border-left: 1px solid rgba(255,255,255,0.15);
  127. border-right: 1px solid rgba(255,255,255,0.15);
  128. border-bottom: 1px solid rgba(255,255,255,0.15);
  129. }
  130. QScrollBar:horizontal, QScrollBar:vertical
  131. {
  132. border:none;
  133. background-color: rgba(255, 255, 255, 0);
  134. margin: 0px 0px 0px 0px;
  135. }
  136. QScrollBar:horizontal
  137. {
  138. height: 12px;
  139. }
  140. QScrollBar:vertical
  141. {
  142. width: 6px;
  143. }
  144. QScrollBar::handle:horizontal,QScrollBar::handle:vertical
  145. {
  146. background: #E2E2E2;
  147. border-radius: 3px;
  148. min-width: 8px;
  149. }
  150. QScrollBar::handle:horizontal
  151. {
  152. min-width: 8px;
  153. }
  154. QScrollBar::handle:vertical
  155. {
  156. min-height: 113px;
  157. }
  158. QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
  159. QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical
  160. {
  161. background-color: rgba(255, 255, 255, 0);
  162. border: none;
  163. }
  164. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal,
  165. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
  166. {
  167. background-color: rgba(255, 255, 255, 0);
  168. background: none;
  169. }