workbench-dark3.qss 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. QToolTip
  2. {
  3. border: 1px solid black;
  4. background-color: #D8C4FF;
  5. padding: 1px;
  6. border-radius: 3px;
  7. opacity: 100;
  8. }
  9. QWidget
  10. {
  11. color: #ffffff;
  12. background-color: #323232;
  13. }
  14. QWidget:item:hover
  15. {
  16. background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D8C4FF, stop: 1 #B691FF);
  17. color: #000000;
  18. }
  19. QWidget:item:selected
  20. {
  21. background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D8C4FF, stop: 1 #B691FF);
  22. color: #000000;
  23. }
  24. QMenuBar::item
  25. {
  26. background: transparent;
  27. }
  28. QMenuBar::item:selected
  29. {
  30. background: transparent;
  31. border: 1px solid #D8C4FF;
  32. }
  33. QMenuBar::item:pressed
  34. {
  35. background: #444;
  36. border: 1px solid #000;
  37. background-color: QLinearGradient(
  38. x1:0, y1:0,
  39. x2:0, y2:1,
  40. stop:1 #212121,
  41. stop:0.4 #343434/*,
  42. stop:0.2 #343434,
  43. stop:0.1 #ffaa00*/
  44. );
  45. margin-bottom:-1px;
  46. padding-bottom:1px;
  47. }
  48. QMenu
  49. {
  50. border: 1px solid #000;
  51. }
  52. QMenu::item
  53. {
  54. padding: 2px 20px 2px 20px;
  55. }
  56. QMenu::item:selected
  57. {
  58. color: #000000;
  59. }
  60. QWidget:disabled
  61. {
  62. color: #404040;
  63. background-color: #323232;
  64. }
  65. QAbstractItemView
  66. {
  67. background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #4d4d4d, stop: 0.1 #646464, stop: 1 #5d5d5d);
  68. }
  69. QWidget:focus
  70. {
  71. /*border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);*/
  72. }
  73. QLineEdit
  74. {
  75. background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #4d4d4d, stop: 0 #646464, stop: 1 #5d5d5d);
  76. padding: 1px;
  77. border-style: solid;
  78. border: 1px solid #1e1e1e;
  79. border-radius: 5;
  80. }
  81. QPushButton
  82. {
  83. color: #ffffff;
  84. background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
  85. border-width: 1px;
  86. border-color: #1e1e1e;
  87. border-style: solid;
  88. border-radius: 6;
  89. padding: 3px;
  90. font-size: 12px;
  91. padding-left: 5px;
  92. padding-right: 5px;
  93. }
  94. QPushButton:pressed
  95. {
  96. background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2d2d2d, stop: 0.1 #2b2b2b, stop: 0.5 #292929, stop: 0.9 #282828, stop: 1 #252525);
  97. }
  98. QComboBox
  99. {
  100. selection-background-color: #D8C4FF;
  101. background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
  102. border-style: solid;
  103. border: 1px solid #1e1e1e;
  104. border-radius: 5;
  105. }
  106. QComboBox:hover,QPushButton:hover
  107. {
  108. border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D8C4FF, stop: 1 #B691FF);
  109. }
  110. QComboBox:on
  111. {
  112. padding-top: 3px;
  113. padding-left: 4px;
  114. background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2d2d2d, stop: 0.1 #2b2b2b, stop: 0.5 #292929, stop: 0.9 #282828, stop: 1 #252525);
  115. selection-background-color: #D8C4FF;
  116. }
  117. QComboBox QAbstractItemView
  118. {
  119. border: 2px solid darkgray;
  120. selection-background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D8C4FF, stop: 1 #B691FF);
  121. }
  122. QComboBox::drop-down
  123. {
  124. subcontrol-origin: padding;
  125. subcontrol-position: top right;
  126. width: 15px;
  127. border-left-width: 0px;
  128. border-left-color: darkgray;
  129. border-left-style: solid; /* just a single line */
  130. border-top-right-radius: 3px; /* same radius as the QComboBox */
  131. border-bottom-right-radius: 3px;
  132. }
  133. QComboBox::down-arrow
  134. {
  135. image: url(:/down_arrow.png);
  136. }
  137. QGroupBox:focus
  138. {
  139. border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D8C4FF, stop: 1 #B691FF);
  140. }
  141. QTextEdit:focus
  142. {
  143. border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D8C4FF, stop: 1 #B691FF);
  144. }
  145. QScrollBar:horizontal {
  146. border: 1px solid #222222;
  147. background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0.0 #121212, stop: 0.2 #282828, stop: 1 #484848);
  148. height: 7px;
  149. margin: 0px 16px 0 16px;
  150. }
  151. QScrollBar::handle:horizontal
  152. {
  153. background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #B691FF, stop: 0.5 #B691FF, stop: 1 #B691FF);
  154. min-height: 20px;
  155. border-radius: 2px;
  156. }
  157. QScrollBar::add-line:horizontal {
  158. border: 1px solid #1b1b19;
  159. border-radius: 2px;
  160. background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #D8C4FF, stop: 1 #B691FF);
  161. width: 14px;
  162. subcontrol-position: right;
  163. subcontrol-origin: margin;
  164. }
  165. QScrollBar::sub-line:horizontal {
  166. border: 1px solid #1b1b19;
  167. border-radius: 2px;
  168. background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #D8C4FF, stop: 1 #B691FF);
  169. width: 14px;
  170. subcontrol-position: left;
  171. subcontrol-origin: margin;
  172. }
  173. QScrollBar::right-arrow:horizontal, QScrollBar::left-arrow:horizontal
  174. {
  175. border: 1px solid black;
  176. width: 1px;
  177. height: 1px;
  178. background: white;
  179. }
  180. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
  181. {
  182. background: none;
  183. }
  184. QScrollBar:vertical
  185. {
  186. background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0.0 #121212, stop: 0.2 #282828, stop: 1 #484848);
  187. width: 7px;
  188. margin: 16px 0 16px 0;
  189. border: 1px solid #222222;
  190. }
  191. QScrollBar::handle:vertical
  192. {
  193. background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D8C4FF, stop: 0.5 #D8C4FF, stop: 1 #D8C4FF);
  194. min-height: 20px;
  195. border-radius: 2px;
  196. }
  197. QScrollBar::add-line:vertical
  198. {
  199. border: 1px solid #1b1b19;
  200. border-radius: 2px;
  201. background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D8C4FF, stop: 1 #D8C4FF);
  202. height: 14px;
  203. subcontrol-position: bottom;
  204. subcontrol-origin: margin;
  205. }
  206. QScrollBar::sub-line:vertical
  207. {
  208. border: 1px solid #1b1b19;
  209. border-radius: 2px;
  210. background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D8C4FF, stop: 1 #D8C4FF);
  211. height: 14px;
  212. subcontrol-position: top;
  213. subcontrol-origin: margin;
  214. }
  215. QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical
  216. {
  217. border: 1px solid black;
  218. width: 1px;
  219. height: 1px;
  220. background: white;
  221. }
  222. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
  223. {
  224. background: none;
  225. }
  226. QTextEdit
  227. {
  228. background-color: #242424;
  229. }
  230. QPlainTextEdit
  231. {
  232. background-color: #242424;
  233. }
  234. QHeaderView::section
  235. {
  236. background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #616161, stop: 0.5 #505050, stop: 0.6 #434343, stop:1 #656565);
  237. color: white;
  238. padding-left: 4px;
  239. border: 1px solid #6c6c6c;
  240. }
  241. QCheckBox:disabled
  242. {
  243. color: #414141;
  244. }
  245. QDockWidget::title
  246. {
  247. text-align: center;
  248. spacing: 3px; /* spacing between items in the tool bar */
  249. background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #323232, stop: 0.5 #242424, stop:1 #323232);
  250. }
  251. QDockWidget::close-button, QDockWidget::float-button
  252. {
  253. text-align: center;
  254. spacing: 1px; /* spacing between items in the tool bar */
  255. background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #323232, stop: 0.5 #242424, stop:1 #323232);
  256. }
  257. QDockWidget::close-button:hover, QDockWidget::float-button:hover
  258. {
  259. background: #242424;
  260. }
  261. QDockWidget::close-button:pressed, QDockWidget::float-button:pressed
  262. {
  263. padding: 1px -1px -1px 1px;
  264. }
  265. QMainWindow::separator
  266. {
  267. background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #161616, stop: 0.5 #151515, stop: 0.6 #212121, stop:1 #343434);
  268. color: white;
  269. padding-left: 4px;
  270. border: 1px solid #4c4c4c;
  271. spacing: 3px; /* spacing between items in the tool bar */
  272. }
  273. QMainWindow::separator:hover
  274. {
  275. background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #D8C4FF, stop:0.5 #B691FF stop:1 #D8C4FF);
  276. color: white;
  277. padding-left: 4px;
  278. border: 1px solid #6c6c6c;
  279. spacing: 3px; /* spacing between items in the tool bar */
  280. }
  281. QToolBar::handle
  282. {
  283. spacing: 3px; /* spacing between items in the tool bar */
  284. background: url(:/images/handle.png);
  285. }
  286. QMenu::separator
  287. {
  288. height: 2px;
  289. background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #161616, stop: 0.5 #151515, stop: 0.6 #212121, stop:1 #343434);
  290. color: white;
  291. padding-left: 4px;
  292. margin-left: 10px;
  293. margin-right: 5px;
  294. }
  295. QProgressBar
  296. {
  297. border: 2px solid grey;
  298. border-radius: 5px;
  299. text-align: center;
  300. }
  301. QProgressBar::chunk
  302. {
  303. background-color: #B691FF;
  304. width: 2.15px;
  305. margin: 0.5px;
  306. }
  307. QTabBar::tab {
  308. color: #ffffff;
  309. border: 1px solid #444;
  310. border-bottom-style: none;
  311. background-color: #323232;
  312. padding-left: 10px;
  313. padding-right: 10px;
  314. padding-top: 3px;
  315. padding-bottom: 2px;
  316. margin-right: -1px;
  317. }
  318. QTabWidget::pane {
  319. border: 1px solid #444;
  320. top: 1px;
  321. }
  322. QTabBar::tab:last
  323. {
  324. margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
  325. border-top-right-radius: 3px;
  326. }
  327. QTabBar::tab:first:!selected
  328. {
  329. margin-left: 0px; /* the last selected tab has nothing to overlap with on the right */
  330. border-top-left-radius: 3px;
  331. }
  332. QTabBar::tab:!selected
  333. {
  334. color: #b1b1b1;
  335. border-bottom-style: solid;
  336. margin-top: 3px;
  337. background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:.4 #343434);
  338. }
  339. QTabBar::tab:selected
  340. {
  341. border-top-left-radius: 3px;
  342. border-top-right-radius: 3px;
  343. margin-bottom: 0px;
  344. }
  345. QTabBar::tab:!selected:hover
  346. {
  347. /*border-top: 2px solid #ffaa00;
  348. padding-bottom: 3px;*/
  349. border-top-left-radius: 3px;
  350. border-top-right-radius: 3px;
  351. background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:0.4 #343434, stop:0.2 #343434, stop:0.1 #B691FF);
  352. }
  353. QRadioButton::indicator:checked, QRadioButton::indicator:unchecked{
  354. color: #b1b1b1;
  355. background-color: #323232;
  356. border: 1px solid #b1b1b1;
  357. border-radius: 6px;
  358. }
  359. QRadioButton::indicator:checked
  360. {
  361. background-color: qradialgradient(
  362. cx: 0.5, cy: 0.5,
  363. fx: 0.5, fy: 0.5,
  364. radius: 1.0,
  365. stop: 0.25 #B691FF,
  366. stop: 0.3 #323232
  367. );
  368. }
  369. QRadioButton::indicator
  370. {
  371. border-radius: 6px;
  372. }
  373. QRadioButton::indicator:hover
  374. {
  375. border: 1px solid #B691FF;
  376. }