transmitterswitch.qss 5.5 KB

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