nixos/home/games/obs/themes/Catppuccin Macchiato (compact).qss

1055 lines
24 KiB
Plaintext
Raw Normal View History

2023-12-18 08:15:18 +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(244, 219, 214); /* Rosewater */
/* rgb(240, 198, 198); /* Flamingo */
/* rgb(237, 135, 150); /* Red */
/* rgb(238, 153, 160); /* Maroon */
/* rgb(245, 169, 127); /* Peach */
/* rgb(166, 218, 149); /* Green */
/* rgb(138, 173, 244); /* Blue */
/* rgb(202, 211, 245); /* Text */
/* rgb(165, 173, 203); /* Subtext0 */
/* rgb(128, 135, 162); /* Overlay1 */
/* rgb(110, 115, 141); /* Overlay0 */
/* rgb(73, 77, 100); /* Surface1 */
/* rgb(54, 58, 79); /* Surface0 */
/* rgb(36, 39, 58); /* Base */
/* rgb(30, 32, 48); /* Mantle */
/* rgb(24, 25, 38); /* Crust */
OBSThemeMeta {
dark: 'true';
author: 'Catppuccin';
}
/* 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(36, 39, 58);
windowText: rgb(165, 173, 203);
base: rgb(30, 32, 48);
alternateBase: rgb(24, 25, 38);
text: rgb(202, 211, 245);
button: rgb(54, 58, 79);
buttonText: rgb(165, 173, 203);
brightText: rgb(165, 173, 203);
light: rgb(54, 58, 79);
mid: rgb(36, 39, 58);
dark: rgb(30, 32, 48);
shadow: rgb(24, 25, 38);
highlight: rgb(138, 173, 244);
highlightedText: rgb(165, 173, 203);
link: rgb(244, 219, 214);
linkVisited: rgb(240, 198, 198);
}
OBSTheme::disabled {
text: rgb(128, 135, 162);
buttonText: rgb(128, 135, 162);
brightText: rgb(30, 32, 48);
}
OBSTheme::inactive {
highlight: rgb(24, 25, 38);
highlightedText: rgb(202, 211, 245);
}
/* General style, we override only what is needed. */
QWidget {
background-color: palette(window);
alternate-background-color: palette(base);
color: palette(text);
selection-background-color: rgb(73, 77, 100);
selection-color: palette(text);
}
* [frameShape="1"], * [frameShape="2"], * [frameShape="3"], * [frameShape="4"], * [frameShape="5"], * [frameShape="6"] {
border: 1px solid palette(base);
}
/* Misc */
QWidget::disabled {
color: 2px solid palette(bright-text);
}
QAbstractItemView, QStackedWidget#stackedMixerArea QWidget {
background-color: palette(base);
}
QToolTip {
background-color: palette(base);
color: palette(text);
border: none;
}
QMenuBar::item {
background-color: palette(window);
}
QListView::item:selected:!active,
SourceTree::item:selected:!active {
color: palette(text);
background-color: rgb(73, 77, 100);
}
QListView QLineEdit,
SourceTree QLineEdit {
padding-top: 0px;
padding-bottom: 0px;
padding-right: 0;
padding-left: 2px;
border: none;
border-radius: none;
}
/* macOS Separator Fix */
QMainWindow::separator {
background: transparent;
width: 4px;
height: 4px;
}
/* Dock Widget */
QDockWidget {
titlebar-close-icon: url('./Catppuccin/Dark/close.svg');
titlebar-normal-icon: url('./Catppuccin/Dark/popout.svg');
}
QDockWidget::title {
text-align: center;
background-color: palette(base);
}
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;
}
/* Group Box */
QGroupBox {
border: 1px solid palette(base);
border-radius: 5px;
padding-top: 24px;
font-weight: bold;
}
QGroupBox::title {
subcontrol-origin: margin;
left: 4px;
top: 4px;
}
/* ScrollBars */
::corner {
background-color: palette(window);
border: none;
}
QScrollBar:vertical {
background-color: palette(window);
width: 14px;
margin: 0px;
}
QScrollBar::handle:vertical {
background-color: palette(light);
min-height: 20px;
margin: 2px;
border-radius: 5px;
border-width: 1px;
border: 1px solid palette(light);
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
border: none;
background: none;
height: 0px;
}
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical, QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
border: none;
background: none;
color: none;
}
QScrollBar:horizontal {
background-color: palette(window);
height: 14px;
margin: 0px;
}
QScrollBar::handle:horizontal {
background-color: palette(light);
min-width: 20px;
margin: 2px;
border-radius: 5px;
border-width: 1px;
border: 1px solid palette(light);
}
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
border: none;
background: none;
width: 0px;
}
QScrollBar::left-arrow:horizontal, QScrollBar::right-arrow:horizontal, QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
border: none;
background: none;
color: none;
}
/* Source Context */
#contextContainer QPushButton {
padding: 4px 10px;
}
#contextContainer QPushButton[themeID2=contextBarButton] {
padding: 4px 6px;
}
#contextContainer QPushButton#sourcePropertiesButton {
qproperty-icon: url(./Catppuccin/Dark/settings/general.svg);
}
#contextContainer QPushButton#sourceFiltersButton {
qproperty-icon: url(./Catppuccin/Dark/filter.svg);
}
#contextContainer QPushButton#sourceInteractButton {
qproperty-icon: url(./Catppuccin/Dark/interact.svg);
}
/* Scenes and Sources toolbar */
QToolBar {
background-color: palette(window);
border: none;
}
QPushButton[toolButton="true"],
QToolButton {
background: transparent;
border: none;
padding: 1px;
margin: 1px;
}
QPushButton[toolButton="true"]:last-child,
QToolButton:last-child {
margin-right: 0px;
}
QPushButton[toolButton="true"]:hover,
QToolButton:hover {
background-color: rgb(73, 77, 100); /* Surface1 */
border-radius: none;
}
QPushButton[toolButton="true"]:pressed,
QToolButton:pressed {
background-color: palette(shadow);
border-radius: none;
}
* [themeID="addIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/plus.svg);
}
* [themeID="removeIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/minus.svg);
}
* [themeID="clearIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/entry-clear.svg);
}
* [themeID="propertiesIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/settings/general.svg);
}
* [themeID="configIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/settings/general.svg);
}
* [themeID="refreshIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/refresh.svg);
}
* [themeID="upArrowIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/up.svg);
}
* [themeID="downArrowIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/down.svg);
}
* [themeID="pauseIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/media-pause.svg);
}
* [themeID="menuIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/dots-vert.svg);
}
* [themeID="cogsIcon"] {
qproperty-icon: url(./Catppuccin/Dark/cogs.svg);
}
/* Tab Widget */
QTabWidget::pane { /* The tab widget frame */
border-top: 1px solid palette(base); /* Mantle */
}
QTabWidget::tab-bar {
alignment: left;
}
QTabBar::tab {
background-color: palette(light);
border: none;
padding: 5px;
min-width: 50px;
margin: 1px;
}
QTabBar::tab:top {
border-bottom: 1px transparent;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
QTabBar::tab:bottom {
padding-top: 1px;
margin-bottom: 4px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
height: 14px;
}
QTabBar::tab:selected {
background-color: palette(base);
}
QTabBar::tab:hover {
background-color: rgb(73, 77, 100); /* Surface1 */
}
QTabBar::tab:pressed {
background-color: palette(base);
}
/* ComboBox */
QDateTimeEdit,
QComboBox {
background-color: palette(light);
border-style: solid;
border: 1px;
border-radius: 3px;
border-color: rgb(30, 32, 48); /* Mantle */
padding: 2px;
padding-left: 10px;
}
QDateTimeEdit:hover,
QComboBox:hover {
background-color: palette(button);
}
QDateTimeEdit::drop-down,
QComboBox::drop-down {
border:none;
border-left: 1px solid rgba(24, 24, 37,155); /* Mantle */
width: 20px;
}
QDateTimeEdit::down-arrow,
QComboBox::down-arrow {
qproperty-alignment: AlignTop;
image: url(./Catppuccin/Dark/updown.svg);
width: 100%;
}
QDateTimeEdit:on,
QComboBox:on {
background-color: palette(base);
}
QDateTimeEdit:editable,
QComboBox:editable {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
QDateTimeEdit::drop-down:editable,
QComboBox::drop-down:editable {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
QDateTimeEdit::down-arrow:editable,
QComboBox::down-arrow:editable {
qproperty-alignment: AlignTop;
image: url(./Catppuccin/Dark/down.svg);
width: 8%;
}
/* Textedits etc */
QLineEdit, QTextEdit, QPlainTextEdit {
background-color: palette(base);
border: none;
border-radius: 3px;
padding: 2px 2px 3px 7px;
}
/* Spinbox and doubleSpinbox */
QSpinBox, QDoubleSpinBox {
background-color: palette(base);
border: none;
border-radius: 3px;
margin: 0px 3px 0px 0px;
padding: 2px 2px 3px 7px;
}
QSpinBox::up-button, QDoubleSpinBox::up-button {
subcontrol-origin: margin;
subcontrol-position: top right; /* position at the top right corner */
background-color: palette(light);
border: 1px solid palette(base);
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 */
background-color: palette(light);
border: 1px solid palette(base);
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(73, 77, 100); /* Surface1 */
}
QSpinBox::up-button:pressed, QSpinBox::down-button:pressed, QDoubleSpinBox::up-button:pressed, QDoubleSpinBox::down-button:pressed {
background-color: palette(window);
}
QSpinBox::up-button:disabled, QSpinBox::up-button:off, QSpinBox::down-button:disabled, QSpinBox::down-button:off {
background-color: palette(window);
}
QDoubleSpinBox::up-button:disabled, QDoubleSpinBox::up-button:off, QDoubleSpinBox::down-button:disabled, QDoubleSpinBox::down-button:off {
background-color: palette(window);
}
QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
image: url(./Catppuccin/Dark/up.svg);
width: 100%;
}
QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
image: url(./Catppuccin/Dark/down.svg);
width: 100%;
}
/* Buttons */
QPushButton {
color: palette(text);
background-color: palette(light);
border: none;
border-radius: 3px;
padding: 4px;
padding-left: 20px;
padding-right: 20px;
}
QPushButton::flat {
background-color: palette(window);
}
QPushButton:checked {
background-color: palette(base);
}
QPushButton:hover {
background-color: rgb(73, 77, 100); /* Surface1 */
}
QPushButton:pressed {
background-color: palette(base);
}
QPushButton:disabled {
background-color: rgb(24, 25, 38);
}
QPushButton::menu-indicator {
image: url(./Catppuccin/Dark/down.svg);
subcontrol-position: right;
subcontrol-origin: padding;
width: 25px;
}
/* Sliders */
QSlider::groove:horizontal {
background-color: palette(light);
height: 4px;
border: none;
border-radius: 2px;
}
QSlider::handle:horizontal {
background-color: palette(text);
border: 1px solid palette(window);
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 {
background-color: palette(text);
}
QSlider::sub-page:horizontal {
background-color: palette(highlight);
border-radius: 2px;
}
QSlider::sub-page:horizontal:disabled {
background-color: palette(window); /* Base */
border-radius: 2px;
}
QSlider::groove:vertical {
background-color: palette(light);
width: 4px;
border: none;
border-radius: 2px;
}
QSlider::handle:vertical {
background-color: palette(text);
border: 1px solid palette(window);
border-radius: 3px;
width: 10px;
height: 18px;
margin: 0 -3px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
}
QSlider::handle:vertical:pressed {
background-color: palette(text);
}
QSlider::add-page:vertical {
background-color: palette(highlight);
border-radius: 2px;
}
QSlider::add-page:vertical:disabled {
background-color: palette(window); /* Base */
border-radius: 2px;
}
QSlider::handle:hover {
background-color: palette(bright-text);
}
QSlider::handle:disabled {
background-color: rgb(73, 77, 100); /* Surface1 */
}
/* Volume Control */
VolumeMeter {
qproperty-backgroundNominalColor: rgb(166, 218, 149);
qproperty-backgroundWarningColor: rgb(245, 169, 127);
qproperty-backgroundErrorColor: rgb(237, 135, 150);
qproperty-foregroundNominalColor: rgb(109, 194, 81);
qproperty-foregroundWarningColor: rgb(238, 111, 41);
qproperty-foregroundErrorColor: rgb(225, 54, 79);
qproperty-magnitudeColor: rgb(49, 50, 8);
qproperty-majorTickColor: rgb(202, 211, 245);
qproperty-minorTickColor: rgb(110, 115, 141);
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;
}
/* Status Bar */
QStatusBar::item {
border: none;
}
/* Table View */
QTableView {
gridline-color: palette(light);
}
QHeaderView::section {
background-color: palette(window);
color: palette(text);
border: 1px solid palette(base);
border-radius: 5px;
}
/* Mute CheckBox */
MuteCheckBox {
outline: none;
}
MuteCheckBox::indicator:checked {
image: url(./Catppuccin/Dark/mute.svg);
}
MuteCheckBox::indicator:unchecked {
image: url(./Catppuccin/Dark/settings/audio.svg);
}
OBSHotkeyLabel[hotkeyPairHover=true] {
color: rgb(138, 173, 244);
}
/* Group Collapse Checkbox */
SourceTreeSubItemCheckBox {
background: transparent;
outline: none;
}
SourceTreeSubItemCheckBox::indicator {
width: 10px;
height: 10px;
}
SourceTreeSubItemCheckBox::indicator:checked {
image: url(./Catppuccin/Dark/expand.svg);
}
SourceTreeSubItemCheckBox::indicator:unchecked {
image: url(./Catppuccin/Dark/collapse.svg);
}
/* Label warning/error */
QLabel#warningLabel {
color: rgb(245, 169, 127);
font-weight: bold;
}
QLabel#errorLabel {
color: rgb(238, 153, 160);
font-weight: bold;
}
* [themeID="warning"] {
color: rgb(245, 169, 127);
font-weight: bold;
}
* [themeID="error"] {
color: rgb(238, 153, 160);
font-weight: bold;
}
* [themeID="good"] {
color: rgb(166, 218, 149);
font-weight: bold;
}
/* 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: palette(base);
}
/* Preview background color */
OBSQTDisplay {
qproperty-displayBackgroundColor: palette(shadow);
}
/* Preview/Program labels */
* [themeID="previewProgramLabels"] {
font-size: 18px;
font-weight: bold;
color: rgb(165, 173, 203);
}
/* Settings Icons */
OBSBasicSettings {
qproperty-generalIcon: url(./Catppuccin/Dark/settings/general.svg);
qproperty-streamIcon: url(./Catppuccin/Dark/settings/stream.svg);
qproperty-outputIcon: url(./Catppuccin/Dark/settings/output.svg);
qproperty-audioIcon: url(./Catppuccin/Dark/settings/audio.svg);
qproperty-videoIcon: url(./Catppuccin/Dark/settings/video.svg);
qproperty-hotkeysIcon: url(./Catppuccin/Dark/settings/hotkeys.svg);
qproperty-accessibilityIcon: url(./Catppuccin/Dark/settings/accessibility.svg);
qproperty-advancedIcon: url(./Catppuccin/Dark/settings/advanced.svg);
}
OBSBasicSettings QListView::item {
padding-top: 5px;
padding-bottom: 5px;
}
/* Locked CheckBox */
LockedCheckBox {
outline: none;
background: transparent;
}
LockedCheckBox::indicator:checked {
image: url(./Catppuccin/Dark/locked.svg);
}
LockedCheckBox::indicator:unchecked {
image: url(:res/images/unlocked.svg);
}
/* Visibility CheckBox */
VisibilityCheckBox {
outline: none;
background: transparent;
}
VisibilityCheckBox::indicator:checked {
image: url(./Catppuccin/Dark/visible.svg);
}
VisibilityCheckBox::indicator:unchecked {
image: url(:res/images/invisible.svg);
}
* [themeID="revertIcon"] {
qproperty-icon: url(./Catppuccin/Dark/revert.svg);
}
QPushButton#extraPanelDelete {
background-color: palette(base);
}
QPushButton#extraPanelDelete:hover {
background-color: rgb(73, 77, 100);
}
QPushButton#extraPanelDelete:pressed {
background-color: palette(base);
}
OBSMissingFiles {
qproperty-warningIcon: url(./Catppuccin/Dark/alert.svg);
}
/* Source Icons */
OBSBasic {
qproperty-imageIcon: url(./Catppuccin/Dark/sources/image.svg);
qproperty-colorIcon: url(./Catppuccin/Dark/sources/brush.svg);
qproperty-slideshowIcon: url(./Catppuccin/Dark/sources/slideshow.svg);
qproperty-audioInputIcon: url(./Catppuccin/Dark/sources/microphone.svg);
qproperty-audioOutputIcon: url(./Catppuccin/Dark/settings/audio.svg);
qproperty-desktopCapIcon: url(./Catppuccin/Dark/settings/video.svg);
qproperty-windowCapIcon: url(./Catppuccin/Dark/sources/window.svg);
qproperty-gameCapIcon: url(./Catppuccin/Dark/sources/gamepad.svg);
qproperty-cameraIcon: url(./Catppuccin/Dark/sources/camera.svg);
qproperty-textIcon: url(./Catppuccin/Dark/sources/text.svg);
qproperty-mediaIcon: url(./Catppuccin/Dark/sources/media.svg);
qproperty-browserIcon: url(./Catppuccin/Dark/sources/globe.svg);
qproperty-groupIcon: url(./Catppuccin/Dark/sources/group.svg);
qproperty-sceneIcon: url(./Catppuccin/Dark/sources/scene.svg);
qproperty-defaultIcon: url(./Catppuccin/Dark/sources/default.svg);
qproperty-audioProcessOutputIcon: url(./Catppuccin/Dark/sources/windowaudio.svg);
}
/* Scene Tree */
SceneTree {
qproperty-gridItemWidth: 150;
qproperty-gridItemHeight: 27;
}
*[gridMode="true"] SceneTree::item {
color: palette(text);
background-color: palette(light);
border: none;
border-radius: 3px;
padding: 4px;
padding-left: 10px;
padding-right: 10px;
margin: 1px;
}
*[gridMode="true"] SceneTree::item:selected {
background-color: rgb(73, 77, 100); /* Surface1 */
}
*[gridMode="true"] SceneTree::item:hover {
background-color: rgb(73, 77, 100); /* Surface1 */
}
*[gridMode="true"] SceneTree::item:pressed {
background-color: palette(base);
}
*[gridMode="true"] SceneTree::item:checked {
background-color: rgb(73, 77, 100); /* Surface1 */
}
/* Save icon */
* [themeID="replayIconSmall"] {
qproperty-icon: url(./Catppuccin/Dark/save.svg);
}
/* Studio Mode T-Bar */
QSlider[themeID="tBarSlider"] {
height: 24px;
}
QSlider::groove:horizontal[themeID="tBarSlider"] {
border: 1px solid palette(light);
height: 5px;
background: palette(base);
}
QSlider::sub-page:horizontal[themeID="tBarSlider"] {
background: palette(base);;
border: 1px solid palette(light);
}
QSlider::handle:horizontal[themeID="tBarSlider"] {
background-color: palette(text);
width: 12px;
height: 24px;
margin: -24px 0px;
}
/* Media icons */
* [themeID="playIcon"] {
qproperty-icon: url(./Catppuccin/Dark/media/media_play.svg);
}
* [themeID="pauseIcon"] {
qproperty-icon: url(./Catppuccin/Dark/media/media_pause.svg);
}
* [themeID="restartIcon"] {
qproperty-icon: url(./Catppuccin/Dark/media/media_restart.svg);
}
* [themeID="stopIcon"] {
qproperty-icon: url(./Catppuccin/Dark/media/media_stop.svg);
}
* [themeID="nextIcon"] {
qproperty-icon: url(./Catppuccin/Dark/media/media_next.svg);
}
* [themeID="previousIcon"] {
qproperty-icon: url(./Catppuccin/Dark/media/media_previous.svg);
}
/* YouTube Integration */
OBSYoutubeActions {
qproperty-thumbPlaceholder: url(./Catppuccin/Dark/sources/image.svg);
}
#ytEventList QLabel {
color: rgb(165, 173, 203); /* Subtext0 */
background-color: palette(light);
border: none;
border-radius: 3px;
padding: 4px 20px;
}
#ytEventList QLabel:hover {
background: rgb(54, 58, 79);
}
#ytEventList QLabel[isSelectedEvent=true] {
background: rgb(73, 77, 100);
border: none;
}
/* Calendar Widget */
QDateTimeEdit::down-arrow {
qproperty-alignment: AlignTop;
image: url(./Catppuccin/Dark/down.svg);
width: 100%;
}
QDateTimeEdit:on {
background-color: palette(base); /* Mantle */
}
/* Calendar Top Bar */
QCalendarWidget QWidget#qt_calendar_navigationbar {
background-color: palette(base);
padding: 4px 8px;
}
/* Calendar Top Bar Buttons */
QCalendarWidget QToolButton {
background-color: palette(light);
padding: 2px 16px;
border-radius: 3px;
margin: 2px;
}
#qt_calendar_monthbutton::menu-indicator {
image: url(./Catppuccin/Dark/down.svg);
subcontrol-position: right;
padding-top: 2px;
padding-right: 6px;
height: 10px;
width: 10px;
}
QCalendarWidget #qt_calendar_prevmonth {
padding: 2px;
qproperty-icon: url(./Catppuccin/Dark/left.svg);
icon-size: 16px, 16px;
}
QCalendarWidget #qt_calendar_nextmonth {
padding: 2px;
qproperty-icon: url(./Catppuccin/Dark/right.svg);
icon-size: 16px, 16px;
}
QCalendarWidget QToolButton:hover {
background-color: rgb(73, 77, 100);
border-radius: 3px;
}
QCalendarWidget QToolButton:pressed {
background-color: rgb(24, 25, 38);
}
/* Month Dropdown Menu */
QCalendarWidget QMenu {
}
/* Year spinbox */
QCalendarWidget QSpinBox {
background-color: rgb(24, 25, 38);
border: none;
border-radius: 3px;
margin: 0px 3px 0px 0px;
padding: 4px 16px;
}
QCalendarWidget QSpinBox::up-button { subcontrol-origin: border; subcontrol-position: top right; width: 16px; }
QCalendarWidget QSpinBox::down-button {subcontrol-origin: border; subcontrol-position: bottom right; width: 16px;}
QCalendarWidget QSpinBox::up-arrow { width: 10px; height: 10px; }
QCalendarWidget QSpinBox::down-arrow { width: 10px; height: 10px; }
/* Days of the Week Bar */
QCalendarWidget QWidget { alternate-background-color: palette(base); }
QCalendarWidget QAbstractItemView:enabled {
background-color: palette(base);
color: palette(text);
selection-background-color: rgb(24, 25, 38);
selection-color: palette(text);
}
QCalendarWidget QAbstractItemView:disabled {
color: rgb(73, 77, 100);
}
/* Disable icons on QDialogButtonBox */
QDialogButtonBox {
dialogbuttonbox-buttons-have-icons: 0;
}