workbench-dark2.qss 9.9 KB

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