2015-02-16 07:01:56 -08:00
|
|
|
/* Intentionnally left blank */
|
|
|
|
/* Themes are created using Qt CSS, you can visit */
|
|
|
|
/* http://doc.qt.io/qt-5/stylesheet-reference.html and */
|
|
|
|
/* http://doc.qt.io/qt-5/stylesheet-examples.html for examples. */
|
|
|
|
|
|
|
|
/* OBS will use the theme filename for the settings. */
|
|
|
|
/* You can ship images using relative paths in qss. */
|
|
|
|
/* Dark Theme is a good place to start if you need */
|
|
|
|
/* a template. */
|
|
|
|
|
|
|
|
|
|
|
|
/* We need to set back the icons, or the preview wont stick. */
|
|
|
|
|
|
|
|
* [themeID="addIconSmall"] {
|
2019-04-20 07:09:19 -07:00
|
|
|
qproperty-icon: url(:/res/images/plus.svg);
|
2015-02-16 07:01:56 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="removeIconSmall"] {
|
2019-04-20 07:09:19 -07:00
|
|
|
qproperty-icon: url(:/res/images/minus.svg);
|
2015-02-16 07:01:56 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="propertiesIconSmall"] {
|
2019-04-20 07:09:19 -07:00
|
|
|
qproperty-icon: url(:/settings/images/settings/general.svg);
|
2015-02-16 07:01:56 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="configIconSmall"] {
|
2019-04-20 07:09:19 -07:00
|
|
|
qproperty-icon: url(:/settings/images/settings/general.svg);
|
2015-02-16 07:01:56 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="upArrowIconSmall"] {
|
2019-04-20 07:09:19 -07:00
|
|
|
qproperty-icon: url(:/res/images/up.svg);
|
2015-02-16 07:01:56 -08:00
|
|
|
}
|
|
|
|
|
2017-12-25 13:33:55 -08:00
|
|
|
* [themeID="refreshIconSmall"] {
|
2019-04-20 07:09:19 -07:00
|
|
|
qproperty-icon: url(:/res/images/refresh.svg);
|
2017-12-25 13:33:55 -08:00
|
|
|
}
|
|
|
|
|
2015-02-16 07:01:56 -08:00
|
|
|
* [themeID="downArrowIconSmall"] {
|
2019-04-20 07:09:19 -07:00
|
|
|
qproperty-icon: url(:/res/images/down.svg);
|
2015-02-16 07:01:56 -08:00
|
|
|
}
|
|
|
|
|
2019-07-07 15:47:29 -07:00
|
|
|
* [themeID="pauseIconSmall"] {
|
|
|
|
qproperty-icon: url(:/res/images/media-pause.svg);
|
|
|
|
}
|
|
|
|
|
2015-03-22 14:54:50 -07:00
|
|
|
MuteCheckBox {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
MuteCheckBox::indicator:checked {
|
2019-04-20 07:09:19 -07:00
|
|
|
image: url(:/res/images/mute.svg);
|
2015-03-22 14:54:50 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
MuteCheckBox::indicator:unchecked {
|
2019-04-20 07:09:19 -07:00
|
|
|
image: url(:/settings/images/settings/audio.svg);
|
2015-03-22 14:54:50 -07:00
|
|
|
}
|
|
|
|
|
2018-06-02 09:45:01 -07:00
|
|
|
SourceTreeSubItemCheckBox {
|
|
|
|
background: transparent;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
SourceTreeSubItemCheckBox::indicator {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
SourceTreeSubItemCheckBox::indicator:checked {
|
2019-04-20 07:09:19 -07:00
|
|
|
image: url(:/res/images/expand.svg);
|
2018-06-02 09:45:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
SourceTreeSubItemCheckBox::indicator:unchecked {
|
2019-04-20 07:09:19 -07:00
|
|
|
image: url(:/res/images/down.svg);
|
2018-06-02 09:45:01 -07:00
|
|
|
}
|
|
|
|
|
2014-11-01 13:44:01 -07:00
|
|
|
OBSHotkeyLabel[hotkeyPairHover=true] {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
2015-02-16 07:01:56 -08:00
|
|
|
|
|
|
|
/* Volume Control */
|
|
|
|
|
|
|
|
VolumeMeter {
|
2017-12-31 08:43:57 -08:00
|
|
|
qproperty-backgroundNominalColor: rgb(15, 100, 15);
|
|
|
|
qproperty-backgroundWarningColor: rgb(100, 100, 15);
|
|
|
|
qproperty-backgroundErrorColor: rgb(100, 15, 15);
|
|
|
|
qproperty-foregroundNominalColor: rgb(50, 200, 50);
|
|
|
|
qproperty-foregroundWarningColor: rgb(255, 200, 50);
|
|
|
|
qproperty-foregroundErrorColor: rgb(200, 50, 50);
|
|
|
|
qproperty-magnitudeColor: rgb(0, 0, 0);
|
|
|
|
qproperty-majorTickColor: rgb(0, 0, 0);
|
|
|
|
qproperty-minorTickColor: rgb(50, 50, 50);
|
2021-08-30 14:27:36 -07:00
|
|
|
qproperty-meterThickness: 3;
|
|
|
|
|
|
|
|
/* The meter scale numbers normally use your QWidget font, with size */
|
|
|
|
/* multiplied by meterFontScaling to get a proportionally smaller font. */
|
|
|
|
/* To use a unique font for the numbers, specify font-family and/or */
|
|
|
|
/* font-size here, and set meterFontScaling to 1.0. */
|
|
|
|
qproperty-meterFontScaling: 0.7;
|
2015-02-16 07:01:56 -08:00
|
|
|
}
|
2015-06-17 12:07:55 -07: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-05-13 00:35:28 -07: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, 128, 0);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-08-17 23:13:20 -07: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"] {
|
2018-09-13 17:43:02 -07:00
|
|
|
background-color: #DCD9D7;
|
2018-08-17 23:13:20 -07:00
|
|
|
}
|
2018-08-30 13:17:49 -07:00
|
|
|
|
|
|
|
/* Preview background color */
|
|
|
|
|
2019-01-23 07:05:48 -08:00
|
|
|
OBSQTDisplay {
|
|
|
|
qproperty-displayBackgroundColor: rgb(76, 76, 76);
|
2018-08-30 13:17:49 -07:00
|
|
|
}
|
2019-02-28 13:29:41 -08:00
|
|
|
|
|
|
|
/* Preview/Program labels */
|
|
|
|
|
|
|
|
* [themeID="previewProgramLabels"] {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: rgb(122,121,122);
|
|
|
|
}
|
2018-12-14 05:42:05 -08:00
|
|
|
|
|
|
|
/* Settings Icons */
|
|
|
|
|
|
|
|
OBSBasicSettings {
|
|
|
|
qproperty-generalIcon: url(:settings/images/settings/general.svg);
|
|
|
|
qproperty-streamIcon: url(:settings/images/settings/stream.svg);
|
|
|
|
qproperty-outputIcon: url(:settings/images/settings/output.svg);
|
|
|
|
qproperty-audioIcon: url(:settings/images/settings/audio.svg);
|
|
|
|
qproperty-videoIcon: url(:settings/images/settings/video.svg);
|
|
|
|
qproperty-hotkeysIcon: url(:settings/images/settings/hotkeys.svg);
|
|
|
|
qproperty-advancedIcon: url(:settings/images/settings/advanced.svg);
|
|
|
|
}
|
2019-04-20 07:09:19 -07:00
|
|
|
|
2021-07-19 00:34:51 -07:00
|
|
|
OBSBasicSettings QListView::item {
|
2019-05-31 18:33:16 -07:00
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2019-04-20 07:09:19 -07:00
|
|
|
/* Locked CheckBox */
|
|
|
|
|
|
|
|
LockedCheckBox {
|
|
|
|
outline: none;
|
2019-04-26 23:06:41 -07:00
|
|
|
background: transparent;
|
2019-04-20 07:09:19 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
LockedCheckBox::indicator:checked {
|
|
|
|
image: url(:res/images/locked.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
LockedCheckBox::indicator:unchecked {
|
|
|
|
image: url(:res/images/unlocked.svg);
|
|
|
|
}
|
|
|
|
|
docs/sphinx: Fix various typos
(This modifies UI, libobs, deps/obs-scripting, various cmake files)
Found using:
`codespell -q 3 -S *.ini,./UI/data/locale,./deps/w32-pthreads -L aci,dur,iff,mut,numer,uint`
2019-09-19 04:31:17 -07:00
|
|
|
/* Visibility CheckBox */
|
2019-04-20 07:09:19 -07:00
|
|
|
|
|
|
|
VisibilityCheckBox {
|
|
|
|
outline: none;
|
2019-04-26 23:06:41 -07:00
|
|
|
background: transparent;
|
2019-04-20 07:09:19 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
VisibilityCheckBox::indicator:checked {
|
|
|
|
image: url(:res/images/visible.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
VisibilityCheckBox::indicator:unchecked {
|
|
|
|
image: url(:res/images/invisible.svg);
|
|
|
|
}
|
2019-04-29 10:51:16 -07:00
|
|
|
|
|
|
|
* [themeID="trashIcon"] {
|
|
|
|
qproperty-icon: url(:res/images/trash.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="revertIcon"] {
|
|
|
|
qproperty-icon: url(:res/images/revert.svg);
|
|
|
|
}
|
2019-07-27 21:59:16 -07:00
|
|
|
|
2020-02-18 00:06:17 -08:00
|
|
|
OBSMissingFiles {
|
|
|
|
qproperty-warningIcon: url(:res/images/alert.svg);
|
|
|
|
}
|
|
|
|
|
2019-07-27 21:59:16 -07:00
|
|
|
/* Source Icons */
|
|
|
|
|
|
|
|
OBSBasic {
|
|
|
|
qproperty-imageIcon: url(:res/images/sources/image.svg);
|
|
|
|
qproperty-colorIcon: url(:res/images/sources/brush.svg);
|
|
|
|
qproperty-slideshowIcon: url(:res/images/sources/slideshow.svg);
|
|
|
|
qproperty-audioInputIcon: url(:res/images/sources/microphone.svg);
|
|
|
|
qproperty-audioOutputIcon: url(:settings/images/settings/audio.svg);
|
|
|
|
qproperty-desktopCapIcon: url(:settings/images/settings/video.svg);
|
|
|
|
qproperty-windowCapIcon: url(:res/images/sources/window.svg);
|
|
|
|
qproperty-gameCapIcon: url(:res/images/sources/gamepad.svg);
|
|
|
|
qproperty-cameraIcon: url(:res/images/sources/camera.svg);
|
|
|
|
qproperty-textIcon: url(:res/images/sources/text.svg);
|
|
|
|
qproperty-mediaIcon: url(:res/images/sources/media.svg);
|
|
|
|
qproperty-browserIcon: url(:res/images/sources/globe.svg);
|
|
|
|
qproperty-groupIcon: url(:res/images/sources/group.svg);
|
|
|
|
qproperty-sceneIcon: url(:res/images/sources/scene.svg);
|
|
|
|
qproperty-defaultIcon: url(:res/images/sources/default.svg);
|
|
|
|
}
|
|
|
|
|
2019-08-27 01:08:43 -07:00
|
|
|
/* Scene Tree */
|
|
|
|
|
|
|
|
SceneTree {
|
|
|
|
qproperty-gridItemWidth: 150;
|
|
|
|
qproperty-gridItemHeight: 24;
|
|
|
|
}
|
2019-12-12 17:07:26 -08:00
|
|
|
|
|
|
|
/* Save icon */
|
|
|
|
|
|
|
|
* [themeID="replayIconSmall"] {
|
|
|
|
qproperty-icon: url(:res/images/save.svg);
|
|
|
|
}
|
2019-12-27 16:41:10 -08:00
|
|
|
|
|
|
|
/* Studio Mode T-Bar */
|
|
|
|
|
|
|
|
QSlider[themeID="tBarSlider"] {
|
2020-02-23 21:25:27 -08:00
|
|
|
height: 24px;
|
2019-12-27 16:41:10 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::groove:horizontal[themeID="tBarSlider"] {
|
|
|
|
border: 1px solid #4c4c4c;
|
|
|
|
height: 5px;
|
|
|
|
background: #DCD9D7;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::sub-page:horizontal[themeID="tBarSlider"] {
|
|
|
|
background: #DCD9D7;
|
|
|
|
border: 1px solid #4c4c4c;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:horizontal[themeID="tBarSlider"] {
|
2020-02-23 21:25:27 -08:00
|
|
|
background-color: #4c4c4c;
|
|
|
|
width: 12px;
|
|
|
|
height: 24px;
|
|
|
|
margin: -24px 0px;
|
2019-12-27 16:41:10 -08:00
|
|
|
}
|
2018-08-23 18:43:44 -07:00
|
|
|
|
|
|
|
/* Source Context */
|
|
|
|
#contextContainer QPushButton[themeID2=contextBarButton] {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Media icons */
|
|
|
|
|
|
|
|
* [themeID="playIcon"] {
|
|
|
|
qproperty-icon: url(:res/images/media/media_play.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="pauseIcon"] {
|
|
|
|
qproperty-icon: url(:/res/images/media/media_pause.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="restartIcon"] {
|
|
|
|
qproperty-icon: url(:/res/images/media/media_restart.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="stopIcon"] {
|
|
|
|
qproperty-icon: url(:/res/images/media/media_stop.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="nextIcon"] {
|
|
|
|
qproperty-icon: url(:/res/images/media/media_next.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
* [themeID="previousIcon"] {
|
|
|
|
qproperty-icon: url(./Dark/media/media_previous.svg);
|
|
|
|
}
|
2021-08-19 18:55:37 -07:00
|
|
|
|
|
|
|
/* YouTube Integration */
|
2021-09-12 02:44:00 -07:00
|
|
|
OBSYoutubeActions {
|
|
|
|
qproperty-thumbPlaceholder: url(:res/images/sources/image.svg);
|
|
|
|
}
|
|
|
|
|
2021-08-19 18:55:37 -07:00
|
|
|
#ytEventList QLabel {
|
|
|
|
background-color: #e1e1e1;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ytEventList QLabel:hover {
|
|
|
|
background-color: #eee;
|
|
|
|
border: 1px solid #777;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ytEventList QLabel[isSelectedEvent=true] {
|
|
|
|
background-color: #ccc;
|
|
|
|
border: 1px solid #444;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Calendar Widget */
|
|
|
|
QCalendarWidget QToolButton {
|
|
|
|
padding: 0px 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#qt_calendar_monthbutton::menu-indicator {
|
|
|
|
image: url(./Dark/down.svg);
|
|
|
|
subcontrol-position: right;
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-right: 2px;
|
|
|
|
height: 8px;
|
|
|
|
width: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#qt_calendar_monthbutton::menu-indicator:hover {
|
|
|
|
image: url(:/res/images/down.svg);
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCalendarWidget #qt_calendar_prevmonth {
|
|
|
|
padding: 2px;
|
|
|
|
qproperty-icon: url(./Dark/left.svg);
|
|
|
|
icon-size: 16px, 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCalendarWidget #qt_calendar_nextmonth {
|
|
|
|
padding: 2px;
|
|
|
|
qproperty-icon: url(./Dark/expand.svg);
|
|
|
|
icon-size: 16px, 16px;
|
|
|
|
}
|