Skip to content

Instantly share code, notes, and snippets.

@ppw0
Last active September 16, 2024 05:25
Show Gist options
  • Save ppw0/9ae5c8e0152e78fe312a299d2f072a9f to your computer and use it in GitHub Desktop.
Save ppw0/9ae5c8e0152e78fe312a299d2f072a9f to your computer and use it in GitHub Desktop.
DarkBlue Quassel Stylesheet
/* based on DarkMonokai */
Palette {
window: #2b2b2b;
background: #212121;
foreground: #ffffff;
base: #131313;
alternate-base: #42403B;
tooltip-base: #131313;
tooltip-text: #cacaca;
light: #444444;
midlight: #333333;
button: #131313;
mid: #252525;
dark: #202020;
shadow: #1d1d1d;
text: #cacaca;
button-text: #B6B3AB;
link: #539FA3;
link-visited: #845B90;
marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ff0000, stop: 0.1 #ff0000, stop: 0.1 transparent);
highlight: #003366;
}
QTreeView, QTableView {
alternate-background-color: rgba(0,0,0, 64);
border: 0px;
}
QTreeView {
selection-background-color: transparent;
}
QTreeView::item:focus {
border: none;
}
QTreeView::item:selected {
border: none;
border-radius: 3px;
color: palette(button-text);
}
QTreeView::item:hover {
border-radius: 3px;
background: palette(highlight);
}
QTreeView::item:selected:active {
color: palette(button-text);
background: palette(highlight);
}
QTreeView::item:selected:!active {
color: palette(button-text);
background: palette(highlight);
}
QScrollBar {
background: palette(base);
margin: 0;
}
QScrollBar:hover {
background: palette(highlight);
}
QScrollBar:vertical {
width: 8px;
}
QScrollBar:horizontal {
height: 8px;
}
QScrollBar::handle {
padding: 0;
margin: 0px;
border-radius: 0px;
border: 0px solid palette(midlight);
background: palette(midlight);
}
QScrollBar::handle:vertical {
min-width: 0px;
min-height: 20px;
}
QScrollBar::handle:horizontal {
min-width: 20px;
min-height: 0px;
}
QScrollBar::handle:hover {
background: palette(light);
border-color: palette(light);
}
QScrollBar::handle:pressed {
background: palette(highlight);
border-color: palette(highlight);
}
QScrollBar::add-line, QScrollBar::sub-line {
border: 0px;
height: 0px;
}
QScrollBar::up-arrow, QScrollBar::down-arrow {
border: 0px;
width: 0px;
height: 0px;
}
QScrollBar::add-page, QScrollBar::sub-page {
background: none;
}
QMainWindow QAbstractScrollArea {
border: 1px solid palette(shadow);
}
QSplitter::handle, QMainWindow::separator {
background: palette(dark);
}
QSplitter::handle:horizontal:hover, QMainWindow::separator:vertical:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 palette(window), stop: 0.5 palette(light), stop: 1 palette(window));
}
QSplitter::handle:vertical:hover, QMainWindow::separator:horizontal:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 palette(window), stop: 0.5 palette(light), stop: 1 palette(window));
}
QMenuBar {
background-color: palette(button);
color: palette(button-text);
border: 1px solid palette(shadow);
}
QMenuBar::item {
background-color: palette(button);
color: palette(button-text);
}
QMenuBar::item:selected {
background-color: palette(highlight);
}
QMenu {
background-color: palette(button);
color: palette(button-text);
border: 1px solid palette(shadow);
margin: 0px;
}
QMenu::item {
background-color: palette(button);
color: palette(button-text);
}
QMenu::item:selected {
background-color: palette(highlight);
}
QToolTip {
border: 2px solid #202020;
border-radius: 2px;
background-color: palette(dark);
color: white;
}
QTabWidget::tab-bar {
alignment: center;
}
QTabBar::tab {
min-width: 30px;
height: 20px;
}
QTabBar::tab:bottom:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 palette(highlight), stop: 0.2 palette(highlight), stop: 0.2 transparent);
}
QTabBar::tab:top:selected {
background: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 palette(highlight), stop: 0.2 palette(highlight), stop: 0.2 transparent);
}
QTabBar::tab:!selected {
color: #888;
}
QTabBar::tab:bottom:!selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 palette(light), stop: 0.2 palette(light), stop: 0.2 transparent);
}
QTabBar::tab:top:!selected {
background: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 palette(light), stop: 0.2 palette(light), stop: 0.2 transparent);
}
QTabBar::tab:!selected:hover {
color: #aaa;
}
QTabBar::tab:bottom:!selected:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 palette(highlight), stop: 0.2 palette(highlight), stop: 0.2 transparent);
}
QTabBar::tab:top:!selected:hover {
background: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 palette(highlight), stop: 0.2 palette(highlight), stop: 0.2 transparent);
}
ChatView {
background: palette(base);
/*color: #535353;*/
}
StyledLabel#topicLabel {
background: palette(base);
}
ChatListItem {
foreground: #888888;
}
ChatListItem[state="inactive"] {
foreground: #555555;
}
ChatListItem[state="channel-event"] {
foreground: #888888;
}
ChatListItem[state="unread-message"] {
foreground: #85A83F;
}
ChatListItem[state="highlighted"] {
foreground: #FFAA00;
background: palette(highlight);
}
ChatListItem[type="network", state="unread-message"] {
foreground: #999999;
}
ChatListItem[type="network", state="highlighted"] {
foreground: #999999;
background: palette(highlight);
}
ChatListItem[type="query", state="unread-message"] {
foreground: #FFAA00;
}
NickListItem[type="category"] {
foreground: #debc85;
}
NickListItem[type="user"] {
foreground: #cccccc;
}
NickListItem[type="user", state="away"] {
foreground: #666666;
}
ChatLine[label="highlight"] {
foreground: #8db7bd;
background: palette(highlight);
}
ChatLine::sender {
background: palette(base);
}
ChatLine::timestamp {
background: palette(base);
}
ChatLine::sender[label="highlight"] {
foreground: #5e9f9f;
}
ChatLine::timestamp[label="highlight"] {
foreground: #5e9f9f;
}
QComboBox {
background: palette(button);
border: 0px solid palette(shadow);
color: palette(button-text);
}
QComboBox::drop-down {
background: palette(button);
border-left: 0px solid palette(shadow);
}
QComboBox::item {
background: palette(button);
color: palette(button-text);
}
QComboBox::item:selected {
background: palette(highlight);
color: palette(button-text);
}
QComboBox::editable {
background: palette(button);
color: palette(button-text);
}
QMainWindow {
background: palette(base);
border: 1px solid palette(shadow);
}
QWidget[title="About"] {
background: palette(base);
color: palette(text);
border: 1px solid palette(shadow);
}
QWidget {
background: palette(base);
color: palette(text);
}
QDialog#aboutDialog {
background: palette(base);
color: palette(text);
border: 1px solid palette(shadow);
}
QDialog#aboutDialog QLabel {
color: palette(text);
}
QDialog#aboutDialog QPushButton {
background: palette(button);
color: palette(button-text);
border: 1px solid palette(shadow);
}
QDialog#aboutDialog QPushButton:hover {
background: palette(highlight);
}
QHeaderView::section {
background: palette(button);
color: palette(button-text);
border: 1px solid palette(shadow);
padding: 4px;
}
QHeaderView::section:horizontal {
border-right: 1px solid palette(shadow);
}
QHeaderView::section:vertical {
border-bottom: 1px solid palette(shadow);
}
QHeaderView::section:disabled {
background: palette(base);
color: palette(text);
}
QCheckBox::indicator:unchecked {
background-color: palette(light);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment