transmitterswitch.qss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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: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. QPushButton
  83. {
  84. text-align: center;
  85. }
  86. QPushButton#pBtn_editPlan, #pBtn_clearPlan, #pBtn_importPlan, #pBtn_exportPlan, #pBtn_deletePlan, #pBtn_cloneToOther, #pBtn_refresh,
  87. #pBtn_templateManager
  88. {
  89. background-color: #FFFFFF;
  90. border-radius: 2px 2px 2px 2px;
  91. border: 1px solid #DAE0F2;
  92. }
  93. QPushButton#pBtn_editPlan:hover, #pBtn_clearPlan:hover, #pBtn_importPlan:hover, #pBtn_exportPlan:hover, #pBtn_deletePlan:hover,
  94. #pBtn_cloneToOther:hover, #pBtn_refresh:hover, #pBtn_templateManager:hover
  95. {
  96. color: #4458FE;
  97. background-color: #FFFFFF;
  98. border-radius: 2px;
  99. border: 1px solid #4458FE;
  100. }
  101. /* 添加按钮 */
  102. QPushButton#pBtn_addPlan
  103. {
  104. color:white;
  105. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  106. border-radius: 2px 2px 2px 2px;
  107. }
  108. QPushButton#pBtn_addPlan:hover
  109. {
  110. color:white;
  111. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  112. border-radius: 2px 2px 2px 2px;
  113. }
  114. /*===============================================================
  115. * widget_Content
  116. ================================================================*/
  117. QWidget#widget_content
  118. {
  119. background-color: #FFFFFF;
  120. border-radius: 0px 0px 0px 0px;
  121. border: 0px solid #FFFFFF;
  122. }
  123. QWidget#widget_frequency
  124. {
  125. background-color: #F5F5FA;
  126. border-right: 1px solid #DAE0F2;
  127. }
  128. /*===============================================================
  129. * QScrollBar 滚动条
  130. ================================================================*/
  131. /*QScrollBar*/
  132. QScrollArea
  133. {
  134. background:transparent;
  135. border-radius:0px;
  136. border:none;
  137. }
  138. QScrollBar:horizontal, QScrollBar:vertical
  139. {
  140. border:none;
  141. background-color: rgba(255, 255, 255, 0);
  142. margin: 0px 0px 0px 0px;
  143. }
  144. QScrollBar:horizontal
  145. {
  146. height: 12px;
  147. }
  148. QScrollBar:vertical
  149. {
  150. width: 6px;
  151. }
  152. QScrollBar::handle:horizontal,QScrollBar::handle:vertical
  153. {
  154. background: #E2E2E2;
  155. border-radius: 3px;
  156. min-width: 8px;
  157. }
  158. QScrollBar::handle:horizontal
  159. {
  160. min-width: 8px;
  161. }
  162. QScrollBar::handle:vertical
  163. {
  164. min-height: 113px;
  165. }
  166. QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
  167. QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical
  168. {
  169. background-color: rgba(255, 255, 255, 0);
  170. border: none;
  171. }
  172. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal,
  173. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
  174. {
  175. background-color: rgba(255, 255, 255, 0);
  176. background: none;
  177. }
  178. /*===============================================================
  179. * TimeWidget 时间选择器
  180. *===============================================================*/
  181. TimeWidget
  182. {
  183. /* background: transparent; */
  184. border-radius: 4px;
  185. padding-left:12px;
  186. border: 1px solid #438EFF;
  187. }
  188. CDate
  189. {
  190. background: #FFFFFF;
  191. border-radius: 4px;
  192. padding-left:12px;
  193. border: 1px solid #E6E9F4;
  194. }