Skip to content

Instantly share code, notes, and snippets.

@Zren
Created May 14, 2017 20:41
Show Gist options
  • Save Zren/e541eedca6dae09524b4368c009e06af to your computer and use it in GitHub Desktop.
Save Zren/e541eedca6dae09524b4368c009e06af 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