2
0

dark_original.qss 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648
  1. /*
  2. * BreezeDark stylesheet.
  3. *
  4. * :author: Colin Duquesnoy
  5. * :editor: Alex Huszagh
  6. * :license: MIT, see LICENSE.md
  7. *
  8. * This is originally a fork of QDarkStyleSheet, and is based on Breeze/
  9. * BreezeDark color scheme, but is in no way affiliated with KDE.
  10. *
  11. * ---------------------------------------------------------------------
  12. * The MIT License (MIT)
  13. *
  14. * Copyright (c) <2013-2014> <Colin Duquesnoy>
  15. * Copyright (c) <2015-2016> <Alex Huszagh>
  16. *
  17. * Permission is hereby granted, free of charge, to any person obtaining
  18. * a copy of this software and associated documentation files (the
  19. * "Software"), to deal in the Software without restriction, including
  20. * without limitation the rights to use, copy, modify, merge, publish,
  21. * distribute, sublicense, and/or sell copies of the Software, and to
  22. * permit persons to whom the Software is furnished to do so, subject to
  23. * the following conditions:
  24. *
  25. * The above copyright notice and this permission notice shall be included in
  26. * all copies or substantial portions of the Software.
  27. *
  28. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  29. * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  30. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  31. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  32. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  33. * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  34. * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  35. * ---------------------------------------------------------------------
  36. */
  37. QToolTip
  38. {
  39. border: 0.1ex solid #eff0f1;
  40. background-color: #31363b;
  41. alternate-background-color: #3b4045;
  42. color: #eff0f1;
  43. padding: 0.5ex;
  44. opacity: 200;
  45. }
  46. QWidget
  47. {
  48. color: #eff0f1;
  49. background-color: #31363b;
  50. selection-background-color:#3daee9;
  51. selection-color: #eff0f1;
  52. background-clip: border;
  53. border-image: none;
  54. border: 0px transparent black;
  55. outline: 0;
  56. }
  57. QWidget:item:hover
  58. {
  59. background-color: #3daee9;
  60. color: #eff0f1;
  61. }
  62. QWidget:item:selected
  63. {
  64. background-color: #3daee9;
  65. }
  66. QCheckBox
  67. {
  68. spacing: 0.5ex;
  69. outline: none;
  70. color: #eff0f1;
  71. margin-bottom: 0.2ex;
  72. opacity: 200;
  73. }
  74. QCheckBox:disabled
  75. {
  76. color: #76797c;
  77. }
  78. QGroupBox::indicator
  79. {
  80. margin-left: 0.2ex;
  81. }
  82. QCheckBox::indicator:unchecked,
  83. QCheckBox::indicator:unchecked:focus
  84. {
  85. border-image: url(:/dark/checkbox_unchecked_disabled.svg);
  86. }
  87. QCheckBox::indicator:unchecked:hover,
  88. QCheckBox::indicator:unchecked:pressed,
  89. QGroupBox::indicator:unchecked:hover,
  90. QGroupBox::indicator:unchecked:focus,
  91. QGroupBox::indicator:unchecked:pressed
  92. {
  93. border: none;
  94. border-image: url(:/dark/checkbox_unchecked.svg);
  95. }
  96. QCheckBox::indicator:checked
  97. {
  98. border-image: url(:/dark/checkbox_checked.svg);
  99. }
  100. QCheckBox::indicator:checked:hover,
  101. QCheckBox::indicator:checked:focus,
  102. QCheckBox::indicator:checked:pressed,
  103. QGroupBox::indicator:checked:hover,
  104. QGroupBox::indicator:checked:focus,
  105. QGroupBox::indicator:checked:pressed
  106. {
  107. border: none;
  108. border-image: url(:/dark/checkbox_checked.svg);
  109. }
  110. QCheckBox::indicator:indeterminate
  111. {
  112. border-image: url(:/dark/checkbox_indeterminate.svg);
  113. }
  114. QCheckBox::indicator:indeterminate:focus,
  115. QCheckBox::indicator:indeterminate:hover,
  116. QCheckBox::indicator:indeterminate:pressed
  117. {
  118. border-image: url(:/dark/checkbox_indeterminate.svg);
  119. }
  120. QCheckBox::indicator:indeterminate:disabled
  121. {
  122. border-image: url(:/dark/checkbox_indeterminate_disabled.svg);
  123. }
  124. QCheckBox::indicator:checked:disabled,
  125. QGroupBox::indicator:checked:disabled
  126. {
  127. border-image: url(:/dark/checkbox_checked_disabled.svg);
  128. }
  129. QCheckBox::indicator:unchecked:disabled,
  130. QGroupBox::indicator:unchecked:disabled
  131. {
  132. border-image: url(:/dark/checkbox_unchecked_disabled.svg);
  133. }
  134. QRadioButton
  135. {
  136. spacing: 0.5ex;
  137. outline: none;
  138. color: #eff0f1;
  139. margin-bottom: 0.2ex;
  140. }
  141. QRadioButton:disabled
  142. {
  143. color: #76797c;
  144. }
  145. QRadioButton::indicator:unchecked,
  146. QRadioButton::indicator:unchecked:focus
  147. {
  148. border-image: url(:/dark/radio_unchecked_disabled.svg);
  149. }
  150. QRadioButton::indicator:unchecked:hover,
  151. QRadioButton::indicator:unchecked:pressed
  152. {
  153. border: none;
  154. outline: none;
  155. border-image: url(:/dark/radio_unchecked.svg);
  156. }
  157. QRadioButton::indicator:checked
  158. {
  159. border: none;
  160. outline: none;
  161. border-image: url(:/dark/radio_checked.svg);
  162. }
  163. QRadioButton::indicator:checked:hover,
  164. QRadioButton::indicator:checked:focus,
  165. QRadioButton::indicator:checked:pressed
  166. {
  167. border: none;
  168. outline: none;
  169. border-image: url(:/dark/radio_checked.svg);
  170. }
  171. QRadioButton::indicator:checked:disabled
  172. {
  173. outline: none;
  174. border-image: url(:/dark/radio_checked_disabled.svg);
  175. }
  176. QRadioButton::indicator:unchecked:disabled
  177. {
  178. border-image: url(:/dark/radio_unchecked_disabled.svg);
  179. }
  180. QMenuBar
  181. {
  182. background-color: #31363b;
  183. color: #eff0f1;
  184. }
  185. QMenuBar::item
  186. {
  187. background: transparent;
  188. }
  189. QMenuBar::item:selected
  190. {
  191. background: transparent;
  192. border: 0.1ex solid #76797c;
  193. }
  194. QMenuBar::item:pressed
  195. {
  196. border: 0.1ex solid #76797c;
  197. background-color: #3daee9;
  198. color: #eff0f1;
  199. margin-bottom: -0.1ex;
  200. padding-bottom: 0.1ex;
  201. }
  202. QMenu
  203. {
  204. border: 0.1ex solid #76797c;
  205. color: #eff0f1;
  206. margin: 0.2ex;
  207. }
  208. QMenu::icon
  209. {
  210. margin: 0.5ex;
  211. }
  212. QMenu::item
  213. {
  214. padding: 0.5ex 3ex 0.5ex 3ex;
  215. margin-left: 0.5ex;
  216. border: 0.1ex solid transparent; /* reserve space for selection border */
  217. }
  218. QMenu::item:selected
  219. {
  220. color: #eff0f1;
  221. }
  222. QMenu::separator
  223. {
  224. height: 0.2ex;
  225. background: lightblue;
  226. margin-left: 1ex;
  227. margin-right: 0.5ex;
  228. }
  229. /* non-exclusive indicator = check box style indicator
  230. (see QActionGroup::setExclusive) */
  231. QMenu::indicator:non-exclusive:unchecked
  232. {
  233. border-image: url(:/dark/checkbox_unchecked_disabled.svg);
  234. }
  235. QMenu::indicator:non-exclusive:unchecked:selected
  236. {
  237. border-image: url(:/dark/checkbox_unchecked_disabled.svg);
  238. }
  239. QMenu::indicator:non-exclusive:checked
  240. {
  241. border-image: url(:/dark/checkbox_checked.svg);
  242. }
  243. QMenu::indicator:non-exclusive:checked:selected
  244. {
  245. border-image: url(:/dark/checkbox_checked.svg);
  246. }
  247. /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */
  248. QMenu::indicator:exclusive:unchecked
  249. {
  250. border-image: url(:/dark/radio_unchecked_disabled.svg);
  251. }
  252. QMenu::indicator:exclusive:unchecked:selected
  253. {
  254. border-image: url(:/dark/radio_unchecked_disabled.svg);
  255. }
  256. QMenu::indicator:exclusive:checked
  257. {
  258. border-image: url(:/dark/radio_checked.svg);
  259. }
  260. QMenu::indicator:exclusive:checked:selected
  261. {
  262. border-image: url(:/dark/radio_checked.svg);
  263. }
  264. QMenu::right-arrow
  265. {
  266. margin: 0.5ex;
  267. border-image: url(:/light/right_arrow.svg);
  268. width: 0.6ex;
  269. height: 0.9ex;
  270. }
  271. QWidget:disabled
  272. {
  273. color: #454545;
  274. background-color: #31363b;
  275. }
  276. QAbstractItemView
  277. {
  278. alternate-background-color: #31363b;
  279. color: #eff0f1;
  280. border: 0.1ex solid 3A3939;
  281. border-radius: 0.2ex;
  282. }
  283. QWidget:focus,
  284. QMenuBar:focus
  285. {
  286. border: 0.1ex solid #3daee9;
  287. }
  288. QTabWidget:focus,
  289. QCheckBox:focus,
  290. QRadioButton:focus,
  291. QSlider:focus
  292. {
  293. border: none;
  294. }
  295. QLineEdit
  296. {
  297. background-color: #232629;
  298. padding: 0.5ex;
  299. border-style: solid;
  300. border: 0.1ex solid #76797c;
  301. border-radius: 0.2ex;
  302. color: #eff0f1;
  303. }
  304. QGroupBox
  305. {
  306. border: 0.1ex solid #76797c;
  307. border-radius: 0.2ex;
  308. padding-top: 1ex;
  309. margin-top: 1ex;
  310. }
  311. QGroupBox::title
  312. {
  313. subcontrol-origin: margin;
  314. subcontrol-position: top center;
  315. padding-left: 0.1ex;
  316. padding-right: 0.1ex;
  317. margin-top: -0.7ex;
  318. }
  319. QAbstractScrollArea
  320. {
  321. border-radius: 0.2ex;
  322. border: 0.1ex solid #76797c;
  323. background-color: transparent;
  324. }
  325. QScrollBar:horizontal
  326. {
  327. height: 1.5ex;
  328. margin: 0.3ex 1.5ex 0.3ex 1.5ex;
  329. border: 0.1ex transparent #2A2929;
  330. border-radius: 0.4ex;
  331. background-color: #2A2929;
  332. }
  333. QScrollBar::handle:horizontal
  334. {
  335. background-color: #3daee9;
  336. min-width: 0.5ex;
  337. border-radius: 0.4ex;
  338. }
  339. QScrollBar::add-line:horizontal
  340. {
  341. margin: 0px 0.3ex 0px 0.3ex;
  342. border-image: url(:/dark/right_arrow_disabled.svg);
  343. width: 1ex;
  344. height: 1ex;
  345. subcontrol-position: right;
  346. subcontrol-origin: margin;
  347. }
  348. QScrollBar::sub-line:horizontal
  349. {
  350. margin: 0ex 0.3ex 0ex 0.3ex;
  351. border-image: url(:/dark/left_arrow_disabled.svg);
  352. width: 1ex;
  353. height: 1ex;
  354. subcontrol-position: left;
  355. subcontrol-origin: margin;
  356. }
  357. QScrollBar::add-line:horizontal:hover,
  358. QScrollBar::add-line:horizontal:on
  359. {
  360. border-image: url(:/dark/right_arrow.svg);
  361. width: 1ex;
  362. height: 1ex;
  363. subcontrol-position: right;
  364. subcontrol-origin: margin;
  365. }
  366. QScrollBar::sub-line:horizontal:hover,
  367. QScrollBar::sub-line:horizontal:on
  368. {
  369. border-image: url(:/dark/left_arrow.svg);
  370. width: 1ex;
  371. height: 1ex;
  372. subcontrol-position: left;
  373. subcontrol-origin: margin;
  374. }
  375. QScrollBar::up-arrow:horizontal,
  376. QScrollBar::down-arrow:horizontal
  377. {
  378. background: none;
  379. }
  380. QScrollBar::add-page:horizontal,
  381. QScrollBar::sub-page:horizontal
  382. {
  383. background: none;
  384. }
  385. QScrollBar:vertical
  386. {
  387. background-color: #2A2929;
  388. width: 1.5ex;
  389. margin: 1.5ex 0.3ex 1.5ex 0.3ex;
  390. border: 0.1ex transparent #2A2929;
  391. border-radius: 0.4ex;
  392. }
  393. QScrollBar::handle:vertical
  394. {
  395. background-color: #3daee9;
  396. min-height: 0.5ex;
  397. border-radius: 0.4ex;
  398. }
  399. QScrollBar::sub-line:vertical
  400. {
  401. margin: 0.3ex 0ex 0.3ex 0ex;
  402. border-image: url(:/dark/up_arrow_disabled.svg);
  403. height: 1ex;
  404. width: 1ex;
  405. subcontrol-position: top;
  406. subcontrol-origin: margin;
  407. }
  408. QScrollBar::add-line:vertical
  409. {
  410. margin: 0.3ex 0ex 0.3ex 0ex;
  411. border-image: url(:/dark/down_arrow_disabled.svg);
  412. height: 1ex;
  413. width: 1ex;
  414. subcontrol-position: bottom;
  415. subcontrol-origin: margin;
  416. }
  417. QScrollBar::sub-line:vertical:hover,
  418. QScrollBar::sub-line:vertical:on
  419. {
  420. border-image: url(:/dark/up_arrow.svg);
  421. height: 1ex;
  422. width: 1ex;
  423. subcontrol-position: top;
  424. subcontrol-origin: margin;
  425. }
  426. QScrollBar::add-line:vertical:hover,
  427. QScrollBar::add-line:vertical:on
  428. {
  429. border-image: url(:/dark/down_arrow.svg);
  430. height: 1ex;
  431. width: 1ex;
  432. subcontrol-position: bottom;
  433. subcontrol-origin: margin;
  434. }
  435. QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical
  436. {
  437. background: none;
  438. }
  439. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
  440. {
  441. background: none;
  442. }
  443. QTextEdit
  444. {
  445. background-color: #232629;
  446. color: #eff0f1;
  447. border: 0.1ex solid #76797c;
  448. }
  449. QPlainTextEdit
  450. {
  451. background-color: #232629;;
  452. color: #eff0f1;
  453. border-radius: 0.2ex;
  454. border: 0.1ex solid #76797c;
  455. }
  456. QHeaderView::section
  457. {
  458. background-color: #76797c;
  459. color: #eff0f1;
  460. padding: 0.5ex;
  461. border: 0.1ex solid #76797c;
  462. }
  463. QSizeGrip
  464. {
  465. border-image: url(:/dark/sizegrip.svg);
  466. width: 1.2ex;
  467. height: 1.2ex;
  468. }
  469. QMainWindow::separator
  470. {
  471. background-color: #31363b;
  472. color: white;
  473. padding-left: 0.4ex;
  474. spacing: 0.2ex;
  475. border: 0.1ex dashed #76797c;
  476. }
  477. QMainWindow::separator:hover
  478. {
  479. background-color: #787876;
  480. color: white;
  481. padding-left: 0.4ex;
  482. border: 0.1ex solid #76797c;
  483. spacing: 0.2ex;
  484. }
  485. QMenu::separator
  486. {
  487. height: 0.1ex;
  488. background-color: #76797c;
  489. color: white;
  490. padding-left: 0.4ex;
  491. margin-left: 1ex;
  492. margin-right: 0.5ex;
  493. }
  494. QFrame[frameShape="2"], /* QFrame::Panel == 0x0003 */
  495. QFrame[frameShape="3"], /* QFrame::WinPanel == 0x0003 */
  496. QFrame[frameShape="4"], /* QFrame::HLine == 0x0004 */
  497. QFrame[frameShape="5"], /* QFrame::VLine == 0x0005 */
  498. QFrame[frameShape="6"] /* QFrame::StyledPanel == 0x0006 */
  499. {
  500. border-width: 0.1ex;
  501. padding: 0.1ex;
  502. border-style: solid;
  503. border-color: #31363b;
  504. background-color: #76797c;
  505. border-radius: 0.5ex;
  506. }
  507. QStackedWidget
  508. {
  509. border: 0.1ex transparent black;
  510. }
  511. QToolBar
  512. {
  513. border: 0.1ex transparent #393838;
  514. background: 0.1ex solid #31363b;
  515. font-weight: bold;
  516. }
  517. QToolBar::handle:horizontal
  518. {
  519. border-image: url(:/dark/hmovetoolbar.svg);
  520. width = 1.6ex;
  521. height = 6.4ex;
  522. }
  523. QToolBar::handle:vertical
  524. {
  525. border-image: url(:/dark/vmovetoolbar.svg);
  526. width = 5.4ex;
  527. height = 1ex;
  528. }
  529. QToolBar::separator:horizontal
  530. {
  531. border-image: url(:/dark/hsepartoolbar.svg);
  532. width = 0.7ex;
  533. height = 6.3ex;
  534. }
  535. QToolBar::separator:vertical
  536. {
  537. border-image: url(:/dark/vsepartoolbars.svg);
  538. width = 6.3ex;
  539. height = 0.7ex;
  540. }
  541. QPushButton
  542. {
  543. color: #eff0f1;
  544. background-color: qlineargradient(x1: 0.5, y1: 0.5 x2: 0.5, y2: 1, stop: 0 #3b4045, stop: 0.5 #31363b);
  545. border-width: 0.1ex;
  546. border-color: #76797c;
  547. border-style: solid;
  548. padding: 0.5ex;
  549. border-radius: 0.2ex;
  550. outline: none;
  551. }
  552. QPushButton:disabled
  553. {
  554. background-color: #31363b;
  555. border-width: 0.1ex;
  556. border-color: #454545;
  557. border-style: solid;
  558. padding-top: 0.5ex;
  559. padding-bottom: 0.5ex;
  560. padding-left: 1ex;
  561. padding-right: 1ex;
  562. border-radius: 0.2ex;
  563. color: #454545;
  564. }
  565. QPushButton:focus
  566. {
  567. color: white;
  568. }
  569. QPushButton:pressed
  570. {
  571. background-color: #31363b;
  572. padding-top: -1.5ex;
  573. padding-bottom: -1.7ex;
  574. }
  575. QComboBox
  576. {
  577. selection-background-color: #3daee9;
  578. border-style: solid;
  579. border: 0.1ex solid #76797c;
  580. border-radius: 0.2ex;
  581. padding: 0.5ex;
  582. min-width: 7.5ex;
  583. }
  584. QPushButton:checked
  585. {
  586. background-color: #76797c;
  587. border-color: #6A6969;
  588. }
  589. QPushButton:hover
  590. {
  591. background-color: qlineargradient(x1: 0.5, y1: 0.5 x2: 0.5, y2: 1, stop: 0 #454a4f, stop: 0.5 #3b4045);
  592. border: 0.1ex solid #3daee9;
  593. color: #eff0f1;
  594. }
  595. QPushButton:checked:hover
  596. {
  597. background-color: qlineargradient(x1: 0.5, y1: 0.5 x2: 0.5, y2: 1, stop: 0 #808386, stop: 0.5 #76797c);
  598. border: 0.1ex solid #3daee9;
  599. color: #eff0f1;
  600. }
  601. QComboBox:hover,
  602. QAbstractSpinBox:hover,
  603. QLineEdit:hover,
  604. QTextEdit:hover,
  605. QPlainTextEdit:hover,
  606. QAbstractView:hover,
  607. QTreeView:hover
  608. {
  609. border: 0.1ex solid #3daee9;
  610. color: #eff0f1;
  611. }
  612. QComboBox:hover:pressed,
  613. QPushButton:hover:pressed,
  614. QAbstractSpinBox:hover:pressed,
  615. QLineEdit:hover:pressed,
  616. QTextEdit:hover:pressed,
  617. QPlainTextEdit:hover:pressed,
  618. QAbstractView:hover:pressed,
  619. QTreeView:hover:pressed
  620. {
  621. background-color: #31363b;
  622. }
  623. QComboBox:on
  624. {
  625. padding-top: 0.3ex;
  626. padding-left: 0.4ex;
  627. selection-background-color: #4a4a4a;
  628. }
  629. QComboBox QAbstractItemView
  630. {
  631. background-color: #232629;
  632. border-radius: 0.2ex;
  633. border: 0.1ex solid #76797c;
  634. selection-background-color: #3daee9;
  635. }
  636. QComboBox::drop-down
  637. {
  638. subcontrol-origin: padding;
  639. subcontrol-position: top right;
  640. width: 1.5ex;
  641. border-left-width: 0ex;
  642. border-left-color: darkgray;
  643. border-left-style: solid;
  644. border-top-right-radius: 0.3ex;
  645. border-bottom-right-radius: 0.3ex;
  646. }
  647. QComboBox::down-arrow
  648. {
  649. border-image: url(:/dark/down_arrow_disabled.svg);
  650. width: 0.9ex;
  651. height: 0.6ex;
  652. }
  653. QComboBox::down-arrow:on,
  654. QComboBox::down-arrow:hover,
  655. QComboBox::down-arrow:focus
  656. {
  657. border-image: url(:/dark/down_arrow.svg);
  658. width: 0.9ex;
  659. height: 0.6ex;
  660. }
  661. QAbstractSpinBox
  662. {
  663. padding: 0.5ex;
  664. border: 0.1ex solid #76797c;
  665. background-color: #232629;
  666. color: #eff0f1;
  667. border-radius: 0.2ex;
  668. min-width: 7.5ex;
  669. }
  670. QAbstractSpinBox:up-button
  671. {
  672. background-color: transparent;
  673. subcontrol-origin: border;
  674. subcontrol-position: center right;
  675. }
  676. QAbstractSpinBox:down-button
  677. {
  678. background-color: transparent;
  679. subcontrol-origin: border;
  680. subcontrol-position: center left;
  681. }
  682. QAbstractSpinBox::up-arrow,
  683. QAbstractSpinBox::up-arrow:disabled,
  684. QAbstractSpinBox::up-arrow:off
  685. {
  686. border-image: url(:/dark/up_arrow_disabled.svg);
  687. width: 0.9ex;
  688. height: 0.6ex;
  689. }
  690. QAbstractSpinBox::up-arrow:hover
  691. {
  692. border-image: url(:/dark/up_arrow.svg);
  693. width: 0.9ex;
  694. height: 0.6ex;
  695. }
  696. QAbstractSpinBox::down-arrow,
  697. QAbstractSpinBox::down-arrow:disabled,
  698. QAbstractSpinBox::down-arrow:off
  699. {
  700. border-image: url(:/dark/down_arrow_disabled.svg);
  701. width: 0.9ex;
  702. height: 0.6ex;
  703. }
  704. QAbstractSpinBox::down-arrow:hover
  705. {
  706. border-image: url(:/dark/down_arrow.svg);
  707. width: 0.9ex;
  708. height: 0.6ex;
  709. }
  710. QLabel
  711. {
  712. border: 0ex solid black;
  713. }
  714. /* BORDERS */
  715. QTabWidget::pane
  716. {
  717. padding: 0.5ex;
  718. margin: 0.1ex;
  719. }
  720. QTabWidget::pane:top
  721. {
  722. border: 0.1ex solid #76797c;
  723. top: -0.1ex;
  724. }
  725. QTabWidget::pane:bottom
  726. {
  727. border: 0.1ex solid #76797c;
  728. bottom: -0.1ex;
  729. }
  730. QTabWidget::pane:left
  731. {
  732. border: 0.1ex solid #76797c;
  733. right: -0.1ex;
  734. }
  735. QTabWidget::pane:right
  736. {
  737. border: 0.1ex solid #76797c;
  738. left: -0.1ex;
  739. }
  740. QTabBar
  741. {
  742. qproperty-drawBase: 0;
  743. left: 0.5ex; /* move to the right by 0.5ex */
  744. border-radius: 0.3ex;
  745. }
  746. QTabBar:focus
  747. {
  748. border: 0ex transparent black;
  749. }
  750. QTabBar::close-button
  751. {
  752. border-image: url(:/dark/close.svg);
  753. background: transparent;
  754. }
  755. QTabBar::close-button:hover
  756. {
  757. border-image: url(:/dark/close-hover.svg);
  758. width: 1.2ex;
  759. height: 1.2ex;
  760. background: transparent;
  761. }
  762. QTabBar::close-button:pressed
  763. {
  764. border-image: url(:/dark/close-pressed.svg);
  765. width: 1.2ex;
  766. height: 1.2ex;
  767. background: transparent;
  768. }
  769. /* TOP TABS */
  770. QTabBar::tab:top
  771. {
  772. color: #eff0f1;
  773. border: 0.1ex transparent black;
  774. border-left: 0.1ex solid #76797c;
  775. border-top: 0.1ex solid #76797c;
  776. background-color: #31363b;
  777. padding: 0.5ex;
  778. min-width: 50px;
  779. border-top-left-radius: 0.2ex;
  780. border-top-right-radius: 0.2ex;
  781. }
  782. QTabBar::tab:top:last,
  783. QTabBar::tab:top:only-one
  784. {
  785. color: #eff0f1;
  786. border: 0.1ex transparent black;
  787. border-left: 0.1ex solid #76797c;
  788. border-right: 0.1ex solid #76797c;
  789. border-top: 0.1ex solid #76797c;
  790. background-color: #31363b;
  791. padding: 0.5ex;
  792. min-width: 50px;
  793. border-top-left-radius: 0.2ex;
  794. border-top-right-radius: 0.2ex;
  795. }
  796. QTabBar::tab:top:!selected
  797. {
  798. color: #eff0f1;
  799. background-color: #54575B;
  800. border: 0.1ex transparent black;
  801. border-left: 0.1ex solid #76797c;
  802. border-top-left-radius: 0.2ex;
  803. border-top-right-radius: 0.2ex;
  804. }
  805. QTabBar::tab:top:first:!selected
  806. {
  807. color: #eff0f1;
  808. background-color: #54575B;
  809. border: 0.1ex transparent black;
  810. border-top-left-radius: 0.2ex;
  811. border-top-right-radius: 0.2ex;
  812. }
  813. QTabBar::tab:top:!selected:hover
  814. {
  815. background-color: rgba(61, 173, 232, 0.2);
  816. border: 0.1ex rgba(61, 173, 232, 0.2);
  817. border-left: 0.1ex solid #76797c;
  818. }
  819. QTabBar::tab:top:!selected:first:hover
  820. {
  821. background-color: rgba(61, 173, 232, 0.2);
  822. border: 0.1ex rgba(61, 173, 232, 0.2);
  823. }
  824. /* BOTTOM TABS */
  825. QTabBar::tab:bottom
  826. {
  827. color: #eff0f1;
  828. border: 0.1ex transparent black;
  829. border-left: 0.1ex solid #76797c;
  830. border-bottom: 0.1ex solid #76797c;
  831. background-color: #31363b;
  832. padding: 0.5ex;
  833. border-bottom-left-radius: 0.2ex;
  834. border-bottom-right-radius: 0.2ex;
  835. min-width: 50px;
  836. }
  837. QTabBar::tab:bottom:last,
  838. QTabBar::tab:bottom:only-one
  839. {
  840. color: #eff0f1;
  841. border: 0.1ex transparent black;
  842. border-left: 0.1ex solid #76797c;
  843. border-right: 0.1ex solid #76797c;
  844. border-bottom: 0.1ex solid #76797c;
  845. background-color: #31363b;
  846. padding: 0.5ex;
  847. border-bottom-left-radius: 0.2ex;
  848. border-bottom-right-radius: 0.2ex;
  849. min-width: 50px;
  850. }
  851. QTabBar::tab:bottom:!selected
  852. {
  853. color: #eff0f1;
  854. background-color: #54575B;
  855. border: 0.1ex transparent black;
  856. border-left: 0.1ex solid #76797c;
  857. border-bottom-left-radius: 0.2ex;
  858. border-bottom-right-radius: 0.2ex;
  859. }
  860. QTabBar::tab:bottom:first:!selected
  861. {
  862. color: #eff0f1;
  863. background-color: #54575B;
  864. border: 0.1ex transparent black;
  865. border-top-left-radius: 0.2ex;
  866. border-top-right-radius: 0.2ex;
  867. }
  868. QTabBar::tab:bottom:!selected:hover
  869. {
  870. background-color: rgba(61, 173, 232, 0.2);
  871. border: 0.1ex rgba(61, 173, 232, 0.2);
  872. border-left: 0.1ex solid #76797c;
  873. }
  874. QTabBar::tab:bottom:!selected:first:hover
  875. {
  876. background-color: rgba(61, 173, 232, 0.2);
  877. border: 0.1ex rgba(61, 173, 232, 0.2);
  878. }
  879. /* LEFT TABS */
  880. QTabBar::tab:left
  881. {
  882. color: #eff0f1;
  883. border: 0.1ex transparent black;
  884. border-top: 0.1ex solid #76797c;
  885. border-right: 0.1ex solid #76797c;
  886. background-color: #31363b;
  887. padding: 0.5ex;
  888. border-top-right-radius: 0.2ex;
  889. border-bottom-right-radius: 0.2ex;
  890. min-height: 50px;
  891. }
  892. QTabBar::tab:left:last,
  893. QTabBar::tab:left:only-one
  894. {
  895. color: #eff0f1;
  896. border: 0.1ex transparent black;
  897. border-top: 0.1ex solid #76797c;
  898. border-bottom: 0.1ex solid #76797c;
  899. border-right: 0.1ex solid #76797c;
  900. background-color: #31363b;
  901. padding: 0.5ex;
  902. border-top-right-radius: 0.2ex;
  903. border-bottom-right-radius: 0.2ex;
  904. min-height: 50px;
  905. }
  906. QTabBar::tab:left:!selected
  907. {
  908. color: #eff0f1;
  909. background-color: #54575B;
  910. border: 0.1ex transparent black;
  911. border-top: 0.1ex solid #76797c;
  912. border-top-right-radius: 0.2ex;
  913. border-bottom-right-radius: 0.2ex;
  914. }
  915. QTabBar::tab:left:!selected:hover
  916. {
  917. background-color: rgba(61, 173, 232, 0.2);
  918. border: 0.1ex rgba(61, 173, 232, 0.2);
  919. border-top: 0.1ex solid #76797c;
  920. }
  921. QTabBar::tab:left:!selected:first:hover
  922. {
  923. background-color: rgba(61, 173, 232, 0.2);
  924. border: 0.1ex rgba(61, 173, 232, 0.2);
  925. }
  926. /* RIGHT TABS */
  927. QTabBar::tab:right
  928. {
  929. color: #eff0f1;
  930. border: 0.1ex transparent black;
  931. border-top: 0.1ex solid #76797c;
  932. border-left: 0.1ex solid #76797c;
  933. background-color: #31363b;
  934. padding: 0.5ex;
  935. border-top-left-radius: 0.2ex;
  936. border-bottom-left-radius: 0.2ex;
  937. min-height: 50px;
  938. }
  939. QTabBar::tab:right:last,
  940. QTabBar::tab:right:only-one
  941. {
  942. color: #eff0f1;
  943. border: 0.1ex transparent black;
  944. border-top: 0.1ex solid #76797c;
  945. border-bottom: 0.1ex solid #76797c;
  946. border-left: 0.1ex solid #76797c;
  947. background-color: #31363b;
  948. padding: 0.5ex;
  949. border-top-left-radius: 0.2ex;
  950. border-bottom-left-radius: 0.2ex;
  951. min-height: 50px;
  952. }
  953. QTabBar::tab:right:!selected
  954. {
  955. color: #eff0f1;
  956. background-color: #54575B;
  957. border: 0.1ex transparent black;
  958. border-top: 0.1ex solid #76797c;
  959. border-top-left-radius: 0.2ex;
  960. border-bottom-left-radius: 0.2ex;
  961. }
  962. QTabBar::tab:right:!selected:hover
  963. {
  964. background-color: rgba(61, 173, 232, 0.2);
  965. border: 0.1ex rgba(61, 173, 232, 0.2);
  966. border-top: 0.1ex solid #76797c;
  967. }
  968. QTabBar::tab:right:!selected:first:hover
  969. {
  970. background-color: rgba(61, 173, 232, 0.2);
  971. border: 0.1ex rgba(61, 173, 232, 0.2);
  972. }
  973. QTabBar QToolButton::right-arrow:enabled
  974. {
  975. border-image: url(:/dark/right_arrow.svg);
  976. }
  977. QTabBar QToolButton::left-arrow:enabled
  978. {
  979. border-image: url(:/dark/left_arrow.svg);
  980. }
  981. QTabBar QToolButton::right-arrow:disabled
  982. {
  983. border-image: url(:/dark/right_arrow_disabled.svg);
  984. }
  985. QTabBar QToolButton::left-arrow:disabled
  986. {
  987. border-image: url(:/dark/left_arrow_disabled.svg);
  988. }
  989. QDockWidget
  990. {
  991. background: #31363b;
  992. border: 0.1ex solid #403F3F;
  993. titlebar-close-icon: url(:/dark/transparent.svg);
  994. titlebar-normal-icon: url(:/dark/transparent.svg);
  995. }
  996. QDockWidget::close-button,
  997. QDockWidget::float-button
  998. {
  999. border: 0.1ex solid transparent;
  1000. border-radius: 0.2ex;
  1001. background: transparent;
  1002. }
  1003. QDockWidget::float-button
  1004. {
  1005. border-image: url(:/dark/undock.svg);
  1006. }
  1007. QDockWidget::float-button:hover
  1008. {
  1009. border-image: url(:/dark/undock-hover.svg) ;
  1010. }
  1011. QDockWidget::close-button
  1012. {
  1013. border-image: url(:/dark/close.svg) ;
  1014. }
  1015. QDockWidget::close-button:hover
  1016. {
  1017. border-image: url(:/dark/close-hover.svg) ;
  1018. }
  1019. QDockWidget::close-button:pressed
  1020. {
  1021. border-image: url(:/dark/close-pressed.svg) ;
  1022. }
  1023. QTreeView,
  1024. QListView
  1025. {
  1026. border: 0.1ex solid #76797c;
  1027. background-color: #232629;
  1028. }
  1029. QTreeView::branch:has-siblings:!adjoins-item
  1030. {
  1031. border-image: url(:/dark/stylesheet-vline.svg) 0;
  1032. }
  1033. QTreeView::branch:has-siblings:adjoins-item
  1034. {
  1035. border-image: url(:/dark/stylesheet-branch-more.svg) 0;
  1036. }
  1037. QTreeView::branch:!has-children:!has-siblings:adjoins-item
  1038. {
  1039. border-image: url(:/dark/stylesheet-branch-end.svg) 0;
  1040. }
  1041. QTreeView::branch:has-children:!has-siblings:closed,
  1042. QTreeView::branch:closed:has-children:has-siblings
  1043. {
  1044. border-image: url(:/dark/stylesheet-branch-end-closed.svg) 0;
  1045. image: url(:/dark/branch_closed.svg);
  1046. }
  1047. QTreeView::branch:open:has-children:!has-siblings,
  1048. QTreeView::branch:open:has-children:has-siblings
  1049. {
  1050. border-image: url(:/dark/stylesheet-branch-end-open.svg) 0;
  1051. image: url(:/dark/branch_open.svg);
  1052. }
  1053. /*
  1054. QTreeView::branch:has-siblings:!adjoins-item {
  1055. background: cyan;
  1056. }
  1057. QTreeView::branch:has-siblings:adjoins-item {
  1058. background: red;
  1059. }
  1060. QTreeView::branch:!has-children:!has-siblings:adjoins-item {
  1061. background: blue;
  1062. }
  1063. QTreeView::branch:closed:has-children:has-siblings {
  1064. background: pink;
  1065. }
  1066. QTreeView::branch:has-children:!has-siblings:closed {
  1067. background: gray;
  1068. }
  1069. QTreeView::branch:open:has-children:has-siblings {
  1070. background: magenta;
  1071. }
  1072. QTreeView::branch:open:has-children:!has-siblings {
  1073. background: green;
  1074. }
  1075. */
  1076. QTableView::item,
  1077. QListView::item,
  1078. QTreeView::item
  1079. {
  1080. padding: 0.3ex;
  1081. }
  1082. QTableView::item:!selected:hover,
  1083. QListView::item:!selected:hover,
  1084. QTreeView::item:!selected:hover
  1085. {
  1086. background-color: rgba(61, 173, 232, 0.2);
  1087. outline: 0;
  1088. color: #eff0f1;
  1089. padding: 0.3ex;
  1090. }
  1091. QSlider::groove:horizontal
  1092. {
  1093. border: 0.1ex solid #31363b;
  1094. height: 0.4ex;
  1095. background: #565a5e;
  1096. margin: 0ex;
  1097. border-radius: 0.2ex;
  1098. }
  1099. QSlider::handle:horizontal
  1100. {
  1101. background: #232629;
  1102. border: 0.1ex solid #626568;
  1103. width: 1.6ex;
  1104. height: 1.6ex;
  1105. margin: -0.8ex 0;
  1106. border-radius: 0.9ex;
  1107. }
  1108. QSlider::groove:vertical
  1109. {
  1110. border: 0.1ex solid #31363b;
  1111. width: 0.4ex;
  1112. background: #565a5e;
  1113. margin: 0ex;
  1114. border-radius: 0.3ex;
  1115. }
  1116. QSlider::handle:vertical
  1117. {
  1118. background: #232629;
  1119. border: 0.1ex solid #626568;
  1120. width: 1.6ex;
  1121. height: 1.6ex;
  1122. margin: 0 -0.8ex;
  1123. border-radius: 0.9ex;
  1124. }
  1125. QSlider::handle:horizontal:hover,
  1126. QSlider::handle:horizontal:focus,
  1127. QSlider::handle:vertical:hover,
  1128. QSlider::handle:vertical:focus
  1129. {
  1130. border: 0.1ex solid #3daee9;
  1131. }
  1132. QSlider::sub-page:horizontal,
  1133. QSlider::add-page:vertical
  1134. {
  1135. background: #3daee9;
  1136. border-radius: 0.3ex;
  1137. }
  1138. QSlider::add-page:horizontal,
  1139. QSlider::sub-page:vertical
  1140. {
  1141. background: #626568;
  1142. border-radius: 0.3ex;
  1143. }
  1144. QToolButton
  1145. {
  1146. background-color: transparent;
  1147. border: 0.1ex solid #76797c;
  1148. border-radius: 0.2ex;
  1149. margin: 0.3ex;
  1150. padding: 0.5ex;
  1151. }
  1152. QToolButton[popupMode="1"] /* only for MenuButtonPopup */
  1153. {
  1154. padding-right: 2ex; /* make way for the popup button */
  1155. }
  1156. QToolButton[popupMode="2"] /* only for InstantPopup */
  1157. {
  1158. padding-right: 1ex; /* make way for the popup button */
  1159. }
  1160. QToolButton::menu-indicator
  1161. {
  1162. border-image: none;
  1163. image: url(:/dark/down_arrow.svg);
  1164. top: -0.7ex;
  1165. left: -0.2ex;
  1166. }
  1167. QToolButton::menu-arrow
  1168. {
  1169. border-image: none;
  1170. image: url(:/dark/down_arrow.svg);
  1171. }
  1172. QToolButton:hover,
  1173. QToolButton::menu-button:hover
  1174. {
  1175. background-color: transparent;
  1176. border: 0.1ex solid #3daee9;
  1177. }
  1178. QToolButton:checked,
  1179. QToolButton:pressed,
  1180. QToolButton::menu-button:pressed
  1181. {
  1182. background-color: #3daee9;
  1183. border: 0.1ex solid #3daee9;
  1184. padding: 0.5ex;
  1185. }
  1186. QToolButton::menu-button
  1187. {
  1188. border: 0.1ex solid #76797c;
  1189. border-top-right-radius: 6px;
  1190. border-bottom-right-radius: 6px;
  1191. /* 1ex width + 0.4ex for border + no text = 2ex allocated above */
  1192. width: 1ex;
  1193. padding: 0.5ex;
  1194. outline: none;
  1195. }
  1196. QToolButton::menu-arrow:open
  1197. {
  1198. border: 0.1ex solid #76797c;
  1199. }
  1200. QPushButton::menu-indicator
  1201. {
  1202. subcontrol-origin: padding;
  1203. subcontrol-position: bottom right;
  1204. left: 0.8ex;
  1205. }
  1206. QTableView
  1207. {
  1208. border: 0.1ex solid #76797c;
  1209. gridline-color: #31363b;
  1210. background-color: #232629;
  1211. }
  1212. QTableView,
  1213. QHeaderView
  1214. {
  1215. border-radius: 0px;
  1216. }
  1217. QTableView::item:pressed,
  1218. QListView::item:pressed,
  1219. QTreeView::item:pressed
  1220. {
  1221. background: #3daee9;
  1222. color: #eff0f1;
  1223. }
  1224. QTableView::item:selected:active,
  1225. QTreeView::item:selected:active,
  1226. QListView::item:selected:active
  1227. {
  1228. background: #3daee9;
  1229. color: #eff0f1;
  1230. }
  1231. QListView::item:selected:hover,
  1232. QTreeView::item:selected:hover
  1233. {
  1234. background-color: #47b8f3;
  1235. color: #eff0f1;
  1236. }
  1237. QHeaderView
  1238. {
  1239. background-color: #31363b;
  1240. border: 0.1ex transparent;
  1241. border-radius: 0px;
  1242. margin: 0px;
  1243. padding: 0px;
  1244. }
  1245. QHeaderView::section
  1246. {
  1247. background-color: #31363b;
  1248. color: #eff0f1;
  1249. padding: 0.5ex;
  1250. border: 0.1ex solid #76797c;
  1251. border-radius: 0px;
  1252. text-align: center;
  1253. }
  1254. QHeaderView::section::vertical::first,
  1255. QHeaderView::section::vertical::only-one
  1256. {
  1257. border-top: 0.1ex solid #76797c;
  1258. }
  1259. QHeaderView::section::vertical
  1260. {
  1261. border-top: transparent;
  1262. }
  1263. QHeaderView::section::horizontal::first,
  1264. QHeaderView::section::horizontal::only-one
  1265. {
  1266. border-left: 0.1ex solid #76797c;
  1267. }
  1268. QHeaderView::section::horizontal
  1269. {
  1270. border-left: transparent;
  1271. }
  1272. QHeaderView::section:checked
  1273. {
  1274. color: white;
  1275. background-color: #334e5e;
  1276. }
  1277. /* style the sort indicator */
  1278. QHeaderView::down-arrow
  1279. {
  1280. image: url(:/dark/down_arrow.svg);
  1281. }
  1282. QHeaderView::up-arrow
  1283. {
  1284. image: url(:/dark/up_arrow.svg);
  1285. }
  1286. QTableCornerButton::section
  1287. {
  1288. background-color: #31363b;
  1289. border: 0.1ex transparent #76797c;
  1290. border-radius: 0px;
  1291. }
  1292. QToolBox
  1293. {
  1294. padding: 0.5ex;
  1295. border: 0.1ex transparent black;
  1296. }
  1297. QToolBox:selected
  1298. {
  1299. background-color: #31363b;
  1300. border-color: #3daee9;
  1301. }
  1302. QToolBox:hover
  1303. {
  1304. border-color: #3daee9;
  1305. }
  1306. QStatusBar::item
  1307. {
  1308. border: 0px transparent dark;
  1309. }
  1310. QFrame[height="3"],
  1311. QFrame[width="3"]
  1312. {
  1313. background-color: #76797c;
  1314. }
  1315. QSplitter::handle
  1316. {
  1317. border: 0.1ex dashed #76797c;
  1318. }
  1319. QSplitter::handle:hover
  1320. {
  1321. background-color: #787876;
  1322. border: 0.1ex solid #76797c;
  1323. }
  1324. QSplitter::handle:horizontal
  1325. {
  1326. width: 0.1ex;
  1327. }
  1328. QSplitter::handle:vertical
  1329. {
  1330. height: 0.1ex;
  1331. }
  1332. QProgressBar:horizontal
  1333. {
  1334. background-color: #626568;
  1335. border: 0.1ex solid #31363b;
  1336. border-radius: 0.3ex;
  1337. height: 0.5ex;
  1338. text-align: right;
  1339. margin-top: 0.5ex;
  1340. margin-bottom: 0.5ex;
  1341. margin-right: 5ex;
  1342. padding: 0px;
  1343. }
  1344. QProgressBar::chunk:horizontal
  1345. {
  1346. background-color: #3daee9;
  1347. border: 0.1ex transparent;
  1348. border-radius: 0.3ex;
  1349. }
  1350. QSpinBox,
  1351. QDoubleSpinBox
  1352. {
  1353. padding-right: 1.5ex;
  1354. }
  1355. QSpinBox::up-button,
  1356. QDoubleSpinBox::up-button
  1357. {
  1358. subcontrol-origin: content;
  1359. subcontrol-position: right top;
  1360. width: 1.6ex;
  1361. border-width: 0.1ex;
  1362. }
  1363. QSpinBox::up-arrow,
  1364. QDoubleSpinBox::up-arrow
  1365. {
  1366. border-image: url(:/dark/up_arrow.svg);
  1367. width: 0.9ex;
  1368. height: 0.6ex;
  1369. }
  1370. QSpinBox::up-arrow:hover,
  1371. QSpinBox::up-arrow:pressed,
  1372. QDoubleSpinBox::up-arrow:hover,
  1373. QDoubleSpinBox::up-arrow:pressed
  1374. {
  1375. border-image: url(:/dark/up_arrow-hover.svg);
  1376. width: 0.9ex;
  1377. height: 0.6ex;
  1378. }
  1379. QSpinBox::up-arrow:disabled,
  1380. QSpinBox::up-arrow:off,
  1381. QDoubleSpinBox::up-arrow:disabled,
  1382. QDoubleSpinBox::up-arrow:off
  1383. {
  1384. border-image: url(:/dark/up_arrow_disabled.svg);
  1385. }
  1386. QSpinBox::down-button,
  1387. QDoubleSpinBox::down-button
  1388. {
  1389. subcontrol-origin: content;
  1390. subcontrol-position: right bottom;
  1391. width: 1.6ex;
  1392. border-width: 0.1ex;
  1393. }
  1394. QSpinBox::down-arrow,
  1395. QDoubleSpinBox::down-arrow
  1396. {
  1397. border-image: url(:/dark/down_arrow.svg);
  1398. width: 0.9ex;
  1399. height: 0.6ex;
  1400. }
  1401. QSpinBox::down-arrow:hover,
  1402. QSpinBox::down-arrow:pressed,
  1403. QDoubleSpinBox::down-arrow:hover,
  1404. QDoubleSpinBox::down-arrow:pressed
  1405. {
  1406. border-image: url(:/dark/down_arrow-hover.svg);
  1407. width: 0.9ex;
  1408. height: 0.6ex;
  1409. }
  1410. QSpinBox::down-arrow:disabled,
  1411. QSpinBox::down-arrow:off,
  1412. QDoubleSpinBox::down-arrow:disabled,
  1413. QDoubleSpinBox::down-arrow:off
  1414. {
  1415. border-image: url(:/dark/down_arrow_disabled.svg);
  1416. }