Skip to content

Instantly share code, notes, and snippets.

@stevenferrer
Forked from Zren/konsole.css
Created June 1, 2020 09:20
Show Gist options
  • Save stevenferrer/a28666818f3f38809d10a8797d0a16df to your computer and use it in GitHub Desktop.
Save stevenferrer/a28666818f3f38809d10a8797d0a16df to your computer and use it in GitHub Desktop.
/* Scrollbar */
/* From Quassel Wiki: http://sprunge.us/iZGB */
QScrollBar {
background: #131313;
margin: 0;
}
QScrollBar:hover {
/* Optional: Subtle accent of scrolling area on hover */
background: #161616; /* base +2 */
}
QScrollBar:vertical {
width: 8px;
}
QScrollBar:horizontal {
height: 8px;
}
QScrollBar::handle {
padding: 0;
margin: 2px;
border-radius: 2px;
border: 2px solid #333333;
background: #333333;
}
QScrollBar::handle:vertical {
min-height: 20px;
min-width: 0px;
}
QScrollBar::handle:horizontal {
min-width: 20px;
min-height: 0px;
}
QScrollBar::handle:hover {
border-color: #444444;
background: #444444;
}
QScrollBar::handle:pressed {
background: #268bd2;
border-color: #268bd2;
}
QScrollBar::add-line , QScrollBar::sub-line {
height: 0px;
border: 0px;
}
QScrollBar::up-arrow, QScrollBar::down-arrow {
border: 0px;
width: 0px;
height: 0px;
}
QScrollBar::add-page, QScrollBar::sub-page {
background: none;
}
/* MenuBar + Context Menu */
QMenuBar {
background-color: #131313;
color: #eeeeee;
}
QMenuBar::item {
background: transparent;
}
QMenuBar::item:selected {
background: #268bd2;
}
QMenuBar::item:pressed {
background: #268bd2;
}
/**/
QMenu {
background-color: #131313;
color: #eeeeee;
}
QMenuBar::item {
background: transparent;
}
QMenu::item:selected {
background-color: #268bd2;
}
/* TabBar */
TabbedViewContainer {
background: #131313;
}
ViewContainerTabBar {
background: #131313;
}
QTabBar {
background: #131313;
color: #eeeeee;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment