transmitterswitch.qss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. *{
  2. outline: none;
  3. }
  4. QWidget
  5. {
  6. /* font-family: 思源黑体R; */
  7. /* font-weight: 400; */
  8. font-size: 14px;
  9. color: #B1B3B4;
  10. line-height: 22px;
  11. text-align: left;
  12. font-style: normal;
  13. text-transform: none;
  14. }
  15. /* 整体背景 */
  16. QWidget#widget
  17. {
  18. background: #070709;
  19. }
  20. QPushButton
  21. {
  22. /* font-family: 思源黑体M; */
  23. /* font-weight: 400; */
  24. font-size: 14px;
  25. color: #D2D2D2;
  26. line-height: 22px;
  27. text-align: center;
  28. font-style: normal;
  29. text-transform: none;
  30. }
  31. /*===============================================================
  32. * widget_Top
  33. ================================================================*/
  34. QWidget#widget_top
  35. {
  36. background-color:#202428;
  37. border-radius: 4px 4px 4px 4px;
  38. }
  39. QLabel#label_X1
  40. {
  41. text-align: center;
  42. color: #F53F3F;
  43. }
  44. QPushButton#pBtn_defaultPlan
  45. {
  46. /* background: #202428; */
  47. border-radius: 20px 20px 20px 20px;
  48. }
  49. QPushButton#pBtn_defaultPlan:checked
  50. {
  51. border-image: url(:/ICON/ICON/Switch_Open.png);
  52. }
  53. QPushButton#pBtn_defaultPlan
  54. {
  55. border-image: url(:/ICON/ICON/Switch_Close.png);
  56. }
  57. QRadioButton#rBtn_moment::indicator:unchecked, QRadioButton#rBtn_day::indicator:unchecked
  58. {
  59. background: #FFFFFF;
  60. border-radius: 6px;
  61. border: 2px solid #E5E6EB;
  62. /* border-image: url(:/ICON/ICON/rBtn_Unchaecked.png); */
  63. }
  64. QRadioButton#rBtn_moment::indicator:checked, QRadioButton#rBtn_day::indicator:checked
  65. {
  66. background: #FFFFFF;
  67. border-radius: 6px;
  68. border: 4px solid #165DFF;
  69. color: #B1B3B4;
  70. /* border-image: url(:/ICON/ICON/rBtn_Checked.png); */
  71. }
  72. QLabel#label_Tip
  73. {
  74. border-image: url(:/ICON/ICON/Tip_Dark.png);
  75. }
  76. QLabel#label_TipText
  77. {
  78. padding:8px;
  79. color: #D2D2D2;
  80. line-height: 14px;
  81. border-radius: 4px;
  82. background: #505357;
  83. border: 1px solid rgba(255,255,255,0.15);
  84. }
  85. QPushButton#pBtn_editPlan, #pBtn_clearPlan, #pBtn_importPlan, #pBtn_exportPlan, #pBtn_deletePlan, #pBtn_cloneToOther, #pBtn_refresh,
  86. #pBtn_templateManager
  87. {
  88. background: rgba(255,255,255,0.08);
  89. border-radius: 2px 2px 2px 2px;
  90. }
  91. QPushButton#pBtn_editPlan:hover, #pBtn_clearPlan:hover, #pBtn_importPlan:hover, #pBtn_exportPlan:hover, #pBtn_deletePlan:hover,
  92. #pBtn_cloneToOther:hover, #pBtn_refresh:hover, #pBtn_templateManager:hover
  93. {
  94. background: #1a69b8;
  95. border-radius: 2px 2px 2px 2px;
  96. }
  97. /* 添加按钮 */
  98. QPushButton#pBtn_addPlan
  99. {
  100. color: #FFFFFF;
  101. background: #438EFF;
  102. border-radius: 2px 2px 2px 2px;
  103. }
  104. QPushButton#pBtn_addPlan:hover
  105. {
  106. color: #FFFFFF;
  107. background: #1a69b8;
  108. border-radius: 2px 2px 2px 2px;
  109. }
  110. /*===============================================================
  111. * widget_Content
  112. ================================================================*/
  113. QWidget#widget_content
  114. {
  115. background: #202428;
  116. border-radius: 4px 4px 4px 4px;
  117. }
  118. QWidget#widget_frequency
  119. {
  120. background: #313539;
  121. border-radius: 0px 0px 0px 0px;
  122. }
  123. /*===============================================================
  124. * WidgetItems
  125. ================================================================*/
  126. /* QWidget#widget_items_background
  127. {
  128. border-radius: 0px 0px 0px 0px;
  129. border: none;
  130. }
  131. QWidget#scrollAreaWidgetContents
  132. {
  133. border-radius: 0px 0px 0px 0px;
  134. border: 0px solid rgba(255,255,255,0.15);
  135. }
  136. QWidget#widget_items
  137. {
  138. border-radius: 0px 0px 0px 0px;
  139. border: 0px solid rgba(255,255,255,0.15);
  140. } */
  141. /*===============================================================
  142. * QScrollBar 滚动条
  143. ================================================================*/
  144. QScrollArea
  145. {
  146. background:transparent;
  147. border-radius:0px;
  148. border:none;
  149. }
  150. QScrollBar:horizontal, QScrollBar:vertical
  151. {
  152. border:none;
  153. background-color: rgba(255, 255, 255, 0);
  154. margin: 0px 0px 0px 0px;
  155. }
  156. QScrollBar:horizontal
  157. {
  158. height: 12px;
  159. }
  160. QScrollBar:vertical
  161. {
  162. width: 6px;
  163. }
  164. QScrollBar::handle:horizontal,QScrollBar::handle:vertical
  165. {
  166. background: #E2E2E2;
  167. border-radius: 3px;
  168. min-width: 8px;
  169. }
  170. QScrollBar::handle:horizontal
  171. {
  172. min-width: 8px;
  173. }
  174. QScrollBar::handle:vertical
  175. {
  176. min-height: 113px;
  177. }
  178. QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
  179. QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical
  180. {
  181. background-color: rgba(255, 255, 255, 0);
  182. border: none;
  183. }
  184. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal,
  185. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
  186. {
  187. background-color: rgba(255, 255, 255, 0);
  188. background: none;
  189. }
  190. /*===============================================================
  191. * TimeWidget 时间选择器
  192. *===============================================================*/
  193. TimeWidget
  194. {
  195. /* background: transparent; */
  196. border-radius: 4px;
  197. padding-left:12px;
  198. border: 1px solid #438EFF;
  199. }
  200. CDate
  201. {
  202. background: transparent;
  203. border-radius: 4px;
  204. padding-left:12px;
  205. border: 1px solid #E6E9F4;
  206. }