transmitterswitch.qss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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:enabled:checked
  52. {
  53. border-image: url(:/ICON/ICON/Switch_Open.png);
  54. }
  55. QPushButton#pBtn_defaultPlan:disabled:checked
  56. {
  57. border-image: url(:/ICON/ICON/Switch_OpenNoEdit.png);
  58. }
  59. QPushButton#pBtn_defaultPlan:enabled
  60. {
  61. border-image: url(:/ICON/ICON/Switch_Close.png);
  62. }
  63. QPushButton#pBtn_defaultPlan:disabled
  64. {
  65. border-image: url(:/ICON/ICON/Switch_Close_NoEdit.png);
  66. }
  67. QRadioButton#rBtn_moment::indicator:unchecked, #rBtn_day::indicator:unchecked
  68. {
  69. background: #FFFFFF;
  70. border-radius: 6px;
  71. border: 2px solid #E5E6EB;
  72. /* border-image: url(:/ICON/ICON/rBtn_Unchaecked.png); */
  73. }
  74. QRadioButton#rBtn_moment::indicator:unchecked:disabled, #rBtn_day::indicator:unchecked:disabled
  75. {
  76. background: #cfcfcf;
  77. border-radius: 6px;
  78. border: 2px solid #E5E6EB;
  79. /* border-image: url(:/ICON/ICON/rBtn_Unchaecked.png); */
  80. }
  81. QRadioButton#rBtn_moment::indicator:checked, #rBtn_day::indicator:checked
  82. {
  83. background: #FFFFFF;
  84. border-radius: 6px;
  85. border: 4px solid #165DFF;
  86. color: #B1B3B4;
  87. /* border-image: url(:/ICON/ICON/rBtn_Checked.png); */
  88. }
  89. QRadioButton#rBtn_moment::indicator:checked:disabled, #rBtn_day::indicator:checked:disabled
  90. {
  91. background: #FFFFFF;
  92. border-radius: 6px;
  93. border: 4px solid #507de4;
  94. color: #B1B3B4;
  95. /* border-image: url(:/ICON/ICON/rBtn_Checked.png); */
  96. }
  97. QLabel#label_Tip
  98. {
  99. border-image: url(:/ICON/ICON/Tip_Dark.png);
  100. }
  101. QLabel#label_TipText
  102. {
  103. padding:8px;
  104. color: #D2D2D2;
  105. line-height: 14px;
  106. border-radius: 4px;
  107. background: #505357;
  108. border: 1px solid rgba(255,255,255,0.15);
  109. }
  110. QPushButton#pBtn_editPlan, #pBtn_clearPlan, #pBtn_importPlan, #pBtn_exportPlan, #pBtn_deletePlan, #pBtn_cloneToOther, #pBtn_refresh,
  111. #pBtn_templateManager
  112. {
  113. background: rgba(255,255,255,0.08);
  114. border-radius: 2px 2px 2px 2px;
  115. }
  116. QPushButton#pBtn_editPlan:hover, #pBtn_clearPlan:hover, #pBtn_importPlan:hover, #pBtn_exportPlan:hover, #pBtn_deletePlan:hover,
  117. #pBtn_cloneToOther:hover, #pBtn_refresh:hover, #pBtn_templateManager:hover
  118. {
  119. background: #1a69b8;
  120. border-radius: 2px 2px 2px 2px;
  121. }
  122. /* 添加按钮 */
  123. QPushButton#pBtn_addPlan
  124. {
  125. color: #FFFFFF;
  126. background: #438EFF;
  127. border-radius: 2px 2px 2px 2px;
  128. }
  129. QPushButton#pBtn_addPlan:hover
  130. {
  131. color: #FFFFFF;
  132. background: #1a69b8;
  133. border-radius: 2px 2px 2px 2px;
  134. }
  135. /*===============================================================
  136. * widget_Content
  137. ================================================================*/
  138. QWidget#widget_content
  139. {
  140. background: #202428;
  141. border-radius: 4px 4px 4px 4px;
  142. }
  143. QWidget#widget_frequency
  144. {
  145. background: #313539;
  146. border-radius: 0px 0px 0px 0px;
  147. }
  148. /*===============================================================
  149. * WidgetItems
  150. ================================================================*/
  151. /* QWidget#widget_items_background
  152. {
  153. border-radius: 0px 0px 0px 0px;
  154. border: none;
  155. }
  156. QWidget#widget_items
  157. {
  158. border-radius: 0px 0px 0px 0px;
  159. border: 0px solid rgba(255,255,255,0.15);
  160. } */
  161. /*===============================================================
  162. * QScrollBar 滚动条
  163. ================================================================*/
  164. QScrollArea#scrollArea
  165. {
  166. background:transparent;
  167. /* background: #202428; */
  168. border-radius:0px;
  169. border:none;
  170. }
  171. QWidget#scrollAreaContents_Card
  172. {
  173. background: transparent;
  174. /* background: #202428; */
  175. border-radius: 0px 0px 0px 0px;
  176. border: 0px solid rgba(255,255,255,0.15);
  177. }
  178. QScrollBar:horizontal, QScrollBar:vertical
  179. {
  180. border:none;
  181. /* background-color: rgba(255, 255, 255, 0); */
  182. background: transparent;
  183. margin: 0px 0px 0px 0px;
  184. }
  185. QScrollBar:horizontal
  186. {
  187. height: 12px;
  188. }
  189. QScrollBar:vertical
  190. {
  191. width: 6px;
  192. }
  193. QScrollBar::handle:horizontal,QScrollBar::handle:vertical
  194. {
  195. /* background: #E2E2E2; */
  196. background: #505357;
  197. border-radius: 3px;
  198. min-width: 8px;
  199. }
  200. QScrollBar::handle:horizontal
  201. {
  202. min-width: 8px;
  203. }
  204. QScrollBar::handle:vertical
  205. {
  206. min-height: 113px;
  207. }
  208. QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
  209. QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical
  210. {
  211. background-color: rgba(255, 255, 255, 0);
  212. border: none;
  213. }
  214. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal,
  215. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
  216. {
  217. background-color: rgba(255, 255, 255, 0);
  218. background: none;
  219. }
  220. /*===============================================================
  221. * TimeWidget 时间选择器
  222. *===============================================================*/
  223. TimeWidget
  224. {
  225. /* background: transparent; */
  226. border-radius: 4px;
  227. padding-left:12px;
  228. border: 1px solid #438EFF;
  229. }
  230. CDate
  231. {
  232. background: transparent;
  233. border-radius: 4px;
  234. padding-left:12px;
  235. border: 1px solid #E6E9F4;
  236. }