style_common.qss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. *{
  2. color:#9d9d9d;
  3. font-size: 12px;
  4. font-family: "Arial";
  5. }
  6. /* 按钮 */
  7. QPushButton, QToolButton {
  8. border:0px solid #808080;
  9. background: #4c4d4e;
  10. border-radius: 1px;
  11. min-width: 50px;
  12. min-height: 25px;
  13. color: #e2e2e2;
  14. }
  15. QPushButton:hover, QToolButton:hover {
  16. background: #545557;
  17. color: #ffffff;
  18. }
  19. QPushButton:pressed, QToolButton:pressed {
  20. background: #48494a;
  21. color: #ffffff;
  22. }
  23. QPushButton:checked, QToolButton:checked {
  24. background: #354040;
  25. color: #e2e2e2;
  26. }
  27. QPushButton:disabled, QToolButton:disabled {
  28. background: #48494a;
  29. color: #7a7d7f;
  30. }
  31. QPushButton:default, QToolButton:default {
  32. background: #4c4d4e;
  33. color: #e2e2e2;
  34. }
  35. QPushButton:default:hover, QToolButton:default:hover {
  36. background: #545557;
  37. color: #ffffff;
  38. }
  39. QPushButton:default:pressed, QToolButton:default:pressed {
  40. background: #48494a;
  41. color: #ffffff;
  42. }
  43. QPushButton:default:disabled, QToolButton:default:disabled {
  44. background: #48494a;
  45. color: #7a7d7f;
  46. }
  47. /* 下拉框 */
  48. QComboBox {
  49. border: 1 solid #373839;
  50. selection-background-color: #797c81;
  51. selection-color: black;
  52. max-height: 24px;
  53. min-height: 24px;
  54. background: #373839;
  55. padding: 0px 5px 0px 5px;
  56. border-radius: 1px;
  57. color: #e5e5e5;
  58. padding-left: 11px;
  59. }
  60. QComboBox:focus {
  61. border: 1 solid #ff2d2d;
  62. color: #e5e5e5;
  63. }
  64. QComboBox:disabled {
  65. background: #373839;
  66. color: #9d9d9d;
  67. }
  68. QComboBox QAbstractItemView::item {
  69. height:38;
  70. }
  71. QComboBox:on, QComboBox:hover,
  72. QComboBox QAbstractItemView::item:selected {
  73. color: #e5e5e5;
  74. background-color: #373839;
  75. }
  76. QComboBox QAbstractItemView::item:hover{
  77. background-color: #373839;
  78. color: #ffffff;
  79. }
  80. QComboBox QAbstractItemView {
  81. outline: 0px;
  82. border-top: 1px solid black;
  83. border-bottom: 1px solid black;
  84. selection-background-color: #797c81;
  85. selection-color: #ffffff;
  86. background-color: #2a2b2c;
  87. padding-left:0px;
  88. }
  89. QComboBox::drop-down {
  90. subcontrol-origin: padding;
  91. subcontrol-position: top right;
  92. margin-top: 5px;
  93. margin-right: 5px;
  94. border: 0;
  95. background-color:transparent;
  96. padding-right: -4px;
  97. }
  98. QComboBox::down-arrow {
  99. image: url(Skins/Default/MVSDKGuiQt/Icon_ComboBox_ArrowDown_Normal.png)
  100. }
  101. QComboBox::down-arrow:hover {
  102. image: url(Skins/Default/MVSDKGuiQt/Icon_ComboBox_ArrowDown_Hover.png)
  103. }
  104. QComboBox::down-arrow:pressed {
  105. image: url(Skins/Default/MVSDKGuiQt/Icon_ComboBox_ArrowDown_Pressed.png)
  106. }
  107. QComboBox::down-arrow:disabled {
  108. image: url(Skins/Default/MVSDKGuiQt/Icon_ComboBox_ArrowDown_Disable.png)
  109. }
  110. /* SpinBox */
  111. QDoubleSpinBox, QSpinBox {
  112. min-height: 24px;
  113. padding-right: 0px;
  114. border: 1 solid #242424;
  115. background: #373839;
  116. color: #e5e5e5;
  117. }
  118. QDoubleSpinBox:focus, QSpinBox:focus{
  119. border: 1 solid #ff2d2d;
  120. }
  121. QDoubleSpinBox:disabled, QSpinBox:disabled{
  122. background: #373839;
  123. color: #9d9d9d;
  124. }
  125. QDoubleSpinBox::up-button, QSpinBox::up-button {
  126. subcontrol-origin: border;
  127. subcontrol-position: top right;
  128. width: 18px;
  129. border-image: url(Skins/Default/MVSDKGuiQt/SpinBox_Common_Up_Normal.png);
  130. margin: 1;
  131. margin-bottom: 2px;
  132. padding:0px;
  133. }
  134. QDoubleSpinBox::up-button:hover, QSpinBox::up-button:hover {
  135. border-image: url(Skins/Default/MVSDKGuiQt/SpinBox_Common_Up_Hover.png);
  136. }
  137. QDoubleSpinBox::up-button:pressed, QSpinBox::up-button:pressed {
  138. border-image: url(Skins/Default/MVSDKGuiQt/SpinBox_Common_Up_Pressed.png);
  139. }
  140. QDoubleSpinBox::up-button:disabled, QSpinBox::up-button:disabled {
  141. border-image: url(Skins/Default/MVSDKGuiQt/SpinBox_Common_Up_Disable.png);
  142. }
  143. QDoubleSpinBox::down-button, QSpinBox::down-button {
  144. subcontrol-origin: border;
  145. subcontrol-position: bottom right;
  146. width: 18px;
  147. border-image: url(Skins/Default/MVSDKGuiQt/SpinBox_Common_Down_Normal.png);
  148. margin: 1;
  149. margin-top: 2px;
  150. padding:0px;
  151. }
  152. QDoubleSpinBox::down-button:hover, QSpinBox::down-button:hover {
  153. border-image: url(Skins/Default/MVSDKGuiQt/SpinBox_Common_Down_Hover.png);
  154. }
  155. QDoubleSpinBox::down-button:pressed, QSpinBox::down-button:pressed {
  156. border-image: url(Skins/Default/MVSDKGuiQt/SpinBox_Common_Down_Pressed.png);
  157. }
  158. QDoubleSpinBox::down-button:disabled, QSpinBox::down-button:disabled {
  159. border-image: url(Skins/Default/MVSDKGuiQt/SpinBox_Common_Down_Disable.png);
  160. }
  161. /* 复选框 */
  162. QCheckBox{
  163. spacing: 8px;
  164. color: #e2e2e2;
  165. }
  166. QCheckBox:hover {
  167. color: rgb(255,255,255);
  168. }
  169. QCheckBox::indicator:unchecked {
  170. image: url(Skins/Default/MVSDKGuiQt/CheckBox_Common_Unchecked_Normal.png);
  171. }
  172. QCheckBox::indicator:unchecked:hover {
  173. image: url(Skins/Default/MVSDKGuiQt/CheckBox_Common_Unchecked_Hover.png);
  174. }
  175. QCheckBox::indicator:unchecked:disabled{
  176. image: url(Skins/Default/MVSDKGuiQt/CheckBox_Common_Unchecked_Disable.png);
  177. }
  178. QCheckBox::indicator:unchecked:pressed {
  179. image: url(Skins/Default/MVSDKGuiQt/CheckBox_Common_Unchecked_Hover.png);
  180. }
  181. QCheckBox::indicator:checked{
  182. image: url(Skins/Default/MVSDKGuiQt/CheckBox_Common_Checked_Pressed.png);
  183. }
  184. QCheckBox::indicator:checked:hover {
  185. image: url(Skins/Default/MVSDKGuiQt/CheckBox_Common_Checked_Pressed.png);
  186. }
  187. QCheckBox::indicator:checked:disabled {
  188. image: url(Skins/Default/MVSDKGuiQt/CheckBox_Common_Checked_Pressed.png);
  189. }
  190. QCheckBox::indicator:checked:pressed {
  191. image: url(Skins/Default/MVSDKGuiQt/CheckBox_Common_Checked_Pressed.png);
  192. }
  193. /* 单选框 */
  194. QRadioButton::indicator::unchecked {
  195. image: url(Skins/Default/MVSDKGuiQt/RadioBtn_Common_Unchecked_Normal.png);
  196. }
  197. QRadioButton::indicator::unchecked:hover {
  198. image: url(Skins/Default/MVSDKGuiQt/RadioBtn_Common_Unchecked_Hover.png);
  199. }
  200. QRadioButton::indicator::unchecked:pressed {
  201. image: url(Skins/Default/MVSDKGuiQt/RadioBtn_Common_Unchecked_Hover.png);
  202. }
  203. QRadioButton::indicator::unchecked:disabled {
  204. image: url(Skins/Default/MVSDKGuiQt/RadioBtn_Common_Unchecked_Disable.png);
  205. }
  206. QRadioButton::indicator::checked {
  207. image: url(Skins/Default/MVSDKGuiQt/RadioBtn_Common_Checked_Normal.png);
  208. }
  209. QRadioButton::indicator::checked:hover {
  210. image: url(Skins/Default/MVSDKGuiQt/RadioBtn_Common_Checked_Hover.png);
  211. }
  212. QRadioButton::indicator::checked:pressed {
  213. image: url(Skins/Default/MVSDKGuiQt/RadioBtn_Common_Checked_Pressed.png);
  214. }
  215. QRadioButton::indicator::checked:disabled {
  216. image: url(Skins/Default/MVSDKGuiQt/RadioBtn_Common_Checked_Disable.png);
  217. }
  218. QRadioButton {
  219. color:#9d9d9d;
  220. }
  221. QRadioButton:hover {
  222. color:#ffffff;
  223. }
  224. QRadioButton:disabled {
  225. color:#7a7d7f;
  226. }
  227. /* 单行文本框 */
  228. QLineEdit {
  229. min-height: 26px;
  230. background-color: #373839;
  231. selection-background-color: #797c81;
  232. selection-color: #FFFFFF;
  233. border-radius: 1px;
  234. color: #e5e5e5;
  235. padding-left: 11px;
  236. }
  237. QLineEdit:focus {
  238. background-color: #373839;
  239. border-radius: 1px;
  240. border: 1px solid #ff2d2d;
  241. color: #e5e5e5;
  242. }
  243. QLineEdit:disabled {
  244. background-color: #373839;
  245. border-radius: 1px;
  246. border: 1px solid #242424;
  247. color: #9d9d9d;
  248. }
  249. /* 菜单 */
  250. QMenu{
  251. background-color: #2D2E30;
  252. margin: 0px;
  253. border: 1px solid #171717;
  254. border-radius: 2px;
  255. }
  256. QMenu::item {
  257. background-color: #2D2E30;
  258. color: #9D9D9D;
  259. min-height: 32px;
  260. padding: 2px 30px 2px 25px;
  261. border: 0px solid transparent; /* reserve space for selection border */
  262. }
  263. QMenu::item:selected {
  264. background: #373839;
  265. color: #FFFFFF;
  266. }
  267. QMenu::item:hover {
  268. background: #373839;
  269. color: #FFFFFF;
  270. }
  271. QMenu::item:disabled {
  272. color: #737373;
  273. }
  274. QMenu::separator {
  275. height: 1px;
  276. background: #1C1C1C;
  277. }
  278. QMenu::indicator {
  279. left: 5px;
  280. }
  281. QMenu::right-arrow {
  282. image: url(Skins/Default/MVSDKGuiQt/Icon_MenuItem_ArrowRight_Normal.png);
  283. margin-right: 9px;
  284. }
  285. /* 滑动条 */
  286. QSlider::groove:horizontal
  287. {
  288. border: 0px solid #4A708B;
  289. background: rgb(40, 41, 43);
  290. height: 6px;
  291. border-radius: 3px;
  292. padding-left:0px;
  293. padding-right:0px;
  294. }
  295. QSlider::sub-page:horizontal
  296. {
  297. background: rgb(104, 104, 106);
  298. border: 0px solid #4A708B;
  299. height: 6px;
  300. border-radius: 3px;
  301. }
  302. QSlider::add-page:horizontal
  303. {
  304. background: rgb(60, 61, 62);
  305. border: 0px solid rgb(226, 226, 226);
  306. height: 6px;
  307. border-radius: 3px;
  308. }
  309. QSlider::handle:horizontal
  310. {
  311. background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
  312. stop:0.0 rgba(135, 135, 135, 255), stop:0.7 rgba(135, 135, 135, 255), stop:0.9 rgba(34, 35, 36, 40));
  313. width: 16px;
  314. margin-top: -5px;
  315. margin-bottom: -5px;
  316. border-radius: 8px;
  317. }
  318. QSlider::handle:horizontal:hover
  319. {
  320. background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
  321. stop:0.0 rgba(255, 45, 45, 255), stop:0.7 rgba(255, 45, 45, 255), stop:0.9 rgba(34, 35, 36, 40));
  322. width: 16px;
  323. margin-top: -5px;
  324. margin-bottom: -5px;
  325. border-radius: 8px;
  326. }
  327. QSlider::handle:horizontal:pressed
  328. {
  329. background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
  330. stop:0.0 rgba(255, 45, 45, 255), stop:0.7 rgba(255, 45, 45, 255), stop:0.9 rgba(34, 35, 36, 40));
  331. width: 16px;
  332. margin-top: -5px;
  333. margin-bottom: -5px;
  334. border-radius: 8px;
  335. }
  336. QSlider::sub-page:horizontal:disabled
  337. {
  338. background: rgb(60,61,62);
  339. border-color: rgb(60,61,62);
  340. border: 0px solid rgb(226, 226, 226);
  341. border-radius: 3px;
  342. }
  343. QSlider::add-page:horizontal:disabled
  344. {
  345. background: rgb(60,61,62);
  346. border-color: rgb(60,61,62);
  347. border: 0px solid rgb(60,61,62);
  348. border-radius: 3px;
  349. }
  350. QSlider::handle:horizontal:disabled
  351. {
  352. background: rgb(82, 82, 83);
  353. width: 12px;
  354. margin-top: -3px;
  355. margin-bottom: -3px;
  356. border-radius: 6px;
  357. }
  358. /* 水平滚动条 */
  359. QScrollBar:horizontal {
  360. border: 0px solid white;
  361. background: transparent;
  362. height: 6px;
  363. margin: 0 0 0 0;
  364. }
  365. QScrollBar::handle:horizontal {
  366. background: #555555;
  367. min-width: 6px;
  368. border-radius: 3px;
  369. }
  370. QScrollBar::add-line:horizontal {
  371. border: 0px solid white;
  372. background: transparent;
  373. width: 0px;
  374. subcontrol-position: right;
  375. subcontrol-origin: margin;
  376. }
  377. QScrollBar::sub-line:horizontal {
  378. border: 0px solid white;
  379. background: transparent;
  380. width: 0px;
  381. subcontrol-position: left;
  382. subcontrol-origin: margin;
  383. }
  384. QScrollBar::sub-page:horizontal {
  385. background: transparent;
  386. }
  387. QScrollBar::add-page:horizontal {
  388. background: transparent;
  389. }
  390. /* 垂直滚动条 */
  391. QScrollBar:vertical {
  392. border: 0px solid white;
  393. background: transparent;
  394. width: 6px;
  395. margin: 0 0 0 0;
  396. }
  397. QScrollBar::handle:vertical {
  398. background: #555555;
  399. min-height: 6px;
  400. border-radius: 3px;
  401. }
  402. QScrollBar::add-line:vertical {
  403. border: 0px solid white;
  404. background: transparent;
  405. height: 0px;
  406. subcontrol-position: bottom;
  407. subcontrol-origin: margin;
  408. }
  409. QScrollBar::sub-line:vertical {
  410. border: 0px solid white;
  411. background: transparent;
  412. height: 0px;
  413. subcontrol-position: top;
  414. subcontrol-origin: margin;
  415. }
  416. QScrollBar::sub-page:vertical {
  417. background: transparent;
  418. }
  419. QScrollBar::add-page:vertical {
  420. background: transparent;
  421. }
  422. /* 树 */
  423. QTreeView {
  424. outline: 0;
  425. }
  426. QTreeView::item:hover {
  427. background-color: rgba(66,66,67,44%);
  428. }
  429. QTreeView::item:selected {
  430. background-color: rgba(66,66,67,76%);
  431. }
  432. QTreeView::branch:has-siblings:!adjoins-item {
  433. }
  434. QTreeView::branch {
  435. image: none;
  436. }
  437. QTreeView::branch:has-children:!has-siblings:closed,
  438. QTreeView::branch:closed:has-children:has-siblings {
  439. border-image: none;
  440. image: url(Skins/Default/MVSDKGuiQt/Btn_Common_TreeUnfold_Normal.png);
  441. }
  442. QTreeView::branch:closed:has-children:hover {
  443. border-image: none;
  444. image: url(Skins/Default/MVSDKGuiQt/Btn_Common_TreeUnfold_Hover.png);
  445. }
  446. QTreeView::branch:open:has-children:!has-siblings,
  447. QTreeView::branch:open:has-children:has-siblings {
  448. border-image: none;
  449. image: url(Skins/Default/MVSDKGuiQt/Btn_Common_TreeFold_Normal.png);
  450. }
  451. QTreeView::branch:open:has-children:hover {
  452. border-image: none;
  453. image: url(Skins/Default/MVSDKGuiQt/Btn_Common_TreeFold_Hover.png);
  454. }
  455. /* ToolTip */
  456. QToolTip {
  457. padding-left: 5px;
  458. padding-right: 5px;
  459. border-radius: 1px;
  460. opacity: 255;
  461. background: #646668;
  462. color: #ffffff;
  463. }
  464. /* 等待对话框 */
  465. CWaitDialog {
  466. background: #292a2b;
  467. border: 1px solid #171717;
  468. }
  469. CWaitDialog QFrame#frameTitle{
  470. min-height: 36px;
  471. background: #2f2f30;
  472. border-bottom: 1px solid #121213;
  473. margin-left: 1px;
  474. margin-top: 1px;
  475. margin-right: 1px;
  476. }
  477. CWaitDialog QLabel#waitLabel{
  478. min-width: 100px;
  479. min-height: 60px;
  480. }
  481. CWaitDialog QLabel#lbTitle{
  482. color: white;
  483. min-width: 32px;
  484. }
  485. CWaitDialog QLabel#labTitleBar{
  486. padding: 0 6;
  487. min-width: 32px;
  488. }
  489. CWaitDialog QLabel#textLabel{
  490. margin-left:30;
  491. margin-right: 30;
  492. }
  493. CWaitGifForm QFrame#frame{
  494. background: #272727;
  495. min-height:0;
  496. max-height:100000;
  497. }
  498. CWaitGifForm QLabel{
  499. background: transparent;
  500. color: #d3d3d3;
  501. }
  502. /* 标题栏 */
  503. CCommonTitleBar QToolButton {
  504. max-height: 24;
  505. max-width: 24;
  506. min-height: 24;
  507. min-width: 24;
  508. border-image: url("Skins/Default/MVSDKGuiQt/Btn_Common_WinClose_Normal.png");
  509. }
  510. CCommonTitleBar QToolButton:hover {
  511. border-image: url("Skins/Default/MVSDKGuiQt/Btn_Common_WinClose_Hover.png");
  512. }
  513. CCommonTitleBar QToolButton:pressed {
  514. border-image: url("Skins/Default/MVSDKGuiQt/Btn_Common_WinClose_Pressed.png");
  515. }
  516. CCommonTitleBar QLabel#lbTitle {
  517. font-size: 16px;
  518. color: #ffffff;
  519. background-color: #2f2f30;
  520. min-width: 0px;
  521. max-width: 10000px;
  522. }
  523. /* 弹框提示框 */
  524. CCommonMessageBox {
  525. border: 1 solid #171717;
  526. min-width: 492;
  527. min-height: 382;
  528. }
  529. CCommonMessageBox QFrame#mainFrame {
  530. min-width: 492;
  531. background: #292a2b;
  532. margin: 1px;
  533. }
  534. CCommonMessageBox QLabel#lbIcon {
  535. margin-top: 20px;
  536. margin-bottom: 16px;
  537. min-width: 280;
  538. min-height: 200;
  539. max-width: 280;
  540. max-height: 200;
  541. }
  542. CCommonMessageBox QLabel#lbMsg {
  543. margin-top: 0px;
  544. margin-bottom: 0px;
  545. margin-left: 46px;
  546. margin-right: 46px;
  547. min-height: 0px;
  548. min-width: 0px;
  549. max-height:10000px;
  550. max-width:10000px;
  551. }
  552. CCommonMessageBox QTextEdit#textEdit {
  553. margin-top: 0px;
  554. margin-bottom: 0px;
  555. margin-left: 46px;
  556. margin-right: 46px;
  557. background: transparent;
  558. border: 0px;
  559. min-height:45;
  560. selection-background-color: #797c81;
  561. selection-color: #FFFFFF;
  562. min-height: 0px;
  563. min-width: 0px;
  564. max-height:40;
  565. max-width:10000px;
  566. }
  567. CCommonMessageBox QTextEdit#textEdit:focus {
  568. border: 0px;
  569. }
  570. CCommonMessageBox QLabel#lbIcon[icon="0"] {
  571. image: url(Skins/Default/MVSDKGuiQt/Icon_Dialog_TipsInfo.png);
  572. }
  573. CCommonMessageBox QLabel#lbIcon[icon="1"] {
  574. image: url(Skins/Default/MVSDKGuiQt/Icon_Dialog_TipsInfo.png);
  575. }
  576. CCommonMessageBox QLabel#lbIcon[icon="2"] {
  577. image: url(Skins/Default/MVSDKGuiQt/Icon_Dialog_TipsWarning.png);
  578. }
  579. CCommonMessageBox QLabel#lbIcon[icon="3"] {
  580. image: url(Skins/Default/MVSDKGuiQt/Icon_Dialog_TipsError.png);
  581. }
  582. CCommonMessageBox QLabel#lbIcon[icon="4"] {
  583. image: url(Skins/Default/MVSDKGuiQt/Icon_Dialog_TipsConfirm.png);
  584. }
  585. CCommonMessageBox QFrame#line {
  586. background-color: #404141;
  587. max-height: 1;
  588. min-height: 1;
  589. min-width: 492px;
  590. border: 0px;
  591. margin-bottom: 9px;
  592. margin-top: 32px;
  593. }
  594. CCommonMessageBox QFrame#line_2 {
  595. background-color: #121213;
  596. max-height: 1;
  597. min-height: 1;
  598. border: 0px;
  599. }
  600. CCommonMessageBox QPushButton{
  601. min-height: 30px;
  602. max-height: 30px;
  603. height: 30px;
  604. min-width: 80px;
  605. color: #979797;
  606. background-color: #292a2b;
  607. border: 1px solid #555555;
  608. }
  609. CCommonMessageBox QPushButton:hover{
  610. color: #ffffff ;
  611. background-color: #545557;
  612. border: 1px solid #555555;
  613. }
  614. CCommonMessageBox QPushButton:pressed{
  615. color: #ffffff;
  616. background-color: #48494a ;
  617. border: 1px solid #555555;
  618. }
  619. CCommonMessageBox QPushButton:disabled{
  620. color: #515253;
  621. background-color: #292a2b;
  622. border: 1px solid #48494a;
  623. }
  624. CCommonMessageBox QPushButton:default{
  625. background: #4c4d4e;
  626. color: #e2e2e2;
  627. }
  628. CCommonMessageBox QPushButton:default:hover{
  629. background: #545557;
  630. color: #ffffff;
  631. }
  632. CCommonMessageBox QPushButton:default:pressed{
  633. background: #48494a;
  634. color: #ffffff;
  635. }
  636. CCommonMessageBox QPushButton:default:disabled{
  637. background: #48494a;
  638. color: #7a7d7f;
  639. }
  640. /* */
  641. QSplitter:handle:vertical {
  642. background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(69, 70, 70, 255), stop:1 rgba(0, 0, 0, 255));
  643. }
  644. QSplitter:handle:horizontal {
  645. background:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(69, 70, 70, 255), stop:1 rgba(0, 0, 0, 255));
  646. }
  647. /* QFrame默认边框为0,规避不同操作系统显示不一致问题 */
  648. QFrame
  649. {
  650. border:0px solid #000000;
  651. }