style.qss 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489
  1. /* ---------------------------------------------------------------------------
  2. Created by the qtsass compiler v0.1.1
  3. The definitions are in the "qdarkstyle.qss._styles.scss" module
  4. WARNING! All changes made in this file will be lost!
  5. --------------------------------------------------------------------------- */
  6. /* QDarkStyleSheet -----------------------------------------------------------
  7. This is the main style sheet, the palette has nine colors.
  8. It is based on three selecting colors, three greyish (background) colors
  9. plus three whitish (foreground) colors. Each set of widgets of the same
  10. type have a header like this:
  11. ------------------
  12. GroupName --------
  13. ------------------
  14. And each widget is separated with a header like this:
  15. QWidgetName ------
  16. This makes more easy to find and change some css field. The basic
  17. configuration is described bellow.
  18. BACKGROUND -----------
  19. Light (unpressed)
  20. Normal (border, disabled, pressed, checked, toolbars, menus)
  21. Dark (background)
  22. FOREGROUND -----------
  23. Light (texts/labels)
  24. Normal (not used yet)
  25. Dark (disabled texts)
  26. SELECTION ------------
  27. Light (selection/hover/active)
  28. Normal (selected)
  29. Dark (selected disabled)
  30. If a stranger configuration is required because of a bugfix or anything
  31. else, keep the comment on the line above so nobody changes it, including the
  32. issue number.
  33. */
  34. /*
  35. See Qt documentation:
  36. - https://doc.qt.io/qt-5/stylesheet.html
  37. - https://doc.qt.io/qt-5/stylesheet-reference.html
  38. - https://doc.qt.io/qt-5/stylesheet-examples.html
  39. --------------------------------------------------------------------------- */
  40. /* QWidget ----------------------------------------------------------------
  41. --------------------------------------------------------------------------- */
  42. QWidget {
  43. background-color: #19232D;
  44. border: 0px solid #32414B;
  45. padding: 0px;
  46. color: #F0F0F0;
  47. selection-background-color: #1464A0;
  48. selection-color: #F0F0F0;
  49. }
  50. QWidget:disabled {
  51. background-color: #19232D;
  52. color: #787878;
  53. selection-background-color: #14506E;
  54. selection-color: #787878;
  55. }
  56. QWidget::item:selected {
  57. background-color: #1464A0;
  58. }
  59. QWidget::item:hover {
  60. background-color: #148CD2;
  61. color: #32414B;
  62. }
  63. /* QMainWindow ------------------------------------------------------------
  64. This adjusts the splitter in the dock widget, not qsplitter
  65. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow
  66. --------------------------------------------------------------------------- */
  67. QMainWindow::separator {
  68. background-color: #32414B;
  69. border: 0px solid #19232D;
  70. spacing: 0px;
  71. padding: 2px;
  72. }
  73. QMainWindow::separator:hover {
  74. background-color: #505F69;
  75. border: 0px solid #148CD2;
  76. }
  77. QMainWindow::separator:horizontal {
  78. width: 5px;
  79. margin-top: 2px;
  80. margin-bottom: 2px;
  81. image: url(":/qss_icons/rc/toolbar_separator_vertical.png");
  82. }
  83. QMainWindow::separator:vertical {
  84. height: 5px;
  85. margin-left: 2px;
  86. margin-right: 2px;
  87. image: url(":/qss_icons/rc/toolbar_separator_horizontal.png");
  88. }
  89. /* QToolTip ---------------------------------------------------------------
  90. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtooltip
  91. --------------------------------------------------------------------------- */
  92. QToolTip {
  93. background-color: #148CD2;
  94. border: 1px solid #19232D;
  95. color: #19232D;
  96. /* Remove padding, for fix combo box tooltip */
  97. padding: 0px;
  98. /* Remove opacity, fix #174 - may need to use RGBA */
  99. }
  100. /* QStatusBar -------------------------------------------------------------
  101. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qstatusbar
  102. --------------------------------------------------------------------------- */
  103. QStatusBar {
  104. background: #32414B;
  105. /* Fixes #205, white vertical borders separating items */
  106. }
  107. QStatusBar::item {
  108. border: none;
  109. }
  110. QStatusBar QToolTip {
  111. background-color: #148CD2;
  112. border: 1px solid #19232D;
  113. color: #19232D;
  114. /* Remove padding, for fix combo box tooltip */
  115. padding: 0px;
  116. /* Reducing transparency to read better */
  117. opacity: 230;
  118. }
  119. QStatusBar QLabel {
  120. /* Fixes Spyder #9120, #9121 */
  121. background: transparent;
  122. padding: 0px;
  123. }
  124. /* QCheckBox --------------------------------------------------------------
  125. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcheckbox
  126. --------------------------------------------------------------------------- */
  127. QCheckBox {
  128. background-color: #19232D;
  129. color: #F0F0F0;
  130. spacing: 4px;
  131. outline: none;
  132. padding-top: 2px;
  133. padding-bottom: 2px;
  134. }
  135. QCheckBox:focus {
  136. border: none;
  137. }
  138. QCheckBox QWidget:disabled {
  139. background-color: #19232D;
  140. color: #787878;
  141. }
  142. QCheckBox::indicator {
  143. margin-left: 4px;
  144. height: 16px;
  145. width: 16px;
  146. }
  147. QCheckBox::indicator:unchecked {
  148. image: url(":/qss_icons/rc/checkbox_unchecked.png");
  149. }
  150. QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed {
  151. border: none;
  152. image: url(":/qss_icons/rc/checkbox_unchecked_focus.png");
  153. }
  154. QCheckBox::indicator:unchecked:disabled {
  155. image: url(":/qss_icons/rc/checkbox_unchecked_disabled.png");
  156. }
  157. QCheckBox::indicator:checked {
  158. image: url(":/qss_icons/rc/checkbox_checked.png");
  159. }
  160. QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:focus, QCheckBox::indicator:checked:pressed {
  161. border: none;
  162. image: url(":/qss_icons/rc/checkbox_checked_focus.png");
  163. }
  164. QCheckBox::indicator:checked:disabled {
  165. image: url(":/qss_icons/rc/checkbox_checked_disabled.png");
  166. }
  167. QCheckBox::indicator:indeterminate {
  168. image: url(":/qss_icons/rc/checkbox_indeterminate.png");
  169. }
  170. QCheckBox::indicator:indeterminate:disabled {
  171. image: url(":/qss_icons/rc/checkbox_indeterminate_disabled.png");
  172. }
  173. QCheckBox::indicator:indeterminate:focus, QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
  174. image: url(":/qss_icons/rc/checkbox_indeterminate_focus.png");
  175. }
  176. /* QGroupBox --------------------------------------------------------------
  177. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
  178. --------------------------------------------------------------------------- */
  179. QGroupBox {
  180. font-weight: bold;
  181. border: 1px solid #32414B;
  182. border-radius: 4px;
  183. margin-top: 12px;
  184. padding: 2px;
  185. }
  186. QGroupBox::title {
  187. subcontrol-origin: margin;
  188. subcontrol-position: top left;
  189. padding-left: 3px;
  190. padding-right: 5px;
  191. padding-top: 2px;
  192. }
  193. QGroupBox::indicator {
  194. margin-left: 2px;
  195. height: 16px;
  196. width: 16px;
  197. }
  198. QGroupBox::indicator:unchecked {
  199. border: none;
  200. image: url(":/qss_icons/rc/checkbox_unchecked.png");
  201. }
  202. QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
  203. border: none;
  204. image: url(":/qss_icons/rc/checkbox_unchecked_focus.png");
  205. }
  206. QGroupBox::indicator:unchecked:disabled {
  207. image: url(":/qss_icons/rc/checkbox_unchecked_disabled.png");
  208. }
  209. QGroupBox::indicator:checked {
  210. border: none;
  211. image: url(":/qss_icons/rc/checkbox_checked.png");
  212. }
  213. QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed {
  214. border: none;
  215. image: url(":/qss_icons/rc/checkbox_checked_focus.png");
  216. }
  217. QGroupBox::indicator:checked:disabled {
  218. image: url(":/qss_icons/rc/checkbox_checked_disabled.png");
  219. }
  220. /* QRadioButton -----------------------------------------------------------
  221. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
  222. --------------------------------------------------------------------------- */
  223. QRadioButton {
  224. background-color: #19232D;
  225. color: #F0F0F0;
  226. spacing: 4px;
  227. padding: 0px;
  228. border: none;
  229. outline: none;
  230. }
  231. QGroupBox QRadioButton {
  232. padding-left: 0px;
  233. padding-right: 7px;
  234. }
  235. QRadioButton:focus {
  236. border: none;
  237. }
  238. QRadioButton:disabled {
  239. background-color: #19232D;
  240. color: #787878;
  241. border: none;
  242. outline: none;
  243. }
  244. QRadioButton QWidget {
  245. background-color: #19232D;
  246. color: #F0F0F0;
  247. spacing: 0px;
  248. padding: 0px;
  249. outline: none;
  250. border: none;
  251. }
  252. QRadioButton::indicator {
  253. border: none;
  254. outline: none;
  255. height: 16px;
  256. width: 16px;
  257. }
  258. QRadioButton::indicator:unchecked {
  259. image: url(":/qss_icons/rc/radio_unchecked.png");
  260. }
  261. QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:focus, QRadioButton::indicator:unchecked:pressed {
  262. border: none;
  263. outline: none;
  264. image: url(":/qss_icons/rc/radio_unchecked_focus.png");
  265. }
  266. QRadioButton::indicator:unchecked:disabled {
  267. image: url(":/qss_icons/rc/radio_unchecked_disabled.png");
  268. }
  269. QRadioButton::indicator:checked {
  270. border: none;
  271. outline: none;
  272. image: url(":/qss_icons/rc/radio_checked.png");
  273. }
  274. QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:focus, QRadioButton::indicator:checked:pressed {
  275. border: none;
  276. outline: none;
  277. image: url(":/qss_icons/rc/radio_checked_focus.png");
  278. }
  279. QRadioButton::indicator:checked:disabled {
  280. outline: none;
  281. image: url(":/qss_icons/rc/radio_checked_disabled.png");
  282. }
  283. /* QMenuBar ---------------------------------------------------------------
  284. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenubar
  285. --------------------------------------------------------------------------- */
  286. QMenuBar {
  287. background-color: #32414B;
  288. color: #F0F0F0;
  289. }
  290. QMenuBar::item {
  291. background: transparent;
  292. }
  293. QMenuBar::item:selected {
  294. background: transparent;
  295. border: 0px solid #32414B;
  296. }
  297. QMenuBar::item:pressed {
  298. border: 0px solid #32414B;
  299. background-color: #148CD2;
  300. color: #F0F0F0;
  301. margin-bottom: 0px;
  302. padding-bottom: 0px;
  303. }
  304. /* QMenu ------------------------------------------------------------------
  305. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu
  306. --------------------------------------------------------------------------- */
  307. QMenu {
  308. border: 0px solid #32414B;
  309. color: #F0F0F0;
  310. margin: 0px;
  311. }
  312. QMenu::separator {
  313. height: 1px;
  314. background-color: #505F69;
  315. color: #F0F0F0;
  316. }
  317. QMenu::icon {
  318. margin: 0px;
  319. padding-left: 8px;
  320. }
  321. QMenu::item {
  322. background-color: #32414B;
  323. padding: 4px 24px 4px 24px;
  324. /* Reserve space for selection border */
  325. border: 1px transparent #32414B;
  326. }
  327. QMenu::item:selected {
  328. color: #F0F0F0;
  329. }
  330. QMenu::indicator {
  331. width: 12px;
  332. height: 12px;
  333. padding-left: 6px;
  334. /* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */
  335. /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */
  336. }
  337. QMenu::indicator:non-exclusive:unchecked {
  338. image: url(":/qss_icons/rc/checkbox_unchecked.png");
  339. }
  340. QMenu::indicator:non-exclusive:unchecked:selected {
  341. image: url(":/qss_icons/rc/checkbox_unchecked_disabled.png");
  342. }
  343. QMenu::indicator:non-exclusive:checked {
  344. image: url(":/qss_icons/rc/checkbox_checked.png");
  345. }
  346. QMenu::indicator:non-exclusive:checked:selected {
  347. image: url(":/qss_icons/rc/checkbox_checked_disabled.png");
  348. }
  349. QMenu::indicator:exclusive:unchecked {
  350. image: url(":/qss_icons/rc/radio_unchecked.png");
  351. }
  352. QMenu::indicator:exclusive:unchecked:selected {
  353. image: url(":/qss_icons/rc/radio_unchecked_disabled.png");
  354. }
  355. QMenu::indicator:exclusive:checked {
  356. image: url(":/qss_icons/rc/radio_checked.png");
  357. }
  358. QMenu::indicator:exclusive:checked:selected {
  359. image: url(":/qss_icons/rc/radio_checked_disabled.png");
  360. }
  361. QMenu::right-arrow {
  362. margin: 5px;
  363. image: url(":/qss_icons/rc/arrow_right.png");
  364. height: 12px;
  365. width: 12px;
  366. }
  367. /* QAbstractItemView ------------------------------------------------------
  368. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
  369. --------------------------------------------------------------------------- */
  370. QAbstractItemView {
  371. alternate-background-color: #1f2933;
  372. color: #F0F0F0;
  373. border: 1px solid #32414B;
  374. border-radius: 4px;
  375. }
  376. QAbstractItemView QLineEdit {
  377. padding: 2px;
  378. }
  379. /* QAbstractScrollArea ----------------------------------------------------
  380. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
  381. --------------------------------------------------------------------------- */
  382. QAbstractScrollArea {
  383. background-color: #19232D;
  384. border: 1px solid #32414B;
  385. border-radius: 4px;
  386. /* fix #159 */
  387. min-height: 1.25em;
  388. /* fix #159 */
  389. color: #F0F0F0;
  390. }
  391. QAbstractScrollArea:disabled {
  392. color: #787878;
  393. }
  394. /* QScrollArea ------------------------------------------------------------
  395. --------------------------------------------------------------------------- */
  396. QScrollArea QWidget QWidget:disabled {
  397. background-color: #19232D;
  398. }
  399. /* QScrollBar -------------------------------------------------------------
  400. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar
  401. --------------------------------------------------------------------------- */
  402. QScrollBar:horizontal {
  403. height: 16px;
  404. margin: 2px 16px 2px 16px;
  405. border: 1px solid #32414B;
  406. border-radius: 4px;
  407. background-color: #19232D;
  408. }
  409. QScrollBar:vertical {
  410. background-color: #19232D;
  411. width: 16px;
  412. margin: 16px 2px 16px 2px;
  413. border: 1px solid #32414B;
  414. border-radius: 4px;
  415. }
  416. QScrollBar::handle:horizontal {
  417. background-color: #787878;
  418. border: 1px solid #32414B;
  419. border-radius: 4px;
  420. min-width: 8px;
  421. }
  422. QScrollBar::handle:horizontal:hover {
  423. background-color: #148CD2;
  424. border: 1px solid #148CD2;
  425. border-radius: 4px;
  426. min-width: 8px;
  427. }
  428. QScrollBar::handle:horizontal:focus {
  429. border: 1px solid #1464A0;
  430. }
  431. QScrollBar::handle:vertical {
  432. background-color: #787878;
  433. border: 1px solid #32414B;
  434. min-height: 8px;
  435. border-radius: 4px;
  436. }
  437. QScrollBar::handle:vertical:hover {
  438. background-color: #148CD2;
  439. border: 1px solid #148CD2;
  440. border-radius: 4px;
  441. min-height: 8px;
  442. }
  443. QScrollBar::handle:vertical:focus {
  444. border: 1px solid #1464A0;
  445. }
  446. QScrollBar::add-line:horizontal {
  447. margin: 0px 0px 0px 0px;
  448. border-image: url(":/qss_icons/rc/arrow_right_disabled.png");
  449. height: 12px;
  450. width: 12px;
  451. subcontrol-position: right;
  452. subcontrol-origin: margin;
  453. }
  454. QScrollBar::add-line:horizontal:hover, QScrollBar::add-line:horizontal:on {
  455. border-image: url(":/qss_icons/rc/arrow_right.png");
  456. height: 12px;
  457. width: 12px;
  458. subcontrol-position: right;
  459. subcontrol-origin: margin;
  460. }
  461. QScrollBar::add-line:vertical {
  462. margin: 3px 0px 3px 0px;
  463. border-image: url(":/qss_icons/rc/arrow_down_disabled.png");
  464. height: 12px;
  465. width: 12px;
  466. subcontrol-position: bottom;
  467. subcontrol-origin: margin;
  468. }
  469. QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on {
  470. border-image: url(":/qss_icons/rc/arrow_down.png");
  471. height: 12px;
  472. width: 12px;
  473. subcontrol-position: bottom;
  474. subcontrol-origin: margin;
  475. }
  476. QScrollBar::sub-line:horizontal {
  477. margin: 0px 3px 0px 3px;
  478. border-image: url(":/qss_icons/rc/arrow_left_disabled.png");
  479. height: 12px;
  480. width: 12px;
  481. subcontrol-position: left;
  482. subcontrol-origin: margin;
  483. }
  484. QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on {
  485. border-image: url(":/qss_icons/rc/arrow_left.png");
  486. height: 12px;
  487. width: 12px;
  488. subcontrol-position: left;
  489. subcontrol-origin: margin;
  490. }
  491. QScrollBar::sub-line:vertical {
  492. margin: 3px 0px 3px 0px;
  493. border-image: url(":/qss_icons/rc/arrow_up_disabled.png");
  494. height: 12px;
  495. width: 12px;
  496. subcontrol-position: top;
  497. subcontrol-origin: margin;
  498. }
  499. QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on {
  500. border-image: url(":/qss_icons/rc/arrow_up.png");
  501. height: 12px;
  502. width: 12px;
  503. subcontrol-position: top;
  504. subcontrol-origin: margin;
  505. }
  506. QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal {
  507. background: none;
  508. }
  509. QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
  510. background: none;
  511. }
  512. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
  513. background: none;
  514. }
  515. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  516. background: none;
  517. }
  518. /* QTextEdit --------------------------------------------------------------
  519. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-specific-widgets
  520. --------------------------------------------------------------------------- */
  521. QTextEdit {
  522. background-color: #19232D;
  523. color: #F0F0F0;
  524. border-radius: 4px;
  525. border: 1px solid #32414B;
  526. }
  527. QTextEdit:hover {
  528. border: 1px solid #148CD2;
  529. color: #F0F0F0;
  530. }
  531. QTextEdit:focus {
  532. border: 1px solid #1464A0;
  533. }
  534. QTextEdit:selected {
  535. background: #1464A0;
  536. color: #32414B;
  537. }
  538. /* QPlainTextEdit ---------------------------------------------------------
  539. --------------------------------------------------------------------------- */
  540. QPlainTextEdit {
  541. background-color: #19232D;
  542. color: #F0F0F0;
  543. border-radius: 4px;
  544. border: 1px solid #32414B;
  545. }
  546. QPlainTextEdit:hover {
  547. border: 1px solid #148CD2;
  548. color: #F0F0F0;
  549. }
  550. QPlainTextEdit:focus {
  551. border: 1px solid #1464A0;
  552. }
  553. QPlainTextEdit:selected {
  554. background: #1464A0;
  555. color: #32414B;
  556. }
  557. /* QSizeGrip --------------------------------------------------------------
  558. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
  559. --------------------------------------------------------------------------- */
  560. QSizeGrip {
  561. background: transparent;
  562. width: 12px;
  563. height: 12px;
  564. image: url(":/qss_icons/rc/window_grip.png");
  565. }
  566. /* QStackedWidget ---------------------------------------------------------
  567. --------------------------------------------------------------------------- */
  568. QStackedWidget {
  569. padding: 2px;
  570. border: 1px solid #32414B;
  571. border: 1px solid #19232D;
  572. }
  573. /* QToolBar ---------------------------------------------------------------
  574. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbar
  575. --------------------------------------------------------------------------- */
  576. QToolBar {
  577. background-color: #32414B;
  578. border-bottom: 1px solid #19232D;
  579. padding: 2px;
  580. font-weight: bold;
  581. spacing: 2px;
  582. }
  583. QToolBar QToolButton {
  584. background-color: #32414B;
  585. border: 1px solid #32414B;
  586. }
  587. QToolBar QToolButton:hover {
  588. border: 1px solid #148CD2;
  589. }
  590. QToolBar QToolButton:checked {
  591. border: 1px solid #19232D;
  592. background-color: #19232D;
  593. }
  594. QToolBar QToolButton:checked:hover {
  595. border: 1px solid #148CD2;
  596. }
  597. QToolBar::handle:horizontal {
  598. width: 16px;
  599. image: url(":/qss_icons/rc/toolbar_move_horizontal.png");
  600. }
  601. QToolBar::handle:vertical {
  602. height: 16px;
  603. image: url(":/qss_icons/rc/toolbar_move_vertical.png");
  604. }
  605. QToolBar::separator:horizontal {
  606. width: 16px;
  607. image: url(":/qss_icons/rc/toolbar_separator_horizontal.png");
  608. }
  609. QToolBar::separator:vertical {
  610. height: 16px;
  611. image: url(":/qss_icons/rc/toolbar_separator_vertical.png");
  612. }
  613. QToolButton#qt_toolbar_ext_button {
  614. background: #32414B;
  615. border: 0px;
  616. color: #F0F0F0;
  617. image: url(":/qss_icons/rc/arrow_right.png");
  618. }
  619. /* QAbstractSpinBox -------------------------------------------------------
  620. --------------------------------------------------------------------------- */
  621. QAbstractSpinBox {
  622. background-color: #19232D;
  623. border: 1px solid #32414B;
  624. color: #F0F0F0;
  625. border-radius: 4px;
  626. min-height: 19px;
  627. }
  628. QAbstractSpinBox:up-button {
  629. background-color: #505F69;
  630. subcontrol-origin: border;
  631. subcontrol-position: top right;
  632. border-left: 1px solid #32414B;
  633. border-top: 1px solid #32414B;
  634. border-right: 1px solid #32414B;
  635. border-top-right-radius: 4px;
  636. border-top-left-radius: 0;
  637. border-bottom-left-radius: 0;
  638. margin: 0px;
  639. width: 12px;
  640. margin-bottom: 0px;
  641. }
  642. QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:off {
  643. image: url(":/qss_icons/rc/up_arrow.png");
  644. height: 8px;
  645. width: 8px;
  646. }
  647. QAbstractSpinBox::up-arrow:hover {
  648. image: url(":/qss_icons/rc/arrow_up.png");
  649. }
  650. QAbstractSpinBox:down-button {
  651. background-color: #505F69;
  652. subcontrol-origin: border;
  653. subcontrol-position: bottom right;
  654. border-left: 1px solid #32414B;
  655. border-right: 1px solid #32414B;
  656. border-bottom: 1px solid #32414B;
  657. border-top: 1px solid #32414B;
  658. border-top-left-radius: 0;
  659. border-bottom-left-radius: 0;
  660. border-bottom-right-radius: 4px;
  661. margin: 0px;
  662. width: 12px;
  663. margin-top: 0px;
  664. }
  665. QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSpinBox::down-arrow:off {
  666. image: url(":/qss_icons/rc/down_arrow.png");
  667. height: 8px;
  668. width: 8px;
  669. }
  670. QAbstractSpinBox::down-arrow:hover {
  671. image: url(":/qss_icons/rc/arrow_down.png");
  672. }
  673. QAbstractSpinBox:hover {
  674. border: 1px solid #148CD2;
  675. color: #F0F0F0;
  676. }
  677. QAbstractSpinBox:focus {
  678. border: 1px solid #1464A0;
  679. }
  680. QAbstractSpinBox:selected {
  681. background: #1464A0;
  682. color: #32414B;
  683. }
  684. /* ------------------------------------------------------------------------ */
  685. /* DISPLAYS --------------------------------------------------------------- */
  686. /* ------------------------------------------------------------------------ */
  687. /* QLabel -----------------------------------------------------------------
  688. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
  689. --------------------------------------------------------------------------- */
  690. QLabel {
  691. background: transparent;
  692. border: 0px solid #32414B;
  693. padding: 2px;
  694. margin: 0px;
  695. color: #F0F0F0;
  696. }
  697. QLabel:disabled {
  698. border: 0px solid #32414B;
  699. color: #787878;
  700. }
  701. /* QTextBrowser -----------------------------------------------------------
  702. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
  703. --------------------------------------------------------------------------- */
  704. QTextBrowser {
  705. background-color: #19232D;
  706. border: 1px solid #32414B;
  707. color: #F0F0F0;
  708. border-radius: 4px;
  709. }
  710. QTextBrowser:disabled {
  711. background-color: #19232D;
  712. border: 1px solid #32414B;
  713. color: #787878;
  714. border-radius: 4px;
  715. }
  716. QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
  717. border: 1px solid #32414B;
  718. }
  719. /* QGraphicsView ----------------------------------------------------------
  720. --------------------------------------------------------------------------- */
  721. QGraphicsView {
  722. background-color: #19232D;
  723. border: 1px solid #32414B;
  724. color: #F0F0F0;
  725. border-radius: 4px;
  726. }
  727. QGraphicsView:disabled {
  728. background-color: #19232D;
  729. border: 1px solid #32414B;
  730. color: #787878;
  731. border-radius: 4px;
  732. }
  733. QGraphicsView:hover, QGraphicsView:!hover, QGraphicsView:selected, QGraphicsView:pressed {
  734. border: 1px solid #32414B;
  735. }
  736. /* QCalendarWidget --------------------------------------------------------
  737. --------------------------------------------------------------------------- */
  738. QCalendarWidget {
  739. border: 1px solid #32414B;
  740. border-radius: 4px;
  741. }
  742. QCalendarWidget:disabled {
  743. background-color: #19232D;
  744. color: #787878;
  745. }
  746. /* QLCDNumber -------------------------------------------------------------
  747. --------------------------------------------------------------------------- */
  748. QLCDNumber {
  749. background-color: #19232D;
  750. color: #F0F0F0;
  751. }
  752. QLCDNumber:disabled {
  753. background-color: #19232D;
  754. color: #787878;
  755. }
  756. /* QProgressBar -----------------------------------------------------------
  757. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar
  758. --------------------------------------------------------------------------- */
  759. QProgressBar {
  760. background-color: #19232D;
  761. border: 1px solid #32414B;
  762. color: #F0F0F0;
  763. border-radius: 4px;
  764. text-align: center;
  765. }
  766. QProgressBar:disabled {
  767. background-color: #19232D;
  768. border: 1px solid #32414B;
  769. color: #787878;
  770. border-radius: 4px;
  771. text-align: center;
  772. }
  773. QProgressBar::chunk {
  774. background-color: #1464A0;
  775. color: #19232D;
  776. border-radius: 4px;
  777. }
  778. QProgressBar::chunk:disabled {
  779. background-color: #14506E;
  780. color: #787878;
  781. border-radius: 4px;
  782. }
  783. /* ------------------------------------------------------------------------ */
  784. /* BUTTONS ---------------------------------------------------------------- */
  785. /* ------------------------------------------------------------------------ */
  786. /* QPushButton ------------------------------------------------------------
  787. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qpushbutton
  788. --------------------------------------------------------------------------- */
  789. QPushButton {
  790. background-color: #505F69;
  791. border: 1px solid #32414B;
  792. color: #F0F0F0;
  793. border-radius: 4px;
  794. padding: 3px 0px 3px 0px;
  795. outline: none;
  796. /* Issue #194 - Special case of QPushButton inside dialogs, for better UI */
  797. min-width: 80px;
  798. min-height: 13px;
  799. }
  800. QPushButton:disabled {
  801. background-color: #32414B;
  802. border: 1px solid #32414B;
  803. color: #787878;
  804. border-radius: 4px;
  805. padding: 3px 0px 3px 0px;
  806. }
  807. QPushButton:checked {
  808. background-color: #32414B;
  809. border: 1px solid #32414B;
  810. border-radius: 4px;
  811. padding: 3px 0px 3px 0px;
  812. outline: none;
  813. }
  814. QPushButton:checked:disabled {
  815. background-color: #19232D;
  816. border: 1px solid #32414B;
  817. color: #787878;
  818. border-radius: 4px;
  819. padding: 3px 0px 3px 0px;
  820. outline: none;
  821. }
  822. QPushButton:checked:selected {
  823. background: #1464A0;
  824. color: #32414B;
  825. }
  826. QPushButton::menu-indicator {
  827. subcontrol-origin: padding;
  828. subcontrol-position: bottom right;
  829. bottom: 4px;
  830. }
  831. QPushButton:pressed {
  832. background-color: #19232D;
  833. border: 1px solid #19232D;
  834. }
  835. QPushButton:pressed:hover {
  836. border: 1px solid #148CD2;
  837. }
  838. QPushButton:hover {
  839. border: 1px solid #148CD2;
  840. color: #F0F0F0;
  841. }
  842. QPushButton:selected {
  843. background: #1464A0;
  844. color: #32414B;
  845. }
  846. QPushButton:hover {
  847. border: 1px solid #148CD2;
  848. color: #F0F0F0;
  849. }
  850. QPushButton:focus {
  851. border: 1px solid #1464A0;
  852. }
  853. /* QToolButton ------------------------------------------------------------
  854. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton
  855. --------------------------------------------------------------------------- */
  856. QToolButton {
  857. background-color: transparent;
  858. border: 1px solid transparent;
  859. border-radius: 4px;
  860. margin: 0px;
  861. padding: 2px;
  862. /* The subcontrols below are used only in the DelayedPopup mode */
  863. /* The subcontrols below are used only in the MenuButtonPopup mode */
  864. /* The subcontrol below is used only in the InstantPopup or DelayedPopup mode */
  865. }
  866. QToolButton:checked {
  867. background-color: transparent;
  868. border: 1px solid #1464A0;
  869. }
  870. QToolButton:checked:disabled {
  871. border: 1px solid #14506E;
  872. }
  873. QToolButton:pressed {
  874. margin: 1px;
  875. background-color: transparent;
  876. border: 1px solid #1464A0;
  877. }
  878. QToolButton:disabled {
  879. border: none;
  880. }
  881. QToolButton:hover {
  882. border: 1px solid #148CD2;
  883. }
  884. QToolButton[popupMode="0"] {
  885. /* Only for DelayedPopup */
  886. padding-right: 2px;
  887. }
  888. QToolButton[popupMode="1"] {
  889. /* Only for MenuButtonPopup */
  890. padding-right: 20px;
  891. }
  892. QToolButton[popupMode="1"]::menu-button {
  893. border: none;
  894. }
  895. QToolButton[popupMode="1"]::menu-button:hover {
  896. border: none;
  897. border-left: 1px solid #148CD2;
  898. border-radius: 0;
  899. }
  900. QToolButton[popupMode="2"] {
  901. /* Only for InstantPopup */
  902. padding-right: 2px;
  903. }
  904. QToolButton::menu-button {
  905. padding: 2px;
  906. border-radius: 4px;
  907. border: 1px solid #32414B;
  908. width: 12px;
  909. outline: none;
  910. }
  911. QToolButton::menu-button:hover {
  912. border: 1px solid #148CD2;
  913. }
  914. QToolButton::menu-button:checked:hover {
  915. border: 1px solid #148CD2;
  916. }
  917. QToolButton::menu-indicator {
  918. image: url(":/qss_icons/rc/arrow_down.png");
  919. height: 8px;
  920. width: 8px;
  921. top: 0;
  922. /* Exclude a shift for better image */
  923. left: -2px;
  924. /* Shift it a bit */
  925. }
  926. QToolButton::menu-arrow {
  927. image: url(":/qss_icons/rc/arrow_down.png");
  928. height: 8px;
  929. width: 8px;
  930. }
  931. QToolButton::menu-arrow:hover {
  932. image: url(":/qss_icons/rc/arrow_down_focus.png");
  933. }
  934. /* QCommandLinkButton -----------------------------------------------------
  935. --------------------------------------------------------------------------- */
  936. QCommandLinkButton {
  937. background-color: transparent;
  938. border: 1px solid #32414B;
  939. color: #F0F0F0;
  940. border-radius: 4px;
  941. padding: 0px;
  942. margin: 0px;
  943. }
  944. QCommandLinkButton:disabled {
  945. background-color: transparent;
  946. color: #787878;
  947. }
  948. /* ------------------------------------------------------------------------ */
  949. /* INPUTS - NO FIELDS ----------------------------------------------------- */
  950. /* ------------------------------------------------------------------------ */
  951. /* QComboBox --------------------------------------------------------------
  952. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
  953. --------------------------------------------------------------------------- */
  954. QComboBox {
  955. background-color: #0f1922;
  956. border: 1px solid #32414B;
  957. border-radius: 4px;
  958. selection-background-color: #1464A0;
  959. padding: 0px 4px 0px 4px;
  960. min-width: 60px;
  961. min-height: 19px;
  962. }
  963. QComboBox QAbstractItemView {
  964. border: 1px solid #32414B;
  965. border-radius: 0;
  966. background-color: #0f1922;
  967. selection-background-color: #1464A0;
  968. }
  969. QComboBox QAbstractItemView:hover {
  970. background-color: #19232D;
  971. color: #F0F0F0;
  972. }
  973. QComboBox QAbstractItemView:selected {
  974. background: #1464A0;
  975. color: #32414B;
  976. }
  977. QComboBox QAbstractItemView:alternate {
  978. background: #19232D;
  979. }
  980. QComboBox:disabled {
  981. background-color: #19232D;
  982. color: #787878;
  983. }
  984. QComboBox:hover {
  985. border: 1px solid #148CD2;
  986. }
  987. QComboBox:focus {
  988. border: 1px solid #1464A0;
  989. }
  990. QComboBox:on {
  991. selection-background-color: #1464A0;
  992. }
  993. QComboBox::indicator {
  994. border: none;
  995. border-radius: 0;
  996. background-color: transparent;
  997. selection-background-color: transparent;
  998. color: transparent;
  999. selection-color: transparent;
  1000. /* Needed to remove indicator - fix #132 */
  1001. }
  1002. QComboBox::indicator:alternate {
  1003. background: #19232D;
  1004. }
  1005. QComboBox::item:alternate {
  1006. background: #19232D;
  1007. }
  1008. QComboBox::item:checked {
  1009. font-weight: bold;
  1010. }
  1011. QComboBox::item:selected {
  1012. border: 0px solid transparent;
  1013. }
  1014. QComboBox::drop-down {
  1015. subcontrol-origin: padding;
  1016. subcontrol-position: top right;
  1017. width: 12px;
  1018. border-left: 1px solid #32414B;
  1019. }
  1020. QComboBox::down-arrow {
  1021. image: url(":/qss_icons/rc/down_arrow.png");
  1022. background-color: #505F69;
  1023. padding: 6px 2px;
  1024. border: 1px solid #32414B;
  1025. border-top-right-radius: 4px;
  1026. border-bottom-right-radius: 4px;
  1027. height: 8px;
  1028. width: 8px;
  1029. }
  1030. QComboBox::down-arrow:on, QComboBox::down-arrow:hover, QComboBox::down-arrow:focus {
  1031. image: url(":/qss_icons/rc/arrow_down.png");
  1032. }
  1033. /* QSlider ----------------------------------------------------------------
  1034. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
  1035. --------------------------------------------------------------------------- */
  1036. QSlider:disabled {
  1037. background: #19232D;
  1038. }
  1039. QSlider:focus {
  1040. border: none;
  1041. }
  1042. QSlider::groove:horizontal {
  1043. background: #32414B;
  1044. border: 1px solid #32414B;
  1045. height: 4px;
  1046. margin: 0px;
  1047. border-radius: 4px;
  1048. }
  1049. QSlider::groove:vertical {
  1050. background: #32414B;
  1051. border: 1px solid #32414B;
  1052. width: 4px;
  1053. margin: 0px;
  1054. border-radius: 4px;
  1055. }
  1056. QSlider::add-page:vertical {
  1057. background: #1464A0;
  1058. border: 1px solid #32414B;
  1059. width: 4px;
  1060. margin: 0px;
  1061. border-radius: 4px;
  1062. }
  1063. QSlider::add-page:vertical :disabled {
  1064. background: #14506E;
  1065. }
  1066. QSlider::sub-page:horizontal {
  1067. background: #1464A0;
  1068. border: 1px solid #32414B;
  1069. height: 4px;
  1070. margin: 0px;
  1071. border-radius: 4px;
  1072. }
  1073. QSlider::sub-page:horizontal:disabled {
  1074. background: #14506E;
  1075. }
  1076. QSlider::handle:horizontal {
  1077. background: #787878;
  1078. border: 1px solid #32414B;
  1079. width: 8px;
  1080. height: 8px;
  1081. margin: -8px 0px;
  1082. border-radius: 4px;
  1083. }
  1084. QSlider::handle:horizontal:hover {
  1085. background: #148CD2;
  1086. border: 1px solid #148CD2;
  1087. }
  1088. QSlider::handle:horizontal:focus {
  1089. border: 1px solid #1464A0;
  1090. }
  1091. QSlider::handle:vertical {
  1092. background: #787878;
  1093. border: 1px solid #32414B;
  1094. width: 8px;
  1095. height: 8px;
  1096. margin: 0 -8px;
  1097. border-radius: 4px;
  1098. }
  1099. QSlider::handle:vertical:hover {
  1100. background: #148CD2;
  1101. border: 1px solid #148CD2;
  1102. }
  1103. QSlider::handle:vertical:focus {
  1104. border: 1px solid #1464A0;
  1105. }
  1106. /* QLineEdit --------------------------------------------------------------
  1107. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
  1108. --------------------------------------------------------------------------- */
  1109. QLineEdit {
  1110. background-color: #19232D;
  1111. padding-top: 2px;
  1112. /* This QLineEdit fix 103, 111 */
  1113. padding-bottom: 2px;
  1114. /* This QLineEdit fix 103, 111 */
  1115. padding-left: 4px;
  1116. padding-right: 4px;
  1117. border-style: solid;
  1118. border: 1px solid #32414B;
  1119. border-radius: 4px;
  1120. color: #F0F0F0;
  1121. }
  1122. QLineEdit:disabled {
  1123. background-color: #19232D;
  1124. color: #787878;
  1125. }
  1126. QLineEdit:hover {
  1127. border: 1px solid #148CD2;
  1128. color: #F0F0F0;
  1129. }
  1130. QLineEdit:focus {
  1131. border: 1px solid #1464A0;
  1132. }
  1133. QLineEdit:selected {
  1134. background-color: #1464A0;
  1135. color: #32414B;
  1136. }
  1137. /* QTabWiget --------------------------------------------------------------
  1138. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
  1139. --------------------------------------------------------------------------- */
  1140. QTabWidget {
  1141. padding: 2px;
  1142. selection-background-color: #32414B;
  1143. }
  1144. QTabWidget QWidget {
  1145. /* Fixes #189 */
  1146. border-radius: 4px;
  1147. }
  1148. QTabWidget::pane {
  1149. border: 1px solid #32414B;
  1150. border-radius: 4px;
  1151. margin: 0px;
  1152. /* Fixes double border inside pane with pyqt5 */
  1153. padding: 0px;
  1154. }
  1155. QTabWidget::pane:selected {
  1156. background-color: #32414B;
  1157. border: 1px solid #1464A0;
  1158. }
  1159. /* QTabBar ----------------------------------------------------------------
  1160. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
  1161. --------------------------------------------------------------------------- */
  1162. QTabBar {
  1163. qproperty-drawBase: 0;
  1164. border-radius: 4px;
  1165. margin: 0px;
  1166. padding: 2px;
  1167. border: 0;
  1168. /* left: 5px; move to the right by 5px - removed for fix */
  1169. }
  1170. QTabBar::close-button {
  1171. border: 0;
  1172. margin: 2px;
  1173. padding: 2px;
  1174. image: url(":/qss_icons/rc/window_close.png");
  1175. }
  1176. QTabBar::close-button:hover {
  1177. image: url(":/qss_icons/rc/window_close_focus.png");
  1178. }
  1179. QTabBar::close-button:pressed {
  1180. image: url(":/qss_icons/rc/window_close_pressed.png");
  1181. }
  1182. /* QTabBar::tab - selected ------------------------------------------------
  1183. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
  1184. --------------------------------------------------------------------------- */
  1185. QTabBar::tab {
  1186. /* !selected and disabled ----------------------------------------- */
  1187. /* selected ------------------------------------------------------- */
  1188. }
  1189. QTabBar::tab:top:selected:disabled {
  1190. border-bottom: 3px solid #14506E;
  1191. color: #787878;
  1192. background-color: #32414B;
  1193. }
  1194. QTabBar::tab:bottom:selected:disabled {
  1195. border-top: 3px solid #14506E;
  1196. color: #787878;
  1197. background-color: #32414B;
  1198. }
  1199. QTabBar::tab:left:selected:disabled {
  1200. border-right: 3px solid #14506E;
  1201. color: #787878;
  1202. background-color: #32414B;
  1203. }
  1204. QTabBar::tab:right:selected:disabled {
  1205. border-left: 3px solid #14506E;
  1206. color: #787878;
  1207. background-color: #32414B;
  1208. }
  1209. QTabBar::tab:top:!selected:disabled {
  1210. border-bottom: 3px solid #19232D;
  1211. color: #787878;
  1212. background-color: #19232D;
  1213. }
  1214. QTabBar::tab:bottom:!selected:disabled {
  1215. border-top: 3px solid #19232D;
  1216. color: #787878;
  1217. background-color: #19232D;
  1218. }
  1219. QTabBar::tab:left:!selected:disabled {
  1220. border-right: 3px solid #19232D;
  1221. color: #787878;
  1222. background-color: #19232D;
  1223. }
  1224. QTabBar::tab:right:!selected:disabled {
  1225. border-left: 3px solid #19232D;
  1226. color: #787878;
  1227. background-color: #19232D;
  1228. }
  1229. QTabBar::tab:top:!selected {
  1230. border-bottom: 2px solid #19232D;
  1231. margin-top: 2px;
  1232. }
  1233. QTabBar::tab:bottom:!selected {
  1234. border-top: 2px solid #19232D;
  1235. margin-bottom: 3px;
  1236. }
  1237. QTabBar::tab:left:!selected {
  1238. border-left: 2px solid #19232D;
  1239. margin-right: 2px;
  1240. }
  1241. QTabBar::tab:right:!selected {
  1242. border-right: 2px solid #19232D;
  1243. margin-left: 2px;
  1244. }
  1245. QTabBar::tab:top {
  1246. background-color: #32414B;
  1247. color: #F0F0F0;
  1248. min-width: 36px;
  1249. margin-left: 2px;
  1250. padding-left: 8px;
  1251. padding-right: 8px;
  1252. padding-top: 2px;
  1253. padding-bottom: 2px;
  1254. border-bottom: 3px solid #32414B;
  1255. border-top-left-radius: 3px;
  1256. border-top-right-radius: 3px;
  1257. }
  1258. QTabBar::tab:top:selected {
  1259. background-color: #505F69;
  1260. color: #F0F0F0;
  1261. border-bottom: 3px solid #1464A0;
  1262. border-top-left-radius: 3px;
  1263. border-top-right-radius: 3px;
  1264. }
  1265. QTabBar::tab:top:!selected:hover {
  1266. border: 1px solid #148CD2;
  1267. border-bottom: 3px solid #148CD2;
  1268. /* Fixes spyder-ide/spyder#9766 */
  1269. padding-left: 4px;
  1270. padding-right: 4px;
  1271. }
  1272. QTabBar::tab:bottom {
  1273. color: #F0F0F0;
  1274. min-width: 36px;
  1275. border-top: 3px solid #32414B;
  1276. background-color: #32414B;
  1277. margin-left: 2px;
  1278. padding-left: 8px;
  1279. padding-right: 8px;
  1280. padding-top: 2px;
  1281. padding-bottom: 2px;
  1282. border-bottom-left-radius: 3px;
  1283. border-bottom-right-radius: 3px;
  1284. }
  1285. QTabBar::tab:bottom:selected {
  1286. color: #F0F0F0;
  1287. background-color: #505F69;
  1288. border-top: 3px solid #1464A0;
  1289. border-bottom-left-radius: 3px;
  1290. border-bottom-right-radius: 3px;
  1291. }
  1292. QTabBar::tab:bottom:!selected:hover {
  1293. border: 1px solid #148CD2;
  1294. border-top: 3px solid #148CD2;
  1295. /* Fixes spyder-ide/spyder#9766 */
  1296. padding-left: 4px;
  1297. padding-right: 4px;
  1298. }
  1299. QTabBar::tab:left {
  1300. color: #F0F0F0;
  1301. background-color: #32414B;
  1302. margin-top: 2px;
  1303. padding-left: 2px;
  1304. padding-right: 2px;
  1305. padding-top: 4px;
  1306. padding-bottom: 4px;
  1307. border-top-left-radius: 3px;
  1308. border-bottom-left-radius: 3px;
  1309. min-height: 5px;
  1310. }
  1311. QTabBar::tab:left:selected {
  1312. color: #F0F0F0;
  1313. background-color: #505F69;
  1314. border-right: 3px solid #1464A0;
  1315. }
  1316. QTabBar::tab:left:!selected:hover {
  1317. border: 1px solid #148CD2;
  1318. border-right: 3px solid #148CD2;
  1319. padding: 0px;
  1320. }
  1321. QTabBar::tab:right {
  1322. color: #F0F0F0;
  1323. background-color: #32414B;
  1324. margin-top: 2px;
  1325. padding-left: 2px;
  1326. padding-right: 2px;
  1327. padding-top: 4px;
  1328. padding-bottom: 4px;
  1329. border-top-right-radius: 3px;
  1330. border-bottom-right-radius: 3px;
  1331. min-height: 5px;
  1332. }
  1333. QTabBar::tab:right:selected {
  1334. color: #F0F0F0;
  1335. background-color: #505F69;
  1336. border-left: 3px solid #1464A0;
  1337. }
  1338. QTabBar::tab:right:!selected:hover {
  1339. border: 1px solid #148CD2;
  1340. border-left: 3px solid #148CD2;
  1341. padding: 0px;
  1342. }
  1343. QTabBar QToolButton {
  1344. /* Fixes #136 */
  1345. background-color: #32414B;
  1346. height: 12px;
  1347. width: 12px;
  1348. }
  1349. QTabBar QToolButton:pressed {
  1350. background-color: #32414B;
  1351. }
  1352. QTabBar QToolButton:pressed:hover {
  1353. border: 1px solid #148CD2;
  1354. }
  1355. QTabBar QToolButton::left-arrow:enabled {
  1356. image: url(":/qss_icons/rc/arrow_left.png");
  1357. }
  1358. QTabBar QToolButton::left-arrow:disabled {
  1359. image: url(":/qss_icons/rc/arrow_left_disabled.png");
  1360. }
  1361. QTabBar QToolButton::right-arrow:enabled {
  1362. image: url(":/qss_icons/rc/arrow_right.png");
  1363. }
  1364. QTabBar QToolButton::right-arrow:disabled {
  1365. image: url(":/qss_icons/rc/arrow_right_disabled.png");
  1366. }
  1367. /* QDockWiget -------------------------------------------------------------
  1368. --------------------------------------------------------------------------- */
  1369. QDockWidget {
  1370. outline: 1px solid #32414B;
  1371. background-color: #19232D;
  1372. border: 1px solid #32414B;
  1373. border-radius: 4px;
  1374. titlebar-close-icon: url(":/qss_icons/rc/window_close.png");
  1375. titlebar-normal-icon: url(":/qss_icons/rc/window_undock.png");
  1376. }
  1377. QDockWidget::title {
  1378. /* Better size for title bar */
  1379. padding: 6px;
  1380. spacing: 4px;
  1381. border: none;
  1382. background-color: #32414B;
  1383. }
  1384. QDockWidget::close-button {
  1385. background-color: #32414B;
  1386. border-radius: 4px;
  1387. border: none;
  1388. }
  1389. QDockWidget::close-button:hover {
  1390. image: url(":/qss_icons/rc/window_close_focus.png");
  1391. }
  1392. QDockWidget::close-button:pressed {
  1393. image: url(":/qss_icons/rc/window_close_pressed.png");
  1394. }
  1395. QDockWidget::float-button {
  1396. background-color: #32414B;
  1397. border-radius: 4px;
  1398. border: none;
  1399. }
  1400. QDockWidget::float-button:hover {
  1401. image: url(":/qss_icons/rc/window_undock_focus.png");
  1402. }
  1403. QDockWidget::float-button:pressed {
  1404. image: url(":/qss_icons/rc/window_undock_pressed.png");
  1405. }
  1406. /* QTreeView QListView QTableView -----------------------------------------
  1407. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview
  1408. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlistview
  1409. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtableview
  1410. --------------------------------------------------------------------------- */
  1411. QTreeView:branch:has-children:!has-siblings:closed, QTreeView:branch:closed:has-children:has-siblings {
  1412. border-image: none;
  1413. image: url(":/qss_icons/rc/branch_closed.png");
  1414. }
  1415. QTreeView:branch:open:has-children:!has-siblings, QTreeView:branch:open:has-children:has-siblings {
  1416. border-image: none;
  1417. image: url(":/qss_icons/rc/branch_open.png");
  1418. }
  1419. QTreeView:branch:has-children:!has-siblings:closed:hover, QTreeView:branch:closed:has-children:has-siblings:hover {
  1420. image: url(":/qss_icons/rc/branch_closed_focus.png");
  1421. }
  1422. QTreeView:branch:open:has-children:!has-siblings:hover, QTreeView:branch:open:has-children:has-siblings:hover {
  1423. image: url(":/qss_icons/rc/branch_open_focus.png");
  1424. }
  1425. QTreeView::indicator:checked,
  1426. QListView::indicator:checked {
  1427. image: url(":/qss_icons/rc/checkbox_checked.png");
  1428. }
  1429. QTreeView::indicator:checked:hover, QTreeView::indicator:checked:focus, QTreeView::indicator:checked:pressed,
  1430. QListView::indicator:checked:hover,
  1431. QListView::indicator:checked:focus,
  1432. QListView::indicator:checked:pressed {
  1433. image: url(":/qss_icons/rc/checkbox_checked_focus.png");
  1434. }
  1435. QTreeView::indicator:unchecked,
  1436. QListView::indicator:unchecked {
  1437. image: url(":/qss_icons/rc/checkbox_unchecked.png");
  1438. }
  1439. QTreeView::indicator:unchecked:hover, QTreeView::indicator:unchecked:focus, QTreeView::indicator:unchecked:pressed,
  1440. QListView::indicator:unchecked:hover,
  1441. QListView::indicator:unchecked:focus,
  1442. QListView::indicator:unchecked:pressed {
  1443. image: url(":/qss_icons/rc/checkbox_unchecked_focus.png");
  1444. }
  1445. QTreeView::indicator:indeterminate,
  1446. QListView::indicator:indeterminate {
  1447. image: url(":/qss_icons/rc/checkbox_indeterminate.png");
  1448. }
  1449. QTreeView::indicator:indeterminate:hover, QTreeView::indicator:indeterminate:focus, QTreeView::indicator:indeterminate:pressed,
  1450. QListView::indicator:indeterminate:hover,
  1451. QListView::indicator:indeterminate:focus,
  1452. QListView::indicator:indeterminate:pressed {
  1453. image: url(":/qss_icons/rc/checkbox_indeterminate_focus.png");
  1454. }
  1455. QTreeView,
  1456. QListView,
  1457. QTableView,
  1458. QColumnView {
  1459. background-color: #19232D;
  1460. border: 1px solid #32414B;
  1461. color: #F0F0F0;
  1462. gridline-color: #32414B;
  1463. border-radius: 4px;
  1464. }
  1465. QTreeView:disabled,
  1466. QListView:disabled,
  1467. QTableView:disabled,
  1468. QColumnView:disabled {
  1469. background-color: #19232D;
  1470. color: #787878;
  1471. }
  1472. QTreeView:selected,
  1473. QListView:selected,
  1474. QTableView:selected,
  1475. QColumnView:selected {
  1476. background-color: #1464A0;
  1477. color: #32414B;
  1478. }
  1479. QTreeView:hover,
  1480. QListView:hover,
  1481. QTableView:hover,
  1482. QColumnView:hover {
  1483. background-color: #19232D;
  1484. border: 1px solid #148CD2;
  1485. }
  1486. QTreeView::item:pressed,
  1487. QListView::item:pressed,
  1488. QTableView::item:pressed,
  1489. QColumnView::item:pressed {
  1490. background-color: #1464A0;
  1491. }
  1492. QTreeView::item:selected:hover,
  1493. QListView::item:selected:hover,
  1494. QTableView::item:selected:hover,
  1495. QColumnView::item:selected:hover {
  1496. background: #1464A0;
  1497. color: #19232D;
  1498. }
  1499. QTreeView::item:selected:active,
  1500. QListView::item:selected:active,
  1501. QTableView::item:selected:active,
  1502. QColumnView::item:selected:active {
  1503. background-color: #1464A0;
  1504. }
  1505. QTreeView::item:!selected:hover,
  1506. QListView::item:!selected:hover,
  1507. QTableView::item:!selected:hover,
  1508. QColumnView::item:!selected:hover {
  1509. outline: 0;
  1510. color: #148CD2;
  1511. background-color: #32414B;
  1512. }
  1513. QTableCornerButton::section {
  1514. background-color: #19232D;
  1515. border: 1px transparent #32414B;
  1516. border-radius: 0px;
  1517. }
  1518. /* QHeaderView ------------------------------------------------------------
  1519. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview
  1520. --------------------------------------------------------------------------- */
  1521. QHeaderView {
  1522. background-color: #19232D;
  1523. border: 0px transparent #19232D;
  1524. padding: 0px;
  1525. margin: 0px;
  1526. border-radius: 0px;
  1527. }
  1528. QHeaderView:disabled {
  1529. background-color: #19232D;
  1530. border: 1px transparent #19232D;
  1531. padding: 2px;
  1532. }
  1533. QHeaderView::section {
  1534. background-color: #19232D;
  1535. color: #F0F0F0;
  1536. padding: 2px;
  1537. border-radius: 0px;
  1538. text-align: left;
  1539. }
  1540. QHeaderView::section:checked {
  1541. color: #F0F0F0;
  1542. background-color: #1464A0;
  1543. }
  1544. QHeaderView::section:checked:disabled {
  1545. color: #787878;
  1546. background-color: #14506E;
  1547. }
  1548. QHeaderView::section::horizontal {
  1549. padding-left: 4px;
  1550. padding-right: 4px;
  1551. border-left: 1px solid #32414B;
  1552. }
  1553. QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one {
  1554. border-left: 1px solid #19232D;
  1555. }
  1556. QHeaderView::section::horizontal:disabled {
  1557. color: #787878;
  1558. }
  1559. QHeaderView::section::vertical {
  1560. padding-left: 4px;
  1561. padding-right: 4px;
  1562. border-top: 1px solid #32414B;
  1563. }
  1564. QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
  1565. border-top: 1px solid #32414B;
  1566. }
  1567. QHeaderView::section::vertical:disabled {
  1568. color: #787878;
  1569. }
  1570. QHeaderView::down-arrow {
  1571. /* Those settings (border/width/height/background-color) solve bug */
  1572. /* transparent arrow background and size */
  1573. background-color: #19232D;
  1574. border: none;
  1575. height: 12px;
  1576. width: 12px;
  1577. padding-left: 2px;
  1578. padding-right: 2px;
  1579. image: url(":/qss_icons/rc/arrow_down.png");
  1580. }
  1581. QHeaderView::up-arrow {
  1582. background-color: #19232D;
  1583. border: none;
  1584. height: 12px;
  1585. width: 12px;
  1586. padding-left: 2px;
  1587. padding-right: 2px;
  1588. image: url(":/qss_icons/rc/arrow_up.png");
  1589. }
  1590. /* QToolBox --------------------------------------------------------------
  1591. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbox
  1592. --------------------------------------------------------------------------- */
  1593. QToolBox {
  1594. padding: 0px;
  1595. border: 0px;
  1596. border: 1px solid #32414B;
  1597. }
  1598. QToolBox:selected {
  1599. padding: 0px;
  1600. border: 2px solid #1464A0;
  1601. }
  1602. QToolBox::tab {
  1603. background-color: #19232D;
  1604. border: 1px solid #32414B;
  1605. color: #F0F0F0;
  1606. border-top-left-radius: 4px;
  1607. border-top-right-radius: 4px;
  1608. }
  1609. QToolBox::tab:disabled {
  1610. color: #787878;
  1611. }
  1612. QToolBox::tab:selected {
  1613. background-color: #505F69;
  1614. border-bottom: 2px solid #1464A0;
  1615. }
  1616. QToolBox::tab:selected:disabled {
  1617. background-color: #32414B;
  1618. border-bottom: 2px solid #14506E;
  1619. }
  1620. QToolBox::tab:!selected {
  1621. background-color: #32414B;
  1622. border-bottom: 2px solid #32414B;
  1623. }
  1624. QToolBox::tab:!selected:disabled {
  1625. background-color: #19232D;
  1626. }
  1627. QToolBox::tab:hover {
  1628. border-color: #148CD2;
  1629. border-bottom: 2px solid #148CD2;
  1630. }
  1631. QToolBox QScrollArea QWidget QWidget {
  1632. padding: 0px;
  1633. border: 0px;
  1634. background-color: #19232D;
  1635. }
  1636. /* QFrame -----------------------------------------------------------------
  1637. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
  1638. https://doc.qt.io/qt-5/qframe.html#-prop
  1639. https://doc.qt.io/qt-5/qframe.html#details
  1640. https://stackoverflow.com/questions/14581498/qt-stylesheet-for-hline-vline-color
  1641. --------------------------------------------------------------------------- */
  1642. /* (dot) .QFrame fix #141, #126, #123 */
  1643. .QFrame {
  1644. border-radius: 4px;
  1645. border: 1px solid #32414B;
  1646. /* No frame */
  1647. /* HLine */
  1648. /* HLine */
  1649. }
  1650. .QFrame[frameShape="0"] {
  1651. border-radius: 4px;
  1652. border: 1px transparent #32414B;
  1653. }
  1654. .QFrame[frameShape="4"] {
  1655. max-height: 2px;
  1656. border: none;
  1657. background-color: #32414B;
  1658. }
  1659. .QFrame[frameShape="5"] {
  1660. max-width: 2px;
  1661. border: none;
  1662. background-color: #32414B;
  1663. }
  1664. /* QSplitter --------------------------------------------------------------
  1665. https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter
  1666. --------------------------------------------------------------------------- */
  1667. QSplitter {
  1668. background-color: #32414B;
  1669. spacing: 0px;
  1670. padding: 0px;
  1671. margin: 0px;
  1672. }
  1673. QSplitter::handle {
  1674. background-color: #32414B;
  1675. border: 0px solid #19232D;
  1676. spacing: 0px;
  1677. padding: 1px;
  1678. margin: 0px;
  1679. }
  1680. QSplitter::handle:hover {
  1681. background-color: #787878;
  1682. }
  1683. QSplitter::handle:horizontal {
  1684. width: 5px;
  1685. image: url(":/qss_icons/rc/line_vertical.png");
  1686. }
  1687. QSplitter::handle:vertical {
  1688. height: 5px;
  1689. image: url(":/qss_icons/rc/line_horizontal.png");
  1690. }
  1691. /* QDateEdit, QDateTimeEdit -----------------------------------------------
  1692. --------------------------------------------------------------------------- */
  1693. QDateEdit, QDateTimeEdit {
  1694. selection-background-color: #1464A0;
  1695. border-style: solid;
  1696. border: 1px solid #32414B;
  1697. border-radius: 4px;
  1698. /* This fixes 103, 111 */
  1699. padding-top: 2px;
  1700. /* This fixes 103, 111 */
  1701. padding-bottom: 2px;
  1702. padding-left: 4px;
  1703. padding-right: 4px;
  1704. min-width: 10px;
  1705. }
  1706. QDateEdit:on, QDateTimeEdit:on {
  1707. selection-background-color: #1464A0;
  1708. }
  1709. QDateEdit::drop-down, QDateTimeEdit::drop-down {
  1710. subcontrol-origin: padding;
  1711. subcontrol-position: top right;
  1712. width: 12px;
  1713. border-left: 1px solid #32414B;
  1714. }
  1715. QDateEdit::down-arrow, QDateTimeEdit::down-arrow {
  1716. image: url(":/qss_icons/rc/arrow_down_disabled.png");
  1717. height: 8px;
  1718. width: 8px;
  1719. }
  1720. QDateEdit::down-arrow:on, QDateEdit::down-arrow:hover, QDateEdit::down-arrow:focus, QDateTimeEdit::down-arrow:on, QDateTimeEdit::down-arrow:hover, QDateTimeEdit::down-arrow:focus {
  1721. image: url(":/qss_icons/rc/arrow_down.png");
  1722. }
  1723. QDateEdit QAbstractItemView, QDateTimeEdit QAbstractItemView {
  1724. background-color: #19232D;
  1725. border-radius: 4px;
  1726. border: 1px solid #32414B;
  1727. selection-background-color: #1464A0;
  1728. }
  1729. /* QAbstractView ----------------------------------------------------------
  1730. --------------------------------------------------------------------------- */
  1731. QAbstractView:hover {
  1732. border: 1px solid #148CD2;
  1733. color: #F0F0F0;
  1734. }
  1735. QAbstractView:selected {
  1736. background: #1464A0;
  1737. color: #32414B;
  1738. }
  1739. /* PlotWidget -------------------------------------------------------------
  1740. --------------------------------------------------------------------------- */
  1741. PlotWidget {
  1742. /* Fix cut labels in plots #134 */
  1743. padding: 0px;
  1744. }
  1745. QPushButton#TogglableStatusBarButton {
  1746. min-width: 0px;
  1747. color: #656565;
  1748. border: 1px solid transparent;
  1749. background-color: transparent;
  1750. padding: 0px 3px 0px 3px;
  1751. text-align: center;
  1752. }
  1753. QPushButton#TogglableStatusBarButton:checked {
  1754. color: #ffffff;
  1755. }
  1756. QPushButton#TogglableStatusBarButton:hover {
  1757. border: 1px solid #76797C;
  1758. }
  1759. QPushButton#RendererStatusBarButton {
  1760. min-width: 0px;
  1761. color: #656565;
  1762. border: 1px solid transparent;
  1763. background-color: transparent;
  1764. padding: 0px 3px 0px 3px;
  1765. text-align: center;
  1766. }
  1767. QPushButton#RendererStatusBarButton:hover {
  1768. border: 1px solid #76797C;
  1769. }
  1770. QPushButton#RendererStatusBarButton:checked {
  1771. color: #e85c00;
  1772. }
  1773. QPushButton#RendererStatusBarButton:!checked {
  1774. color: #00ccdd;
  1775. }
  1776. QPushButton#buttonRefreshDevices {
  1777. min-width: 19px;
  1778. min-height: 19px;
  1779. max-width: 19px;
  1780. max-height: 19px;
  1781. padding: 0px 0px;
  1782. }
  1783. QSpinBox#spinboxLStickRange,
  1784. QSpinBox#spinboxRStickRange,
  1785. QSpinBox#vibrationSpinPlayer1,
  1786. QSpinBox#vibrationSpinPlayer2,
  1787. QSpinBox#vibrationSpinPlayer3,
  1788. QSpinBox#vibrationSpinPlayer4,
  1789. QSpinBox#vibrationSpinPlayer5,
  1790. QSpinBox#vibrationSpinPlayer6,
  1791. QSpinBox#vibrationSpinPlayer7,
  1792. QSpinBox#vibrationSpinPlayer8 {
  1793. min-width: 68px;
  1794. }
  1795. QDialog#ConfigureVibration QGroupBox::indicator,
  1796. QGroupBox#motionGroup::indicator,
  1797. QGroupBox#vibrationGroup::indicator {
  1798. margin-left: 0px;
  1799. }
  1800. QDialog#ConfigureVibration QGroupBox,
  1801. QWidget#bottomPerGameInput QGroupBox#motionGroup,
  1802. QWidget#bottomPerGameInput QGroupBox#vibrationGroup,
  1803. QWidget#bottomPerGameInput QGroupBox#inputConfigGroup {
  1804. padding: 0px;
  1805. }
  1806. QDialog#ConfigureVibration QGroupBox::title,
  1807. QGroupBox#motionGroup::title,
  1808. QGroupBox#vibrationGroup::title {
  1809. spacing: 2px;
  1810. padding-left: 1px;
  1811. padding-right: 1px;
  1812. }
  1813. QListWidget#selectorList {
  1814. background-color: #0f1922;
  1815. }
  1816. QSpinBox,
  1817. QLineEdit,
  1818. QTreeView#hotkey_list,
  1819. QScrollArea#scrollArea QTreeView {
  1820. background-color: #0f1922;
  1821. }
  1822. QWidget#bottomPerGameInput,
  1823. QWidget#topControllerApplet,
  1824. QWidget#bottomControllerApplet,
  1825. QGroupBox#groupPlayer1Connected:checked,
  1826. QGroupBox#groupPlayer2Connected:checked,
  1827. QGroupBox#groupPlayer3Connected:checked,
  1828. QGroupBox#groupPlayer4Connected:checked,
  1829. QGroupBox#groupPlayer5Connected:checked,
  1830. QGroupBox#groupPlayer6Connected:checked,
  1831. QGroupBox#groupPlayer7Connected:checked,
  1832. QGroupBox#groupPlayer8Connected:checked {
  1833. background-color: #0f1922;
  1834. }
  1835. QWidget#topPerGameInput,
  1836. QWidget#middleControllerApplet {
  1837. background-color: #19232d;
  1838. }
  1839. QWidget#topPerGameInput QComboBox,
  1840. QWidget#middleControllerApplet QComboBox {
  1841. width: 120px;
  1842. }
  1843. QWidget#connectedControllers {
  1844. background: transparent;
  1845. }
  1846. QWidget#playersSupported,
  1847. QWidget#controllersSupported,
  1848. QWidget#controllerSupported1,
  1849. QWidget#controllerSupported2,
  1850. QWidget#controllerSupported3,
  1851. QWidget#controllerSupported4,
  1852. QWidget#controllerSupported5,
  1853. QWidget#controllerSupported6 {
  1854. border: none;
  1855. background: transparent;
  1856. }
  1857. QGroupBox#groupPlayer1Connected,
  1858. QGroupBox#groupPlayer2Connected,
  1859. QGroupBox#groupPlayer3Connected,
  1860. QGroupBox#groupPlayer4Connected,
  1861. QGroupBox#groupPlayer5Connected,
  1862. QGroupBox#groupPlayer6Connected,
  1863. QGroupBox#groupPlayer7Connected,
  1864. QGroupBox#groupPlayer8Connected {
  1865. border: 1px solid #76797c;
  1866. border-radius: 3px;
  1867. padding: 0px;
  1868. min-height: 98px;
  1869. max-height: 98px;
  1870. margin-top: 0px;
  1871. }
  1872. QGroupBox#groupPlayer1Connected:unchecked,
  1873. QGroupBox#groupPlayer2Connected:unchecked,
  1874. QGroupBox#groupPlayer3Connected:unchecked,
  1875. QGroupBox#groupPlayer4Connected:unchecked,
  1876. QGroupBox#groupPlayer5Connected:unchecked,
  1877. QGroupBox#groupPlayer6Connected:unchecked,
  1878. QGroupBox#groupPlayer7Connected:unchecked,
  1879. QGroupBox#groupPlayer8Connected:unchecked {
  1880. border: 1px solid #32414b;
  1881. }
  1882. QGroupBox#groupPlayer1Connected::title,
  1883. QGroupBox#groupPlayer2Connected::title,
  1884. QGroupBox#groupPlayer3Connected::title,
  1885. QGroupBox#groupPlayer4Connected::title,
  1886. QGroupBox#groupPlayer5Connected::title,
  1887. QGroupBox#groupPlayer6Connected::title,
  1888. QGroupBox#groupPlayer7Connected::title,
  1889. QGroupBox#groupPlayer8Connected::title {
  1890. subcontrol-origin: margin;
  1891. subcontrol-position: top left;
  1892. padding-left: 0px;
  1893. padding-right: 0px;
  1894. padding-top: 1px;
  1895. margin-left: -2px;
  1896. margin-right: -4px;
  1897. margin-bottom: 6px;
  1898. }
  1899. QCheckBox#checkboxPlayer1Connected,
  1900. QCheckBox#checkboxPlayer2Connected,
  1901. QCheckBox#checkboxPlayer3Connected,
  1902. QCheckBox#checkboxPlayer4Connected,
  1903. QCheckBox#checkboxPlayer5Connected,
  1904. QCheckBox#checkboxPlayer6Connected,
  1905. QCheckBox#checkboxPlayer7Connected,
  1906. QCheckBox#checkboxPlayer8Connected {
  1907. spacing: 0px;
  1908. }
  1909. QWidget#connectedControllers QLabel {
  1910. padding: 0px;
  1911. }
  1912. QWidget#Player1LEDs,
  1913. QWidget#Player2LEDs,
  1914. QWidget#Player3LEDs,
  1915. QWidget#Player4LEDs,
  1916. QWidget#Player5LEDs,
  1917. QWidget#Player6LEDs,
  1918. QWidget#Player7LEDs,
  1919. QWidget#Player8LEDs {
  1920. background: transparent;
  1921. }
  1922. QWidget#Player1LEDs QCheckBox,
  1923. QWidget#Player2LEDs QCheckBox,
  1924. QWidget#Player3LEDs QCheckBox,
  1925. QWidget#Player4LEDs QCheckBox,
  1926. QWidget#Player5LEDs QCheckBox,
  1927. QWidget#Player6LEDs QCheckBox,
  1928. QWidget#Player7LEDs QCheckBox,
  1929. QWidget#Player8LEDs QCheckBox,
  1930. QCheckBox#checkboxPlayer1Connected,
  1931. QCheckBox#checkboxPlayer2Connected,
  1932. QCheckBox#checkboxPlayer3Connected,
  1933. QCheckBox#checkboxPlayer4Connected,
  1934. QCheckBox#checkboxPlayer5Connected,
  1935. QCheckBox#checkboxPlayer6Connected,
  1936. QCheckBox#checkboxPlayer7Connected,
  1937. QCheckBox#checkboxPlayer8Connected {
  1938. spacing: 0px;
  1939. padding-top: 0px;
  1940. padding-bottom: 0px;
  1941. background: transparent;
  1942. }
  1943. QWidget#Player1LEDs QCheckBox::indicator,
  1944. QWidget#Player2LEDs QCheckBox::indicator,
  1945. QWidget#Player3LEDs QCheckBox::indicator,
  1946. QWidget#Player4LEDs QCheckBox::indicator,
  1947. QWidget#Player5LEDs QCheckBox::indicator,
  1948. QWidget#Player6LEDs QCheckBox::indicator,
  1949. QWidget#Player7LEDs QCheckBox::indicator,
  1950. QWidget#Player8LEDs QCheckBox::indicator {
  1951. width: 6px;
  1952. height: 6px;
  1953. margin-left: 0px;
  1954. }
  1955. QWidget#bottomPerGameInput QCheckBox#checkboxPlayer1Connected::indicator,
  1956. QWidget#bottomPerGameInput QCheckBox#checkboxPlayer2Connected::indicator,
  1957. QWidget#bottomPerGameInput QCheckBox#checkboxPlayer3Connected::indicator,
  1958. QWidget#bottomPerGameInput QCheckBox#checkboxPlayer4Connected::indicator,
  1959. QWidget#bottomPerGameInput QCheckBox#checkboxPlayer5Connected::indicator,
  1960. QWidget#bottomPerGameInput QCheckBox#checkboxPlayer6Connected::indicator,
  1961. QWidget#bottomPerGameInput QCheckBox#checkboxPlayer7Connected::indicator,
  1962. QWidget#bottomPerGameInput QCheckBox#checkboxPlayer8Connected::indicator {
  1963. width: 12px;
  1964. height: 12px;
  1965. }
  1966. QCheckBox#checkboxPlayer1Connected::indicator,
  1967. QCheckBox#checkboxPlayer2Connected::indicator,
  1968. QCheckBox#checkboxPlayer3Connected::indicator,
  1969. QCheckBox#checkboxPlayer4Connected::indicator,
  1970. QCheckBox#checkboxPlayer5Connected::indicator,
  1971. QCheckBox#checkboxPlayer6Connected::indicator,
  1972. QCheckBox#checkboxPlayer7Connected::indicator,
  1973. QCheckBox#checkboxPlayer8Connected::indicator {
  1974. width: 14px;
  1975. height: 14px;
  1976. margin-left: 0px;
  1977. }
  1978. QWidget#Player1LEDs QCheckBox::indicator:checked,
  1979. QWidget#Player2LEDs QCheckBox::indicator:checked,
  1980. QWidget#Player3LEDs QCheckBox::indicator:checked,
  1981. QWidget#Player4LEDs QCheckBox::indicator:checked,
  1982. QWidget#Player5LEDs QCheckBox::indicator:checked,
  1983. QWidget#Player6LEDs QCheckBox::indicator:checked,
  1984. QWidget#Player7LEDs QCheckBox::indicator:checked,
  1985. QWidget#Player8LEDs QCheckBox::indicator:checked,
  1986. QGroupBox#groupPlayer1Connected::indicator:checked,
  1987. QGroupBox#groupPlayer2Connected::indicator:checked,
  1988. QGroupBox#groupPlayer3Connected::indicator:checked,
  1989. QGroupBox#groupPlayer4Connected::indicator:checked,
  1990. QGroupBox#groupPlayer5Connected::indicator:checked,
  1991. QGroupBox#groupPlayer6Connected::indicator:checked,
  1992. QGroupBox#groupPlayer7Connected::indicator:checked,
  1993. QGroupBox#groupPlayer8Connected::indicator:checked,
  1994. QCheckBox#checkboxPlayer1Connected::indicator:checked,
  1995. QCheckBox#checkboxPlayer2Connected::indicator:checked,
  1996. QCheckBox#checkboxPlayer3Connected::indicator:checked,
  1997. QCheckBox#checkboxPlayer4Connected::indicator:checked,
  1998. QCheckBox#checkboxPlayer5Connected::indicator:checked,
  1999. QCheckBox#checkboxPlayer6Connected::indicator:checked,
  2000. QCheckBox#checkboxPlayer7Connected::indicator:checked,
  2001. QCheckBox#checkboxPlayer8Connected::indicator:checked,
  2002. QGroupBox#groupConnectedController::indicator:checked {
  2003. border-radius: 2px;
  2004. border: 1px solid #929192;
  2005. background: #39ff14;
  2006. image: none;
  2007. }
  2008. QWidget#Player1LEDs QCheckBox::indicator:unchecked,
  2009. QWidget#Player2LEDs QCheckBox::indicator:unchecked,
  2010. QWidget#Player3LEDs QCheckBox::indicator:unchecked,
  2011. QWidget#Player4LEDs QCheckBox::indicator:unchecked,
  2012. QWidget#Player5LEDs QCheckBox::indicator:unchecked,
  2013. QWidget#Player6LEDs QCheckBox::indicator:unchecked,
  2014. QWidget#Player7LEDs QCheckBox::indicator:unchecked,
  2015. QWidget#Player8LEDs QCheckBox::indicator:unchecked,
  2016. QGroupBox#groupPlayer1Connected::indicator:unchecked,
  2017. QGroupBox#groupPlayer2Connected::indicator:unchecked,
  2018. QGroupBox#groupPlayer3Connected::indicator:unchecked,
  2019. QGroupBox#groupPlayer4Connected::indicator:unchecked,
  2020. QGroupBox#groupPlayer5Connected::indicator:unchecked,
  2021. QGroupBox#groupPlayer6Connected::indicator:unchecked,
  2022. QGroupBox#groupPlayer7Connected::indicator:unchecked,
  2023. QGroupBox#groupPlayer8Connected::indicator:unchecked,
  2024. QCheckBox#checkboxPlayer1Connected::indicator:unchecked,
  2025. QCheckBox#checkboxPlayer2Connected::indicator:unchecked,
  2026. QCheckBox#checkboxPlayer3Connected::indicator:unchecked,
  2027. QCheckBox#checkboxPlayer4Connected::indicator:unchecked,
  2028. QCheckBox#checkboxPlayer5Connected::indicator:unchecked,
  2029. QCheckBox#checkboxPlayer6Connected::indicator:unchecked,
  2030. QCheckBox#checkboxPlayer7Connected::indicator:unchecked,
  2031. QCheckBox#checkboxPlayer8Connected::indicator:unchecked,
  2032. QGroupBox#groupConnectedController::indicator:unchecked {
  2033. border-radius: 2px;
  2034. border: 1px solid #929192;
  2035. background: #19232d;
  2036. image: none;
  2037. }
  2038. QWidget#controllerPlayer1,
  2039. QWidget#controllerPlayer2,
  2040. QWidget#controllerPlayer3,
  2041. QWidget#controllerPlayer4,
  2042. QWidget#controllerPlayer5,
  2043. QWidget#controllerPlayer6,
  2044. QWidget#controllerPlayer7,
  2045. QWidget#controllerPlayer8 {
  2046. background: transparent;
  2047. }