breeze_light.qss 31 KB

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