Playing around with dark themes, found one that works. TODO: Display
licenses.
This commit is contained in:
parent
263c65ac46
commit
5945969ab8
106 changed files with 9489 additions and 15 deletions
539
data/css/DarkMonokai.qss
Normal file
539
data/css/DarkMonokai.qss
Normal file
|
@ -0,0 +1,539 @@
|
|||
/**
|
||||
** ____ _ ___ ___ _ _
|
||||
** | _ \ | | | \/ | | | (_)
|
||||
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
|
||||
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
|
||||
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
|
||||
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
|
||||
**
|
||||
** Quassel Theme
|
||||
**
|
||||
** Author: Chris Holland (Zren on Freenode/GitHub)
|
||||
*/
|
||||
|
||||
/**
|
||||
** Theme Notes:
|
||||
** - This theme is designed to work on top of the Fusion or the Plastique client style.
|
||||
** It will look weird on almost all the others (including the system default).
|
||||
** (Settings > Configure Quassel (F7) > Interface > Client Style)
|
||||
*/
|
||||
|
||||
/**
|
||||
** Helpful Links:
|
||||
** - QT:
|
||||
** http://qt-project.org/doc/qt-4.8/stylesheet-syntax.html
|
||||
** http://doc.qt.nokia.com/4.7-snapshot/stylesheet-reference.html
|
||||
** http://doc.qt.nokia.com/4.7-snapshot/stylesheet-examples.html
|
||||
** - Plastique Client Style:
|
||||
** https://qt.gitorious.org/qt/qt/source/src/gui/styles/qplastiquestyle.cpp
|
||||
** https://github.com/mirror/qt/blob/4.8/src/gui/styles/qplastiquestyle.cpp
|
||||
** - Quassel Stylesheet Gallery:
|
||||
** http://bugs.quassel-irc.org/projects/1/wiki/Stylesheet_Gallery
|
||||
** http://bugs.quassel-irc.org/projects/1/wiki/Stylesheet_Gallery#DarkMonokaiqss
|
||||
*/
|
||||
|
||||
/**
|
||||
** - QSS Notes:
|
||||
** Quassel stylesheets also support Palette { role: color; } for setting the system
|
||||
** palette. See the QPalette docs for available roles, and convert them into qss-style
|
||||
** attributes, so ButtonText would become button-text or see qssparser.cpp In fact,
|
||||
** qssparser.cpp is the authorative source for Quassel's qss syntax that contains all
|
||||
** the extensions over standard Qt qss syntax.
|
||||
** See:
|
||||
** http://qt-project.org/doc/qt-4.8/qpalette.html#ColorRole-enum
|
||||
** https://github.com/quassel/quassel/blob/master/src/uisupport/qssparser.cpp
|
||||
**
|
||||
*/
|
||||
|
||||
Palette {
|
||||
/* Window colors */
|
||||
window: #2b2b2b;
|
||||
background: #212121;
|
||||
foreground: #ffffff;
|
||||
|
||||
base: #131313;
|
||||
alternate-base: #42403B;
|
||||
|
||||
/* Just setting palette(tooltip-base) doesn't work as intended so we set it in
|
||||
** a QTooltip{} rule as well.
|
||||
*/
|
||||
tooltip-base: #131313; // palette(base)
|
||||
tooltip-text: white; // palette(text)
|
||||
|
||||
/* The following attributes should be done in a scale */
|
||||
light: #444444; // Tab Borders, Scrollbar handle grips, Titled Panel border (Settings)
|
||||
midlight: #333333; // ?
|
||||
button: #292929; // Menu BG, Scrollbar and Button base.
|
||||
mid: #252525; // Titled Panel border (Settings)
|
||||
dark: #202020; // TreeView [-] and ... color (Also various borders in Windows Client Style)
|
||||
shadow: #1d1d1d; // ?
|
||||
|
||||
|
||||
/* Text colors */
|
||||
text: white;
|
||||
button-text: #B6B3AB;
|
||||
|
||||
//highlight: #00ff00;
|
||||
//highlight-text: #000000;
|
||||
|
||||
/* Link colors */
|
||||
link: #539FA3;
|
||||
link-visited: #845B90;
|
||||
|
||||
/* Color of the marker line in the chat view. BG Node that is overlayed on the first new ChatLine. */
|
||||
// 0 -> 0.1 (sharp line)
|
||||
marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ff0000, stop: 0.1 #ff0000, stop: 0.1 transparent);
|
||||
}
|
||||
|
||||
/*
|
||||
** Base Object Colors
|
||||
*/
|
||||
|
||||
/* Tables */
|
||||
// QTreeView#settingsTree -> Tree in the Settings popup.
|
||||
|
||||
QTreeView, QTableView {
|
||||
alternate-background-color: rgba(0,0,0, 64);
|
||||
// background-color: palette(shadow);
|
||||
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: #000000; /* palette(dark); */
|
||||
}
|
||||
|
||||
|
||||
QTreeView::item:selected:active{
|
||||
color: palette(button-text);
|
||||
background: #040404; /* palette(dark); */
|
||||
}
|
||||
|
||||
QTreeView::item:selected:!active {
|
||||
color: palette(button-text);
|
||||
background: #080808; /* palette(shadow); */
|
||||
}
|
||||
|
||||
// QTreeView::item { color: #debc85; }
|
||||
// QTreeView::item:selected { color: #00004b; }
|
||||
// QTreeView#settingsTree { background: #131313; }
|
||||
|
||||
|
||||
/* Scrollbar */
|
||||
/* From Quassel Wiki: http://sprunge.us/iZGB */
|
||||
QScrollBar {
|
||||
//background: transparent;
|
||||
background: palette(base);
|
||||
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 palette(midlight);
|
||||
background: palette(midlight);
|
||||
}
|
||||
|
||||
QScrollBar::handle:vertical {
|
||||
min-height: 20px;
|
||||
min-width: 0px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal {
|
||||
min-width: 20px;
|
||||
min-height: 0px;
|
||||
}
|
||||
QScrollBar::handle:hover {
|
||||
border-color: palette(light);
|
||||
background: palette(light);
|
||||
}
|
||||
QScrollBar::handle:pressed {
|
||||
background: palette(highlight);
|
||||
border-color: palette(highlight);
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
/* Input Box */
|
||||
MultiLineEdit {
|
||||
//background: palette(base);
|
||||
//color: palette(foreground);
|
||||
}
|
||||
|
||||
/* Widgets */
|
||||
/* http://doc.qt.nokia.com/4.7-snapshot/qdockwidget.html */
|
||||
//QMainWindow,
|
||||
QMainWindow QAbstractScrollArea {
|
||||
//border: 0; // Remove borders.
|
||||
border: 1px solid palette(shadow);
|
||||
}
|
||||
|
||||
QMainWindow {
|
||||
//background: palette(mid); // Main window trim
|
||||
}
|
||||
|
||||
/* Splitter */
|
||||
/* The splits between QDockWidgets and QMainWindow is a different element. */
|
||||
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));
|
||||
}
|
||||
|
||||
/* Menu Bar / Context Menues */
|
||||
QMenu {
|
||||
margin: 5px; // A bit of nice padding around menu items.
|
||||
}
|
||||
|
||||
/* ToolTip */
|
||||
/* Note: You cannot create transparent sections in the popup box without a mask set. Thus the black edges outside the rounded borders. */
|
||||
QToolTip {
|
||||
border: 2px solid #202020; // palette(dark)
|
||||
border-radius: 2px;
|
||||
background: #131313; // palette(base)
|
||||
color: white; // palette(text)
|
||||
}
|
||||
|
||||
/* Tabs */
|
||||
/*
|
||||
The palette is designed for the selected one to be darker. So we need to change it. Decided to do a simple line.
|
||||
tab:bottom and tab:top reverse y1 and y2 on the linear gradients.
|
||||
|
||||
Tab Shadow: #444444 (light)
|
||||
Tab Hover: #666
|
||||
Tab Selected: palette(highlight)
|
||||
*/
|
||||
|
||||
//QTabWidget{}
|
||||
//QTabWidget::pane {}
|
||||
|
||||
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 #666, stop: 0.2 #666, stop: 0.2 transparent);
|
||||
}
|
||||
|
||||
QTabBar::tab:top:!selected:hover {
|
||||
background: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #666, stop: 0.2 #666, stop: 0.2 transparent);
|
||||
}
|
||||
|
||||
/*
|
||||
** Quassel CSS
|
||||
*/
|
||||
|
||||
/* Main Chat Background Override */
|
||||
ChatView {
|
||||
background: palette(base);
|
||||
}
|
||||
|
||||
|
||||
/* Font */
|
||||
// Will not override if selectors are doubled up eg: "ChatLine, MultiLineEdit {}"
|
||||
// These will override anything set in Quassel's Settings.
|
||||
/**
|
||||
* Don't bold or style MultiLineEdit text in any way otherwise you will be
|
||||
* prone to get weird behaviour in submitting from the Input box.
|
||||
* It will randomly bold your input if you do.
|
||||
*/
|
||||
ChatLine {
|
||||
//font-family: "MingLiU_HKSCS-ExtB", "Courier New", Courier, Monotype;
|
||||
|
||||
//font-size: 13pt;
|
||||
//font-weight: bold;
|
||||
}
|
||||
MultiLineEdit {
|
||||
//font-family: "MingLiU_HKSCS-ExtB", "Courier New", Courier, Monotype;
|
||||
|
||||
//font-size: 20px;
|
||||
//font-weight: normal;
|
||||
}
|
||||
ChatLine#plain {
|
||||
//font-weight: bold;
|
||||
}
|
||||
|
||||
/* Font: UI Global Font */
|
||||
QWidget {
|
||||
//font-family: consolas;
|
||||
}
|
||||
ChatListItem {
|
||||
font-family: consolas;
|
||||
}
|
||||
NickListItem {
|
||||
font-family: consolas;
|
||||
}
|
||||
StyledLabel#topicLabel {
|
||||
font-family: consolas;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
|
||||
/* Topic Box */
|
||||
StyledLabel#topicLabel { background: palette(base); font-family: consolas; }
|
||||
|
||||
/* Buffer / Channel List */
|
||||
/**
|
||||
state: inactive, channel-event, unread-message, highlighted
|
||||
type: query, channel, network
|
||||
**/
|
||||
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; }
|
||||
|
||||
ChatListItem[type="network", state="unread-message"] {foreground: #999999; }
|
||||
ChatListItem[type="network", state="highlighted"] {foreground: #999999; }
|
||||
ChatListItem[type="query", state="unread-message"] { foreground: #FFAA00; }
|
||||
|
||||
|
||||
/* Nick List */
|
||||
/**
|
||||
state: away
|
||||
type: user, category
|
||||
**/
|
||||
NickListItem[type="category"] { foreground: #debc85; }
|
||||
NickListItem[type="user"] { foreground: #cccccc; }
|
||||
NickListItem[type="user", state="away"] { foreground: #666666; }
|
||||
|
||||
|
||||
|
||||
/* Chatbox Line Formatting */
|
||||
|
||||
ChatLine[label="highlight"] {
|
||||
foreground: #8db7bd;
|
||||
background: #192527; // 3a557b
|
||||
}
|
||||
|
||||
/*
|
||||
** Option: Bold highlighted text, but not the timestamp.
|
||||
*/
|
||||
/*
|
||||
ChatLine[label="highlight"] { font-weight: bold; }
|
||||
ChatLine::timestamp[label="highlight"]{ font-weight: normal; }
|
||||
*/
|
||||
|
||||
/* Slight accent on the first two columns */
|
||||
ChatLine::sender { background: #101010; }
|
||||
ChatLine::timestamp { background: #101010; }
|
||||
/*ChatLine::contents { background: #101010; }*/
|
||||
|
||||
ChatLine::sender[label="highlight"] { foreground: #5e7c80; background: #162224; }
|
||||
ChatLine::timestamp[label="highlight"] { foreground: #5e7c80; background: #162224; }
|
||||
|
||||
ChatLine::timestamp { }
|
||||
|
||||
/* ::contents == Message */
|
||||
ChatLine::contents {
|
||||
/* Can only set background */
|
||||
}
|
||||
|
||||
ChatLine#plain { foreground: #b8b8bb; }
|
||||
ChatLine#notice { foreground: #A6E22E; }
|
||||
ChatLine#action { foreground: #F92672; font-style: italic; }
|
||||
ChatLine#nick { foreground: #75715E; }
|
||||
ChatLine#mode { foreground: #75715E; font-weight: bold; }
|
||||
ChatLine#join { foreground: #75715E; }
|
||||
ChatLine#part { foreground: #75715E; }
|
||||
ChatLine#quit { foreground: #75715E; }
|
||||
ChatLine#kick { foreground: #75715E; }
|
||||
ChatLine#kill { foreground: #75715E; }
|
||||
ChatLine#server { foreground: #A6E22E; }
|
||||
ChatLine#info { foreground: #A6E22E; }
|
||||
ChatLine#error { foreground: #FD971F; }
|
||||
ChatLine#daychange { foreground: #A6E22E; }
|
||||
ChatLine#topic { foreground: #FD971F; }
|
||||
//ChatLine#netsplit { foreground: #996633; } // Old
|
||||
ChatLine#netsplit-join { foreground: #996633; }
|
||||
ChatLine#netsplit-quit { foreground: #996633; }
|
||||
|
||||
ChatLine::timestamp {
|
||||
foreground: #707C70;
|
||||
// Resets the timestemp font during #action and other possible formatting.
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
ChatLine::url {
|
||||
foreground: palette(link);
|
||||
//font-style: underline; // Uncomment if you always want an underline on links.
|
||||
}
|
||||
|
||||
/* Sender Colors */
|
||||
ChatLine::sender#plain[sender="self"] { foreground: #779; }
|
||||
|
||||
|
||||
/* Uncomment this is you want all senders the same color: */
|
||||
// ChatLine::sender#plain { foreground: #2828B9; }
|
||||
|
||||
/**
|
||||
* The following are the sixteen colours used for the senders.
|
||||
* The names are calculated by taking the hash of the nickname.
|
||||
* Then take the modulo (the remainder) when divided by 16.
|
||||
*/
|
||||
ChatLine::sender#plain[sender="0"] { foreground: #e90d7f; }
|
||||
ChatLine::sender#plain[sender="1"] { foreground: #8e55e9; }
|
||||
ChatLine::sender#plain[sender="2"] { foreground: #b30e0e; }
|
||||
ChatLine::sender#plain[sender="3"] { foreground: #17b339; }
|
||||
ChatLine::sender#plain[sender="4"] { foreground: #58afb3; }
|
||||
ChatLine::sender#plain[sender="5"] { foreground: #9d54b3; }
|
||||
ChatLine::sender#plain[sender="6"] { foreground: #b39775; }
|
||||
ChatLine::sender#plain[sender="7"] { foreground: #3176b3; }
|
||||
ChatLine::sender#plain[sender="8"] { foreground: #e90d7f; }
|
||||
ChatLine::sender#plain[sender="9"] { foreground: #8e55e9; }
|
||||
ChatLine::sender#plain[sender="a"] { foreground: #b30e0e; }
|
||||
ChatLine::sender#plain[sender="b"] { foreground: #17b339; }
|
||||
ChatLine::sender#plain[sender="c"] { foreground: #58afb3; }
|
||||
ChatLine::sender#plain[sender="d"] { foreground: #9d54b3; }
|
||||
ChatLine::sender#plain[sender="e"] { foreground: #b39775; }
|
||||
ChatLine::sender#plain[sender="f"] { foreground: #3176b3; }
|
||||
|
||||
|
||||
/*
|
||||
** mIRC formats
|
||||
*/
|
||||
ChatLine[format="bold"] { font-weight: bold;}
|
||||
ChatLine[format="italic"] { font-style: italic; }
|
||||
ChatLine[format="underline"] { font-style: underline; }
|
||||
|
||||
/* Make black text appear lighter as our theme has a dark background. */
|
||||
ChatLine[fg-color="1"] { foreground: #444; }
|
||||
ChatLine[bg-color="1"] { background: #444; }
|
||||
|
||||
/* Blues are hard to read as well. */
|
||||
ChatLine[fg-color="2"] { foreground: #15a; }
|
||||
ChatLine[bg-color="2"] { background: #15a; }
|
||||
ChatLine[fg-color="c"] { foreground: #15f; }
|
||||
ChatLine[bg-color="c"] { background: #15f; }
|
||||
|
||||
/* A list of all the colors for easy convienience */
|
||||
/*
|
||||
ChatLine[fg-color="0"] { foreground: white; }
|
||||
ChatLine[bg-color="0"] { background: white; }
|
||||
ChatLine[fg-color="1"] { foreground: black; }
|
||||
ChatLine[bg-color="1"] { background: black; }
|
||||
ChatLine[fg-color="2"] { foreground: navy; }
|
||||
ChatLine[bg-color="2"] { background: navy; }
|
||||
ChatLine[fg-color="3"] { foreground: green; }
|
||||
ChatLine[bg-color="3"] { background: green; }
|
||||
ChatLine[fg-color="4"] { foreground: red; }
|
||||
ChatLine[bg-color="4"] { background: red; }
|
||||
ChatLine[fg-color="5"] { foreground: darkred; }
|
||||
ChatLine[bg-color="5"] { background: darkred; }
|
||||
ChatLine[fg-color="6"] { foreground: purple; }
|
||||
ChatLine[bg-color="6"] { background: purple; }
|
||||
ChatLine[fg-color="7"] { foreground: orange; }
|
||||
ChatLine[bg-color="7"] { background: orange; }
|
||||
ChatLine[fg-color="8"] { foreground: yellow; }
|
||||
ChatLine[bg-color="8"] { background: yellow; }
|
||||
ChatLine[fg-color="9"] { foreground: lightgreen; }
|
||||
ChatLine[bg-color="9"] { background: lightgreen; }
|
||||
ChatLine[fg-color="a"] { foreground: teal; }
|
||||
ChatLine[bg-color="a"] { background: teal; }
|
||||
ChatLine[fg-color="b"] { foreground: lightcyan; }
|
||||
ChatLine[bg-color="b"] { background: lightcyan; }
|
||||
ChatLine[fg-color="c"] { foreground: blue; }
|
||||
ChatLine[bg-color="c"] { background: blue; }
|
||||
ChatLine[fg-color="d"] { foreground: pink; }
|
||||
ChatLine[bg-color="d"] { background: pink; }
|
||||
ChatLine[fg-color="e"] { foreground: gray; }
|
||||
ChatLine[bg-color="e"] { background: gray; }
|
||||
ChatLine[fg-color="f"] { foreground: lightgray; }
|
||||
ChatLine[bg-color="f"] { background: lightgray; }
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
** Experimental
|
||||
*/
|
||||
BufferViewDock[active=true] {
|
||||
/* The circle is hardcoded into the title. */
|
||||
/* Color only changes on a refresh (F5) (so it's pointless). */
|
||||
/* Also colors the border in Breeze. */
|
||||
//color: palette(highlight);
|
||||
}
|
||||
|
||||
/*
|
||||
** OS X: Workaround Pallete {} bug
|
||||
** - https://stackoverflow.com/questions/19748752/qt-style-qpalettewindowtext-color-reverts-after-application-starts
|
||||
*/
|
||||
|
||||
QWidget {
|
||||
color: white;
|
||||
}
|
||||
|
281
data/css/QTDark.qss
Normal file
281
data/css/QTDark.qss
Normal file
|
@ -0,0 +1,281 @@
|
|||
/*
|
||||
Copyright 2013 Emanuel Claesson
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
COLOR_DARK = #191919
|
||||
COLOR_MEDIUM = #353535
|
||||
COLOR_MEDLIGHT = #5A5A5A
|
||||
COLOR_LIGHT = #DDDDDD
|
||||
COLOR_ACCENT = #3D7848
|
||||
*/
|
||||
|
||||
* {
|
||||
background: #191919;
|
||||
color: #DDDDDD;
|
||||
border: 1px solid #5A5A5A;
|
||||
}
|
||||
|
||||
QWidget::item:selected {
|
||||
background: #3D7848;
|
||||
}
|
||||
|
||||
QCheckBox, QRadioButton {
|
||||
border: none;
|
||||
}
|
||||
|
||||
QRadioButton::indicator, QCheckBox::indicator {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator::unchecked, QCheckBox::indicator::unchecked {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: none;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:unchecked:hover, QCheckBox::indicator:unchecked:hover {
|
||||
border: 1px solid #DDDDDD;
|
||||
}
|
||||
|
||||
QRadioButton::indicator::checked, QCheckBox::indicator::checked {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #5A5A5A;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:checked:hover, QCheckBox::indicator:checked:hover {
|
||||
border: 1px solid #DDDDDD;
|
||||
background: #DDDDDD;
|
||||
}
|
||||
|
||||
QGroupBox {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
QGroupBox::title {
|
||||
top: -7px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
QScrollBar {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #191919;
|
||||
}
|
||||
|
||||
QScrollBar:horizontal {
|
||||
height: 15px;
|
||||
margin: 0px 0px 0px 32px;
|
||||
}
|
||||
|
||||
QScrollBar:vertical {
|
||||
width: 15px;
|
||||
margin: 32px 0px 0px 0px;
|
||||
}
|
||||
|
||||
QScrollBar::handle {
|
||||
background: #353535;
|
||||
border: 1px solid #5A5A5A;
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal {
|
||||
border-width: 0px 1px 0px 1px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:vertical {
|
||||
border-width: 1px 0px 1px 0px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal {
|
||||
min-width: 20px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:vertical {
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
QScrollBar::add-line, QScrollBar::sub-line {
|
||||
background:#353535;
|
||||
border: 1px solid #5A5A5A;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::add-line {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:horizontal {
|
||||
width: 15px;
|
||||
subcontrol-position: left;
|
||||
left: 15px;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:vertical {
|
||||
height: 15px;
|
||||
subcontrol-position: top;
|
||||
top: 15px;
|
||||
}
|
||||
|
||||
QScrollBar::sub-line:horizontal {
|
||||
width: 15px;
|
||||
subcontrol-position: top left;
|
||||
}
|
||||
|
||||
QScrollBar::sub-line:vertical {
|
||||
height: 15px;
|
||||
subcontrol-position: top;
|
||||
}
|
||||
|
||||
QScrollBar:left-arrow, QScrollBar::right-arrow, QScrollBar::up-arrow, QScrollBar::down-arrow {
|
||||
border: 1px solid #5A5A5A;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
QScrollBar::add-page, QScrollBar::sub-page {
|
||||
background: none;
|
||||
}
|
||||
|
||||
QAbstractButton:hover {
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QAbstractButton:pressed {
|
||||
background: #5A5A5A;
|
||||
}
|
||||
|
||||
QAbstractItemView {
|
||||
show-decoration-selected: 1;
|
||||
selection-background-color: #3D7848;
|
||||
selection-color: #DDDDDD;
|
||||
alternate-background-color: #353535;
|
||||
}
|
||||
|
||||
QHeaderView {
|
||||
border: 1px solid #5A5A5A;
|
||||
}
|
||||
|
||||
QHeaderView::section {
|
||||
background: #191919;
|
||||
border: 1px solid #5A5A5A;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
QHeaderView::section:selected, QHeaderView::section::checked {
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QTableView {
|
||||
gridline-color: #5A5A5A;
|
||||
}
|
||||
|
||||
QTabBar {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
QTabBar::tab {
|
||||
border-radius: 0px;
|
||||
padding: 4px;
|
||||
margin: 4px;
|
||||
}
|
||||
|
||||
QTabBar::tab:selected {
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QComboBox::down-arrow {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QComboBox::drop-down {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QComboBox::down-arrow {
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
border: 1px solid #5A5A5A;
|
||||
}
|
||||
|
||||
QAbstractSpinBox {
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
QAbstractSpinBox::up-button, QAbstractSpinBox::down-button {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #353535;
|
||||
subcontrol-origin: border;
|
||||
}
|
||||
|
||||
QAbstractSpinBox::up-arrow, QAbstractSpinBox::down-arrow {
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
border: 1px solid #5A5A5A;
|
||||
}
|
||||
|
||||
QSlider {
|
||||
border: none;
|
||||
}
|
||||
|
||||
QSlider::groove:horizontal {
|
||||
height: 5px;
|
||||
margin: 4px 0px 4px 0px;
|
||||
}
|
||||
|
||||
QSlider::groove:vertical {
|
||||
width: 5px;
|
||||
margin: 0px 4px 0px 4px;
|
||||
}
|
||||
|
||||
QSlider::handle {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal {
|
||||
width: 15px;
|
||||
margin: -4px 0px -4px 0px;
|
||||
}
|
||||
|
||||
QSlider::handle:vertical {
|
||||
height: 15px;
|
||||
margin: 0px -4px 0px -4px;
|
||||
}
|
||||
|
||||
QSlider::add-page:vertical, QSlider::sub-page:horizontal {
|
||||
background: #3D7848;
|
||||
}
|
||||
|
||||
QSlider::sub-page:vertical, QSlider::add-page:horizontal {
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QLabel {
|
||||
border: none;
|
||||
}
|
||||
|
||||
QProgressBar {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
QProgressBar::chunk {
|
||||
width: 1px;
|
||||
background-color: #3D7848;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
background: #353535;
|
||||
}
|
281
data/css/QTDark2.0.qss
Normal file
281
data/css/QTDark2.0.qss
Normal file
|
@ -0,0 +1,281 @@
|
|||
/*
|
||||
Copyright 2013 Emanuel Claesson
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
COLOR_DARK = #191919
|
||||
COLOR_MEDIUM = #353535
|
||||
COLOR_MEDLIGHT = #5A5A5A
|
||||
COLOR_LIGHT = #DDDDDD
|
||||
COLOR_ACCENT = #3D7848
|
||||
*/
|
||||
|
||||
* {
|
||||
background: #191919;
|
||||
color: #DDDDDD;
|
||||
border: 1px solid #5A5A5A;
|
||||
}
|
||||
|
||||
QWidget::item:selected {
|
||||
background: #3D7848;
|
||||
}
|
||||
|
||||
QCheckBox, QRadioButton {
|
||||
border: none;
|
||||
}
|
||||
|
||||
QRadioButton::indicator, QCheckBox::indicator {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator::unchecked, QCheckBox::indicator::unchecked {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: none;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:unchecked:hover, QCheckBox::indicator:unchecked:hover {
|
||||
border: 1px solid #DDDDDD;
|
||||
}
|
||||
|
||||
QRadioButton::indicator::checked, QCheckBox::indicator::checked {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #5A5A5A;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:checked:hover, QCheckBox::indicator:checked:hover {
|
||||
border: 1px solid #DDDDDD;
|
||||
background: #DDDDDD;
|
||||
}
|
||||
|
||||
QGroupBox {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
QGroupBox::title {
|
||||
top: -7px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
QScrollBar {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #191919;
|
||||
}
|
||||
|
||||
QScrollBar:horizontal {
|
||||
height: 15px;
|
||||
margin: 0px 0px 0px 32px;
|
||||
}
|
||||
|
||||
QScrollBar:vertical {
|
||||
width: 15px;
|
||||
margin: 32px 0px 0px 0px;
|
||||
}
|
||||
|
||||
QScrollBar::handle {
|
||||
background: #353535;
|
||||
border: 1px solid #5A5A5A;
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal {
|
||||
border-width: 0px 1px 0px 1px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:vertical {
|
||||
border-width: 1px 0px 1px 0px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal {
|
||||
min-width: 20px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:vertical {
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
QScrollBar::add-line, QScrollBar::sub-line {
|
||||
background:#353535;
|
||||
border: 1px solid #5A5A5A;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::add-line {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:horizontal {
|
||||
width: 15px;
|
||||
subcontrol-position: left;
|
||||
left: 15px;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:vertical {
|
||||
height: 15px;
|
||||
subcontrol-position: top;
|
||||
top: 15px;
|
||||
}
|
||||
|
||||
QScrollBar::sub-line:horizontal {
|
||||
width: 15px;
|
||||
subcontrol-position: top left;
|
||||
}
|
||||
|
||||
QScrollBar::sub-line:vertical {
|
||||
height: 15px;
|
||||
subcontrol-position: top;
|
||||
}
|
||||
|
||||
QScrollBar:left-arrow, QScrollBar::right-arrow, QScrollBar::up-arrow, QScrollBar::down-arrow {
|
||||
border: 1px solid #5A5A5A;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
QScrollBar::add-page, QScrollBar::sub-page {
|
||||
background: none;
|
||||
}
|
||||
|
||||
QAbstractButton:hover {
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QAbstractButton:pressed {
|
||||
background: #5A5A5A;
|
||||
}
|
||||
|
||||
QAbstractItemView {
|
||||
show-decoration-selected: 1;
|
||||
selection-background-color: #3D7848;
|
||||
selection-color: #DDDDDD;
|
||||
alternate-background-color: #353535;
|
||||
}
|
||||
|
||||
QHeaderView {
|
||||
border: 1px solid #5A5A5A;
|
||||
}
|
||||
|
||||
QHeaderView::section {
|
||||
background: #191919;
|
||||
border: 1px solid #5A5A5A;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
QHeaderView::section:selected, QHeaderView::section::checked {
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QTableView {
|
||||
gridline-color: #5A5A5A;
|
||||
}
|
||||
|
||||
QTabBar {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
QTabBar::tab {
|
||||
border-radius: 0px;
|
||||
padding: 4px;
|
||||
margin: 4px;
|
||||
}
|
||||
|
||||
QTabBar::tab:selected {
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QComboBox::down-arrow {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QComboBox::drop-down {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QComboBox::down-arrow {
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
border: 1px solid #5A5A5A;
|
||||
}
|
||||
|
||||
QAbstractSpinBox {
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
QAbstractSpinBox::up-button, QAbstractSpinBox::down-button {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #353535;
|
||||
subcontrol-origin: border;
|
||||
}
|
||||
|
||||
QAbstractSpinBox::up-arrow, QAbstractSpinBox::down-arrow {
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
border: 1px solid #5A5A5A;
|
||||
}
|
||||
|
||||
QSlider {
|
||||
border: none;
|
||||
}
|
||||
|
||||
QSlider::groove:horizontal {
|
||||
height: 5px;
|
||||
margin: 4px 0px 4px 0px;
|
||||
}
|
||||
|
||||
QSlider::groove:vertical {
|
||||
width: 5px;
|
||||
margin: 0px 4px 0px 4px;
|
||||
}
|
||||
|
||||
QSlider::handle {
|
||||
border: 1px solid #5A5A5A;
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal {
|
||||
width: 15px;
|
||||
margin: -4px 0px -4px 0px;
|
||||
}
|
||||
|
||||
QSlider::handle:vertical {
|
||||
height: 15px;
|
||||
margin: 0px -4px 0px -4px;
|
||||
}
|
||||
|
||||
QSlider::add-page:vertical, QSlider::sub-page:horizontal {
|
||||
background: #3D7848;
|
||||
}
|
||||
|
||||
QSlider::sub-page:vertical, QSlider::add-page:horizontal {
|
||||
background: #353535;
|
||||
}
|
||||
|
||||
QLabel {
|
||||
border: none;
|
||||
}
|
||||
|
||||
QProgressBar {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
QProgressBar::chunk {
|
||||
width: 1px;
|
||||
background-color: #3D7848;
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
background: #353535;
|
||||
}
|
459
data/css/darkorange.qss
Normal file
459
data/css/darkorange.qss
Normal file
|
@ -0,0 +1,459 @@
|
|||
QToolTip
|
||||
{
|
||||
border: 1px solid black;
|
||||
background-color: #ffa02f;
|
||||
padding: 1px;
|
||||
border-radius: 3px;
|
||||
opacity: 100;
|
||||
}
|
||||
|
||||
QWidget
|
||||
{
|
||||
color: #b1b1b1;
|
||||
background-color: #323232;
|
||||
}
|
||||
|
||||
QWidget:item:hover
|
||||
{
|
||||
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #ca0619);
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
QWidget:item:selected
|
||||
{
|
||||
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
|
||||
}
|
||||
|
||||
QMenuBar::item
|
||||
{
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
QMenuBar::item:selected
|
||||
{
|
||||
background: transparent;
|
||||
border: 1px solid #ffaa00;
|
||||
}
|
||||
|
||||
QMenuBar::item:pressed
|
||||
{
|
||||
background: #444;
|
||||
border: 1px solid #000;
|
||||
background-color: QLinearGradient(
|
||||
x1:0, y1:0,
|
||||
x2:0, y2:1,
|
||||
stop:1 #212121,
|
||||
stop:0.4 #343434/*,
|
||||
stop:0.2 #343434,
|
||||
stop:0.1 #ffaa00*/
|
||||
);
|
||||
margin-bottom:-1px;
|
||||
padding-bottom:1px;
|
||||
}
|
||||
|
||||
QMenu
|
||||
{
|
||||
border: 1px solid #000;
|
||||
}
|
||||
|
||||
QMenu::item
|
||||
{
|
||||
padding: 2px 20px 2px 20px;
|
||||
}
|
||||
|
||||
QMenu::item:selected
|
||||
{
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
QWidget:disabled
|
||||
{
|
||||
color: #404040;
|
||||
background-color: #323232;
|
||||
}
|
||||
|
||||
QAbstractItemView
|
||||
{
|
||||
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #4d4d4d, stop: 0.1 #646464, stop: 1 #5d5d5d);
|
||||
}
|
||||
|
||||
QWidget:focus
|
||||
{
|
||||
/*border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);*/
|
||||
}
|
||||
|
||||
QLineEdit
|
||||
{
|
||||
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #4d4d4d, stop: 0 #646464, stop: 1 #5d5d5d);
|
||||
padding: 1px;
|
||||
border-style: solid;
|
||||
border: 1px solid #1e1e1e;
|
||||
border-radius: 5;
|
||||
}
|
||||
|
||||
QPushButton
|
||||
{
|
||||
color: #b1b1b1;
|
||||
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
|
||||
border-width: 1px;
|
||||
border-color: #1e1e1e;
|
||||
border-style: solid;
|
||||
border-radius: 6;
|
||||
padding: 3px;
|
||||
font-size: 12px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
QPushButton:pressed
|
||||
{
|
||||
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2d2d2d, stop: 0.1 #2b2b2b, stop: 0.5 #292929, stop: 0.9 #282828, stop: 1 #252525);
|
||||
}
|
||||
|
||||
QComboBox
|
||||
{
|
||||
selection-background-color: #ffaa00;
|
||||
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
|
||||
border-style: solid;
|
||||
border: 1px solid #1e1e1e;
|
||||
border-radius: 5;
|
||||
}
|
||||
|
||||
QComboBox:hover,QPushButton:hover
|
||||
{
|
||||
border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
|
||||
}
|
||||
|
||||
|
||||
QComboBox:on
|
||||
{
|
||||
padding-top: 3px;
|
||||
padding-left: 4px;
|
||||
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2d2d2d, stop: 0.1 #2b2b2b, stop: 0.5 #292929, stop: 0.9 #282828, stop: 1 #252525);
|
||||
selection-background-color: #ffaa00;
|
||||
}
|
||||
|
||||
QComboBox QAbstractItemView
|
||||
{
|
||||
border: 2px solid darkgray;
|
||||
selection-background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
|
||||
}
|
||||
|
||||
QComboBox::drop-down
|
||||
{
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: top right;
|
||||
width: 15px;
|
||||
|
||||
border-left-width: 0px;
|
||||
border-left-color: darkgray;
|
||||
border-left-style: solid; /* just a single line */
|
||||
border-top-right-radius: 3px; /* same radius as the QComboBox */
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
QComboBox::down-arrow
|
||||
{
|
||||
image: url(:/down_arrow.png);
|
||||
}
|
||||
|
||||
QGroupBox:focus
|
||||
{
|
||||
border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
|
||||
}
|
||||
|
||||
QTextEdit:focus
|
||||
{
|
||||
border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
|
||||
}
|
||||
|
||||
QScrollBar:horizontal {
|
||||
border: 1px solid #222222;
|
||||
background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0.0 #121212, stop: 0.2 #282828, stop: 1 #484848);
|
||||
height: 7px;
|
||||
margin: 0px 16px 0 16px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal
|
||||
{
|
||||
background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #ffa02f, stop: 0.5 #d7801a, stop: 1 #ffa02f);
|
||||
min-height: 20px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:horizontal {
|
||||
border: 1px solid #1b1b19;
|
||||
border-radius: 2px;
|
||||
background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #ffa02f, stop: 1 #d7801a);
|
||||
width: 14px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::sub-line:horizontal {
|
||||
border: 1px solid #1b1b19;
|
||||
border-radius: 2px;
|
||||
background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #ffa02f, stop: 1 #d7801a);
|
||||
width: 14px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::right-arrow:horizontal, QScrollBar::left-arrow:horizontal
|
||||
{
|
||||
border: 1px solid black;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
|
||||
{
|
||||
background: none;
|
||||
}
|
||||
|
||||
QScrollBar:vertical
|
||||
{
|
||||
background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0.0 #121212, stop: 0.2 #282828, stop: 1 #484848);
|
||||
width: 7px;
|
||||
margin: 16px 0 16px 0;
|
||||
border: 1px solid #222222;
|
||||
}
|
||||
|
||||
QScrollBar::handle:vertical
|
||||
{
|
||||
background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 0.5 #d7801a, stop: 1 #ffa02f);
|
||||
min-height: 20px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QScrollBar::add-line:vertical
|
||||
{
|
||||
border: 1px solid #1b1b19;
|
||||
border-radius: 2px;
|
||||
background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
|
||||
height: 14px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::sub-line:vertical
|
||||
{
|
||||
border: 1px solid #1b1b19;
|
||||
border-radius: 2px;
|
||||
background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #d7801a, stop: 1 #ffa02f);
|
||||
height: 14px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical
|
||||
{
|
||||
border: 1px solid black;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
|
||||
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
|
||||
{
|
||||
background: none;
|
||||
}
|
||||
|
||||
QTextEdit
|
||||
{
|
||||
background-color: #242424;
|
||||
}
|
||||
|
||||
QPlainTextEdit
|
||||
{
|
||||
background-color: #242424;
|
||||
}
|
||||
|
||||
QHeaderView::section
|
||||
{
|
||||
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #616161, stop: 0.5 #505050, stop: 0.6 #434343, stop:1 #656565);
|
||||
color: white;
|
||||
padding-left: 4px;
|
||||
border: 1px solid #6c6c6c;
|
||||
}
|
||||
|
||||
QCheckBox:disabled
|
||||
{
|
||||
color: #414141;
|
||||
}
|
||||
|
||||
QDockWidget::title
|
||||
{
|
||||
text-align: center;
|
||||
spacing: 3px; /* spacing between items in the tool bar */
|
||||
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #323232, stop: 0.5 #242424, stop:1 #323232);
|
||||
}
|
||||
|
||||
QDockWidget::close-button, QDockWidget::float-button
|
||||
{
|
||||
text-align: center;
|
||||
spacing: 1px; /* spacing between items in the tool bar */
|
||||
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #323232, stop: 0.5 #242424, stop:1 #323232);
|
||||
}
|
||||
|
||||
QDockWidget::close-button:hover, QDockWidget::float-button:hover
|
||||
{
|
||||
background: #242424;
|
||||
}
|
||||
|
||||
QDockWidget::close-button:pressed, QDockWidget::float-button:pressed
|
||||
{
|
||||
padding: 1px -1px -1px 1px;
|
||||
}
|
||||
|
||||
QMainWindow::separator
|
||||
{
|
||||
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #161616, stop: 0.5 #151515, stop: 0.6 #212121, stop:1 #343434);
|
||||
color: white;
|
||||
padding-left: 4px;
|
||||
border: 1px solid #4c4c4c;
|
||||
spacing: 3px; /* spacing between items in the tool bar */
|
||||
}
|
||||
|
||||
QMainWindow::separator:hover
|
||||
{
|
||||
|
||||
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #d7801a, stop:0.5 #b56c17 stop:1 #ffa02f);
|
||||
color: white;
|
||||
padding-left: 4px;
|
||||
border: 1px solid #6c6c6c;
|
||||
spacing: 3px; /* spacing between items in the tool bar */
|
||||
}
|
||||
|
||||
QToolBar::handle
|
||||
{
|
||||
spacing: 3px; /* spacing between items in the tool bar */
|
||||
background: url(:/images/handle.png);
|
||||
}
|
||||
|
||||
QMenu::separator
|
||||
{
|
||||
height: 2px;
|
||||
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #161616, stop: 0.5 #151515, stop: 0.6 #212121, stop:1 #343434);
|
||||
color: white;
|
||||
padding-left: 4px;
|
||||
margin-left: 10px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
QProgressBar
|
||||
{
|
||||
border: 2px solid grey;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
QProgressBar::chunk
|
||||
{
|
||||
background-color: #d7801a;
|
||||
width: 2.15px;
|
||||
margin: 0.5px;
|
||||
}
|
||||
|
||||
QTabBar::tab {
|
||||
color: #b1b1b1;
|
||||
border: 1px solid #444;
|
||||
border-bottom-style: none;
|
||||
background-color: #323232;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 2px;
|
||||
margin-right: -1px;
|
||||
}
|
||||
|
||||
QTabWidget::pane {
|
||||
border: 1px solid #444;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
QTabBar::tab:last
|
||||
{
|
||||
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
|
||||
QTabBar::tab:first:!selected
|
||||
{
|
||||
margin-left: 0px; /* the last selected tab has nothing to overlap with on the right */
|
||||
|
||||
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
||||
QTabBar::tab:!selected
|
||||
{
|
||||
color: #b1b1b1;
|
||||
border-bottom-style: solid;
|
||||
margin-top: 3px;
|
||||
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:.4 #343434);
|
||||
}
|
||||
|
||||
QTabBar::tab:selected
|
||||
{
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
QTabBar::tab:!selected:hover
|
||||
{
|
||||
/*border-top: 2px solid #ffaa00;
|
||||
padding-bottom: 3px;*/
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:0.4 #343434, stop:0.2 #343434, stop:0.1 #ffaa00);
|
||||
}
|
||||
|
||||
QRadioButton::indicator:checked, QRadioButton::indicator:unchecked{
|
||||
color: #b1b1b1;
|
||||
background-color: #323232;
|
||||
border: 1px solid #b1b1b1;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:checked
|
||||
{
|
||||
background-color: qradialgradient(
|
||||
cx: 0.5, cy: 0.5,
|
||||
fx: 0.5, fy: 0.5,
|
||||
radius: 1.0,
|
||||
stop: 0.25 #ffaa00,
|
||||
stop: 0.3 #323232
|
||||
);
|
||||
}
|
||||
|
||||
QCheckBox::indicator{
|
||||
color: #b1b1b1;
|
||||
background-color: #323232;
|
||||
border: 1px solid #b1b1b1;
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator
|
||||
{
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:hover, QCheckBox::indicator:hover
|
||||
{
|
||||
border: 1px solid #ffaa00;
|
||||
}
|
||||
|
||||
QCheckBox::indicator:checked
|
||||
{
|
||||
image:url(:/images/checkbox.png);
|
||||
}
|
||||
|
||||
QCheckBox::indicator:disabled, QRadioButton::indicator:disabled
|
||||
{
|
||||
border: 1px solid #444;
|
||||
}
|
343
data/css/darkstyle.qss
Normal file
343
data/css/darkstyle.qss
Normal file
|
@ -0,0 +1,343 @@
|
|||
QToolTip{
|
||||
color:#ffffff;
|
||||
background-color:palette(base);
|
||||
border:1px solid palette(highlight);
|
||||
border-radius:4px;
|
||||
}
|
||||
QStatusBar{
|
||||
background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
color:palette(mid);
|
||||
}
|
||||
QMenuBar{
|
||||
background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
border-bottom:2px solid rgba(25,25,25,75);
|
||||
}
|
||||
QMenuBar::item{
|
||||
spacing:2px;
|
||||
padding:3px 4px;
|
||||
background:transparent;
|
||||
}
|
||||
QMenuBar::item:selected{
|
||||
background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(106,106,106,255),stop:1 rgba(106,106,106,75));
|
||||
border-left:1px solid rgba(106,106,106,127);
|
||||
border-right:1px solid rgba(106,106,106,127);
|
||||
}
|
||||
QMenuBar::item:pressed{
|
||||
background-color:palette(highlight);
|
||||
border-left:1px solid rgba(25,25,25,127);
|
||||
border-right:1px solid rgba(25,25,25,127);
|
||||
}
|
||||
QMenu{
|
||||
background-color:palette(window);
|
||||
border:1px solid palette(shadow);
|
||||
}
|
||||
QMenu::item{
|
||||
padding:3px 25px 3px 25px;
|
||||
border:1px solid transparent;
|
||||
}
|
||||
QMenu::item:disabled{
|
||||
background-color:rgba(35,35,35,127);
|
||||
color:palette(disabled);
|
||||
}
|
||||
QMenu::item:selected{
|
||||
border-color:rgba(147,191,236,127);
|
||||
background:palette(highlight);
|
||||
}
|
||||
QMenu::icon:checked{
|
||||
background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
border:1px solid palette(highlight);
|
||||
border-radius:2px;
|
||||
}
|
||||
QMenu::separator{
|
||||
height:1px;
|
||||
background:palette(alternate-base);
|
||||
margin-left:5px;
|
||||
margin-right:5px;
|
||||
}
|
||||
QMenu::indicator{
|
||||
width:18px;
|
||||
height:18px;
|
||||
}
|
||||
QMenu::indicator:non-exclusive:checked{
|
||||
image:url(:/darkstyle/icon_checkbox_checked.png);
|
||||
padding-left:2px;
|
||||
}
|
||||
QMenu::indicator:non-exclusive:unchecked{
|
||||
image:url(:/darkstyle/icon_checkbox_unchecked.png);
|
||||
padding-left:2px;
|
||||
}
|
||||
QMenu::indicator:exclusive:checked{
|
||||
image:url(:/darkstyle/icon_radiobutton_checked.png);
|
||||
padding-left:2px;
|
||||
}
|
||||
QMenu::indicator:exclusive:unchecked{
|
||||
image:url(:/darkstyle/icon_radiobutton_unchecked.png);
|
||||
padding-left:2px;
|
||||
}
|
||||
QToolBar::top{
|
||||
background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
border-bottom:3px solid qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
}
|
||||
QToolBar::bottom{
|
||||
background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
border-top:3px solid qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
}
|
||||
QToolBar::left{
|
||||
background-color:qlineargradient(x1:0,y1:0,x2:1,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
border-right:3px solid qlineargradient(x1:0,y1:0,x2:1,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
}
|
||||
QToolBar::right{
|
||||
background-color:qlineargradient(x1:1,y1:0,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
border-left:3px solid qlineargradient(x1:1,y1:0,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
}
|
||||
QMainWindow::separator{
|
||||
width:6px;
|
||||
height:5px;
|
||||
padding:2px;
|
||||
}
|
||||
QSplitter::handle:horizontal{
|
||||
width:10px;
|
||||
}
|
||||
QSplitter::handle:vertical{
|
||||
height:10px;
|
||||
}
|
||||
QMainWindow::separator:hover,QSplitter::handle:hover{
|
||||
background:palette(highlight);
|
||||
}
|
||||
QDockWidget::title{
|
||||
padding:4px;
|
||||
background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
border:1px solid rgba(25,25,25,75);
|
||||
border-bottom:2px solid rgba(25,25,25,75);
|
||||
}
|
||||
QDockWidget{
|
||||
titlebar-close-icon:url(:/darkstyle/icon_close.png);
|
||||
titlebar-normal-icon:url(:/darkstyle/icon_restore.png);
|
||||
}
|
||||
QDockWidget::close-button,QDockWidget::float-button{
|
||||
subcontrol-position:top right;
|
||||
subcontrol-origin:margin;
|
||||
position:absolute;
|
||||
top:3px;
|
||||
bottom:0px;
|
||||
width:20px;
|
||||
height:20px;
|
||||
}
|
||||
QDockWidget::close-button{
|
||||
right:3px;
|
||||
}
|
||||
QDockWidget::float-button{
|
||||
right:25px;
|
||||
}
|
||||
QGroupBox{
|
||||
background-color:rgba(66,66,66,50%);
|
||||
margin-top:27px;
|
||||
border:1px solid rgba(25,25,25,127);
|
||||
border-radius:4px;
|
||||
}
|
||||
QGroupBox::title{
|
||||
subcontrol-origin:margin;
|
||||
subcontrol-position:left top;
|
||||
padding:4px 6px;
|
||||
margin-left:3px;
|
||||
background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
border:1px solid rgba(25,25,25,75);
|
||||
border-bottom:2px solid rgb(127,127,127);
|
||||
border-top-left-radius:4px;
|
||||
border-top-right-radius:4px;
|
||||
}
|
||||
QTabWidget::pane{
|
||||
background-color:rgba(66,66,66,50%);
|
||||
border-top:1px solid rgba(25,25,25,50%);
|
||||
}
|
||||
QTabWidget::tab-bar{
|
||||
left:3px;
|
||||
top:1px;
|
||||
}
|
||||
QTabBar{
|
||||
background-color:transparent;
|
||||
qproperty-drawBase:0;
|
||||
border-bottom:1px solid rgba(25,25,25,50%);
|
||||
}
|
||||
QTabBar::tab{
|
||||
padding:4px 6px;
|
||||
background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
border:1px solid rgba(25,25,25,75);
|
||||
border-top-left-radius:4px;
|
||||
border-top-right-radius:4px;
|
||||
}
|
||||
QTabBar::tab:selected,QTabBar::tab:hover{
|
||||
background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(53,53,53,127),stop:1 rgba(66,66,66,50%));
|
||||
border-bottom-color:rgba(66,66,66,75%);
|
||||
}
|
||||
QTabBar::tab:selected{
|
||||
border-bottom:2px solid palette(highlight);
|
||||
}
|
||||
QTabBar::tab::selected:disabled{
|
||||
border-bottom:2px solid rgb(127,127,127);
|
||||
}
|
||||
QTabBar::tab:!selected{
|
||||
margin-top:2px;
|
||||
}
|
||||
QCheckBox::indicator{
|
||||
width:18px;
|
||||
height:18px;
|
||||
}
|
||||
QCheckBox::indicator:checked,QTreeView::indicator:checked,QTableView::indicator:checked,QGroupBox::indicator:checked{
|
||||
image:url(:/darkstyle/icon_checkbox_checked.png);
|
||||
}
|
||||
QCheckBox::indicator:checked:pressed,QTreeView::indicator:checked:pressed,QTableView::indicator:checked:pressed,QGroupBox::indicator:checked:pressed{
|
||||
image:url(:/darkstyle/icon_checkbox_checked_pressed.png);
|
||||
}
|
||||
QCheckBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QTableView::indicator:checked:disabled,QGroupBox::indicator:checked:disabled{
|
||||
image:url(:/darkstyle/icon_checkbox_checked_disabled.png);
|
||||
}
|
||||
QCheckBox::indicator:unchecked,QTreeView::indicator:unchecked,QTableView::indicator:unchecked,QGroupBox::indicator:unchecked{
|
||||
image:url(:/darkstyle/icon_checkbox_unchecked.png);
|
||||
}
|
||||
QCheckBox::indicator:unchecked:pressed,QTreeView::indicator:unchecked:pressed,QTableView::indicator:unchecked:pressed,QGroupBox::indicator:unchecked:pressed{
|
||||
image:url(:/darkstyle/icon_checkbox_unchecked_pressed.png);
|
||||
}
|
||||
QCheckBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled{
|
||||
image:url(:/darkstyle/icon_checkbox_unchecked_disabled.png);
|
||||
}
|
||||
QCheckBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QTableView::indicator:indeterminate,QGroupBox::indicator:indeterminate{
|
||||
image:url(:/darkstyle/icon_checkbox_indeterminate.png);
|
||||
}
|
||||
QCheckBox::indicator:indeterminate:pressed,QTreeView::indicator:indeterminate:pressed,QTableView::indicator:indeterminate:pressed,QGroupBox::indicator:indeterminate:pressed{
|
||||
image:url(:/darkstyle/icon_checkbox_indeterminate_pressed.png);
|
||||
}
|
||||
QCheckBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled{
|
||||
image:url(:/darkstyle/icon_checkbox_indeterminate_disabled.png);
|
||||
}
|
||||
QRadioButton::indicator{
|
||||
width:18px;
|
||||
height:18px;
|
||||
}
|
||||
QRadioButton::indicator:checked{
|
||||
image:url(:/darkstyle/icon_radiobutton_checked.png);
|
||||
}
|
||||
QRadioButton::indicator:checked:pressed{
|
||||
image:url(:/darkstyle/icon_radiobutton_checked_pressed.png);
|
||||
}
|
||||
QRadioButton::indicator:checked:disabled{
|
||||
image:url(:/darkstyle/icon_radiobutton_checked_disabled.png);
|
||||
}
|
||||
QRadioButton::indicator:unchecked{
|
||||
image:url(:/darkstyle/icon_radiobutton_unchecked.png);
|
||||
}
|
||||
QRadioButton::indicator:unchecked:pressed{
|
||||
image:url(:/darkstyle/icon_radiobutton_unchecked_pressed.png);
|
||||
}
|
||||
QRadioButton::indicator:unchecked:disabled{
|
||||
image:url(:/darkstyle/icon_radiobutton_unchecked_disabled.png);
|
||||
}
|
||||
QTreeView, QTableView{
|
||||
alternate-background-color:palette(window);
|
||||
background:palette(base);
|
||||
}
|
||||
QTreeView QHeaderView::section, QTableView QHeaderView::section{
|
||||
background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
|
||||
border-style:none;
|
||||
border-bottom:1px solid palette(dark);
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
}
|
||||
QTreeView::item:selected:disabled, QTableView::item:selected:disabled{
|
||||
background:rgb(80,80,80);
|
||||
}
|
||||
QTreeView::branch{
|
||||
background-color:palette(base);
|
||||
}
|
||||
QTreeView::branch:has-siblings:!adjoins-item{
|
||||
border-image:url(:/darkstyle/icon_vline.png) 0;
|
||||
}
|
||||
QTreeView::branch:has-siblings:adjoins-item{
|
||||
border-image:url(:/darkstyle/icon_branch_more.png) 0;
|
||||
}
|
||||
QTreeView::branch:!has-children:!has-siblings:adjoins-item{
|
||||
border-image:url(:/darkstyle/icon_branch_end.png) 0;
|
||||
}
|
||||
QTreeView::branch:has-children:!has-siblings:closed,
|
||||
QTreeView::branch:closed:has-children:has-siblings{
|
||||
border-image:none;
|
||||
image:url(:/darkstyle/icon_branch_closed.png);
|
||||
}
|
||||
QTreeView::branch:open:has-children:!has-siblings,
|
||||
QTreeView::branch:open:has-children:has-siblings{
|
||||
border-image:none;
|
||||
image:url(:/darkstyle/icon_branch_open.png);
|
||||
}
|
||||
QScrollBar:vertical{
|
||||
background:palette(base);
|
||||
border-top-right-radius:2px;
|
||||
border-bottom-right-radius:2px;
|
||||
width:16px;
|
||||
margin:0px;
|
||||
}
|
||||
QScrollBar::handle:vertical{
|
||||
background-color:palette(alternate-base);
|
||||
border-radius:2px;
|
||||
min-height:20px;
|
||||
margin:2px 4px 2px 4px;
|
||||
}
|
||||
QScrollBar::handle:vertical:hover{
|
||||
background-color:palette(highlight);
|
||||
}
|
||||
QScrollBar::add-line:vertical{
|
||||
background:none;
|
||||
height:0px;
|
||||
subcontrol-position:right;
|
||||
subcontrol-origin:margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical{
|
||||
background:none;
|
||||
height:0px;
|
||||
subcontrol-position:left;
|
||||
subcontrol-origin:margin;
|
||||
}
|
||||
QScrollBar:horizontal{
|
||||
background:palette(base);
|
||||
height:16px;
|
||||
margin:0px;
|
||||
}
|
||||
QScrollBar::handle:horizontal{
|
||||
background-color:palette(alternate-base);
|
||||
border-radius:2px;
|
||||
min-width:20px;
|
||||
margin:4px 2px 4px 2px;
|
||||
}
|
||||
QScrollBar::handle:horizontal:hover{
|
||||
background-color:palette(highlight);
|
||||
}
|
||||
QScrollBar::add-line:horizontal{
|
||||
background:none;
|
||||
width:0px;
|
||||
subcontrol-position:bottom;
|
||||
subcontrol-origin:margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal{
|
||||
background:none;
|
||||
width:0px;
|
||||
subcontrol-position:top;
|
||||
subcontrol-origin:margin;
|
||||
}
|
||||
QSlider::handle:horizontal{
|
||||
border-radius:4px;
|
||||
border:1px solid rgba(25,25,25,255);
|
||||
background-color:palette(alternate-base);
|
||||
min-height:20px;
|
||||
margin:0 -4px;
|
||||
}
|
||||
QSlider::handle:horizontal:hover{
|
||||
background:palette(highlight);
|
||||
}
|
||||
QSlider::add-page:horizontal{
|
||||
background:palette(base);
|
||||
}
|
||||
QSlider::sub-page:horizontal{
|
||||
background:palette(highlight);
|
||||
}
|
||||
QSlider::sub-page:horizontal:disabled{
|
||||
background:rgb(80,80,80);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue