463 lines
8.2 KiB
Plaintext
463 lines
8.2 KiB
Plaintext
/*************************************
|
|
Main Window and Splitters
|
|
**************************************/
|
|
QWidget:window {
|
|
background-color: #232629;
|
|
}
|
|
|
|
QSplitter::handle {
|
|
background-color: transparent;
|
|
}
|
|
|
|
/*************************************
|
|
Main menu (Bar)
|
|
**************************************/
|
|
QMenuBar {
|
|
background-color: transparent;
|
|
color: #AFBDC4;
|
|
}
|
|
|
|
QMenuBar::item {
|
|
background-color: transparent;
|
|
}
|
|
|
|
QMenuBar::item:disabled {
|
|
color: gray;
|
|
}
|
|
|
|
QMenuBar::item:selected {
|
|
color: #FFFFFF;
|
|
border-bottom: 2px solid #4545e5;
|
|
}
|
|
|
|
QMenuBar::item:pressed {
|
|
color: #FFFFFF;
|
|
border-bottom: 2px solid #4545e5;
|
|
}
|
|
|
|
QToolBar {
|
|
background-color: transparent;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
QToolBar:handle {
|
|
background-color: transparent;
|
|
border-left: 2px dotted #80CBC4;
|
|
color: transparent;
|
|
}
|
|
|
|
QToolBar::separator {
|
|
border: 0;
|
|
}
|
|
|
|
QMenu {
|
|
background-color: #263238;
|
|
color: #AFBDC4;
|
|
}
|
|
|
|
QMenu::item:selected {
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
QMenu::item:pressed {
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
QMenu::separator {
|
|
background-color: transparent;
|
|
height: 1px;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
/*************************************
|
|
TabBar
|
|
**************************************/
|
|
QTabBar {
|
|
background: transparent;
|
|
}
|
|
|
|
QTabWidget::pane {
|
|
border: 0px solid transparent;
|
|
background: transparent;
|
|
}
|
|
|
|
QTabBar::tab {
|
|
background-color: transparent;
|
|
border: 0px solid transparent;
|
|
border-radius: 10px;
|
|
color: #AFBDC4;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
}
|
|
|
|
QTabBar::tab:hover {
|
|
background: #4545e5;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
QTabBar::tab:selected {
|
|
background: #4545e5;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
QStackedWidget {
|
|
background: #232629;
|
|
}
|
|
|
|
/*************************************
|
|
Progressbar
|
|
**************************************/
|
|
QProgressBar
|
|
{
|
|
border: 2px solid grey;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
QProgressBar::chunk
|
|
{
|
|
background-color: #88cc00;
|
|
width: 2.15px;
|
|
margin: 0.5px;
|
|
}
|
|
|
|
/*************************************
|
|
Labels and Rich Text boxes
|
|
**************************************/
|
|
QLabel {
|
|
background-color: transparent;
|
|
color: #CFD8DC;
|
|
}
|
|
|
|
QDialog {
|
|
background-color: transparent;
|
|
color: #949a9c;
|
|
}
|
|
|
|
QTextBrowser {
|
|
background-color: transparent;
|
|
color: #949a9c;
|
|
}
|
|
|
|
/*************************************
|
|
Search Bar
|
|
**************************************/
|
|
QLineEdit {
|
|
border: 2px solid #4545e5 ;
|
|
border-radius: 10px;
|
|
background-color: transparent;
|
|
color: #CFD8DC;
|
|
}
|
|
|
|
QLineEdit:hover {
|
|
border-width: 1px;
|
|
border-radius: 10px;
|
|
border-style: solid;
|
|
border-color: #4545e5 ;
|
|
}
|
|
|
|
QLineEdit:focus {
|
|
border-width: 1px;
|
|
border-radius: 10px;
|
|
border-style: solid;
|
|
border-color: #4545e5 ;
|
|
}
|
|
|
|
/*************************************
|
|
Scroll bars
|
|
**************************************/
|
|
QScrollBar:horizontal {
|
|
background: transparent;
|
|
height: 10px;
|
|
margin: 0;
|
|
}
|
|
|
|
QScrollBar:vertical {
|
|
background: transparent;
|
|
width: 10px;
|
|
margin: 0;
|
|
}
|
|
|
|
QScrollBar::handle:horizontal {
|
|
background: #374146;
|
|
min-width: 16px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical {
|
|
background: #374146;
|
|
min-height: 16px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal,
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|
background: none;
|
|
}
|
|
|
|
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
|
|
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
|
|
border: none;
|
|
background: none;
|
|
}
|
|
|
|
/*************************************
|
|
List
|
|
**************************************/
|
|
QListWidget {
|
|
background-color: transparent;
|
|
border: 0px solid transparent;
|
|
border-bottom: 2px solid #80CBC4;
|
|
color: #AFBDC4;
|
|
}
|
|
|
|
QListView {
|
|
background-color: transparent;
|
|
color: #AFBDC4;
|
|
outline: 0;
|
|
border: 0px solid transparent;
|
|
}
|
|
QListView::item:hover {
|
|
color: #FFFFFF;
|
|
background: transparent;
|
|
}
|
|
|
|
QListView::item:selected {
|
|
color: #4545e5;
|
|
background: transparent;
|
|
}
|
|
|
|
QListView::item:disabled {
|
|
color: #546E7A;
|
|
background: transparent;
|
|
}
|
|
|
|
QListView::item:disabled:selected {
|
|
color: #88cc00;
|
|
background: transparent;
|
|
}
|
|
|
|
/*************************************
|
|
Buttons
|
|
**************************************/
|
|
QPushButton {
|
|
background-color: transparent;
|
|
color: #AFBDC4;
|
|
border: 1px solid transparent;
|
|
padding: 4px 22px;
|
|
}
|
|
|
|
QPushButton:hover {
|
|
border: 2px dashed #4545e5;
|
|
border-radius: 13px;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
color:#546E7A;
|
|
}
|
|
|
|
QPushButton:checked {
|
|
color: #4545e5;
|
|
}
|
|
|
|
/*************************************
|
|
ComboBox
|
|
**************************************/
|
|
QComboBox {
|
|
border: 0px solid transparent;
|
|
border-radius: 2px;
|
|
padding: 1px 6px 1px 6px;
|
|
min-width: 2em;
|
|
}
|
|
|
|
QComboBox:!editable {
|
|
selection-background-color: transparent;
|
|
color: #AFBDC4;
|
|
selection-color: #FFFFFF;
|
|
background-color: transparent;
|
|
}
|
|
|
|
QComboBox:disabled {
|
|
color: #546E7A;
|
|
}
|
|
|
|
QComboBox:!editable:on, QComboBox::drop-down:editable:on {
|
|
color: #AFBDC4;
|
|
background-color: transparent;
|
|
selection-background-color: transparent;
|
|
}
|
|
|
|
QComboBox:on {
|
|
padding-top: 3px;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
QComboBox::drop-down {
|
|
background-color: transparent;
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
width: 20px;
|
|
border-top-right-radius: 2px;
|
|
border-bottom-right-radius: 2px;
|
|
}
|
|
|
|
QComboBox::down-arrow:enabled {
|
|
image: url("./themes/2-dark/icons/down-arrow.png");
|
|
}
|
|
|
|
QComboBox::down-arrow:disabled {
|
|
image: url("./themes/2-dark/icons/down-arrow_off.png");
|
|
}
|
|
|
|
QComboBox::down-arrow:hover {
|
|
image: url("./themes/2-dark/icons/down-arrow_hover.png");
|
|
}
|
|
|
|
QComboBox::down-arrow:on {
|
|
top: 1px;
|
|
left: 1px;
|
|
}
|
|
|
|
QComboBox QAbstractItemView {
|
|
background-color: #232629;
|
|
}
|
|
|
|
/*************************************
|
|
RadioButton
|
|
**************************************/
|
|
QRadioButton{
|
|
color: #AFBDC4;
|
|
}
|
|
|
|
QRadioButton:disabled{
|
|
color: #546E7A;
|
|
}
|
|
|
|
QRadioButton::indicator{
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
|
|
QRadioButton::indicator::unchecked {
|
|
image: url("./themes/2-dark/icons/off.png");
|
|
}
|
|
|
|
QRadioButton::indicator:unchecked:hover {
|
|
image: url("./themes/2-dark/icons/off_press.png");
|
|
}
|
|
|
|
QRadioButton::indicator:unchecked:pressed {
|
|
image: url("./themes/2-dark/icons/off_press.png");
|
|
}
|
|
|
|
QRadioButton::indicator::checked {
|
|
image: url("./themes/2-dark/icons/on.png");
|
|
}
|
|
|
|
QRadioButton::indicator:checked:hover {
|
|
image: url("./themes/2-dark/icons/on_press.png");
|
|
}
|
|
|
|
QRadioButton::indicator:checked:pressed {
|
|
image: url("./themes/2-dark/icons/on_press.png");
|
|
}
|
|
|
|
/*************************************
|
|
SpinBox
|
|
**************************************/
|
|
QSpinBox {
|
|
background-color: transparent;
|
|
color: #AFBDC4;
|
|
border-width: 0px;
|
|
}
|
|
|
|
QSpinBox:disabled {
|
|
color: #546E7A;
|
|
border-width: 0px;
|
|
}
|
|
|
|
QSpinBox::up-button {
|
|
subcontrol-origin: border;
|
|
subcontrol-position: top right;
|
|
width: 16px;
|
|
image: url("./themes/2-dark/icons/up-arrow.png");
|
|
border-width: 0px;
|
|
}
|
|
|
|
QSpinBox::up-button:hover {
|
|
image: url("./themes/2-dark/icons/up-arrow_hover.png");
|
|
}
|
|
|
|
QSpinBox::up-button:pressed {
|
|
image: url("./themes/2-dark/icons/up-arrow.png");
|
|
}
|
|
|
|
QSpinBox::up-button:disabled {
|
|
image: url("./themes/2-dark/icons/up-arrow_off.png");
|
|
}
|
|
|
|
QSpinBox::down-button {
|
|
subcontrol-origin: border;
|
|
subcontrol-position: bottom right;
|
|
width: 16px;
|
|
image: url("./themes/2-dark/icons/down-arrow.png");
|
|
border-width: 0px;
|
|
border-top-width: 0;
|
|
}
|
|
|
|
QSpinBox::down-button:hover {
|
|
image: url("./themes/2-dark/icons/down-arrow_hover.png");
|
|
}
|
|
|
|
QSpinBox::down-button:pressed {
|
|
image: url("./themes/2-dark/icons/down-arrow.png");
|
|
}
|
|
|
|
QSpinBox::down-button:disabled {
|
|
image: url("./themes/2-dark/icons/down-arrow_off.png");
|
|
}
|
|
|
|
/*************************************
|
|
TreeViewMenu (Mode)
|
|
**************************************/
|
|
QTreeView {
|
|
background-color: transparent;
|
|
selection-background-color: transparent;
|
|
}
|
|
|
|
QTreeView::item {
|
|
background-color: transparent;
|
|
color: #AFBDC4;
|
|
}
|
|
|
|
QTreeView::item:hover {
|
|
border-right: 2px solid #4545e5;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
QTreeView::item:selected {
|
|
color: #4545e5;
|
|
}
|
|
|
|
QTreeView::item:active{
|
|
background: transparent;
|
|
}
|
|
|
|
QTreeView::item:disabled{
|
|
color: #546E7A;
|
|
}
|
|
|
|
QTreeView::item:selected:disabled{
|
|
color: #4545e5;
|
|
}
|