transmitterswitch.qss 5.2 KB

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