Guest User

Untitled

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