transmitterswitch.qss 5.0 KB

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