2016-02-23 23:16:51 +00:00
|
|
|
/******************************************************************************/
|
|
|
|
/* Copyright (C) 2014-2015 by Philippe Groarke <philippe.groarke@gmail.com> */
|
|
|
|
/* */
|
|
|
|
/* */
|
|
|
|
/* This program is free software: you can redistribute it and/or modify */
|
|
|
|
/* it under the terms of the GNU General Public License as published by */
|
|
|
|
/* the Free Software Foundation, either version 2 of the License, or */
|
|
|
|
/* (at your option) any later version. */
|
|
|
|
/* */
|
|
|
|
/* This program is distributed in the hope that it will be useful, */
|
|
|
|
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
|
|
|
|
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
|
|
|
|
/* GNU General Public License for more details. */
|
|
|
|
/* */
|
|
|
|
/* You should have received a copy of the GNU General Public License */
|
|
|
|
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
/******************************************************************************/
|
|
|
|
|
|
|
|
/* Colors */
|
|
|
|
|
|
|
|
/* rgb(225,224,225); /* veryLight */
|
|
|
|
/* rgb(200,199,200); /* lighter */
|
|
|
|
/* rgb(122,121,122); /* light */
|
|
|
|
/* rgb(88,87,88); /* kindaDark */
|
|
|
|
/* rgb(58,57,58); /* dark */
|
|
|
|
/* rgb(31,30,31); /* veryDark */
|
|
|
|
/* rgb(11,10,11); /* veryVeryDark */
|
|
|
|
/* rgb(42,130,218); /* blue */
|
|
|
|
|
|
|
|
|
2018-12-16 16:14:58 +00:00
|
|
|
/* Custom theme information. This will set the application's QPalette, as
|
|
|
|
* well as pass to QML via the OBSTheme object.
|
|
|
|
* Can also use OBSTheme::disabled, OBSTheme::active, and OBSTheme::inactive.
|
|
|
|
* Using it without will set all three (making 'active' a bit redundant) */
|
|
|
|
OBSTheme {
|
|
|
|
window: rgb(58,57,58); /* dark */
|
|
|
|
windowText: rgb(225,224,225); /* veryLight */
|
|
|
|
base: rgb(31,30,31); /* veryDark */
|
|
|
|
alternateBase: rgb(11,10,11); /* veryVeryDark */
|
|
|
|
text: rgb(225,224,225); /* veryLight */
|
|
|
|
button: rgb(88,87,88); /* kindaDark */
|
|
|
|
buttonText: rgb(225,224,225); /* veryLight */
|
|
|
|
brightText: rgb(200,199,200); /* lighter */
|
|
|
|
|
|
|
|
light: rgb(88,87,88); /* kindaDark */
|
|
|
|
mid: rgb(58,57,58); /* dark */
|
|
|
|
dark: rgb(31,30,31); /* veryDark */
|
|
|
|
shadow: rgb(11,10,11); /* veryVeryDark */
|
|
|
|
|
|
|
|
highlight: rgb(42,130,218); /* blue */
|
|
|
|
highlightText: rgb(0,0,0);
|
|
|
|
|
|
|
|
link: rgb(114, 162, 255); /* OBS blue */
|
|
|
|
linkVisited: rgb(114, 162, 255); /* OBS blue */
|
|
|
|
}
|
|
|
|
|
|
|
|
OBSTheme::disabled {
|
|
|
|
text: rgb(122,121,122); /* light */
|
|
|
|
buttonText: rgb(122,121,122); /* light */
|
|
|
|
brightText: rgb(122,121,122); /* light */
|
|
|
|
}
|
|
|
|
|
|
|
|
OBSTheme::inactive {
|
|
|
|
highlight: rgb(48,47,48);
|
|
|
|
highlightText: rgb(255, 255, 255);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-02-23 23:16:51 +00:00
|
|
|
/* General style, we override only what is needed. */
|
|
|
|
QWidget {
|
|
|
|
background-color: rgb(58,57,58); /* dark */
|
|
|
|
alternate-background-color: rgb(31,30,31); /* veryDark */
|
|
|
|
color: rgb(225,224,225); /* veryLight */
|
|
|
|
selection-background-color: rgb(42,130,218); /* blue */
|
|
|
|
selection-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
* [frameShape="1"], * [frameShape="2"], * [frameShape="3"], * [frameShape="4"], * [frameShape="5"], * [frameShape="6"] {
|
|
|
|
border: 1px solid rgb(31,30,31);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Misc */
|
|
|
|
|
|
|
|
QWidget::disabled {
|
|
|
|
color: 2px solid rgb(200,199,200); /* lighter */
|
|
|
|
}
|
|
|
|
|
2019-07-27 12:47:10 +00:00
|
|
|
QAbstractItemView, QStackedWidget#stackedMixerArea QWidget {
|
2016-02-23 23:16:51 +00:00
|
|
|
background-color: rgb(31,30,31); /* veryDark */
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolTip {
|
|
|
|
background-color: rgb(31,30,31); /* veryDark */
|
|
|
|
color: rgb(205,205,205);
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item {
|
|
|
|
background-color: rgb(58,57,58); /* dark */
|
|
|
|
}
|
|
|
|
|
2019-07-27 12:47:10 +00:00
|
|
|
QListWidget::item:selected:!active,
|
|
|
|
SourceTree::item:selected:!active {
|
2016-02-23 23:16:51 +00:00
|
|
|
color: rgb(255, 255, 255);
|
|
|
|
background-color: rgb(48,47,48);
|
|
|
|
}
|
|
|
|
|
2019-07-27 12:47:10 +00:00
|
|
|
QListWidget QLineEdit,
|
|
|
|
SourceTree QLineEdit {
|
|
|
|
padding-top: 0px;
|
|
|
|
padding-bottom: 0px;
|
|
|
|
padding-right: 0;
|
|
|
|
padding-left: 2px;
|
|
|
|
border: none;
|
|
|
|
border-radius: none;
|
|
|
|
}
|
|
|
|
|
2018-02-19 19:54:37 +00:00
|
|
|
/* Dock Widget */
|
|
|
|
|
|
|
|
QDockWidget::title {
|
|
|
|
text-align: center;
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(70,69,70);
|
2018-02-19 19:54:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QDockWidget::close-button, QDockWidget::float-button {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
background: transparent;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QDockWidget::close-button:hover, QDockWidget::float-button:hover {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QDockWidget::close-button:pressed, QDockWidget::float-button:pressed {
|
|
|
|
padding: 1px -1px -1px 1px;
|
|
|
|
}
|
2016-02-23 23:16:51 +00:00
|
|
|
|
|
|
|
/* Group Box */
|
|
|
|
|
|
|
|
QGroupBox {
|
|
|
|
border: 1px solid rgb(31,30,31); /* veryDark */;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ScrollBars */
|
|
|
|
|
|
|
|
::corner {
|
|
|
|
background-color: rgb(58,57,58); /* dark */
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:vertical {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(58,57,58);
|
2016-02-23 23:16:51 +00:00
|
|
|
width: 14px;
|
2019-07-27 12:47:10 +00:00
|
|
|
margin: 0px;
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
min-height: 20px;
|
|
|
|
margin: 2px;
|
|
|
|
border-radius: 5px;
|
|
|
|
border-width: 1px;
|
2019-07-27 12:47:10 +00:00
|
|
|
border: 1px solid rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
2019-07-27 12:47:10 +00:00
|
|
|
height: 0px;
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical, QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
color: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:horizontal {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(58,57,58); /* dark */
|
2016-02-23 23:16:51 +00:00
|
|
|
height: 14px;
|
2019-07-27 12:47:10 +00:00
|
|
|
margin: 0px;
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
min-width: 20px;
|
|
|
|
margin: 2px;
|
|
|
|
border-radius: 5px;
|
|
|
|
border-width: 1px;
|
2019-07-27 12:47:10 +00:00
|
|
|
border: 1px solid rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
2019-07-27 12:47:10 +00:00
|
|
|
width: 0px;
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::left-arrow:horizontal, QScrollBar::right-arrow:horizontal, QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
color: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Scenes and Sources toolbar */
|
|
|
|
|
|
|
|
QToolBar {
|
|
|
|
background-color: rgb(58,57,58); /* dark */
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton:hover {
|
|
|
|
background-color: rgb(122,121,122); /* light */
|
|
|
|
border-radius: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton:pressed {
|
|
|
|
background-color: rgb(31,30,31); /* veryDark */
|
|
|
|
border-radius: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="addIconSmall"] {
|
2019-07-27 12:47:10 +00:00
|
|
|
qproperty-icon: url(./Dark/plus.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="removeIconSmall"] {
|
2019-07-27 12:47:10 +00:00
|
|
|
qproperty-icon: url(./Dark/minus.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="propertiesIconSmall"] {
|
2019-07-27 12:47:10 +00:00
|
|
|
qproperty-icon: url(./Dark/settings/general.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="configIconSmall"] {
|
2019-07-27 12:47:10 +00:00
|
|
|
qproperty-icon: url(./Dark/settings/general.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
2018-02-19 19:54:37 +00:00
|
|
|
* [themeID="refreshIconSmall"] {
|
2019-07-27 12:47:10 +00:00
|
|
|
qproperty-icon: url(./Dark/refresh.svg);
|
2018-02-19 19:54:37 +00:00
|
|
|
}
|
|
|
|
|
2016-02-23 23:16:51 +00:00
|
|
|
* [themeID="upArrowIconSmall"] {
|
2019-07-27 12:47:10 +00:00
|
|
|
qproperty-icon: url(./Dark/up.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="downArrowIconSmall"] {
|
2019-07-27 12:47:10 +00:00
|
|
|
qproperty-icon: url(./Dark/down.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Tab Widget */
|
|
|
|
|
|
|
|
QTabWidget::pane { /* The tab widget frame */
|
|
|
|
border-top: 1px solid rgb(31,30,31); /* veryDark */
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabWidget::tab-bar {
|
2019-07-27 12:47:10 +00:00
|
|
|
alignment: left;
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
border: none;
|
2018-02-19 19:54:37 +00:00
|
|
|
padding: 5px;
|
|
|
|
min-width: 50px;
|
|
|
|
margin: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:top {
|
|
|
|
border-bottom: 1px transparent;
|
2019-07-27 12:47:10 +00:00
|
|
|
border-top-left-radius: 3px;
|
|
|
|
border-top-right-radius: 3px;
|
2018-02-19 19:54:37 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:bottom {
|
|
|
|
padding-top: 1px;
|
|
|
|
margin-bottom: 4px;
|
2019-07-27 12:47:10 +00:00
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
2018-02-19 19:54:37 +00:00
|
|
|
height: 14px;
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:selected {
|
|
|
|
background-color: rgb(31,30,31); /* veryDark */
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:hover {
|
|
|
|
background-color: rgb(122,121,122); /* light */
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:pressed {
|
|
|
|
background-color: rgb(31,30,31); /* veryDark */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ComboBox */
|
|
|
|
|
|
|
|
QComboBox {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
border-style: solid;
|
|
|
|
border: 1px;
|
|
|
|
border-radius: 3px;
|
2019-07-27 12:47:10 +00:00
|
|
|
border-color: rgb(76,76,76); /* veryDark */
|
2016-02-23 23:16:51 +00:00
|
|
|
padding: 2px;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
2019-07-27 12:47:10 +00:00
|
|
|
QComboBox:hover {
|
|
|
|
background-color: rgb(88,87,88);
|
|
|
|
}
|
|
|
|
|
2016-02-23 23:16:51 +00:00
|
|
|
QComboBox::drop-down {
|
|
|
|
border:none;
|
|
|
|
border-left: 1px solid rgba(31,30,31,155); /* veryDark */
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::down-arrow {
|
|
|
|
qproperty-alignment: AlignTop;
|
2019-07-27 12:47:10 +00:00
|
|
|
image: url(./Dark/updown.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox:on {
|
|
|
|
background-color: rgb(31,30,31); /* veryDark */
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox:editable {
|
|
|
|
border-top-left-radius: 0px;
|
|
|
|
border-bottom-left-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::drop-down:editable {
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::down-arrow:editable {
|
|
|
|
qproperty-alignment: AlignTop;
|
2019-07-27 12:47:10 +00:00
|
|
|
image: url(./Dark/down.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
width: 8%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Textedits etc */
|
|
|
|
|
|
|
|
QLineEdit, QTextEdit, QPlainTextEdit {
|
|
|
|
background-color: rgb(31,30,31); /* veryDark */
|
|
|
|
border: none;
|
2019-07-27 12:47:10 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
padding: 2px 2px 3px 7px;
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Spinbox and doubleSpinbox */
|
|
|
|
|
|
|
|
QSpinBox, QDoubleSpinBox {
|
|
|
|
background-color: rgb(31,30,31); /* veryDark */
|
|
|
|
border: none;
|
2019-07-27 12:47:10 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
margin: 0px 3px 0px 0px;
|
|
|
|
padding: 2px 2px 3px 7px;
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::up-button, QDoubleSpinBox::up-button {
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
subcontrol-position: top right; /* position at the top right corner */
|
|
|
|
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
border: 1px solid rgb(31,30,31); /* veryDark */
|
|
|
|
border-radius: 3px;
|
|
|
|
border-width: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::down-button, QDoubleSpinBox::down-button {
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
subcontrol-position: bottom right; /* position at the top right corner */
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
border: 1px solid rgb(31,30,31); /* veryDark */
|
|
|
|
border-radius: 3px;
|
|
|
|
border-width: 0;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-top-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::up-button:hover, QSpinBox::down-button:hover, QDoubleSpinBox::up-button:hover, QDoubleSpinBox::down-button:hover {
|
|
|
|
background-color: rgb(122,121,122); /* light */
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::up-button:pressed, QSpinBox::down-button:pressed, QDoubleSpinBox::up-button:pressed, QDoubleSpinBox::down-button:pressed {
|
|
|
|
background-color: rgb(58,57,58); /* dark */
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::up-button:disabled, QSpinBox::up-button:off, QSpinBox::down-button:disabled, QSpinBox::down-button:off {
|
|
|
|
background-color: rgb(58,57,58); /* dark */
|
|
|
|
}
|
|
|
|
|
|
|
|
QDoubleSpinBox::up-button:disabled, QDoubleSpinBox::up-button:off, QDoubleSpinBox::down-button:disabled, QDoubleSpinBox::down-button:off {
|
|
|
|
background-color: rgb(58,57,58); /* dark */
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
|
2019-07-27 12:47:10 +00:00
|
|
|
image: url(./Dark/up.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
|
2019-07-27 12:47:10 +00:00
|
|
|
image: url(./Dark/down.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Buttons */
|
|
|
|
|
|
|
|
QPushButton {
|
|
|
|
color: rgb(225,224,225); /* veryLight */
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
border: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 4px;
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton::flat {
|
|
|
|
background-color: rgb(58,57,58); /* dark */
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:hover {
|
|
|
|
background-color: rgb(122,121,122); /* light */
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:pressed {
|
|
|
|
background-color: rgb(31,30,31); /* veryDark */
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:checked {
|
|
|
|
background-color: rgb(122,121,122); /* light */
|
|
|
|
}
|
|
|
|
|
2018-02-19 19:54:37 +00:00
|
|
|
QPushButton::menu-indicator {
|
2019-07-27 12:47:10 +00:00
|
|
|
image: url(./Dark/down.svg);
|
2018-02-19 19:54:37 +00:00
|
|
|
subcontrol-position: right;
|
|
|
|
subcontrol-origin: padding;
|
|
|
|
width: 25px;
|
|
|
|
}
|
2016-02-23 23:16:51 +00:00
|
|
|
|
|
|
|
/* Sliders */
|
|
|
|
|
|
|
|
QSlider::groove:horizontal {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
height: 4px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:horizontal {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: #d2d2d2;
|
|
|
|
border: 1px solid rgb(58,57,58);
|
2016-02-23 23:16:51 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
height: 10px;
|
|
|
|
width: 18px;
|
|
|
|
margin: -3px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:horizontal:pressed {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: #d2d2d2;
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
2018-12-16 16:14:58 +00:00
|
|
|
QSlider::sub-page:horizontal {
|
|
|
|
background-color: rgb(42,130,218); /* blue */
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
2016-02-23 23:16:51 +00:00
|
|
|
QSlider::sub-page:horizontal:disabled {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(50, 49, 50); /* dark */
|
2016-02-23 23:16:51 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::groove:vertical {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(76,76,76);
|
2016-02-23 23:16:51 +00:00
|
|
|
width: 4px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:vertical {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: #d2d2d2;
|
|
|
|
border: 1px solid rgb(58,57,58);
|
2018-12-16 16:14:58 +00:00
|
|
|
border-radius: 3px;
|
2016-02-23 23:16:51 +00:00
|
|
|
width: 10px;
|
|
|
|
height: 18px;
|
2018-12-16 16:14:58 +00:00
|
|
|
margin: 0 -3px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:vertical:pressed {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: #d2d2d2;
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
2018-12-16 16:14:58 +00:00
|
|
|
QSlider::add-page:vertical {
|
|
|
|
background-color: rgb(42,130,218); /* blue */
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::add-page:vertical:disabled {
|
2019-07-27 12:47:10 +00:00
|
|
|
background-color: rgb(50, 49, 50); /* dark */
|
2016-02-23 23:16:51 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:hover {
|
|
|
|
background-color: rgb(200,199,200); /* veryLight */
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:disabled {
|
|
|
|
background-color: rgb(122,121,122); /* light */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Volume Control */
|
|
|
|
|
|
|
|
VolumeMeter {
|
2018-02-19 19:54:37 +00:00
|
|
|
qproperty-backgroundNominalColor: rgb(38, 127, 38);
|
|
|
|
qproperty-backgroundWarningColor: rgb(127, 127, 38);
|
|
|
|
qproperty-backgroundErrorColor: rgb(127, 38, 38);
|
|
|
|
qproperty-foregroundNominalColor: rgb(76, 255, 76);
|
|
|
|
qproperty-foregroundWarningColor: rgb(255, 255, 76);
|
|
|
|
qproperty-foregroundErrorColor: rgb(255, 76, 76);
|
|
|
|
qproperty-magnitudeColor: rgb(0, 0, 0);
|
|
|
|
qproperty-majorTickColor: rgb(225,224,225); /* veryLight */
|
|
|
|
qproperty-minorTickColor: rgb(122,121,122); /* light */
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Status Bar */
|
|
|
|
|
|
|
|
QStatusBar::item {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2019-07-27 12:47:10 +00:00
|
|
|
/* Table View */
|
|
|
|
|
|
|
|
QTableView {
|
|
|
|
gridline-color: rgb(88,87,88); /* kindaDark */
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section {
|
|
|
|
background-color: rgb(58,57,58); /* dark */
|
|
|
|
color: rgb(225,224,225); /* veryLight */
|
|
|
|
border: 1px solid rgb(31,30,31); /* veryDark */;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
2016-02-23 23:16:51 +00:00
|
|
|
|
|
|
|
/* Mute CheckBox */
|
|
|
|
|
|
|
|
MuteCheckBox {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
MuteCheckBox::indicator:checked {
|
2019-07-27 12:47:10 +00:00
|
|
|
image: url(./Dark/mute.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
MuteCheckBox::indicator:unchecked {
|
2019-07-27 12:47:10 +00:00
|
|
|
image: url(./Dark/settings/audio.svg);
|
2016-02-23 23:16:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
OBSHotkeyLabel[hotkeyPairHover=true] {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
2018-12-16 16:14:58 +00:00
|
|
|
/* Group Collapse Checkbox */
|
|
|
|
|
|
|
|
SourceTreeSubItemCheckBox {
|
|
|
|
background: transparent;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
SourceTreeSubItemCheckBox::indicator {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
SourceTreeSubItemCheckBox::indicator:checked {
|
2019-07-27 12:47:10 +00:00
|
|
|
image: url(./Dark/expand.svg);
|
2018-12-16 16:14:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
SourceTreeSubItemCheckBox::indicator:unchecked {
|
2019-07-27 12:47:10 +00:00
|
|
|
image: url(./Dark/down.svg);
|
2018-12-16 16:14:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-02-23 23:16:51 +00:00
|
|
|
/* Label warning/error */
|
|
|
|
|
|
|
|
QLabel#warningLabel {
|
|
|
|
color: rgb(192, 128, 0);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLabel#errorLabel {
|
|
|
|
color: rgb(192, 0, 0);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2017-06-29 19:01:10 +00:00
|
|
|
|
|
|
|
* [themeID="warning"] {
|
|
|
|
color: rgb(192, 128, 0);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="error"] {
|
|
|
|
color: rgb(192, 0, 0);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="good"] {
|
|
|
|
color: rgb(0, 192, 0);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-07-27 12:47:10 +00:00
|
|
|
|
|
|
|
/* About dialog */
|
|
|
|
|
|
|
|
* [themeID="aboutName"] {
|
|
|
|
font-size: 36px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="aboutVersion"] {
|
|
|
|
font-size: 16px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="aboutInfo"] {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="aboutHLayout"] {
|
|
|
|
background-color: rgb(31, 30, 31); /* veryDark */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Preview background color */
|
|
|
|
|
|
|
|
OBSQTDisplay {
|
|
|
|
qproperty-displayBackgroundColor: rgb(76, 76, 76);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Preview/Program labels */
|
|
|
|
|
|
|
|
* [themeID="previewProgramLabels"] {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: rgb(122,121,122);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Settings Icons */
|
|
|
|
|
|
|
|
OBSBasicSettings {
|
|
|
|
qproperty-generalIcon: url(./Dark/settings/general.svg);
|
|
|
|
qproperty-streamIcon: url(./Dark/settings/stream.svg);
|
|
|
|
qproperty-outputIcon: url(./Dark/settings/output.svg);
|
|
|
|
qproperty-audioIcon: url(./Dark/settings/audio.svg);
|
|
|
|
qproperty-videoIcon: url(./Dark/settings/video.svg);
|
|
|
|
qproperty-hotkeysIcon: url(./Dark/settings/hotkeys.svg);
|
|
|
|
qproperty-advancedIcon: url(./Dark/settings/advanced.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
OBSBasicSettings QListWidget::item {
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Locked CheckBox */
|
|
|
|
|
|
|
|
LockedCheckBox {
|
|
|
|
outline: none;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
LockedCheckBox::indicator:checked {
|
|
|
|
image: url(./Dark/locked.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
LockedCheckBox::indicator:unchecked {
|
|
|
|
image: url(:res/images/unlocked.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Visibilty CheckBox */
|
|
|
|
|
|
|
|
VisibilityCheckBox {
|
|
|
|
outline: none;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
VisibilityCheckBox::indicator:checked {
|
|
|
|
image: url(./Dark/visible.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
VisibilityCheckBox::indicator:unchecked {
|
|
|
|
image: url(:res/images/invisible.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="trashIcon"] {
|
|
|
|
qproperty-icon: url(./Dark/trash.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="revertIcon"] {
|
|
|
|
qproperty-icon: url(./Dark/revert.svg);
|
|
|
|
}
|