transmitterswitch.qss 5.6 KB

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