transmitterswitch.qss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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: transparent;
  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. {
  87. background: rgba(255,255,255,0.08);
  88. border-radius: 2px 2px 2px 2px;
  89. }
  90. QPushButton#pBtn_editPlan:hover, #pBtn_clearPlan:hover, #pBtn_importPlan:hover, #pBtn_exportPlan:hover, #pBtn_deletePlan:hover,
  91. #pBtn_cloneToOther:hover, #pBtn_refresh:hover
  92. {
  93. background: #1a69b8;
  94. border-radius: 2px 2px 2px 2px;
  95. }
  96. /* 添加按钮 */
  97. QPushButton#pBtn_addPlan
  98. {
  99. color: #FFFFFF;
  100. background: #438EFF;
  101. border-radius: 2px 2px 2px 2px;
  102. }
  103. QPushButton#pBtn_addPlan:hover
  104. {
  105. color: #FFFFFF;
  106. background: #1a69b8;
  107. border-radius: 2px 2px 2px 2px;
  108. }
  109. /*===============================================================
  110. * widget_Content
  111. ================================================================*/
  112. QWidget#widget_content
  113. {
  114. background: #202428;
  115. border-radius: 4px 4px 4px 4px;
  116. }
  117. QWidget#widget_frequency
  118. {
  119. background: #313539;
  120. border-radius: 0px 0px 0px 0px;
  121. }
  122. /*===============================================================
  123. * WidgetItems
  124. ================================================================*/
  125. /* QWidget#widget_items_background
  126. {
  127. border-radius: 0px 0px 0px 0px;
  128. border: none;
  129. }
  130. QWidget#scrollAreaWidgetContents
  131. {
  132. border-radius: 0px 0px 0px 0px;
  133. border: 0px solid rgba(255,255,255,0.15);
  134. }
  135. QWidget#widget_items
  136. {
  137. border-radius: 0px 0px 0px 0px;
  138. border: 0px solid rgba(255,255,255,0.15);
  139. } */
  140. /*QScrollBar*/
  141. QScrollArea
  142. {
  143. background:transparent;
  144. border-radius:0px;
  145. border:none;
  146. }
  147. QScrollBar:horizontal, QScrollBar:vertical
  148. {
  149. border:none;
  150. background-color: rgba(255, 255, 255, 0);
  151. margin: 0px 0px 0px 0px;
  152. }
  153. QScrollBar:horizontal
  154. {
  155. height: 12px;
  156. }
  157. QScrollBar:vertical
  158. {
  159. width: 6px;
  160. }
  161. QScrollBar::handle:horizontal,QScrollBar::handle:vertical
  162. {
  163. background: #E2E2E2;
  164. border-radius: 3px;
  165. min-width: 8px;
  166. }
  167. QScrollBar::handle:horizontal
  168. {
  169. min-width: 8px;
  170. }
  171. QScrollBar::handle:vertical
  172. {
  173. min-height: 113px;
  174. }
  175. QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
  176. QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical
  177. {
  178. background-color: rgba(255, 255, 255, 0);
  179. border: none;
  180. }
  181. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal,
  182. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
  183. {
  184. background-color: rgba(255, 255, 255, 0);
  185. background: none;
  186. }
  187. /*===============================================================
  188. * TimeWidget 时间选择器
  189. *===============================================================*/
  190. TimeWidget
  191. {
  192. /* background: transparent; */
  193. border-radius: 4px;
  194. padding-left:12px;
  195. border: 1px solid #438EFF;
  196. }
  197. CDate
  198. {
  199. background: transparent;
  200. border-radius: 4px;
  201. padding-left:12px;
  202. border: 1px solid #E6E9F4;
  203. }