style.qss 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235
  1. QToolTip {
  2. border: 1px solid #76797C;
  3. background-color: #5A7566;
  4. color: white;
  5. padding: 0px; /*remove padding, for fix combobox tooltip.*/
  6. opacity: 200;
  7. }
  8. QWidget {
  9. color: #eff0f1;
  10. background-color: #31363b;
  11. selection-background-color: #3daee9;
  12. selection-color: #eff0f1;
  13. background-clip: border;
  14. border-image: none;
  15. border: 0px transparent black;
  16. outline: 0;
  17. }
  18. QWidget:item:hover {
  19. background-color: #18465d;
  20. color: #eff0f1;
  21. }
  22. QWidget:item:selected {
  23. background-color: #18465d;
  24. }
  25. QCheckBox {
  26. spacing: 5px;
  27. outline: none;
  28. color: #eff0f1;
  29. margin-bottom: 2px;
  30. }
  31. QCheckBox:disabled {
  32. color: #76797C;
  33. }
  34. QCheckBox::indicator,
  35. QGroupBox::indicator {
  36. width: 18px;
  37. height: 18px;
  38. }
  39. QGroupBox::indicator {
  40. margin-left: 2px;
  41. }
  42. QCheckBox::indicator:unchecked,
  43. QGroupBox::indicator:unchecked {
  44. image: url(:/qss_icons/rc/checkbox_unchecked.png);
  45. }
  46. QCheckBox::indicator:unchecked:hover,
  47. QCheckBox::indicator:unchecked:focus,
  48. QCheckBox::indicator:unchecked:pressed,
  49. QGroupBox::indicator:unchecked:hover,
  50. QGroupBox::indicator:unchecked:focus,
  51. QGroupBox::indicator:unchecked:pressed {
  52. border: none;
  53. image: url(:/qss_icons/rc/checkbox_unchecked_focus.png);
  54. }
  55. QCheckBox::indicator:checked,
  56. QGroupBox::indicator:checked {
  57. image: url(:/qss_icons/rc/checkbox_checked.png);
  58. }
  59. QCheckBox::indicator:checked:hover,
  60. QCheckBox::indicator:checked:focus,
  61. QCheckBox::indicator:checked:pressed,
  62. QGroupBox::indicator:checked:hover,
  63. QGroupBox::indicator:checked:focus,
  64. QGroupBox::indicator:checked:pressed {
  65. border: none;
  66. image: url(:/qss_icons/rc/checkbox_checked_focus.png);
  67. }
  68. QCheckBox::indicator:indeterminate {
  69. image: url(:/qss_icons/rc/checkbox_indeterminate.png);
  70. }
  71. QCheckBox::indicator:indeterminate:focus,
  72. QCheckBox::indicator:indeterminate:hover,
  73. QCheckBox::indicator:indeterminate:pressed {
  74. image: url(:/qss_icons/rc/checkbox_indeterminate_focus.png);
  75. }
  76. QCheckBox::indicator:checked:disabled,
  77. QGroupBox::indicator:checked:disabled {
  78. image: url(:/qss_icons/rc/checkbox_checked_disabled.png);
  79. }
  80. QCheckBox::indicator:unchecked:disabled,
  81. QGroupBox::indicator:unchecked:disabled {
  82. image: url(:/qss_icons/rc/checkbox_unchecked_disabled.png);
  83. }
  84. QRadioButton {
  85. spacing: 5px;
  86. outline: none;
  87. color: #eff0f1;
  88. margin-bottom: 2px;
  89. }
  90. QRadioButton:disabled {
  91. color: #76797C;
  92. }
  93. QRadioButton::indicator {
  94. width: 21px;
  95. height: 21px;
  96. }
  97. QRadioButton::indicator:unchecked {
  98. image: url(:/qss_icons/rc/radio_unchecked.png);
  99. }
  100. QRadioButton::indicator:unchecked:hover,
  101. QRadioButton::indicator:unchecked:focus,
  102. QRadioButton::indicator:unchecked:pressed {
  103. border: none;
  104. outline: none;
  105. image: url(:/qss_icons/rc/radio_unchecked_focus.png);
  106. }
  107. QRadioButton::indicator:checked {
  108. border: none;
  109. outline: none;
  110. image: url(:/qss_icons/rc/radio_checked.png);
  111. }
  112. QRadioButton::indicator:checked:hover,
  113. QRadioButton::indicator:checked:focus,
  114. QRadioButton::indicator:checked:pressed {
  115. border: none;
  116. outline: none;
  117. image: url(:/qss_icons/rc/radio_checked_focus.png);
  118. }
  119. QRadioButton::indicator:checked:disabled {
  120. outline: none;
  121. image: url(:/qss_icons/rc/radio_checked_disabled.png);
  122. }
  123. QRadioButton::indicator:unchecked:disabled {
  124. image: url(:/qss_icons/rc/radio_unchecked_disabled.png);
  125. }
  126. QMenuBar {
  127. background-color: #31363b;
  128. color: #eff0f1;
  129. }
  130. QMenuBar::item {
  131. background: transparent;
  132. }
  133. QMenuBar::item:selected {
  134. background: transparent;
  135. border: 1px solid #76797C;
  136. }
  137. QMenuBar::item:pressed {
  138. border: 1px solid #76797C;
  139. background-color: #3daee9;
  140. color: #eff0f1;
  141. margin-bottom: -1px;
  142. padding-bottom: 1px;
  143. }
  144. QMenu {
  145. border: 1px solid #76797C;
  146. color: #eff0f1;
  147. margin: 2px;
  148. }
  149. QMenu::icon {
  150. margin: 5px;
  151. }
  152. QMenu::item {
  153. padding: 5px 30px 5px 30px;
  154. border: 1px solid transparent;
  155. /* reserve space for selection border */
  156. }
  157. QMenu::item:selected {
  158. color: #eff0f1;
  159. }
  160. QMenu::separator {
  161. height: 2px;
  162. background: lightblue;
  163. margin-left: 10px;
  164. margin-right: 5px;
  165. }
  166. QMenu::indicator {
  167. width: 18px;
  168. height: 18px;
  169. }
  170. /* non-exclusive indicator = check box style indicator
  171. (see QActionGroup::setExclusive) */
  172. QMenu::indicator:non-exclusive:unchecked {
  173. image: url(:/qss_icons/rc/checkbox_unchecked.png);
  174. }
  175. QMenu::indicator:non-exclusive:unchecked:selected {
  176. image: url(:/qss_icons/rc/checkbox_unchecked_disabled.png);
  177. }
  178. QMenu::indicator:non-exclusive:checked {
  179. image: url(:/qss_icons/rc/checkbox_checked.png);
  180. }
  181. QMenu::indicator:non-exclusive:checked:selected {
  182. image: url(:/qss_icons/rc/checkbox_checked_disabled.png);
  183. }
  184. /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */
  185. QMenu::indicator:exclusive:unchecked {
  186. image: url(:/qss_icons/rc/radio_unchecked.png);
  187. }
  188. QMenu::indicator:exclusive:unchecked:selected {
  189. image: url(:/qss_icons/rc/radio_unchecked_disabled.png);
  190. }
  191. QMenu::indicator:exclusive:checked {
  192. image: url(:/qss_icons/rc/radio_checked.png);
  193. }
  194. QMenu::indicator:exclusive:checked:selected {
  195. image: url(:/qss_icons/rc/radio_checked_disabled.png);
  196. }
  197. QMenu::right-arrow {
  198. margin: 5px;
  199. image: url(:/qss_icons/rc/right_arrow.png)
  200. }
  201. QWidget:disabled {
  202. color: #454545;
  203. background-color: #31363b;
  204. }
  205. QAbstractItemView {
  206. alternate-background-color: #31363b;
  207. color: #eff0f1;
  208. border: 1px solid #3A3939;
  209. border-radius: 2px;
  210. }
  211. QWidget:focus,
  212. QMenuBar:focus {
  213. border: 1px solid #3daee9;
  214. }
  215. QTabWidget:focus,
  216. QCheckBox:focus,
  217. QRadioButton:focus,
  218. QSlider:focus {
  219. border: none;
  220. }
  221. QLineEdit {
  222. background-color: #232629;
  223. padding: 5px;
  224. border-style: solid;
  225. border: 1px solid #76797C;
  226. border-radius: 2px;
  227. color: #eff0f1;
  228. }
  229. QAbstractItemView QLineEdit {
  230. padding: 0;
  231. }
  232. QGroupBox {
  233. border: 1px solid #76797C;
  234. border-radius: 2px;
  235. margin-top: 20px;
  236. }
  237. QGroupBox::title {
  238. subcontrol-origin: margin;
  239. subcontrol-position: top center;
  240. padding-left: 10px;
  241. padding-right: 10px;
  242. padding-top: 10px;
  243. }
  244. QAbstractScrollArea {
  245. border-radius: 2px;
  246. border: 1px solid #76797C;
  247. background-color: transparent;
  248. }
  249. QScrollBar:horizontal {
  250. height: 15px;
  251. margin: 3px 15px 3px 15px;
  252. border: 1px transparent #2A2929;
  253. border-radius: 4px;
  254. background-color: #2A2929;
  255. }
  256. QScrollBar::handle:horizontal {
  257. background-color: #605F5F;
  258. min-width: 5px;
  259. border-radius: 4px;
  260. }
  261. QScrollBar::add-line:horizontal {
  262. margin: 0px 3px 0px 3px;
  263. border-image: url(:/qss_icons/rc/right_arrow_disabled.png);
  264. width: 10px;
  265. height: 10px;
  266. subcontrol-position: right;
  267. subcontrol-origin: margin;
  268. }
  269. QScrollBar::sub-line:horizontal {
  270. margin: 0px 3px 0px 3px;
  271. border-image: url(:/qss_icons/rc/left_arrow_disabled.png);
  272. height: 10px;
  273. width: 10px;
  274. subcontrol-position: left;
  275. subcontrol-origin: margin;
  276. }
  277. QScrollBar::add-line:horizontal:hover,
  278. QScrollBar::add-line:horizontal:on {
  279. border-image: url(:/qss_icons/rc/right_arrow.png);
  280. height: 10px;
  281. width: 10px;
  282. subcontrol-position: right;
  283. subcontrol-origin: margin;
  284. }
  285. QScrollBar::sub-line:horizontal:hover,
  286. QScrollBar::sub-line:horizontal:on {
  287. border-image: url(:/qss_icons/rc/left_arrow.png);
  288. height: 10px;
  289. width: 10px;
  290. subcontrol-position: left;
  291. subcontrol-origin: margin;
  292. }
  293. QScrollBar::up-arrow:horizontal,
  294. QScrollBar::down-arrow:horizontal {
  295. background: none;
  296. }
  297. QScrollBar::add-page:horizontal,
  298. QScrollBar::sub-page:horizontal {
  299. background: none;
  300. }
  301. QScrollBar:vertical {
  302. background-color: #2A2929;
  303. width: 15px;
  304. margin: 15px 3px 15px 3px;
  305. border: 1px transparent #2A2929;
  306. border-radius: 4px;
  307. }
  308. QScrollBar::handle:vertical {
  309. background-color: #605F5F;
  310. min-height: 5px;
  311. border-radius: 4px;
  312. }
  313. QScrollBar::sub-line:vertical {
  314. margin: 3px 0px 3px 0px;
  315. border-image: url(:/qss_icons/rc/up_arrow_disabled.png);
  316. height: 10px;
  317. width: 10px;
  318. subcontrol-position: top;
  319. subcontrol-origin: margin;
  320. }
  321. QScrollBar::add-line:vertical {
  322. margin: 3px 0px 3px 0px;
  323. border-image: url(:/qss_icons/rc/down_arrow_disabled.png);
  324. height: 10px;
  325. width: 10px;
  326. subcontrol-position: bottom;
  327. subcontrol-origin: margin;
  328. }
  329. QScrollBar::sub-line:vertical:hover,
  330. QScrollBar::sub-line:vertical:on {
  331. border-image: url(:/qss_icons/rc/up_arrow.png);
  332. height: 10px;
  333. width: 10px;
  334. subcontrol-position: top;
  335. subcontrol-origin: margin;
  336. }
  337. QScrollBar::add-line:vertical:hover,
  338. QScrollBar::add-line:vertical:on {
  339. border-image: url(:/qss_icons/rc/down_arrow.png);
  340. height: 10px;
  341. width: 10px;
  342. subcontrol-position: bottom;
  343. subcontrol-origin: margin;
  344. }
  345. QScrollBar::up-arrow:vertical,
  346. QScrollBar::down-arrow:vertical {
  347. background: none;
  348. }
  349. QScrollBar::add-page:vertical,
  350. QScrollBar::sub-page:vertical {
  351. background: none;
  352. }
  353. QTextEdit {
  354. background-color: #232629;
  355. color: #eff0f1;
  356. border: 1px solid #76797C;
  357. }
  358. QPlainTextEdit {
  359. background-color: #232629;
  360. ;
  361. color: #eff0f1;
  362. border-radius: 2px;
  363. border: 1px solid #76797C;
  364. }
  365. QHeaderView::section {
  366. background-color: #76797C;
  367. color: #eff0f1;
  368. padding: 5px;
  369. border: 1px solid #76797C;
  370. }
  371. QSizeGrip {
  372. image: url(:/qss_icons/rc/sizegrip.png);
  373. width: 12px;
  374. height: 12px;
  375. }
  376. QMainWindow::separator {
  377. background-color: #31363b;
  378. color: white;
  379. padding-left: 4px;
  380. spacing: 2px;
  381. border: 1px dashed #76797C;
  382. }
  383. QMainWindow::separator:hover {
  384. background-color: #787876;
  385. color: white;
  386. padding-left: 4px;
  387. border: 1px solid #76797C;
  388. spacing: 2px;
  389. }
  390. QMenu::separator {
  391. height: 1px;
  392. background-color: #76797C;
  393. color: white;
  394. padding-left: 4px;
  395. margin-left: 10px;
  396. margin-right: 5px;
  397. }
  398. QFrame {
  399. border-radius: 2px;
  400. border: 1px solid #76797C;
  401. }
  402. QFrame[frameShape="0"] {
  403. border-radius: 2px;
  404. border: 1px transparent #76797C;
  405. }
  406. QStackedWidget {
  407. border: 1px transparent black;
  408. }
  409. QToolBar {
  410. border: 1px transparent #393838;
  411. background: 1px solid #31363b;
  412. font-weight: bold;
  413. }
  414. QToolBar::handle:horizontal {
  415. image: url(:/qss_icons/rc/Hmovetoolbar.png);
  416. }
  417. QToolBar::handle:vertical {
  418. image: url(:/qss_icons/rc/Vmovetoolbar.png);
  419. }
  420. QToolBar::separator:horizontal {
  421. image: url(:/qss_icons/rc/Hsepartoolbar.png);
  422. }
  423. QToolBar::separator:vertical {
  424. image: url(:/qss_icons/rc/Vsepartoolbar.png);
  425. }
  426. QToolButton#qt_toolbar_ext_button {
  427. background: #58595a
  428. }
  429. QPushButton {
  430. color: #eff0f1;
  431. background-color: #31363b;
  432. border-width: 1px;
  433. border-color: #76797C;
  434. border-style: solid;
  435. padding: 5px;
  436. border-radius: 2px;
  437. outline: none;
  438. }
  439. QPushButton:disabled {
  440. background-color: #31363b;
  441. border-width: 1px;
  442. border-color: #454545;
  443. border-style: solid;
  444. padding-top: 5px;
  445. padding-bottom: 5px;
  446. padding-left: 10px;
  447. padding-right: 10px;
  448. border-radius: 2px;
  449. color: #454545;
  450. }
  451. QPushButton:focus {
  452. background-color: #3daee9;
  453. color: white;
  454. }
  455. QPushButton:pressed {
  456. background-color: #3daee9;
  457. padding-top: -15px;
  458. padding-bottom: -17px;
  459. }
  460. QComboBox {
  461. selection-background-color: #3daee9;
  462. border-style: solid;
  463. border: 1px solid #76797C;
  464. border-radius: 2px;
  465. padding: 5px;
  466. min-width: 75px;
  467. }
  468. QPushButton:checked {
  469. background-color: #76797C;
  470. border-color: #6A6969;
  471. }
  472. QComboBox:hover,
  473. QPushButton:hover,
  474. QAbstractSpinBox:hover,
  475. QLineEdit:hover,
  476. QTextEdit:hover,
  477. QPlainTextEdit:hover,
  478. QAbstractView:hover,
  479. QTreeView:hover {
  480. border: 1px solid #3daee9;
  481. color: #eff0f1;
  482. }
  483. QComboBox:on {
  484. padding-top: 3px;
  485. padding-left: 4px;
  486. selection-background-color: #4a4a4a;
  487. }
  488. QComboBox QAbstractItemView {
  489. background-color: #232629;
  490. border-radius: 2px;
  491. border: 1px solid #76797C;
  492. selection-background-color: #18465d;
  493. }
  494. QComboBox::drop-down {
  495. subcontrol-origin: padding;
  496. subcontrol-position: top right;
  497. width: 15px;
  498. border-left-width: 0px;
  499. border-left-color: darkgray;
  500. border-left-style: solid;
  501. border-top-right-radius: 3px;
  502. border-bottom-right-radius: 3px;
  503. }
  504. QComboBox::down-arrow {
  505. image: url(:/qss_icons/rc/down_arrow_disabled.png);
  506. }
  507. QComboBox::down-arrow:on,
  508. QComboBox::down-arrow:hover,
  509. QComboBox::down-arrow:focus {
  510. image: url(:/qss_icons/rc/down_arrow.png);
  511. }
  512. QAbstractSpinBox {
  513. padding: 5px;
  514. border: 1px solid #76797C;
  515. background-color: #232629;
  516. color: #eff0f1;
  517. border-radius: 2px;
  518. min-width: 75px;
  519. }
  520. QAbstractSpinBox:up-button {
  521. background-color: transparent;
  522. subcontrol-origin: border;
  523. subcontrol-position: center right;
  524. }
  525. QAbstractSpinBox:down-button {
  526. background-color: transparent;
  527. subcontrol-origin: border;
  528. subcontrol-position: center left;
  529. }
  530. QAbstractSpinBox::up-arrow,
  531. QAbstractSpinBox::up-arrow:disabled,
  532. QAbstractSpinBox::up-arrow:off {
  533. image: url(:/qss_icons/rc/up_arrow_disabled.png);
  534. width: 10px;
  535. height: 10px;
  536. }
  537. QAbstractSpinBox::up-arrow:hover {
  538. image: url(:/qss_icons/rc/up_arrow.png);
  539. }
  540. QAbstractSpinBox::down-arrow,
  541. QAbstractSpinBox::down-arrow:disabled,
  542. QAbstractSpinBox::down-arrow:off {
  543. image: url(:/qss_icons/rc/down_arrow_disabled.png);
  544. width: 10px;
  545. height: 10px;
  546. }
  547. QAbstractSpinBox::down-arrow:hover {
  548. image: url(:/qss_icons/rc/down_arrow.png);
  549. }
  550. QLabel {
  551. border: 0px solid black;
  552. }
  553. QTabWidget {
  554. border: 0px transparent black;
  555. }
  556. QTabWidget::pane {
  557. border: 1px solid #76797C;
  558. padding: 5px;
  559. margin: 0px;
  560. }
  561. QTabWidget::tab-bar {
  562. /* left: 5px; move to the right by 5px */
  563. }
  564. QTabBar {
  565. qproperty-drawBase: 0;
  566. border-radius: 3px;
  567. }
  568. QTabBar:focus {
  569. border: 0px transparent black;
  570. }
  571. QTabBar::close-button {
  572. image: url(:/qss_icons/rc/close.png);
  573. background: transparent;
  574. }
  575. QTabBar::close-button:hover {
  576. image: url(:/qss_icons/rc/close-hover.png);
  577. background: transparent;
  578. }
  579. QTabBar::close-button:pressed {
  580. image: url(:/qss_icons/rc/close-pressed.png);
  581. background: transparent;
  582. }
  583. /* TOP TABS */
  584. QTabBar::tab:top {
  585. color: #eff0f1;
  586. border: 1px solid #76797C;
  587. border-bottom: 1px transparent black;
  588. background-color: #31363b;
  589. padding: 5px;
  590. min-width: 50px;
  591. border-top-left-radius: 2px;
  592. border-top-right-radius: 2px;
  593. }
  594. QTabBar::tab:top:selected {
  595. color: #eff0f1;
  596. background-color: #54575B;
  597. border: 1px solid #76797C;
  598. border-bottom: 2px solid #3daee9;
  599. border-top-left-radius: 2px;
  600. border-top-right-radius: 2px;
  601. }
  602. QTabBar::tab:top:!selected:hover {
  603. background-color: #3daee9;
  604. }
  605. /* BOTTOM TABS */
  606. QTabBar::tab:bottom {
  607. color: #eff0f1;
  608. border: 1px solid #76797C;
  609. border-top: 1px transparent black;
  610. background-color: #31363b;
  611. padding: 5px;
  612. border-bottom-left-radius: 2px;
  613. border-bottom-right-radius: 2px;
  614. min-width: 50px;
  615. }
  616. QTabBar::tab:bottom:selected {
  617. color: #eff0f1;
  618. background-color: #54575B;
  619. border: 1px solid #76797C;
  620. border-top: 2px solid #3daee9;
  621. border-bottom-left-radius: 2px;
  622. border-bottom-right-radius: 2px;
  623. }
  624. QTabBar::tab:bottom:!selected:hover {
  625. background-color: #3daee9;
  626. }
  627. /* LEFT TABS */
  628. QTabBar::tab:left {
  629. color: #eff0f1;
  630. border: 1px solid #76797C;
  631. border-left: 1px transparent black;
  632. background-color: #31363b;
  633. padding: 5px;
  634. border-top-right-radius: 2px;
  635. border-bottom-right-radius: 2px;
  636. min-height: 50px;
  637. }
  638. QTabBar::tab:left:selected {
  639. color: #eff0f1;
  640. background-color: #54575B;
  641. border: 1px solid #76797C;
  642. border-left: 2px solid #3daee9;
  643. border-top-right-radius: 2px;
  644. border-bottom-right-radius: 2px;
  645. }
  646. QTabBar::tab:left:!selected:hover {
  647. background-color: #3daee9;
  648. }
  649. /* RIGHT TABS */
  650. QTabBar::tab:right {
  651. color: #eff0f1;
  652. border: 1px solid #76797C;
  653. border-right: 1px transparent black;
  654. background-color: #31363b;
  655. padding: 5px;
  656. border-top-left-radius: 2px;
  657. border-bottom-left-radius: 2px;
  658. min-height: 50px;
  659. }
  660. QTabBar::tab:right:selected {
  661. color: #eff0f1;
  662. background-color: #54575B;
  663. border: 1px solid #76797C;
  664. border-right: 2px solid #3daee9;
  665. border-top-left-radius: 2px;
  666. border-bottom-left-radius: 2px;
  667. }
  668. QTabBar::tab:right:!selected:hover {
  669. background-color: #3daee9;
  670. }
  671. QTabBar QToolButton::right-arrow:enabled {
  672. image: url(:/qss_icons/rc/right_arrow.png);
  673. }
  674. QTabBar QToolButton::left-arrow:enabled {
  675. image: url(:/qss_icons/rc/left_arrow.png);
  676. }
  677. QTabBar QToolButton::right-arrow:disabled {
  678. image: url(:/qss_icons/rc/right_arrow_disabled.png);
  679. }
  680. QTabBar QToolButton::left-arrow:disabled {
  681. image: url(:/qss_icons/rc/left_arrow_disabled.png);
  682. }
  683. QDockWidget {
  684. background: #31363b;
  685. border: 1px solid #403F3F;
  686. titlebar-close-icon: url(:/qss_icons/rc/close.png);
  687. titlebar-normal-icon: url(:/qss_icons/rc/undock.png);
  688. }
  689. QDockWidget::close-button,
  690. QDockWidget::float-button {
  691. border: 1px solid transparent;
  692. border-radius: 2px;
  693. background: transparent;
  694. }
  695. QDockWidget::close-button:hover,
  696. QDockWidget::float-button:hover {
  697. background: rgba(255, 255, 255, 10);
  698. }
  699. QDockWidget::close-button:pressed,
  700. QDockWidget::float-button:pressed {
  701. padding: 1px -1px -1px 1px;
  702. background: rgba(255, 255, 255, 10);
  703. }
  704. QTreeView,
  705. QListView {
  706. border: 1px solid #76797C;
  707. background-color: #232629;
  708. }
  709. QTreeView:branch:selected,
  710. QTreeView:branch:hover {
  711. background: url(:/qss_icons/rc/transparent.png);
  712. }
  713. QTreeView::branch:has-siblings:!adjoins-item {
  714. border-image: url(:/qss_icons/rc/transparent.png);
  715. }
  716. QTreeView::branch:has-siblings:adjoins-item {
  717. border-image: url(:/qss_icons/rc/transparent.png);
  718. }
  719. QTreeView::branch:!has-children:!has-siblings:adjoins-item {
  720. border-image: url(:/qss_icons/rc/transparent.png);
  721. }
  722. QTreeView::branch:has-children:!has-siblings:closed,
  723. QTreeView::branch:closed:has-children:has-siblings {
  724. image: url(:/qss_icons/rc/branch_closed.png);
  725. }
  726. QTreeView::branch:open:has-children:!has-siblings,
  727. QTreeView::branch:open:has-children:has-siblings {
  728. image: url(:/qss_icons/rc/branch_open.png);
  729. }
  730. QTreeView::branch:has-children:!has-siblings:closed:hover,
  731. QTreeView::branch:closed:has-children:has-siblings:hover {
  732. image: url(:/qss_icons/rc/branch_closed-on.png);
  733. }
  734. QTreeView::branch:open:has-children:!has-siblings:hover,
  735. QTreeView::branch:open:has-children:has-siblings:hover {
  736. image: url(:/qss_icons/rc/branch_open-on.png);
  737. }
  738. QListView::item:!selected:hover,
  739. QTreeView::item:!selected:hover {
  740. background: #18465d;
  741. outline: 0;
  742. color: #eff0f1
  743. }
  744. QListView::item:selected:hover,
  745. QTreeView::item:selected:hover {
  746. background: #287399;
  747. color: #eff0f1;
  748. }
  749. QTreeView::indicator:checked,
  750. QListView::indicator:checked {
  751. image: url(:/qss_icons/rc/checkbox_checked.png);
  752. }
  753. QTreeView::indicator:unchecked,
  754. QListView::indicator:unchecked {
  755. image: url(:/qss_icons/rc/checkbox_unchecked.png);
  756. }
  757. QTreeView::indicator:indeterminate,
  758. QListView::indicator:indeterminate {
  759. image: url(:/qss_icons/rc/checkbox_indeterminate.png);
  760. }
  761. QTreeView::indicator:checked:hover,
  762. QTreeView::indicator:checked:focus,
  763. QTreeView::indicator:checked:pressed,
  764. QListView::indicator:checked:hover,
  765. QListView::indicator:checked:focus,
  766. QListView::indicator:checked:pressed {
  767. image: url(:/qss_icons/rc/checkbox_checked_focus.png);
  768. }
  769. QTreeView::indicator:unchecked:hover,
  770. QTreeView::indicator:unchecked:focus,
  771. QTreeView::indicator:unchecked:pressed,
  772. QListView::indicator:unchecked:hover,
  773. QListView::indicator:unchecked:focus,
  774. QListView::indicator:unchecked:pressed {
  775. image: url(:/qss_icons/rc/checkbox_unchecked_focus.png);
  776. }
  777. QTreeView::indicator:indeterminate:hover,
  778. QTreeView::indicator:indeterminate:focus,
  779. QTreeView::indicator:indeterminate:pressed,
  780. QListView::indicator:indeterminate:hover,
  781. QListView::indicator:indeterminate:focus,
  782. QListView::indicator:indeterminate:pressed {
  783. image: url(:/qss_icons/rc/checkbox_indeterminate_focus.png);
  784. }
  785. QSlider::groove:horizontal {
  786. border: 1px solid #565a5e;
  787. height: 4px;
  788. background: #565a5e;
  789. margin: 0px;
  790. border-radius: 2px;
  791. }
  792. QSlider::handle:horizontal {
  793. background: #232629;
  794. border: 1px solid #565a5e;
  795. width: 16px;
  796. height: 16px;
  797. margin: -8px 0;
  798. border-radius: 9px;
  799. }
  800. QSlider::groove:vertical {
  801. border: 1px solid #565a5e;
  802. width: 4px;
  803. background: #565a5e;
  804. margin: 0px;
  805. border-radius: 3px;
  806. }
  807. QSlider::handle:vertical {
  808. background: #232629;
  809. border: 1px solid #565a5e;
  810. width: 16px;
  811. height: 16px;
  812. margin: 0 -8px;
  813. border-radius: 9px;
  814. }
  815. QToolButton {
  816. background-color: transparent;
  817. border: 1px transparent #76797C;
  818. border-radius: 2px;
  819. margin: 3px;
  820. padding: 5px;
  821. }
  822. QToolButton[popupMode="1"] {
  823. /* only for MenuButtonPopup */
  824. padding-right: 20px;
  825. /* make way for the popup button */
  826. border: 1px #76797C;
  827. border-radius: 5px;
  828. }
  829. QToolButton[popupMode="2"] {
  830. /* only for InstantPopup */
  831. padding-right: 10px;
  832. /* make way for the popup button */
  833. border: 1px #76797C;
  834. }
  835. QToolButton:hover,
  836. QToolButton::menu-button:hover {
  837. background-color: transparent;
  838. border: 1px solid #3daee9;
  839. padding: 5px;
  840. }
  841. QToolButton:checked,
  842. QToolButton:pressed,
  843. QToolButton::menu-button:pressed {
  844. background-color: #3daee9;
  845. border: 1px solid #3daee9;
  846. padding: 5px;
  847. }
  848. /* the subcontrol below is used only in the InstantPopup or DelayedPopup mode */
  849. QToolButton::menu-indicator {
  850. image: url(:/qss_icons/rc/down_arrow.png);
  851. top: -7px;
  852. left: -2px;
  853. /* shift it a bit */
  854. }
  855. /* the subcontrols below are used only in the MenuButtonPopup mode */
  856. QToolButton::menu-button {
  857. border: 1px transparent #76797C;
  858. border-top-right-radius: 6px;
  859. border-bottom-right-radius: 6px;
  860. /* 16px width + 4px for border = 20px allocated above */
  861. width: 16px;
  862. outline: none;
  863. }
  864. QToolButton::menu-arrow {
  865. image: url(:/qss_icons/rc/down_arrow.png);
  866. }
  867. QToolButton::menu-arrow:open {
  868. border: 1px solid #76797C;
  869. }
  870. QPushButton::menu-indicator {
  871. subcontrol-origin: padding;
  872. subcontrol-position: bottom right;
  873. left: 8px;
  874. }
  875. QTableView {
  876. border: 1px solid #76797C;
  877. gridline-color: #31363b;
  878. background-color: #232629;
  879. }
  880. QTableView,
  881. QHeaderView {
  882. border-radius: 0px;
  883. }
  884. QTableView::item:pressed,
  885. QListView::item:pressed,
  886. QTreeView::item:pressed {
  887. background: #18465d;
  888. color: #eff0f1;
  889. }
  890. QTableView::item:selected:active,
  891. QTreeView::item:selected:active,
  892. QListView::item:selected:active {
  893. background: #287399;
  894. color: #eff0f1;
  895. }
  896. QHeaderView {
  897. background-color: #31363b;
  898. border: 1px transparent;
  899. border-radius: 0px;
  900. margin: 0px;
  901. padding: 0px;
  902. }
  903. QHeaderView::section {
  904. background-color: #31363b;
  905. color: #eff0f1;
  906. padding: 5px;
  907. border: 1px solid #76797C;
  908. border-radius: 0px;
  909. text-align: center;
  910. }
  911. QHeaderView::section::vertical::first,
  912. QHeaderView::section::vertical::only-one {
  913. border-top: 1px solid #76797C;
  914. }
  915. QHeaderView::section::vertical {
  916. border-top: transparent;
  917. }
  918. QHeaderView::section::horizontal::first,
  919. QHeaderView::section::horizontal::only-one {
  920. border-left: 1px solid #76797C;
  921. }
  922. QHeaderView::section::horizontal {
  923. border-left: transparent;
  924. }
  925. QHeaderView::section:checked {
  926. color: white;
  927. background-color: #334e5e;
  928. }
  929. /* style the sort indicator */
  930. QHeaderView::down-arrow {
  931. image: url(:/qss_icons/rc/down_arrow.png);
  932. }
  933. QHeaderView::up-arrow {
  934. image: url(:/qss_icons/rc/up_arrow.png);
  935. }
  936. QTableCornerButton::section {
  937. background-color: #31363b;
  938. border: 1px transparent #76797C;
  939. border-radius: 0px;
  940. }
  941. QToolBox {
  942. padding: 5px;
  943. border: 1px transparent black;
  944. }
  945. QToolBox::tab {
  946. color: #eff0f1;
  947. background-color: #31363b;
  948. border: 1px solid #76797C;
  949. border-bottom: 1px transparent #31363b;
  950. border-top-left-radius: 5px;
  951. border-top-right-radius: 5px;
  952. }
  953. QToolBox::tab:selected {
  954. /* italicize selected tabs */
  955. font: italic;
  956. background-color: #31363b;
  957. border-color: #3daee9;
  958. }
  959. QStatusBar::item {
  960. border: 0px transparent dark;
  961. }
  962. QFrame[height="3"],
  963. QFrame[width="3"] {
  964. background-color: #76797C;
  965. }
  966. QSplitter::handle {
  967. border: 1px dashed #76797C;
  968. }
  969. QSplitter::handle:hover {
  970. background-color: #787876;
  971. border: 1px solid #76797C;
  972. }
  973. QSplitter::handle:horizontal {
  974. width: 1px;
  975. }
  976. QSplitter::handle:vertical {
  977. height: 1px;
  978. }
  979. QProgressBar {
  980. border: 1px solid #76797C;
  981. border-radius: 5px;
  982. text-align: center;
  983. }
  984. QProgressBar::chunk {
  985. background-color: #05B8CC;
  986. }
  987. QDateEdit {
  988. selection-background-color: #3daee9;
  989. border-style: solid;
  990. border: 1px solid #3375A3;
  991. border-radius: 2px;
  992. padding: 1px;
  993. min-width: 75px;
  994. }
  995. QDateEdit:on {
  996. padding-top: 3px;
  997. padding-left: 4px;
  998. selection-background-color: #4a4a4a;
  999. }
  1000. QDateEdit QAbstractItemView {
  1001. background-color: #232629;
  1002. border-radius: 2px;
  1003. border: 1px solid #3375A3;
  1004. selection-background-color: #3daee9;
  1005. }
  1006. QDateEdit::drop-down {
  1007. subcontrol-origin: padding;
  1008. subcontrol-position: top right;
  1009. width: 15px;
  1010. border-left-width: 0px;
  1011. border-left-color: darkgray;
  1012. border-left-style: solid;
  1013. border-top-right-radius: 3px;
  1014. border-bottom-right-radius: 3px;
  1015. }
  1016. QDateEdit::down-arrow {
  1017. image: url(:/qss_icons/rc/down_arrow_disabled.png);
  1018. }
  1019. QDateEdit::down-arrow:on,
  1020. QDateEdit::down-arrow:hover,
  1021. QDateEdit::down-arrow:focus {
  1022. image: url(:/qss_icons/rc/down_arrow.png);
  1023. }