Advertisement
Guest User

Untitled

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