Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.55 KB | None | 0 0
  1. /*
  2. * Demus STYLE
  3. * By GrumpyDemus
  4. * Version 1.3.0 (2019-06-17)
  5. *
  6. * LICENSE
  7. * You are NOT allowed to:
  8. * - Copy&Paste code/files from this theme
  9. * - Redestribute this theme
  10. * - Make small adjustments and call it yours
  11. * You ARE allowed to:
  12. * - Use this theme and record/stream it
  13. * - Modify it for your own purpose without redestributing it
  14. * - Look at the source code and get some inspiration (yes i know how frustrating theme creation for ts is)
  15. */
  16.  
  17.  
  18. /******************************************************************************
  19. ACCENT = #900020
  20. ACCENT2 = #9F1D35
  21.  
  22. OLD_ACCENT = #832322
  23. OLD_ACCENT2 = #CC2C29
  24. ******************************************************************************/
  25.  
  26. QWidget {
  27. font-family: "Segoe UI";
  28. font-size: 9pt;
  29. }
  30.  
  31. QFrame {
  32. color: #BDBDBD;
  33. }
  34.  
  35. /******************************************************************************
  36. MainWindow
  37. ******************************************************************************/
  38. QMainWindow {
  39. background-color: #1F1F1F;
  40. }
  41.  
  42. /* Maybe some day TS is ready for acrylic background
  43. MainWindow {
  44. background-image: url("styles:/Demus/background.png");
  45. background-repeat: repeat-xy;
  46. background-attachment: fixed;
  47. background-color: #1F1F1F;
  48. } */
  49.  
  50. QSizeGrip {
  51. background: transparent;
  52. background-image: none;
  53. }
  54.  
  55. QSplitter::handle {
  56. margin: 1px;
  57. background: transparent;
  58. }
  59.  
  60. ServerView {
  61. background: #171717;
  62. border-top: 2px solid #900020;
  63. }
  64.  
  65. /* QT/TS-SUCKS-FIX i know that it looks bad, but it looks worse w/o it */
  66. TreeView, InfoFrame {
  67. margin: 2px;
  68. }
  69.  
  70. TreeView {
  71. margin-left: 0px;
  72. }
  73.  
  74. QTableView#clientsTableView, QTableView#banTableView {
  75. qproperty-alternatingRowColors: false;
  76. }
  77.  
  78. QLabel#appNameLabel {
  79. color: #455573;
  80. font-weight: bold;
  81. font-size: 24px;
  82. }
  83.  
  84. QToolTip, EmoticonsDisplay {
  85. background: #111111;
  86. border: 1px solid #404040;
  87. color: #DDDDDD;
  88. }
  89.  
  90. /******************************************************************************
  91. QMenuBar, QMenu
  92. ******************************************************************************/
  93.  
  94. QMenuBar {
  95. background-color: transparent;
  96. border: none;
  97. color: #DDDDDD;
  98. }
  99.  
  100. QMenuBar::item {
  101. background-color: transparent;
  102. padding: 5px;
  103. padding-left: 10px;
  104. padding-right: 10px;
  105. }
  106.  
  107. QMenuBar::item:selected {
  108. background-color: #333333;
  109. border: 0px;
  110. color: #DDDDDD;
  111. }
  112.  
  113. QMenu {
  114. border: 1px solid #333333;
  115. background-color: #1B1B1B;
  116. color: #F1F1F1;
  117. padding: 2px;
  118. }
  119.  
  120. QMenu::item {
  121. background: transparent;
  122. padding: 5px;
  123. padding-left: 25px;
  124. }
  125.  
  126. QMenu::item:selected {
  127. background-color: #333333;
  128. }
  129.  
  130. QMenu::item:disabled {
  131. color: #555555;
  132. }
  133.  
  134. QMenu::separator {
  135. height: 1px;
  136. margin: 1px;
  137. margin-left: 25px;
  138. background: #333333;
  139. }
  140.  
  141. /******************************************************************************
  142. QToolBar
  143. ******************************************************************************/
  144.  
  145. QToolBar {
  146. background-color: transparent;
  147. spacing: 10px;
  148. border-bottom: 0px;
  149. }
  150.  
  151. QToolBar::handle {
  152. background-image: none;
  153. background-color: transparent;
  154. }
  155.  
  156. QToolBar {
  157. background-color: transparent;
  158. padding: 10px;
  159. }
  160.  
  161. QToolBar QToolButton, QToolBar QToolButton:focus {
  162. background: transparent;
  163. border: none;
  164. padding: 10px;
  165. }
  166.  
  167. QToolBar QToolButton:pressed {
  168. background: #353535;
  169. }
  170.  
  171. QToolBar QToolButton:hover {
  172. border: 2px solid #353535;
  173. padding: 8px;
  174. }
  175.  
  176. QToolBar QToolButton:checked {
  177. background: #353535;
  178. }
  179.  
  180. QToolBar QToolButton[popupMode="1"] {
  181. padding-right:20px;
  182. }
  183.  
  184. QToolBar QToolButton[popupMode="1"]:hover {
  185. padding-right: 19px;
  186. padding-left: 9px;
  187. }
  188.  
  189. QToolBar QToolButton::menu-button{
  190. padding-right: 10px;
  191. border: none;
  192. width: 10px;
  193. }
  194.  
  195. QToolBar QToolButton::menu-button:hover {
  196. background: #353535;
  197. }
  198.  
  199. QToolBar QToolButton::menu-arrow {
  200. image:url("styles:Demus/Arrow/arrow_down.svg");
  201. left: 5px;
  202. height: 12px;
  203. width: 12px;
  204. }
  205.  
  206. QToolBar QToolButton::menu-arrow:hover {
  207. image:url("styles:Demus/Arrow/arrow_down_hover.svg");
  208. }
  209.  
  210. QToolBar QToolButton::menu-arrow:disabled {
  211. image:url("styles:Demus/Arrow/arrow_down_disabled.svg");
  212. }
  213.  
  214. QToolBarSeparator {
  215. background: #444444;
  216. }
  217.  
  218. /*******************************************************************************
  219. QTabWidget, QTabBar
  220. *******************************************************************************/
  221.  
  222.  
  223. QWidget::pane {
  224. border: none;
  225. border-top: 2px solid #900020;
  226. background: #171717;
  227. }
  228.  
  229.  
  230. QMainWindow QWidget::pane {
  231. border-top: none;
  232. margin-left: 10px;
  233. margin-right: 10px;
  234. background: transparent;
  235. }
  236.  
  237. QMainWindow QTabWidget::tab-bar {
  238. left: 10px;
  239. }
  240.  
  241. VirtualServerEditDialog QWidget::pane, CreateChannelDialog QWidget::pane {
  242. margin: 0px;
  243. }
  244.  
  245. VirtualServerEditDialog QTabWidget::tab-bar, CreateChannelDialog QTabWidget::tab-bar {
  246. left: 0px;
  247. }
  248.  
  249. QTabBar { /* NOTE: the 1px "border" at the top is a 3D light effect which cannot be changed with qss right now, bc QPalette::Light is not accessable */
  250. background: transparent;
  251. }
  252.  
  253. QTabBar::tab {
  254. padding-left: 10px;
  255. padding-right: 10px;
  256. background-color: #1F1F1F;
  257. color: #EEEEEE;
  258. min-height: 32px;
  259. border: none;
  260. }
  261.  
  262. QTabBar::tab:hover {
  263. background: #9F1D35;
  264. }
  265.  
  266. QTabBar::tab:selected, QTabBar::tab:selected:hover {
  267. background: #900020;
  268. }
  269.  
  270. QTabBar::tab:disabled {
  271. color: #555555;
  272. }
  273.  
  274. QTabBar::tear {
  275. image: none;
  276. }
  277.  
  278. QTabBar::scroller {
  279. width: 27px;
  280. }
  281.  
  282. QTabBar QToolButton {
  283. background-color: #1F1F1F;
  284. margin: 0px;
  285. padding: 6px;
  286. padding-left: 0px;
  287. }
  288.  
  289. QTabBar QToolButton:hover {
  290. border: none;
  291. padding: 6px;
  292. padding-left: 0px;
  293. }
  294.  
  295. QTabBar QToolButton::right-arrow, QTabBar QToolButton::right-arrow:active {
  296. background: #1F1F1F;
  297. image: url("styles:Demus/Arrow/arrow_right.svg");
  298. }
  299.  
  300. QTabBar QToolButton::right-arrow:hover {
  301. image: url("styles:Demus/Arrow/arrow_right_hover.svg");
  302. }
  303.  
  304. QTabBar QToolButton::right-arrow:disabled {
  305. image: url("styles:Demus/Arrow/arrow_right_disabled.svg");
  306. }
  307.  
  308. QTabBar QToolButton::left-arrow, QTabBar QToolButton::left-arrow:active {
  309. background: #1F1F1F;
  310. image: url("styles:Demus/Arrow/arrow_left.svg");
  311. }
  312.  
  313. QTabBar QToolButton::left-arrow:hover {
  314. image: url("styles:Demus/Arrow/arrow_left_hover.svg");
  315. }
  316.  
  317. QTabBar QToolButton::left-arrow:disabled {
  318. image: url("styles:Demus/Arrow/arrow_left_disabled.svg");
  319. }
  320.  
  321. QTabBar::close-button {
  322. background: blue;
  323. }
  324.  
  325. QToolButton#ChatTabCloseButton, QToolButton#ServerTabCloseButton {
  326. height: 8px;
  327. background: transparent;
  328. padding-right: -10px;
  329. }
  330.  
  331. QToolButton#ChatTabCloseButton:hover, QToolButton#ServerTabCloseButton:hover {
  332. border: none;
  333. }
  334.  
  335. /*******************************************************************************
  336. InfoFrame, ChatTab
  337. *******************************************************************************/
  338.  
  339. /* QT/TS-SUCKS-FIX it wouldnt work w/o !hover */
  340. InfoFrame:!hover, InfoFrame:hover {
  341. background: transparent;
  342. border: none;
  343. }
  344.  
  345. QTextEdit#ChatTab {
  346. background: #171717;
  347. border: none;
  348. border-bottom: 2px solid #900020;
  349. padding: 2px;
  350. }
  351.  
  352. /*******************************************************************************
  353. QTreeView
  354. *******************************************************************************/
  355.  
  356. QTreeView, TreeView, TreeWidget {
  357. background: #2B2B2B;
  358. border: 1px solid #767676;
  359. show-decoration-selected: 1;
  360. padding: 0px;
  361. outline: none;
  362. }
  363.  
  364. QTreeView#ServerTreeView {
  365. alternate-background-color: #171717;
  366. border: none;
  367. background: transparent;
  368. qproperty-rootIsDecorated: false;
  369. }
  370.  
  371. QTreeView#permissionsTreeView, QTreeView#channelsTreeWidget, QTreeView#treeView {
  372. background: #111111;
  373. }
  374.  
  375. QTreeView::item {
  376. height: 25px;
  377. border: none;
  378. padding-left: 5px;
  379. width: 100%;
  380. }
  381.  
  382. QTreeView::item:hover, QTreeView::branch:hover {
  383. background: #404040;
  384. color: #DDDDDD;
  385. }
  386.  
  387. QTreeView::item:selected:active, QTreeView::item:selected:!active, QTreeView::branch:selected {
  388. background: #900020;
  389. color: #DDDDDD;
  390. outline:none;
  391. }
  392.  
  393. QTreeView::item:selected:hover, QTreeView::branch:selected:hover {
  394. background: #9F1D35;
  395.  
  396. }
  397.  
  398. QTreeView::branch:has-siblings:!adjoins-item, QTreeView::branch:has-siblings:adjoins-item, QTreeView::branch:!has-children:!has-siblings:adjoins-item {
  399. border-image: none;
  400. }
  401.  
  402. QTreeView::branch:has-children:!has-siblings:closed, QTreeView::branch:closed:has-children:has-siblings {
  403. border-image: none;
  404. image: url("styles:Demus/Arrow/arrow_right.svg");
  405. padding: 2px;
  406. padding-left: 5px;
  407. }
  408.  
  409. QTreeView::branch:has-children:!has-siblings:closed:hover, QTreeView::branch:closed:has-children:has-siblings:hover {
  410. border-image: none;
  411. image: url("styles:Demus/Arrow/arrow_right_hover.svg");
  412. }
  413.  
  414. QTreeView::branch:open:has-children:!has-siblings, QTreeView::branch:open:has-children:has-siblings {
  415. border-image: none;
  416. image: url("styles:Demus/Arrow/arrow_down.svg");
  417. padding: 2px;
  418. padding-left: 5px;
  419. }
  420.  
  421. QTreeView::branch:open:has-children:!has-siblings:hover, QTreeView::branch:open:has-children:has-siblings:hover {
  422. border-image: none;
  423. image: url("styles:Demus/Arrow/arrow_down_hover.svg");
  424. }
  425.  
  426. /*******************************************************************************
  427. QListView
  428. *******************************************************************************/
  429.  
  430.  
  431. QListView {
  432. background: #2B2B2B;
  433. border: 1px solid #767676;
  434. outline: none;
  435. }
  436.  
  437.  
  438. QListView:item {
  439. padding: 5px;
  440. color: #DDDDDD;
  441. }
  442.  
  443. QListView:item:hover {
  444. background: #404040;
  445. }
  446. QListView:item:selected, QListView:item:focus {
  447. background: #900020;
  448. }
  449.  
  450. QListView:item:selected:hover {
  451. background: #9F1D35;
  452. }
  453.  
  454.  
  455. /*******************************************************************************
  456. ChatLineEdit
  457. *******************************************************************************/
  458.  
  459. QTextEdit#ChatLineEdit {
  460. border: none;
  461. border-bottom: 1px solid #444444;
  462. background: transparent;
  463. margin-left: 10px;
  464. padding-left: 5px;
  465. }
  466.  
  467. QTextEdit#ChatLineEdit:hover {
  468. border-bottom: 1px solid #767676;
  469. }
  470.  
  471. QTextEdit#ChatLineEdit[helpTextVisible="true"] {
  472. color: #AAAAAA;
  473. }
  474.  
  475. QTextEdit#ChatLineEdit[helpTextVisible="false"] {
  476. color: #AAAAAA;
  477. border: 1px solid #767676;
  478. background: #111111;
  479. }
  480.  
  481. /*******************************************************************************
  482. QStatusBar
  483. *******************************************************************************/
  484.  
  485. QStatusBar {
  486. background: transparent;
  487. color: #DDDDDD;
  488. }
  489.  
  490. QStatusBar::item {
  491. background: transparent;
  492. }
  493.  
  494. QLabel#NewsLeftLabel {
  495. padding-right: 6px;
  496. }
  497.  
  498. QWidget#NewsBanner {
  499. color: #BDBDBD;
  500. }
  501.  
  502. QToolButton#NewsCloseButton, QToolButton#NewsCloseButton:hover {
  503. background: transparent;
  504. border: none;
  505. }
  506.  
  507. QToolButton#NewsCloseButton:hover {
  508. background: #333333;
  509. }
  510.  
  511. /*******************************************************************************
  512. All Windows
  513. *******************************************************************************/
  514.  
  515. QLabel#identitiesBanner, QLabel#bookmarksBanner {
  516. font-size: 18px;
  517. color: #FFFFFF;
  518. }
  519.  
  520.  
  521. QWidget#FileBrowser, QWidget#ConnectDialog, QWidget#BookmarksManager, QWidget#WebServerList, QWidget#ClientDatabaseListViewer, QWidget#TokenView,
  522. QWidget#FriendFoeManager, QWidget#UrlCatcherViewer, QWidget#InvitationDialog, QWidget#OfflineMessageDialog, QWidget#WhisperDialog, QWidget#WhisperHistoryWidget, QWidget#ClientLogView, QWidget#BanList,
  523. QWidget#ComplainView, QWidget#ServerQueryLoginDialog, QWidget#ServerLogView, QWidget#SetupWizard, QWidget#IdentityManager, QWidget#PluginDialog, QWidget#OptionsDialog, FileTransferView, ChannelGroupsOfClientDialog,
  524. UserVolumeWidget, OfflineMessagesDialog, ServerConnectionInfoDialog, QWidget#TempPasswordWidget, QWidget#ChannelDescriptionEditTearOffWidget, CustomizeToolbar, QWidget#OfflineMessagesNew
  525. {
  526. background: #171717;
  527. }
  528.  
  529. /* cant set a different MainWindow background when using this..... the solution above is so much fancier anyway.. not.... ahhhhhh QT/TS-SUCKS
  530. use this, if your mainwindow has the same background as all other windows
  531. QWidget:window {
  532. background: #171717;
  533. } */
  534.  
  535. QWidget#PermissionsWidget, QWidget#ConnectionInfoDialog, QWidget#CreateChannelDialog, QWidget#AboutDialog, QWidget#VirtualServerEditDialog
  536. {
  537. background: #1F1F1F;
  538. }
  539.  
  540. QWidget#standardTab, QWidget#audioTab, QWidget#permissionsTab, QWidget#advancedTab, QWidget#aboutTab, QWidget#copyrightTab, QWidget#licenseTab,
  541. QWidget#tabHost, QWidget#tabTransfers, QWidget#tabAntiFlood, QWidget#tabSecurity, QWidget#tabMisc, QWidget#tabLogging
  542. {
  543. background: #171717;
  544. border-top: 2px solid #900020;
  545. }
  546.  
  547. QDialog {
  548. background-color: #171717;
  549. }
  550.  
  551. QFrame#downloadLimitFrame, QFrame#uploadLimitFrame {
  552. border: none;
  553. }
  554.  
  555. QGroupBox {
  556. color: #FFFFFF;
  557. font-size: 18px;
  558. border: none;
  559. padding: 0px;
  560. padding-top: 20px;
  561. padding-left: -6px;
  562. margin-bottom: 10px;
  563. }
  564.  
  565. QGroupBox::title {
  566. background: transparent;
  567. subcontrol-position: top left;
  568. }
  569.  
  570. QListWidget {
  571. background: #2B2B2B;
  572. border: 1px solid #767676;
  573. outline: none;
  574. }
  575.  
  576. QListWidget::item {
  577. background: transparent;
  578. border: none;
  579. height: 25px;
  580. padding-left: 5px;
  581. }
  582.  
  583. QListWidget::item:hover {
  584. background: #404040;
  585. color: #DDDDDD;
  586. padding-left: 5px;
  587. }
  588.  
  589. QListWidget::item:selected {
  590. background: #900020;
  591. color: #DDDDDD;
  592. padding-left: 5px;
  593. }
  594.  
  595. QListWidget::item:selected:hover {
  596. background: #9F1D35;
  597. padding-left: 5px;
  598. }
  599.  
  600. QWidget#HeadlineLabel {
  601. background: transparent;
  602. color: #FFFFFF;
  603. }
  604.  
  605. QWidget#HeadlineLabel QLabel{
  606. color: #FFFFFF;
  607. }
  608.  
  609. QListWidget#ContentsWidget {
  610. min-width: 200px;
  611. }
  612.  
  613. QFrame#line, QFrame#line_2, QFrame#line_3, QFrame#line_4, QFrame#line_5, QFrame#line_6 {
  614. background: transparent;
  615. }
  616.  
  617. QWidget#page1 QComboBox {
  618. max-width: 180px;
  619. }
  620.  
  621. QWidget#page1 QGroupBox::title, QWidget#page2 QGroupBox::title {
  622. background: transparent;
  623. }
  624.  
  625. QTableView {
  626. background: #2B2B2B;
  627. border: 1px solid #767676;
  628. selection-color: #DDDDDD;
  629. qproperty-alternatingRowColors: false;
  630. show-decoration-selected: 0;
  631. gridline-color: #2B2B2B;
  632. }
  633.  
  634. QTableView::item {
  635. background: transparent;
  636. }
  637.  
  638.  
  639. QTableView::item:selected {
  640. background: #900020;
  641. }
  642.  
  643. QHeaderView::section {
  644. background: #404040;
  645. border: none;
  646. min-height: 25px;
  647. color: #FFFFFF;
  648. padding-left: 5px;
  649. }
  650.  
  651. QFrame#bookmarksTopFrame {
  652. background: transparent;
  653. color: #DDDDDD;
  654. border: none;
  655. }
  656.  
  657. QLabel#avatarLabel {
  658. border: none;
  659. }
  660.  
  661. QWidget#scrollAreaWidgetContents {
  662. background: transparent;
  663. }
  664.  
  665. QScrollArea {
  666. background: #111111;
  667. border: 1px solid #767676;
  668. padding-left: 5px;
  669. }
  670.  
  671. /*******************************************************************************
  672. OptionsDialog
  673. *******************************************************************************/
  674.  
  675. QLabel#OptionsHeadlineTitleLabel {
  676. font-size: 24px;
  677. }
  678.  
  679.  
  680. QWidget#OptionsDialog {
  681. background: #171717;
  682. }
  683.  
  684. QListView#ContentsWidget {
  685. background: transparent;
  686. outline: none;
  687. border: none;
  688. font-size: 15px;
  689. width: 210px;
  690. margin-left: 0px;
  691. }
  692.  
  693. QListView#ContentsWidget::item {
  694. padding-left: 0px;
  695. height: 40px;
  696. color: #999999;
  697. }
  698.  
  699. QListView#ContentsWidget::item:selected {
  700. outline: none;
  701. }
  702.  
  703. QListView#ContentsWidget::item:selected:!active, QListView#ContentsWidget::item:selected:active {
  704. background: transparent;
  705. border: none;
  706. outline: none;
  707. color: #FFFFFF;
  708. }
  709.  
  710. QListView#ContentsWidget::item:selected:!active:hover,QListView#ContentsWidget::item:selected:active:hover {
  711. background: transparent;
  712. }
  713.  
  714. QListView#ContentsWidget::item:hover {
  715. color: #FFFFFF;
  716. background: transparent;
  717. }
  718.  
  719. QWidget#OptionsDialog QFrame#line, QWidget#OptionsDialog QFrame#accountActionsLine, QWidget#OptionsDialog QFrame#line_2, QFrame#horizontal_line {
  720. background: transparent;
  721. }
  722.  
  723. QLabel#accountActionsLabel {
  724. color: #FFFFFF;
  725. }
  726.  
  727. QLabel#LocalLabel {
  728. color: #FFFFFF;
  729. font-size: 14px;
  730. }
  731.  
  732. ProfileListView {
  733. background: #2B2B2B;
  734. border: 1px solid #767676;
  735. outline: none;
  736. }
  737.  
  738. ProfileListView:item {
  739. padding: 5px;
  740. }
  741.  
  742. ProfileListView:item:hover,ProfileListView:item:focus {
  743. background: #404040;
  744. padding: 5px;
  745. }
  746.  
  747. ProfileListView:item:selected {
  748. background-color: #900020;
  749. padding: 5px;
  750. font-weight: normal;
  751. }
  752.  
  753. ProfileListView::item:selected:active, ProfileListView::item:selected:!active {
  754. outline: none;
  755. color: #DDDDDD;
  756. }
  757.  
  758. VADDisplay {
  759. background: #2B2B2B;
  760. border: 1px solid #767676;
  761. }
  762.  
  763. OptionsDialog QFrame {
  764. outline: none;
  765. }
  766.  
  767. AbstractOptionsPage#Addons_Setup QFrame {
  768. background: transparent;
  769. border: none;
  770. }
  771.  
  772. AbstractOptionsPage#Addons_Setup QListView::item {
  773. background: #222222;
  774. margin-bottom: 1px;
  775. }
  776.  
  777. /*******************************************************************************
  778. QLineEdit
  779. *******************************************************************************/
  780.  
  781. QLineEdit {
  782. background: #171717;
  783. border: 2px solid #666666;
  784. height: 25px;
  785. color: #DDDDDD;
  786. padding: 0px 10px;
  787. selection-background-color: #9F1D35;
  788. selection-color: #FFFFFF;
  789. }
  790.  
  791. QLineEdit:hover {
  792. border: 2px solid #999999;
  793. }
  794.  
  795. QLineEdit:focus {
  796. border: 2px solid #900020;
  797. }
  798.  
  799. QLineEdit:focus:hover {
  800. border: 2px solid #9F1D35;
  801. }
  802.  
  803. QLineEdit:disabled {
  804. background-color: #333333;
  805. border: none;
  806. height: 29px;
  807. color: #5C5C5C;
  808. }
  809.  
  810. QLineEdit[readOnly="true"]:hover, QLineEdit[readOnly="true"]:focus {
  811. background: #171717;
  812. border: 2px solid #666666;
  813. height: 25px;
  814. color: #DDDDDD;
  815. padding: 0px 10px;
  816. }
  817.  
  818. /*******************************************************************************
  819. QTextEdit
  820. *******************************************************************************/
  821.  
  822. QTextEdit {
  823. background: #111111;
  824. border: 1px solid #767676;
  825. color: #DDDDDD;
  826. selection-background-color: #9F1D35;
  827. selection-color: #FFFFFF;
  828. }
  829.  
  830. QTextEdit#invitationTextEdit,
  831. QTextEdit#offlineTextEdit,
  832. QTextEdit#banReasonTextEdit,
  833. QTextEdit#descriptionTextEdit,
  834. QTextEdit#vserverWelcomeTextEdit,
  835. QTextEdit#vserverNicknamesTextEdit
  836. {
  837. background: #171717;
  838. border: 2px solid #666666;
  839. qproperty-rootIsDecorated: false;
  840. color: #DDDDDD;
  841. }
  842.  
  843. QTextEdit#descriptionTextEdit:hover,
  844. QTextEdit#invitationTextEdit:hover,
  845. QTextEdit#offlineTextEdit:hover,
  846. QTextEdit#banReasonTextEdit:hover,
  847. QTextEdit#vserverWelcomeTextEdit:hover,
  848. QTextEdit#vsServerNicknamesTextEdit:hover
  849. {
  850. border: 2px solid #999999;
  851. }
  852.  
  853. QTextEdit#descriptionTextEdit:focus,
  854. QTextEdit#invitationTextEdit:focus,
  855. QTextEdit#offlineTextEdit:focus,
  856. QTextEdit#banReasonTextEdit:focus,
  857. QTextEdit#vserverWelcomeTextEdit:focus,
  858. QTextEdit#vsServerNicknamesTextEdit:focus
  859. {
  860. border: 2px solid #900020;
  861. }
  862.  
  863. QTextEdit#descriptionTextEdit:focus:hover,
  864. QTextEdit#invitationTextEdit:focus:hover,
  865. QTextEdit#offlineTextEdit:focus:hover,
  866. QTextEdit#banReasonTextEdit:focus:hover,
  867. QTextEdit#vserverWelcomeTextEdit:focus:hover,
  868. QTextEdit#vsServerNicknamesTextEdit:focus:hover
  869. {
  870. border: 2px solid #9F1D35;
  871. }
  872.  
  873. QTextEdit#descriptionTextEdit:disabled,
  874. QTextEdit#invitationTextEdit:disabled,
  875. QTextEdit#offlineTextEdit:disabled,
  876. QTextEdit#banReasonTextEdit:disabled,
  877. QTextEdit#vserverWelcomeTextEdit:disabled,
  878. QTextEdit#vsServerNicknamesTextEdit:disabled
  879. {
  880. background: #333333;
  881. border: none;
  882. color: #5C5C5C;
  883. }
  884.  
  885. /*******************************************************************************
  886. QPushButton
  887. *******************************************************************************/
  888.  
  889. QPushButton {
  890. background: #333333;
  891. border: none;
  892. padding: 0px 10px;
  893. min-height: 25px;
  894. min-width: 80px;
  895. color: #DDDDDD;
  896. }
  897.  
  898. QPushButton:hover {
  899. border: 2px solid #858585;
  900. padding: -2px 6px;
  901. }
  902.  
  903. QPushButton:disabled {
  904. color: #5C5C5C;
  905. }
  906.  
  907. QPushButton:pressed:focus {
  908. background: #666666;
  909. border: none;
  910. }
  911.  
  912. QPushButton:focus {
  913. background: #900020;
  914. outline: none;
  915. }
  916.  
  917. AbstractOptionsPage#Addons_Setup QPushButton:!checked:focus {
  918. background: #333333;
  919. outline: none;
  920. }
  921.  
  922. AbstractOptionsPage#Addons_Setup QPushButton:focus:hover {
  923. border: 2px solid #858585;
  924. }
  925.  
  926. AbstractOptionsPage#Addons_Setup QPushButton:pressed:hover {
  927. border: 2px solid #858585;
  928. }
  929.  
  930.  
  931. QPushButton:checked {
  932. background: #900020;
  933. }
  934.  
  935.  
  936. /* Aaaand this is how you QSS */
  937. AbstractOptionsPage#Addons_Setup QPushButton#Plugins,
  938. AbstractOptionsPage#Addons_Setup QPushButton#Themes,
  939. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Icon Packs"], /* Really funny TS developers, this almost got me... NOOOOT */
  940. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Sound Packs"],
  941. AbstractOptionsPage#Addons_Setup QPushButton[objectName="My Addons"],
  942. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Browse online"],
  943. AbstractOptionsPage#Addons_Setup QPushButton#Translations,
  944.  
  945. AbstractOptionsPage#Addons_Setup QPushButton#Plugins:focus,
  946. AbstractOptionsPage#Addons_Setup QPushButton#Themes:focus,
  947. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Icon Packs"]:focus,
  948. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Sound Packs"]:focus,
  949. AbstractOptionsPage#Addons_Setup QPushButton[objectName="My Addons"]:focus,
  950. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Browse online"]:focus,
  951. AbstractOptionsPage#Addons_Setup QPushButton#Translations:focus
  952. {
  953. background: transparent;
  954. border-bottom: 1px solid #444444;
  955. color: #999999;
  956. font-size: 16px;
  957. padding: 0px;
  958. padding-bottom: 6px;
  959. font-weight: normal;
  960. }
  961.  
  962. AbstractOptionsPage#Addons_Setup QPushButton#Plugins:hover,
  963. AbstractOptionsPage#Addons_Setup QPushButton#Themes:hover,
  964. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Icon Packs"]:hover,
  965. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Sound Packs"]:hover,
  966. AbstractOptionsPage#Addons_Setup QPushButton[objectName="My Addons"]:hover,
  967. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Browse online"]:hover,
  968. AbstractOptionsPage#Addons_Setup QPushButton#Translations:hover
  969. {
  970. border: none;
  971. background: transparent;
  972. border-bottom: 1px solid #444444;
  973. color: #FFFFFF;
  974. }
  975.  
  976. AbstractOptionsPage#Addons_Setup QPushButton#Plugins:checked,
  977. AbstractOptionsPage#Addons_Setup QPushButton#Themes:checked,
  978. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Icon Packs"]:checked,
  979. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Sound Packs"]:checked,
  980. AbstractOptionsPage#Addons_Setup QPushButton[objectName="My Addons"]:checked,
  981. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Browse online"]:checked,
  982. AbstractOptionsPage#Addons_Setup QPushButton#Translations:checked
  983. {
  984. border: none;
  985. background: transparent;
  986. border-bottom: 3px solid #900020;
  987. padding-bottom: 4px;
  988. color: #FFFFFF;
  989. }
  990.  
  991. AbstractOptionsPage#Addons_Setup QPushButton[objectName="My Addons"],
  992. AbstractOptionsPage#Addons_Setup QPushButton[objectName="Browse online"] {
  993. width: 130px;
  994. }
  995.  
  996. /* Yes, this is necessary....... no other way to style the sync button */
  997. AbstractOptionsPage#Addons_Setup QPushButton[text|="Sync"],
  998. AbstractOptionsPage#Addons_Setup QPushButton[text|="Sync"]:pressed,
  999. AbstractOptionsPage#Addons_Setup QPushButton[text|="Sync"]:focus,
  1000. AbstractOptionsPage#Addons_Setup QPushButton[text|="Sinc"],
  1001. AbstractOptionsPage#Addons_Setup QPushButton[text|="Sinc"]:pressed,
  1002. AbstractOptionsPage#Addons_Setup QPushButton[text|="Sinc"]:focus,
  1003. AbstractOptionsPage#Addons_Setup QPushButton[text="同期"],
  1004. AbstractOptionsPage#Addons_Setup QPushButton[text="同期"]:pressed,
  1005. AbstractOptionsPage#Addons_Setup QPushButton[text="同期"]:focus,
  1006. AbstractOptionsPage#Addons_Setup QPushButton[text="Синхронизация"],
  1007. AbstractOptionsPage#Addons_Setup QPushButton[text="Синхронизация"]:pressed,
  1008. AbstractOptionsPage#Addons_Setup QPushButton[text="Синхронизация"]:focus
  1009. {
  1010. background: transparent;
  1011. text-align: right;
  1012. padding-right: 2px;
  1013. color: #AAAAAA;
  1014. }
  1015.  
  1016. AbstractOptionsPage#Addons_Setup QPushButton[text|="Sync"]:hover,
  1017. AbstractOptionsPage#Addons_Setup QPushButton[text|="Sinc"]:hover,
  1018. AbstractOptionsPage#Addons_Setup QPushButton[text="同期"]:hover,
  1019. AbstractOptionsPage#Addons_Setup QPushButton[text="Синхронизация"]:hover
  1020. {
  1021. color: #FFFFFF;
  1022. border: none;
  1023. }
  1024.  
  1025. /*******************************************************************************
  1026. QToolButton
  1027. *******************************************************************************/
  1028.  
  1029. QToolButton, OptionsDialog QToolButton {
  1030. background: #333333;
  1031. border: none;
  1032. padding: 2px;
  1033. height: 25px;
  1034. min-width: 25px;
  1035. color: #DDDDDD;
  1036. }
  1037.  
  1038. QToolButton:hover, OptionsDialog QToolButton:hover {
  1039. border: 2px solid #858585;
  1040. padding: 2px 0px;
  1041. }
  1042.  
  1043. QToolButton:focus, OptionsDialog QToolButton:focus {
  1044. background: #900020;
  1045. }
  1046.  
  1047. QToolButton:disabled, OptionsDialog QToolButton:disabled {
  1048. color: #666666;
  1049. }
  1050.  
  1051. QToolButton#idAddButton, QToolButton#idRemoveButton, QToolButton#idSelectDefaultButton, QToolButton#idImportButton, QToolButton#idExportButton
  1052. {
  1053. min-width: 80px;
  1054. }
  1055.  
  1056. QToolButton#EmoticonButton {
  1057. background: transparent;
  1058. }
  1059.  
  1060. QToolButton#toolButtonIcon {
  1061. background: #171717;
  1062. border: 2px solid #666666;
  1063. width: 30px;
  1064. height: 22px;
  1065. padding: 0px;
  1066. padding-left: 1px;
  1067. margin-top: 0px;
  1068. }
  1069.  
  1070. QToolButton#toolButtonIcon:disabled {
  1071. border: none;
  1072. background: #353535;
  1073. }
  1074.  
  1075. QToolButton#toolButtonIcon:hover {
  1076. border: 2px solid #858585;
  1077. }
  1078.  
  1079. QToolButton#toolButtonIcon[popupMode="1"] {
  1080. padding-right: 10px;
  1081. }
  1082.  
  1083. QToolButton#toolButtonIcon[popupMode="1"]:hover {
  1084. padding-right: 10px;
  1085. padding-left: 0px;
  1086.  
  1087. }
  1088.  
  1089. QToolButton#toolButtonIcon::menu-button{
  1090. margin: 6px;
  1091. padding: 8px;
  1092. padding-right: 10px;
  1093. border: none;
  1094.  
  1095. }
  1096.  
  1097. QToolButton#toolButtonIcon::menu-button:hover {
  1098. background: #353535;
  1099. border-left: none;
  1100. padding-right: 10px;
  1101. }
  1102.  
  1103. QToolButton#toolButtonIcon::menu-arrow {
  1104. image:url("styles:Demus/Arrow/arrow_down.svg");
  1105. right: 4px;
  1106. width: 10px;
  1107. height: 10px;
  1108. }
  1109.  
  1110. QToolButton#toolButtonIcon::menu-arrow:hover {
  1111. image:url("styles:Demus/Arrow/arrow_down_hover.svg");
  1112. }
  1113.  
  1114. QToolButton#toolButtonIcon::menu-arrow:disabled {
  1115. image:url("styles:Demus/Arrow/arrow_down_disabled.svg");
  1116. }
  1117.  
  1118. /*******************************************************************************
  1119. QComboBox
  1120. *******************************************************************************/
  1121.  
  1122. QComboBox {
  1123. background: #171717;
  1124. border: 2px solid #666666;
  1125. padding-left: 10px;
  1126. min-height: 25px;
  1127. color: #FFFFFF;
  1128. padding-right: 10px;
  1129. }
  1130.  
  1131. QComboBox:hover {
  1132. border: 2px solid #858585;
  1133. }
  1134.  
  1135. QComboBox:disabled {
  1136. background: #333333;
  1137. color: #5C5C5C;
  1138. border: none;
  1139. }
  1140.  
  1141. QComboBox::drop-down {
  1142. padding-right: 5px;
  1143. border: 0px;
  1144. }
  1145.  
  1146. QComboBox::down-arrow {
  1147. image: url("styles:Demus/Arrow/arrow_down.svg");
  1148. height: 12px;
  1149. width: 12px;
  1150. right: 2px;
  1151. }
  1152.  
  1153. QComboBox::down-arrow:disabled {
  1154. image: url("styles:Demus/Arrow/arrow_down_disabled.svg");
  1155. right: 4px;
  1156. }
  1157.  
  1158. QComboBox QAbstractItemView {
  1159. background: #2B2B2B;
  1160. border: 1px solid #767676;
  1161. color: #FFFFFF;
  1162. selection-background-color: #404040;
  1163. outline: 0px;
  1164. }
  1165.  
  1166. /*******************************************************************************
  1167. QSpinBox
  1168. *******************************************************************************/
  1169.  
  1170. QSpinBox, QDoubleSpinBox {
  1171. background: #171717;
  1172. border: 2px solid #666666;
  1173. min-height: 25px;
  1174. padding-left: 5px;
  1175. padding-right: 25px;
  1176. color: #DDDDDD;
  1177. min-width: 50px;
  1178. }
  1179.  
  1180. QSpinBox:hover, QDoubleSpinBox:hover {
  1181. border: 2px solid #858585;
  1182. }
  1183.  
  1184. QSpinBox:disabled, QDoubleSpinBox:disabled {
  1185. background-color: #333333;
  1186. color: #5C5C5C;
  1187. border: none;
  1188. }
  1189.  
  1190. QSpinBox::up-button, QSpinBox::down-button, QDoubleSpinBox::up-button, QDoubleSpinBox::down-button {
  1191. background-color: transparent;
  1192. height: 25px;
  1193. width: 25px;
  1194. }
  1195.  
  1196. QSpinBox::up-button, QDoubleSpinBox::up-button {
  1197. right: 25px;
  1198. }
  1199.  
  1200. QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
  1201. image: url("styles:Demus/Arrow/arrow_up.svg");
  1202. width: 12px;
  1203. height: 12px;
  1204. margin-left: -4px;
  1205. }
  1206.  
  1207. QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
  1208. image: url("styles:Demus/Arrow/arrow_down.svg");
  1209. width: 12px;
  1210. height: 12px;
  1211. margin-left: -4px;
  1212. }
  1213.  
  1214. QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled {
  1215. top: 3px;
  1216. right: 2px;
  1217. }
  1218.  
  1219. QSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:disabled {
  1220. top: 0px;
  1221. right: 2px;
  1222. }
  1223.  
  1224. QSpinBox::up-arrow:hover, QDoubleSpinBox::up-arrow:hover {
  1225. image: url("styles:Demus/Arrow/arrow_up_hover.svg");
  1226. }
  1227.  
  1228. QSpinBox::down-arrow:hover, QDoubleSpinBox::down-arrow:hover {
  1229. image: url("styles:Demus/Arrow/arrow_down_hover.svg");
  1230. }
  1231.  
  1232. QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled {
  1233. image: url("styles:Demus/Arrow/arrow_up_disabled.svg");
  1234. }
  1235.  
  1236. QSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:disabled {
  1237. image: url("styles:Demus/Arrow/arrow_down_disabled.svg");
  1238. }
  1239.  
  1240. QSpinBox::up-arrow:off, QDoubleSpinBox::up-arrow:off {
  1241. image: none;
  1242. }
  1243.  
  1244. QSpinBox::down-arrow:off, QDoubleSpinBox::down-arrow:off {
  1245. image: none;
  1246. }
  1247.  
  1248. /*******************************************************************************
  1249. QCheckBox
  1250. *******************************************************************************/
  1251. QCheckBox {
  1252. color: #CCCCCC;
  1253. height: 25px;
  1254. padding: 0px 5px;
  1255. }
  1256.  
  1257. QCheckBox:hover {
  1258. color: #FFFFFF;
  1259. }
  1260.  
  1261. QCheckBox:disabled {
  1262. color: #666666;
  1263. }
  1264.  
  1265. QCheckBox::indicator, QListView::indicator, QGroupBox::indicator, QTreeView::indicator {
  1266. height: 16px;
  1267. width: 16px;
  1268. }
  1269.  
  1270. QCheckBox::indicator:checked, QListView::indicator:checked, QGroupBox::indicator:checked, QTreeView::indicator:checked {
  1271. image: url("styles:Demus/CheckBox/CB_checked.svg");
  1272. }
  1273.  
  1274. QCheckBox::indicator:checked:hover, QListView::indicator:checked:hover, QGroupBox::indicator:checked:hover, QTreeView::indicator:checked:hover {
  1275. image: url("styles:Demus/CheckBox/CB_checked_hover.svg");
  1276. }
  1277.  
  1278. QCheckBox::indicator:checked:disabled, QListView::indicator:checked:disabled, QGroupBox::indicator:checked:disabled, QTreeView::indicator:checked:disabled {
  1279. image: url("styles:Demus/CheckBox/CB_checked_disabled.svg");
  1280. }
  1281.  
  1282. QCheckBox::indicator:unchecked, QListView::indicator:unchecked, QGroupBox::indicator:unchecked, QTreeView::indicator:unchecked {
  1283. image: url("styles:Demus/CheckBox/CB_unchecked.svg");
  1284. }
  1285.  
  1286. QCheckBox::indicator:unchecked:hover, QListView::indicator:unchecked:hover, QGroupBox::indicator:unchecked:hover, QTreeView::indicator:unchecked:hover {
  1287. image: url("styles:Demus/CheckBox/CB_unchecked_hover.svg");
  1288. }
  1289.  
  1290. QCheckBox::indicator:unchecked:disabled, QListView::indicator:unchecked:disabled, QGroupBox::indicator:unchecked:disabled, QTreeView::indicator:unchecked:disabled {
  1291. image: url("styles:Demus/CheckBox/CB_unchecked_disabled.svg");
  1292. }
  1293.  
  1294. /*******************************************************************************
  1295. QRadioButton
  1296. *******************************************************************************/
  1297.  
  1298. QRadioButton {
  1299. color: #CCCCCC;
  1300. height: 25px;
  1301. padding: 0px 5px;
  1302. }
  1303.  
  1304. QRadioButton:hover {
  1305. color: #FFFFFF;
  1306. }
  1307. QRadioButton:disabled {
  1308. color: #666666;
  1309. }
  1310.  
  1311. QRadioButton::indicator {
  1312. height: 16px;
  1313. width: 16px;
  1314. }
  1315.  
  1316. QRadioButton::indicator:checked {
  1317. image: url("styles:Demus/RadioButton/RB_checked.svg");
  1318. }
  1319.  
  1320. QRadioButton::indicator:checked:hover {
  1321. image: url("styles:Demus/RadioButton/RB_checked_hover.svg");
  1322. }
  1323.  
  1324. QRadioButton::indicator:checked:disabled {
  1325. image: url("styles:Demus/RadioButton/RB_checked_disabled.svg");
  1326. }
  1327.  
  1328. QRadioButton::indicator:unchecked {
  1329. image: url("styles:Demus/RadioButton/RB_unchecked.svg");
  1330. }
  1331.  
  1332. QRadioButton::indicator:unchecked:hover {
  1333. image: url("styles:Demus/RadioButton/RB_unchecked_hover.svg");
  1334. }
  1335.  
  1336. QRadioButton::indicator:unchecked:disabled {
  1337. image: url("styles:Demus/RadioButton/RB_unchecked_disabled.svg");
  1338. }
  1339.  
  1340. /*******************************************************************************
  1341. QToolBox
  1342. *******************************************************************************/
  1343.  
  1344. QToolBox {
  1345. background: transparent;
  1346. }
  1347.  
  1348. QToolBox::tab {
  1349. background: #333333;
  1350. border: 0px;
  1351. color: #DDDDDD;
  1352. padding-left: 5px;
  1353. }
  1354.  
  1355. QToolBox::tab:hover {
  1356. border: 2px solid #858585;
  1357. padding-left: 3px;
  1358. }
  1359.  
  1360. QWidget#page1, QWidget#page2, QWidget#pageGeneral, QWidget#pageDisplay, QWidget#pageIgnore, QWidget#pageWhisper {
  1361. background: transparent;
  1362. }
  1363.  
  1364. /*******************************************************************************
  1365. QScrollBar
  1366. *******************************************************************************/
  1367.  
  1368. ChatTab QScrollBar:vertical,
  1369. TreeView QScrollBar:vertical,
  1370. InfoFrame QScrollBar:vertical
  1371. {
  1372. background: transparent;
  1373. width: 12px;
  1374. padding: 0px;
  1375. padding-left: 10px;
  1376. }
  1377.  
  1378. ChatTab QScrollBar:vertical:hover,
  1379. TreeView QScrollBar:vertical:hover,
  1380. InfoFrame QScrollBar:vertical:hover
  1381. {
  1382. padding: 0px;
  1383. background: #222222;
  1384. }
  1385.  
  1386. ChatTab QScrollBar::handle:vertical,
  1387. TreeView QScrollBar::handle:vertical,
  1388. InfoFrame QScrollBar::handle:vertical
  1389. {
  1390. background: #666666;
  1391. min-height: 20px;
  1392. border-radius: 0px;
  1393. }
  1394.  
  1395. ChatTab QScrollBar::handle:vertical:hover,
  1396. TreeView QScrollBar::handle:vertical:hover,
  1397. InfoFrame QScrollBar::handle:vertical:hover
  1398. {
  1399. background: #777777;
  1400. }
  1401.  
  1402. ChatTab QScrollBar::add-line:vertical, ChatTab QScrollBar::sub-line:vertical,
  1403. TreeView QScrollBar::add-line:vertical, TreeView QScrollBar::sub-line:vertical,
  1404. InfoFrame QScrollBar::add-line:vertical, InfoFrame QScrollBar::sub-line:vertical
  1405. {
  1406. height: 0px;
  1407. }
  1408.  
  1409. ChatTab QScrollBar::add-page:vertical, ChatTab QScrollBar::sub-page:vertical,
  1410. TreeView QScrollBar::add-page:vertical, TreeView QScrollBar::sub-page:vertical,
  1411. InfoFrame QScrollBar::add-page:vertical, InfoFrame QScrollBar::sub-page:vertical
  1412. {
  1413. background: transparent;
  1414. }
  1415.  
  1416. ChatTab QScrollBar:horizontal,
  1417. TreeView QScrollBar:horizontal,
  1418. InfoFrame QScrollBar:horizontal
  1419. {
  1420. background: transparent;
  1421. height: 12px;
  1422. padding: 0px;
  1423. padding-top: 10px;
  1424.  
  1425. }
  1426.  
  1427. ChatTab QScrollBar:horizontal:hover,
  1428. TreeView QScrollBar:horizontal:hover,
  1429. InfoFrame QScrollBar:horizontal:hover
  1430. {
  1431. padding: 0px;
  1432. background: #222222;
  1433. }
  1434.  
  1435. ChatTab QScrollBar::handle:horizontal,
  1436. TreeView QScrollBar::handle:horizontal,
  1437. InfoFrame QScrollBar::handle:horizontal
  1438. {
  1439. background: #666666;
  1440. min-width: 20px;
  1441. border-radius: 0px;
  1442. }
  1443.  
  1444. ChatTab QScrollBar::handle:horizontal:hover,
  1445. TreeView QScrollBar::handle:horizontal:hover,
  1446. InfoFrame QScrollBar::handle:horizontal:hover
  1447. {
  1448. background: #777777;
  1449. }
  1450.  
  1451. ChatTab QScrollBar::add-line:horizontal, ChatTab QScrollBar::sub-line:horizontal,
  1452. TreeView QScrollBar::add-line:horizontal, TreeView QScrollBar::sub-line:horizontal,
  1453. InfoFrame QScrollBar::add-line:horizontal, InfoFrame QScrollBar::sub-line:horizontal
  1454. {
  1455. width: 0px;
  1456. }
  1457.  
  1458. ChatTab QScrollBar::add-page:horizontal, ChatTab QScrollBar::sub-page:horizontal,
  1459. TreeView QScrollBar::add-page:horizontal, TreeView QScrollBar::sub-page:horizontal,
  1460. InfoFrame QScrollBar::add-page:horizontal, InfoFrame QScrollBar::sub-page:horizontal
  1461. {
  1462. background: transparent;
  1463. }
  1464.  
  1465. QScrollBar:vertical {
  1466. background: rgba(255,255,255,0.04);
  1467. width: 10px;
  1468. padding: 0px;
  1469. }
  1470.  
  1471. QScrollBar::handle:vertical {
  1472. background: rgba(255,255,255,0.3);
  1473. min-height: 20px;
  1474. border-radius: 0px;
  1475. }
  1476.  
  1477. QScrollBar::handle:vertical:hover {
  1478. background: rgba(255,255,255,0.4);
  1479. }
  1480.  
  1481. QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
  1482. height: 0px;
  1483. }
  1484.  
  1485. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  1486. background: none;
  1487. }
  1488.  
  1489. QScrollBar:horizontal {
  1490. background: rgba(255,255,255,0.04);
  1491. height: 10px;
  1492. padding: 0px ;
  1493. }
  1494.  
  1495. QScrollBar::handle:horizontal {
  1496. background: rgba(255,255,255,0.3);
  1497. min-width: 20px;
  1498. border-radius: 0px;
  1499. }
  1500.  
  1501. QScrollBar::handle:horizontal:hover {
  1502. background: rgba(255,255,255,0.4);
  1503. }
  1504.  
  1505. QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
  1506. height: 0px;
  1507. }
  1508.  
  1509. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
  1510. background: none;
  1511. }
  1512.  
  1513. /******************************************************************************
  1514. QSlider
  1515. ******************************************************************************/
  1516.  
  1517. QSlider {
  1518. height: 24px;
  1519. margin: 5px;
  1520. }
  1521.  
  1522. QSlider::groove:horizontal {
  1523. height: 2px;
  1524. background: #666666;
  1525. }
  1526.  
  1527. QSlider::handle:horizontal {
  1528. background: #900020;
  1529. width: 8px;
  1530. margin: -11px 0;
  1531. border-radius: 4px;
  1532. }
  1533.  
  1534. QSlider::handle:horizontal:hover {
  1535. background: #9F1D35;
  1536. }
  1537.  
  1538. QSlider::groove:horizontal:hover {
  1539. background: #999999;
  1540. }
  1541.  
  1542. QSlider::sub-page:horizontal {
  1543. background: #900020;
  1544. }
  1545.  
  1546. QSlider::handle:horizontal:disabled, QSlider::groove:horizontal:disabled, QSlider::sub-page:horizontal:disabled {
  1547. background: #444444;
  1548. }
  1549.  
  1550. /******************************************************************************
  1551. QProgressBar
  1552. ******************************************************************************/
  1553.  
  1554. QProgressBar {
  1555. border: none;
  1556. background-color: #171717;
  1557. }
  1558.  
  1559. QProgressBar::chunk {
  1560. background-color: #900020;
  1561. width: 20px;
  1562. }
  1563.  
  1564. /******************************************************************************
  1565. DANGER TESTING-AREA DANGER
  1566. ******************************************************************************/
  1567. /*
  1568.  
  1569. QWidget#MainWindowChatWidget {
  1570. background: yellow;
  1571. padding: -10px;
  1572. }
  1573.  
  1574. QTextEdit#ChatTab {
  1575. margin: 0px;
  1576. background: green;
  1577. }
  1578.  
  1579. QTextEdit#ChatTab, ServerView {
  1580. background: #2B2B2B;
  1581. border: 1px solid #444444;
  1582. }
  1583.  
  1584. MainWindow, MainWindow QTabBar::tab {
  1585. background: #2B2B2B;
  1586. } */
  1587.  
  1588.  
  1589. /*
  1590. QGroupBox {
  1591. color: #DA5351;
  1592. }*/
  1593.  
  1594. QWidget#OptionsDialog {
  1595. background: #1F1F1F;
  1596. }
  1597.  
  1598. QComboBox {
  1599. background: #131313;
  1600. border: 1px solid #4C4C4C;
  1601. padding-left: 10px;
  1602. min-height: 28px;
  1603. color: #FFFFFF;
  1604. padding-right: 10px;
  1605. }
  1606.  
  1607. QComboBox:hover, QComboBox:focus:hover {
  1608. background: #0C0C0C;
  1609. border: 1px solid #999999;
  1610. }
  1611.  
  1612. QComboBox:focus {
  1613. background: #0C0C0C;
  1614. border: 1px solid #900020;
  1615. }
  1616.  
  1617.  
  1618. QComboBox:disabled {
  1619. background: #333333;
  1620. color: #5C5C5C;
  1621. border: 1px solid #4C4C4C;
  1622. }
  1623.  
  1624. QSpinBox, QDoubleSpinBox {
  1625. background: #131313;
  1626. border: 1px solid #4C4C4C;
  1627. padding-left: 10px;
  1628. min-height: 28px;
  1629. color: #FFFFFF;
  1630. padding-left: 5px;
  1631. padding-right: 25px;
  1632. min-width: 45px;
  1633. }
  1634.  
  1635. QSpinBox:hover, QDoubleSpinBox:hover, QSpinBox:focus:hover, QDoubleSpinBox:focus:hover {
  1636. background: #0C0C0C;
  1637. border: 1px solid #999999;
  1638. }
  1639.  
  1640. QSpinBox:focus, QDoubleSpinBox:focus {
  1641. background: #0C0C0C;
  1642. border: 1px solid #900020;
  1643. }
  1644.  
  1645. QSpinBox:disabled, QDoubleSpinBox:disabled {
  1646. background: #333333;
  1647. color: #5C5C5C;
  1648. border: 1px solid #4C4C4C;
  1649. }
  1650.  
  1651. QSpinBox::up-button, QSpinBox::down-button, QDoubleSpinBox::up-button, QDoubleSpinBox::down-button {
  1652. background: transparent;
  1653. height: 28px;
  1654. width: 24px;
  1655. }
  1656.  
  1657. QSpinBox::up-button, QDoubleSpinBox::up-button {
  1658. right: 24px;
  1659. }
  1660.  
  1661. QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
  1662. image: url("styles:Demus/Arrow/arrow_up.svg");
  1663. width: 12px;
  1664. height: 12px;
  1665. margin-left: -1px;
  1666. }
  1667.  
  1668. QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
  1669. image: url("styles:Demus/Arrow/arrow_down.svg");
  1670. width: 12px;
  1671. height: 12px;
  1672. margin-left: -2px;
  1673. }
  1674.  
  1675. QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled {
  1676. top: 3px;
  1677. right: 2px;
  1678. }
  1679.  
  1680. QSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:disabled {
  1681. top: 0px;
  1682. right: 2px;
  1683. }
  1684.  
  1685. QLineEdit {
  1686. background: #131313;
  1687. border: 1px solid #4C4C4C;
  1688. padding-left: 10px;
  1689. min-height: 28px;
  1690. color: #FFFFFF;
  1691. padding-right: 10px;
  1692. selection-background-color: #9F1D35;
  1693. selection-color: #FFFFFF;
  1694. }
  1695.  
  1696. QLineEdit:hover, QLineEdit:focus:hover {
  1697. background: #0C0C0C;
  1698. border: 1px solid #999999;
  1699. }
  1700.  
  1701. QLineEdit:focus {
  1702. background: #0C0C0C;
  1703. border: 1px solid #900020;
  1704. }
  1705.  
  1706. QLineEdit:disabled {
  1707. background: #333333;
  1708. color: #5C5C5C;
  1709. border: 1px solid #4C4C4C;
  1710. }
  1711.  
  1712. QDialog#connectDialog {
  1713. background: #1F1F1F;
  1714. }
  1715.  
  1716.  
  1717. QListView#ContentsWidget::item:hover, QListView#ContentsWidget::item:selected:!active:hover, QListView#ContentsWidget::item:selected:active:hover {
  1718. background: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
  1719. stop: 0.05 rgba(255,255,255,0), stop: 0.45 rgba(255,255,255,0.05),
  1720. stop: 0.55 rgba(255,255,255,0.05), stop: 0.95 rgba(255,255,255,0));
  1721. border-bottom: 1px solid qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
  1722. stop: 0.0 rgba(255,255,255,0.02), stop: 0.4 rgba(255,255,255,0.2),
  1723. stop: 0.6 rgba(255,255,255,0.2), stop: 1.0 rgba(255,255,255,0.02));
  1724. border-top: 1px solid qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
  1725. stop: 0.0 rgba(255,255,255,0.02), stop: 0.4 rgba(255,255,255,0.2),
  1726. stop: 0.6 rgba(255,255,255,0.2), stop: 1.0 rgba(255,255,255,0.02));
  1727. padding-bottom: 4px;
  1728. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement