Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QTextEdit {
- background-color: black;
- color: white; /* sets the main text color */
- }
- > texworks -stylesheet /pathto/mystyle.css
- "C:Program FilesMiKTeX 2.9miktexbinx64miktex-texworks.exe"
- "C:Program FilesMiKTeX 2.9miktexbinx64miktex-texworks.exe" -stylesheet C:Usersmyusernameblack-background.css
- "C:Program FilesMiKTeX 2.9miktexbinx64miktex-texworks.exe" -stylesheet "C:Usersmyusernameblack-background.css"
- QWidget { /* everything, basically */
- background-color: #3A3A3A;
- color: white;
- }
- QPushButton { /* buttons */
- background-color: #646464;
- border-style: inset;
- border-width: 1.5pt;
- border-color: white;
- padding: 4px;
- }
- QPushButton:pressed { /* after you press the button */
- background-color: #818181;
- }
- QTableView {
- background-color: #424242;
- alternate-background-color: #424242;
- selection-background-color: #818181;
- font-color:#FFFFFF;
- }
- /* QComboBox refers to drop-down menus (such as when selecting pdfTeX, pdfLaTeX, XeTeX, etc.) */
- QComboBox {
- border: 1px solid gray;
- padding: 1px 18px 1px 3px;
- border-radius: 4px;
- }
- QComboBox::drop-down {
- subcontrol-origin: padding;
- subcontrol-position: top right;
- width: 15px;
- border-left-width: 1px;
- border-left-color: #EEEEEE;
- border-left-style: solid; /* just a single line */
- }
- QComboBox::down-arrow:on {
- top: 5px;
- left: 5px;
- }
- /* QMenuBar refers to the menu at the top (File, Edit, etc.)
- QMenu::item refers to the items under the menu
- */
- QMenu::item:selected { /* when user selects item using mouse or keyboard */
- background-color: #909090;
- }
- QMenuBar::item:pressed, QMenuBar::item:selected {
- background: #909090;
- }
- QTextEdit { /* text editor */
- background-color: black;
- color: white;
- }
- QScrollBar:vertical { /* vertical scroll bar */
- background: #424242;
- width: 10px;
- margin: 10px 0 10px 0;
- }
- QScrollBar::handle:vertical { /* the part of the scroll bar that gets dragged*/
- background: #AAAAAA;
- min-height: 20px;
- }
- QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
- /* this seems useless, but it is actually quite important-
- it makes the scroll bar's background a uniform color instead
- of tiny dots, if it were removed. */
- background: none;
- }
- QScrollBar:horizontal { /* same thing, but horizontal */
- background: #424242;
- height: 10px;
- margin: 0 10px 0 10px;
- }
- QScrollBar::handle:horizontal { /* etc. */
- background: #AAAAAA;
- min-width: 20px;
- }
- QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
- background: none;
- }
- QTabBar::tab { /* tabs that lead to different displays (such as those under "Preferences") */
- background: #3A3A3A;
- border: #909090;
- padding: 2px 4px 6px 8px;
- /* now I can't remember how this padding works, but removing it leads to ugly tab designs*/
- }
- QTabBar::tab:hover {
- background: #818181;
- }
- QTabBar::tab:selected {
- background: #909090;
- }
Add Comment
Please, Sign In to add comment