transmitterswitch.qss 5.2 KB

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