breeze_dark.qss 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649
  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. min-height: 5ex;
  390. margin: 1.5ex 0.3ex 1.5ex 0.3ex;
  391. border: 0.1ex transparent #2A2929;
  392. border-radius: 0.4ex;
  393. }
  394. QScrollBar::handle:vertical
  395. {
  396. background-color: #3daee9;
  397. min-height: 5ex;
  398. border-radius: 0.4ex;
  399. }
  400. QScrollBar::sub-line:vertical
  401. {
  402. margin: 0.3ex 0ex 0.3ex 0ex;
  403. border-image: url(:/dark/up_arrow_disabled.svg);
  404. height: 1ex;
  405. width: 1ex;
  406. subcontrol-position: top;
  407. subcontrol-origin: margin;
  408. }
  409. QScrollBar::add-line:vertical
  410. {
  411. margin: 0.3ex 0ex 0.3ex 0ex;
  412. border-image: url(:/dark/down_arrow_disabled.svg);
  413. height: 1ex;
  414. width: 1ex;
  415. subcontrol-position: bottom;
  416. subcontrol-origin: margin;
  417. }
  418. QScrollBar::sub-line:vertical:hover,
  419. QScrollBar::sub-line:vertical:on
  420. {
  421. border-image: url(:/dark/up_arrow.svg);
  422. height: 1ex;
  423. width: 1ex;
  424. subcontrol-position: top;
  425. subcontrol-origin: margin;
  426. }
  427. QScrollBar::add-line:vertical:hover,
  428. QScrollBar::add-line:vertical:on
  429. {
  430. border-image: url(:/dark/down_arrow.svg);
  431. height: 1ex;
  432. width: 1ex;
  433. subcontrol-position: bottom;
  434. subcontrol-origin: margin;
  435. }
  436. QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical
  437. {
  438. background: none;
  439. }
  440. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
  441. {
  442. background: none;
  443. }
  444. QTextEdit
  445. {
  446. background-color: #232629;
  447. color: #eff0f1;
  448. border: 0.1ex solid #76797c;
  449. }
  450. QPlainTextEdit
  451. {
  452. background-color: #232629;;
  453. color: #eff0f1;
  454. border-radius: 0.2ex;
  455. border: 0.1ex solid #76797c;
  456. }
  457. QHeaderView::section
  458. {
  459. background-color: #76797c;
  460. color: #eff0f1;
  461. padding: 0.5ex;
  462. border: 0.1ex solid #76797c;
  463. }
  464. QSizeGrip
  465. {
  466. border-image: url(:/dark/sizegrip.svg);
  467. width: 1.2ex;
  468. height: 1.2ex;
  469. }
  470. QMainWindow::separator
  471. {
  472. background-color: #31363b;
  473. color: white;
  474. padding-left: 0.4ex;
  475. spacing: 0.2ex;
  476. border: 0.1ex dashed #76797c;
  477. }
  478. QMainWindow::separator:hover
  479. {
  480. background-color: #787876;
  481. color: white;
  482. padding-left: 0.4ex;
  483. border: 0.1ex solid #76797c;
  484. spacing: 0.2ex;
  485. }
  486. QMenu::separator
  487. {
  488. height: 0.1ex;
  489. background-color: #76797c;
  490. color: white;
  491. padding-left: 0.4ex;
  492. margin-left: 1ex;
  493. margin-right: 0.5ex;
  494. }
  495. QFrame[frameShape="2"], /* QFrame::Panel == 0x0003 */
  496. QFrame[frameShape="3"], /* QFrame::WinPanel == 0x0003 */
  497. QFrame[frameShape="4"], /* QFrame::HLine == 0x0004 */
  498. QFrame[frameShape="5"], /* QFrame::VLine == 0x0005 */
  499. QFrame[frameShape="6"] /* QFrame::StyledPanel == 0x0006 */
  500. {
  501. border-width: 0.1ex;
  502. padding: 0.1ex;
  503. border-style: solid;
  504. border-color: #31363b;
  505. background-color: #76797c;
  506. border-radius: 0.5ex;
  507. }
  508. QStackedWidget
  509. {
  510. border: 0.1ex transparent black;
  511. }
  512. QToolBar
  513. {
  514. border: 0.1ex transparent #393838;
  515. background: 0.1ex solid #31363b;
  516. font-weight: bold;
  517. }
  518. QToolBar::handle:horizontal
  519. {
  520. border-image: url(:/dark/hmovetoolbar.svg);
  521. width = 1.6ex;
  522. height = 6.4ex;
  523. }
  524. QToolBar::handle:vertical
  525. {
  526. border-image: url(:/dark/vmovetoolbar.svg);
  527. width = 5.4ex;
  528. height = 1ex;
  529. }
  530. QToolBar::separator:horizontal
  531. {
  532. border-image: url(:/dark/hsepartoolbar.svg);
  533. width = 0.7ex;
  534. height = 6.3ex;
  535. }
  536. QToolBar::separator:vertical
  537. {
  538. border-image: url(:/dark/vsepartoolbars.svg);
  539. width = 6.3ex;
  540. height = 0.7ex;
  541. }
  542. QPushButton
  543. {
  544. color: #eff0f1;
  545. background-color: qlineargradient(x1: 0.5, y1: 0.5 x2: 0.5, y2: 1, stop: 0 #3b4045, stop: 0.5 #31363b);
  546. border-width: 0.1ex;
  547. border-color: #76797c;
  548. border-style: solid;
  549. padding: 0.5ex;
  550. border-radius: 0.2ex;
  551. outline: none;
  552. }
  553. QPushButton:disabled
  554. {
  555. background-color: #31363b;
  556. border-width: 0.1ex;
  557. border-color: #454545;
  558. border-style: solid;
  559. padding-top: 0.5ex;
  560. padding-bottom: 0.5ex;
  561. padding-left: 1ex;
  562. padding-right: 1ex;
  563. border-radius: 0.2ex;
  564. color: #454545;
  565. }
  566. QPushButton:focus
  567. {
  568. color: white;
  569. }
  570. QPushButton:pressed
  571. {
  572. background-color: #31363b;
  573. padding-top: -1.5ex;
  574. padding-bottom: -1.7ex;
  575. }
  576. QComboBox
  577. {
  578. selection-background-color: #3daee9;
  579. border-style: solid;
  580. border: 0.1ex solid #76797c;
  581. border-radius: 0.2ex;
  582. padding: 0.5ex;
  583. min-width: 7.5ex;
  584. }
  585. QPushButton:checked
  586. {
  587. background-color: #76797c;
  588. border-color: #6A6969;
  589. }
  590. QPushButton:hover
  591. {
  592. background-color: qlineargradient(x1: 0.5, y1: 0.5 x2: 0.5, y2: 1, stop: 0 #454a4f, stop: 0.5 #3b4045);
  593. border: 0.1ex solid #3daee9;
  594. color: #eff0f1;
  595. }
  596. QPushButton:checked:hover
  597. {
  598. background-color: qlineargradient(x1: 0.5, y1: 0.5 x2: 0.5, y2: 1, stop: 0 #808386, stop: 0.5 #76797c);
  599. border: 0.1ex solid #3daee9;
  600. color: #eff0f1;
  601. }
  602. QComboBox:hover,
  603. QAbstractSpinBox:hover,
  604. QLineEdit:hover,
  605. QTextEdit:hover,
  606. QPlainTextEdit:hover,
  607. QAbstractView:hover,
  608. QTreeView:hover
  609. {
  610. border: 0.1ex solid #3daee9;
  611. color: #eff0f1;
  612. }
  613. QComboBox:hover:pressed,
  614. QPushButton:hover:pressed,
  615. QAbstractSpinBox:hover:pressed,
  616. QLineEdit:hover:pressed,
  617. QTextEdit:hover:pressed,
  618. QPlainTextEdit:hover:pressed,
  619. QAbstractView:hover:pressed,
  620. QTreeView:hover:pressed
  621. {
  622. background-color: #31363b;
  623. }
  624. QComboBox:on
  625. {
  626. padding-top: 0.3ex;
  627. padding-left: 0.4ex;
  628. selection-background-color: #4a4a4a;
  629. }
  630. QComboBox QAbstractItemView
  631. {
  632. background-color: #232629;
  633. border-radius: 0.2ex;
  634. border: 0.1ex solid #76797c;
  635. selection-background-color: #3daee9;
  636. }
  637. QComboBox::drop-down
  638. {
  639. subcontrol-origin: padding;
  640. subcontrol-position: top right;
  641. width: 1.5ex;
  642. border-left-width: 0ex;
  643. border-left-color: darkgray;
  644. border-left-style: solid;
  645. border-top-right-radius: 0.3ex;
  646. border-bottom-right-radius: 0.3ex;
  647. }
  648. QComboBox::down-arrow
  649. {
  650. border-image: url(:/dark/down_arrow_disabled.svg);
  651. width: 0.9ex;
  652. height: 0.6ex;
  653. }
  654. QComboBox::down-arrow:on,
  655. QComboBox::down-arrow:hover,
  656. QComboBox::down-arrow:focus
  657. {
  658. border-image: url(:/dark/down_arrow.svg);
  659. width: 0.9ex;
  660. height: 0.6ex;
  661. }
  662. QAbstractSpinBox
  663. {
  664. padding: 0.5ex;
  665. border: 0.1ex solid #76797c;
  666. background-color: #232629;
  667. color: #eff0f1;
  668. border-radius: 0.2ex;
  669. min-width: 7.5ex;
  670. }
  671. QAbstractSpinBox:up-button
  672. {
  673. background-color: transparent;
  674. subcontrol-origin: border;
  675. subcontrol-position: center right;
  676. }
  677. QAbstractSpinBox:down-button
  678. {
  679. background-color: transparent;
  680. subcontrol-origin: border;
  681. subcontrol-position: center left;
  682. }
  683. QAbstractSpinBox::up-arrow,
  684. QAbstractSpinBox::up-arrow:disabled,
  685. QAbstractSpinBox::up-arrow:off
  686. {
  687. border-image: url(:/dark/up_arrow_disabled.svg);
  688. width: 0.9ex;
  689. height: 0.6ex;
  690. }
  691. QAbstractSpinBox::up-arrow:hover
  692. {
  693. border-image: url(:/dark/up_arrow.svg);
  694. width: 0.9ex;
  695. height: 0.6ex;
  696. }
  697. QAbstractSpinBox::down-arrow,
  698. QAbstractSpinBox::down-arrow:disabled,
  699. QAbstractSpinBox::down-arrow:off
  700. {
  701. border-image: url(:/dark/down_arrow_disabled.svg);
  702. width: 0.9ex;
  703. height: 0.6ex;
  704. }
  705. QAbstractSpinBox::down-arrow:hover
  706. {
  707. border-image: url(:/dark/down_arrow.svg);
  708. width: 0.9ex;
  709. height: 0.6ex;
  710. }
  711. QLabel
  712. {
  713. border: 0ex solid black;
  714. }
  715. /* BORDERS */
  716. QTabWidget::pane
  717. {
  718. padding: 0.5ex;
  719. margin: 0.1ex;
  720. }
  721. QTabWidget::pane:top
  722. {
  723. border: 0.1ex solid #76797c;
  724. top: -0.1ex;
  725. }
  726. QTabWidget::pane:bottom
  727. {
  728. border: 0.1ex solid #76797c;
  729. bottom: -0.1ex;
  730. }
  731. QTabWidget::pane:left
  732. {
  733. border: 0.1ex solid #76797c;
  734. right: -0.1ex;
  735. }
  736. QTabWidget::pane:right
  737. {
  738. border: 0.1ex solid #76797c;
  739. left: -0.1ex;
  740. }
  741. QTabBar
  742. {
  743. qproperty-drawBase: 0;
  744. left: 0.5ex; /* move to the right by 0.5ex */
  745. border-radius: 0.3ex;
  746. }
  747. QTabBar:focus
  748. {
  749. border: 0ex transparent black;
  750. }
  751. QTabBar::close-button
  752. {
  753. border-image: url(:/dark/close.svg);
  754. background: transparent;
  755. }
  756. QTabBar::close-button:hover
  757. {
  758. border-image: url(:/dark/close-hover.svg);
  759. width: 1.2ex;
  760. height: 1.2ex;
  761. background: transparent;
  762. }
  763. QTabBar::close-button:pressed
  764. {
  765. border-image: url(:/dark/close-pressed.svg);
  766. width: 1.2ex;
  767. height: 1.2ex;
  768. background: transparent;
  769. }
  770. /* TOP TABS */
  771. QTabBar::tab:top
  772. {
  773. color: #eff0f1;
  774. border: 0.1ex transparent black;
  775. border-left: 0.1ex solid #76797c;
  776. border-top: 0.1ex solid #76797c;
  777. background-color: #31363b;
  778. padding: 0.5ex;
  779. min-width: 50px;
  780. border-top-left-radius: 0.2ex;
  781. border-top-right-radius: 0.2ex;
  782. }
  783. QTabBar::tab:top:last,
  784. QTabBar::tab:top:only-one
  785. {
  786. color: #eff0f1;
  787. border: 0.1ex transparent black;
  788. border-left: 0.1ex solid #76797c;
  789. border-right: 0.1ex solid #76797c;
  790. border-top: 0.1ex solid #76797c;
  791. background-color: #31363b;
  792. padding: 0.5ex;
  793. min-width: 50px;
  794. border-top-left-radius: 0.2ex;
  795. border-top-right-radius: 0.2ex;
  796. }
  797. QTabBar::tab:top:!selected
  798. {
  799. color: #eff0f1;
  800. background-color: #54575B;
  801. border: 0.1ex transparent black;
  802. border-left: 0.1ex solid #76797c;
  803. border-top-left-radius: 0.2ex;
  804. border-top-right-radius: 0.2ex;
  805. }
  806. QTabBar::tab:top:first:!selected
  807. {
  808. color: #eff0f1;
  809. background-color: #54575B;
  810. border: 0.1ex transparent black;
  811. border-top-left-radius: 0.2ex;
  812. border-top-right-radius: 0.2ex;
  813. }
  814. QTabBar::tab:top:!selected:hover
  815. {
  816. background-color: rgba(61, 173, 232, 0.2);
  817. border: 0.1ex rgba(61, 173, 232, 0.2);
  818. border-left: 0.1ex solid #76797c;
  819. }
  820. QTabBar::tab:top:!selected:first:hover
  821. {
  822. background-color: rgba(61, 173, 232, 0.2);
  823. border: 0.1ex rgba(61, 173, 232, 0.2);
  824. }
  825. /* BOTTOM TABS */
  826. QTabBar::tab:bottom
  827. {
  828. color: #eff0f1;
  829. border: 0.1ex transparent black;
  830. border-left: 0.1ex solid #76797c;
  831. border-bottom: 0.1ex solid #76797c;
  832. background-color: #31363b;
  833. padding: 0.5ex;
  834. border-bottom-left-radius: 0.2ex;
  835. border-bottom-right-radius: 0.2ex;
  836. min-width: 50px;
  837. }
  838. QTabBar::tab:bottom:last,
  839. QTabBar::tab:bottom:only-one
  840. {
  841. color: #eff0f1;
  842. border: 0.1ex transparent black;
  843. border-left: 0.1ex solid #76797c;
  844. border-right: 0.1ex solid #76797c;
  845. border-bottom: 0.1ex solid #76797c;
  846. background-color: #31363b;
  847. padding: 0.5ex;
  848. border-bottom-left-radius: 0.2ex;
  849. border-bottom-right-radius: 0.2ex;
  850. min-width: 50px;
  851. }
  852. QTabBar::tab:bottom:!selected
  853. {
  854. color: #eff0f1;
  855. background-color: #54575B;
  856. border: 0.1ex transparent black;
  857. border-left: 0.1ex solid #76797c;
  858. border-bottom-left-radius: 0.2ex;
  859. border-bottom-right-radius: 0.2ex;
  860. }
  861. QTabBar::tab:bottom:first:!selected
  862. {
  863. color: #eff0f1;
  864. background-color: #54575B;
  865. border: 0.1ex transparent black;
  866. border-top-left-radius: 0.2ex;
  867. border-top-right-radius: 0.2ex;
  868. }
  869. QTabBar::tab:bottom:!selected:hover
  870. {
  871. background-color: rgba(61, 173, 232, 0.2);
  872. border: 0.1ex rgba(61, 173, 232, 0.2);
  873. border-left: 0.1ex solid #76797c;
  874. }
  875. QTabBar::tab:bottom:!selected:first:hover
  876. {
  877. background-color: rgba(61, 173, 232, 0.2);
  878. border: 0.1ex rgba(61, 173, 232, 0.2);
  879. }
  880. /* LEFT TABS */
  881. QTabBar::tab:left
  882. {
  883. color: #eff0f1;
  884. border: 0.1ex transparent black;
  885. border-top: 0.1ex solid #76797c;
  886. border-right: 0.1ex solid #76797c;
  887. background-color: #31363b;
  888. padding: 0.5ex;
  889. border-top-right-radius: 0.2ex;
  890. border-bottom-right-radius: 0.2ex;
  891. min-height: 50px;
  892. }
  893. QTabBar::tab:left:last,
  894. QTabBar::tab:left:only-one
  895. {
  896. color: #eff0f1;
  897. border: 0.1ex transparent black;
  898. border-top: 0.1ex solid #76797c;
  899. border-bottom: 0.1ex solid #76797c;
  900. border-right: 0.1ex solid #76797c;
  901. background-color: #31363b;
  902. padding: 0.5ex;
  903. border-top-right-radius: 0.2ex;
  904. border-bottom-right-radius: 0.2ex;
  905. min-height: 50px;
  906. }
  907. QTabBar::tab:left:!selected
  908. {
  909. color: #eff0f1;
  910. background-color: #54575B;
  911. border: 0.1ex transparent black;
  912. border-top: 0.1ex solid #76797c;
  913. border-top-right-radius: 0.2ex;
  914. border-bottom-right-radius: 0.2ex;
  915. }
  916. QTabBar::tab:left:!selected:hover
  917. {
  918. background-color: rgba(61, 173, 232, 0.2);
  919. border: 0.1ex rgba(61, 173, 232, 0.2);
  920. border-top: 0.1ex solid #76797c;
  921. }
  922. QTabBar::tab:left:!selected:first:hover
  923. {
  924. background-color: rgba(61, 173, 232, 0.2);
  925. border: 0.1ex rgba(61, 173, 232, 0.2);
  926. }
  927. /* RIGHT TABS */
  928. QTabBar::tab:right
  929. {
  930. color: #eff0f1;
  931. border: 0.1ex transparent black;
  932. border-top: 0.1ex solid #76797c;
  933. border-left: 0.1ex solid #76797c;
  934. background-color: #31363b;
  935. padding: 0.5ex;
  936. border-top-left-radius: 0.2ex;
  937. border-bottom-left-radius: 0.2ex;
  938. min-height: 50px;
  939. }
  940. QTabBar::tab:right:last,
  941. QTabBar::tab:right:only-one
  942. {
  943. color: #eff0f1;
  944. border: 0.1ex transparent black;
  945. border-top: 0.1ex solid #76797c;
  946. border-bottom: 0.1ex solid #76797c;
  947. border-left: 0.1ex solid #76797c;
  948. background-color: #31363b;
  949. padding: 0.5ex;
  950. border-top-left-radius: 0.2ex;
  951. border-bottom-left-radius: 0.2ex;
  952. min-height: 50px;
  953. }
  954. QTabBar::tab:right:!selected
  955. {
  956. color: #eff0f1;
  957. background-color: #54575B;
  958. border: 0.1ex transparent black;
  959. border-top: 0.1ex solid #76797c;
  960. border-top-left-radius: 0.2ex;
  961. border-bottom-left-radius: 0.2ex;
  962. }
  963. QTabBar::tab:right:!selected:hover
  964. {
  965. background-color: rgba(61, 173, 232, 0.2);
  966. border: 0.1ex rgba(61, 173, 232, 0.2);
  967. border-top: 0.1ex solid #76797c;
  968. }
  969. QTabBar::tab:right:!selected:first:hover
  970. {
  971. background-color: rgba(61, 173, 232, 0.2);
  972. border: 0.1ex rgba(61, 173, 232, 0.2);
  973. }
  974. QTabBar QToolButton::right-arrow:enabled
  975. {
  976. border-image: url(:/dark/right_arrow.svg);
  977. }
  978. QTabBar QToolButton::left-arrow:enabled
  979. {
  980. border-image: url(:/dark/left_arrow.svg);
  981. }
  982. QTabBar QToolButton::right-arrow:disabled
  983. {
  984. border-image: url(:/dark/right_arrow_disabled.svg);
  985. }
  986. QTabBar QToolButton::left-arrow:disabled
  987. {
  988. border-image: url(:/dark/left_arrow_disabled.svg);
  989. }
  990. QDockWidget
  991. {
  992. background: #31363b;
  993. border: 0.1ex solid #403F3F;
  994. titlebar-close-icon: url(:/dark/transparent.svg);
  995. titlebar-normal-icon: url(:/dark/transparent.svg);
  996. }
  997. QDockWidget::close-button,
  998. QDockWidget::float-button
  999. {
  1000. border: 0.1ex solid transparent;
  1001. border-radius: 0.2ex;
  1002. background: transparent;
  1003. }
  1004. QDockWidget::float-button
  1005. {
  1006. border-image: url(:/dark/undock.svg);
  1007. }
  1008. QDockWidget::float-button:hover
  1009. {
  1010. border-image: url(:/dark/undock-hover.svg) ;
  1011. }
  1012. QDockWidget::close-button
  1013. {
  1014. border-image: url(:/dark/close.svg) ;
  1015. }
  1016. QDockWidget::close-button:hover
  1017. {
  1018. border-image: url(:/dark/close-hover.svg) ;
  1019. }
  1020. QDockWidget::close-button:pressed
  1021. {
  1022. border-image: url(:/dark/close-pressed.svg) ;
  1023. }
  1024. QTreeView,
  1025. QListView
  1026. {
  1027. border: 0.1ex solid #76797c;
  1028. background-color: #232629;
  1029. }
  1030. QTreeView::branch:has-siblings:!adjoins-item
  1031. {
  1032. border-image: url(:/dark/stylesheet-vline.svg) 0;
  1033. }
  1034. QTreeView::branch:has-siblings:adjoins-item
  1035. {
  1036. border-image: url(:/dark/stylesheet-branch-more.svg) 0;
  1037. }
  1038. QTreeView::branch:!has-children:!has-siblings:adjoins-item
  1039. {
  1040. border-image: url(:/dark/stylesheet-branch-end.svg) 0;
  1041. }
  1042. QTreeView::branch:has-children:!has-siblings:closed,
  1043. QTreeView::branch:closed:has-children:has-siblings
  1044. {
  1045. border-image: url(:/dark/stylesheet-branch-end-closed.svg) 0;
  1046. image: url(:/dark/branch_closed.svg);
  1047. }
  1048. QTreeView::branch:open:has-children:!has-siblings,
  1049. QTreeView::branch:open:has-children:has-siblings
  1050. {
  1051. border-image: url(:/dark/stylesheet-branch-end-open.svg) 0;
  1052. image: url(:/dark/branch_open.svg);
  1053. }
  1054. /*
  1055. QTreeView::branch:has-siblings:!adjoins-item {
  1056. background: cyan;
  1057. }
  1058. QTreeView::branch:has-siblings:adjoins-item {
  1059. background: red;
  1060. }
  1061. QTreeView::branch:!has-children:!has-siblings:adjoins-item {
  1062. background: blue;
  1063. }
  1064. QTreeView::branch:closed:has-children:has-siblings {
  1065. background: pink;
  1066. }
  1067. QTreeView::branch:has-children:!has-siblings:closed {
  1068. background: gray;
  1069. }
  1070. QTreeView::branch:open:has-children:has-siblings {
  1071. background: magenta;
  1072. }
  1073. QTreeView::branch:open:has-children:!has-siblings {
  1074. background: green;
  1075. }
  1076. */
  1077. QTableView::item,
  1078. QListView::item,
  1079. QTreeView::item
  1080. {
  1081. padding: 0.3ex;
  1082. }
  1083. QTableView::item:!selected:hover,
  1084. QListView::item:!selected:hover,
  1085. QTreeView::item:!selected:hover
  1086. {
  1087. background-color: rgba(61, 173, 232, 0.2);
  1088. outline: 0;
  1089. color: #eff0f1;
  1090. padding: 0.3ex;
  1091. }
  1092. QSlider::groove:horizontal
  1093. {
  1094. border: 0.1ex solid #31363b;
  1095. height: 0.4ex;
  1096. background: #565a5e;
  1097. margin: 0ex;
  1098. border-radius: 0.2ex;
  1099. }
  1100. QSlider::handle:horizontal
  1101. {
  1102. background: #232629;
  1103. border: 0.1ex solid #626568;
  1104. width: 1.6ex;
  1105. height: 1.6ex;
  1106. margin: -0.8ex 0;
  1107. border-radius: 0.9ex;
  1108. }
  1109. QSlider::groove:vertical
  1110. {
  1111. border: 0.1ex solid #31363b;
  1112. width: 0.4ex;
  1113. background: #565a5e;
  1114. margin: 0ex;
  1115. border-radius: 0.3ex;
  1116. }
  1117. QSlider::handle:vertical
  1118. {
  1119. background: #232629;
  1120. border: 0.1ex solid #626568;
  1121. width: 1.6ex;
  1122. height: 1.6ex;
  1123. margin: 0 -0.8ex;
  1124. border-radius: 0.9ex;
  1125. }
  1126. QSlider::handle:horizontal:hover,
  1127. QSlider::handle:horizontal:focus,
  1128. QSlider::handle:vertical:hover,
  1129. QSlider::handle:vertical:focus
  1130. {
  1131. border: 0.1ex solid #3daee9;
  1132. }
  1133. QSlider::sub-page:horizontal,
  1134. QSlider::add-page:vertical
  1135. {
  1136. background: #3daee9;
  1137. border-radius: 0.3ex;
  1138. }
  1139. QSlider::add-page:horizontal,
  1140. QSlider::sub-page:vertical
  1141. {
  1142. background: #626568;
  1143. border-radius: 0.3ex;
  1144. }
  1145. QToolButton
  1146. {
  1147. background-color: transparent;
  1148. border: 0.1ex solid #76797c;
  1149. border-radius: 0.2ex;
  1150. margin: 0.3ex;
  1151. padding: 0.5ex;
  1152. }
  1153. QToolButton[popupMode="1"] /* only for MenuButtonPopup */
  1154. {
  1155. padding-right: 2ex; /* make way for the popup button */
  1156. }
  1157. QToolButton[popupMode="2"] /* only for InstantPopup */
  1158. {
  1159. padding-right: 1ex; /* make way for the popup button */
  1160. }
  1161. QToolButton::menu-indicator
  1162. {
  1163. border-image: none;
  1164. image: url(:/dark/down_arrow.svg);
  1165. top: -0.7ex;
  1166. left: -0.2ex;
  1167. }
  1168. QToolButton::menu-arrow
  1169. {
  1170. border-image: none;
  1171. image: url(:/dark/down_arrow.svg);
  1172. }
  1173. QToolButton:hover,
  1174. QToolButton::menu-button:hover
  1175. {
  1176. background-color: transparent;
  1177. border: 0.1ex solid #3daee9;
  1178. }
  1179. QToolButton:checked,
  1180. QToolButton:pressed,
  1181. QToolButton::menu-button:pressed
  1182. {
  1183. background-color: #3daee9;
  1184. border: 0.1ex solid #3daee9;
  1185. padding: 0.5ex;
  1186. }
  1187. QToolButton::menu-button
  1188. {
  1189. border: 0.1ex solid #76797c;
  1190. border-top-right-radius: 6px;
  1191. border-bottom-right-radius: 6px;
  1192. /* 1ex width + 0.4ex for border + no text = 2ex allocated above */
  1193. width: 1ex;
  1194. padding: 0.5ex;
  1195. outline: none;
  1196. }
  1197. QToolButton::menu-arrow:open
  1198. {
  1199. border: 0.1ex solid #76797c;
  1200. }
  1201. QPushButton::menu-indicator
  1202. {
  1203. subcontrol-origin: padding;
  1204. subcontrol-position: bottom right;
  1205. left: 0.8ex;
  1206. }
  1207. QTableView
  1208. {
  1209. border: 0.1ex solid #76797c;
  1210. gridline-color: #31363b;
  1211. background-color: #232629;
  1212. }
  1213. QTableView,
  1214. QHeaderView
  1215. {
  1216. border-radius: 0px;
  1217. }
  1218. QTableView::item:pressed,
  1219. QListView::item:pressed,
  1220. QTreeView::item:pressed
  1221. {
  1222. background: #3daee9;
  1223. color: #eff0f1;
  1224. }
  1225. QTableView::item:selected:active,
  1226. QTreeView::item:selected:active,
  1227. QListView::item:selected:active
  1228. {
  1229. background: #3daee9;
  1230. color: #eff0f1;
  1231. }
  1232. QListView::item:selected:hover,
  1233. QTreeView::item:selected:hover
  1234. {
  1235. background-color: #47b8f3;
  1236. color: #eff0f1;
  1237. }
  1238. QHeaderView
  1239. {
  1240. background-color: #31363b;
  1241. border: 0.1ex transparent;
  1242. border-radius: 0px;
  1243. margin: 0px;
  1244. padding: 0px;
  1245. }
  1246. QHeaderView::section
  1247. {
  1248. background-color: #31363b;
  1249. color: #eff0f1;
  1250. padding: 0.5ex;
  1251. border: 0.1ex solid #76797c;
  1252. border-radius: 0px;
  1253. text-align: center;
  1254. }
  1255. QHeaderView::section::vertical::first,
  1256. QHeaderView::section::vertical::only-one
  1257. {
  1258. border-top: 0.1ex solid #76797c;
  1259. }
  1260. QHeaderView::section::vertical
  1261. {
  1262. border-top: transparent;
  1263. }
  1264. QHeaderView::section::horizontal::first,
  1265. QHeaderView::section::horizontal::only-one
  1266. {
  1267. border-left: 0.1ex solid #76797c;
  1268. }
  1269. QHeaderView::section::horizontal
  1270. {
  1271. border-left: transparent;
  1272. }
  1273. QHeaderView::section:checked
  1274. {
  1275. color: white;
  1276. background-color: #334e5e;
  1277. }
  1278. /* style the sort indicator */
  1279. QHeaderView::down-arrow
  1280. {
  1281. image: url(:/dark/down_arrow.svg);
  1282. }
  1283. QHeaderView::up-arrow
  1284. {
  1285. image: url(:/dark/up_arrow.svg);
  1286. }
  1287. QTableCornerButton::section
  1288. {
  1289. background-color: #31363b;
  1290. border: 0.1ex transparent #76797c;
  1291. border-radius: 0px;
  1292. }
  1293. QToolBox
  1294. {
  1295. padding: 0.5ex;
  1296. border: 0.1ex transparent black;
  1297. }
  1298. QToolBox:selected
  1299. {
  1300. background-color: #31363b;
  1301. border-color: #3daee9;
  1302. }
  1303. QToolBox:hover
  1304. {
  1305. border-color: #3daee9;
  1306. }
  1307. QStatusBar::item
  1308. {
  1309. border: 0px transparent dark;
  1310. }
  1311. QFrame[height="3"],
  1312. QFrame[width="3"]
  1313. {
  1314. background-color: #76797c;
  1315. }
  1316. QSplitter::handle
  1317. {
  1318. border: 0.1ex dashed #76797c;
  1319. }
  1320. QSplitter::handle:hover
  1321. {
  1322. background-color: #787876;
  1323. border: 0.1ex solid #76797c;
  1324. }
  1325. QSplitter::handle:horizontal
  1326. {
  1327. width: 0.1ex;
  1328. }
  1329. QSplitter::handle:vertical
  1330. {
  1331. height: 0.1ex;
  1332. }
  1333. QProgressBar:horizontal
  1334. {
  1335. background-color: #626568;
  1336. border: 0.1ex solid #31363b;
  1337. border-radius: 0.3ex;
  1338. height: 0.5ex;
  1339. text-align: right;
  1340. margin-top: 0.5ex;
  1341. margin-bottom: 0.5ex;
  1342. margin-right: 5ex;
  1343. padding: 0px;
  1344. }
  1345. QProgressBar::chunk:horizontal
  1346. {
  1347. background-color: #3daee9;
  1348. border: 0.1ex transparent;
  1349. border-radius: 0.3ex;
  1350. }
  1351. QSpinBox,
  1352. QDoubleSpinBox
  1353. {
  1354. padding-right: 1.5ex;
  1355. }
  1356. QSpinBox::up-button,
  1357. QDoubleSpinBox::up-button
  1358. {
  1359. subcontrol-origin: content;
  1360. subcontrol-position: right top;
  1361. width: 1.6ex;
  1362. border-width: 0.1ex;
  1363. }
  1364. QSpinBox::up-arrow,
  1365. QDoubleSpinBox::up-arrow
  1366. {
  1367. border-image: url(:/dark/up_arrow.svg);
  1368. width: 0.9ex;
  1369. height: 0.6ex;
  1370. }
  1371. QSpinBox::up-arrow:hover,
  1372. QSpinBox::up-arrow:pressed,
  1373. QDoubleSpinBox::up-arrow:hover,
  1374. QDoubleSpinBox::up-arrow:pressed
  1375. {
  1376. border-image: url(:/dark/up_arrow-hover.svg);
  1377. width: 0.9ex;
  1378. height: 0.6ex;
  1379. }
  1380. QSpinBox::up-arrow:disabled,
  1381. QSpinBox::up-arrow:off,
  1382. QDoubleSpinBox::up-arrow:disabled,
  1383. QDoubleSpinBox::up-arrow:off
  1384. {
  1385. border-image: url(:/dark/up_arrow_disabled.svg);
  1386. }
  1387. QSpinBox::down-button,
  1388. QDoubleSpinBox::down-button
  1389. {
  1390. subcontrol-origin: content;
  1391. subcontrol-position: right bottom;
  1392. width: 1.6ex;
  1393. border-width: 0.1ex;
  1394. }
  1395. QSpinBox::down-arrow,
  1396. QDoubleSpinBox::down-arrow
  1397. {
  1398. border-image: url(:/dark/down_arrow.svg);
  1399. width: 0.9ex;
  1400. height: 0.6ex;
  1401. }
  1402. QSpinBox::down-arrow:hover,
  1403. QSpinBox::down-arrow:pressed,
  1404. QDoubleSpinBox::down-arrow:hover,
  1405. QDoubleSpinBox::down-arrow:pressed
  1406. {
  1407. border-image: url(:/dark/down_arrow-hover.svg);
  1408. width: 0.9ex;
  1409. height: 0.6ex;
  1410. }
  1411. QSpinBox::down-arrow:disabled,
  1412. QSpinBox::down-arrow:off,
  1413. QDoubleSpinBox::down-arrow:disabled,
  1414. QDoubleSpinBox::down-arrow:off
  1415. {
  1416. border-image: url(:/dark/down_arrow_disabled.svg);
  1417. }