transmitterswitch.qss 5.0 KB

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