workbench-dark.qss 25 KB

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