Guest User

Untitled

a guest
Feb 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. QTextEdit {
  2. background-color: black;
  3. color: white; /* sets the main text color */
  4. }
  5.  
  6. > texworks -stylesheet /pathto/mystyle.css
  7.  
  8. "C:Program FilesMiKTeX 2.9miktexbinx64miktex-texworks.exe"
  9.  
  10. "C:Program FilesMiKTeX 2.9miktexbinx64miktex-texworks.exe" -stylesheet C:Usersmyusernameblack-background.css
  11.  
  12. "C:Program FilesMiKTeX 2.9miktexbinx64miktex-texworks.exe" -stylesheet "C:Usersmyusernameblack-background.css"
  13.  
  14. QWidget { /* everything, basically */
  15. background-color: #3A3A3A;
  16. color: white;
  17. }
  18.  
  19. QPushButton { /* buttons */
  20. background-color: #646464;
  21. border-style: inset;
  22. border-width: 1.5pt;
  23. border-color: white;
  24. padding: 4px;
  25. }
  26.  
  27. QPushButton:pressed { /* after you press the button */
  28. background-color: #818181;
  29. }
  30.  
  31. QTableView {
  32. background-color: #424242;
  33. alternate-background-color: #424242;
  34. selection-background-color: #818181;
  35. font-color:#FFFFFF;
  36. }
  37.  
  38. /* QComboBox refers to drop-down menus (such as when selecting pdfTeX, pdfLaTeX, XeTeX, etc.) */
  39.  
  40. QComboBox {
  41. border: 1px solid gray;
  42. padding: 1px 18px 1px 3px;
  43. border-radius: 4px;
  44. }
  45.  
  46. QComboBox::drop-down {
  47. subcontrol-origin: padding;
  48. subcontrol-position: top right;
  49. width: 15px;
  50. border-left-width: 1px;
  51. border-left-color: #EEEEEE;
  52. border-left-style: solid; /* just a single line */
  53. }
  54.  
  55. QComboBox::down-arrow:on {
  56. top: 5px;
  57. left: 5px;
  58. }
  59.  
  60. /* QMenuBar refers to the menu at the top (File, Edit, etc.)
  61. QMenu::item refers to the items under the menu
  62. */
  63.  
  64. QMenu::item:selected { /* when user selects item using mouse or keyboard */
  65. background-color: #909090;
  66. }
  67.  
  68. QMenuBar::item:pressed, QMenuBar::item:selected {
  69. background: #909090;
  70. }
  71.  
  72. QTextEdit { /* text editor */
  73. background-color: black;
  74. color: white;
  75. }
  76.  
  77. QScrollBar:vertical { /* vertical scroll bar */
  78. background: #424242;
  79. width: 10px;
  80. margin: 10px 0 10px 0;
  81. }
  82. QScrollBar::handle:vertical { /* the part of the scroll bar that gets dragged*/
  83. background: #AAAAAA;
  84. min-height: 20px;
  85. }
  86. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  87. /* this seems useless, but it is actually quite important-
  88. it makes the scroll bar's background a uniform color instead
  89. of tiny dots, if it were removed. */
  90. background: none;
  91. }
  92.  
  93. QScrollBar:horizontal { /* same thing, but horizontal */
  94. background: #424242;
  95. height: 10px;
  96. margin: 0 10px 0 10px;
  97. }
  98. QScrollBar::handle:horizontal { /* etc. */
  99. background: #AAAAAA;
  100. min-width: 20px;
  101. }
  102. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
  103. background: none;
  104. }
  105.  
  106. QTabBar::tab { /* tabs that lead to different displays (such as those under "Preferences") */
  107. background: #3A3A3A;
  108. border: #909090;
  109. padding: 2px 4px 6px 8px;
  110. /* now I can't remember how this padding works, but removing it leads to ugly tab designs*/
  111. }
  112.  
  113. QTabBar::tab:hover {
  114. background: #818181;
  115. }
  116.  
  117. QTabBar::tab:selected {
  118. background: #909090;
  119. }
Add Comment
Please, Sign In to add comment