car_ui/themes/night.py
2026-01-09 05:17:20 +03:00

239 lines
6.4 KiB
Python

THEME_NIGHT = """
QWidget { background: #0B0E11; color: #E6EAF0; }
#TopBar, #BottomBar { background: #0F1318; }
#TopBar QLabel { background: transparent; }
#Divider { background: #1B2330; }
#MenuButton, #SettingsButton {
background: #141A22;
border-radius: 12px;
padding: 6px 12px;
font-size: 18px;
font-weight: 700;
}
#MenuButton:hover, #SettingsButton:hover { background: #1B2330; }
#TopBackBtn {
background: #141A22;
border-radius: 12px;
padding: 8px 14px;
font-size: 16px;
font-weight: 600;
}
#TopBackBtn:hover { background: #1B2330; }
QToolButton::menu-indicator { image: none; }
QMenu {
background: #0F1318;
color: #E6EAF0;
border: 1px solid #1B2330;
}
QMenu::item {
padding: 18px 26px;
font-size: 22px;
font-weight: 600;
}
QMenu::item:selected { background: #1B2330; }
#SettingsSection { color: rgba(138,147,166,0.95); letter-spacing: 0.5px; }
#SettingsRow {
background: #141A22;
border-radius: 14px;
}
#SettingsRow:hover { background: #1B2330; }
#SettingsRowTitle { color: #E6EAF0; }
#SettingsRowSub { color: rgba(138,147,166,0.95); }
#SettingsChevron { color: rgba(138,147,166,0.95); }
#SettingsRowTitle, #SettingsRowSub, #SettingsChevron { background: transparent; }
#SoundCard {
background: #141A22;
border-radius: 14px;
}
#SoundCard QLabel { background: transparent; }
#SoundToggleRow { background: transparent; }
#SoundSliderRow { background: transparent; }
#SoundSliderRow QWidget { background: transparent; }
#SoundToggleRow QPushButton { background-clip: padding; }
#SoundSliderRow QSlider { background: transparent; }
QScrollArea { background: transparent; }
QScrollArea::viewport { background: transparent; }
QScrollArea > QWidget > QWidget { background: transparent; }
#SoundCardTitle { color: rgba(138,147,166,0.95); background: transparent; }
#SoundValue { color: rgba(138,147,166,0.95); background: transparent; }
#SoundToggleRow QLabel { background: transparent; }
#SoundSliderRow QLabel { background: transparent; }
#SoundSlider::groove:horizontal { height: 8px; background: #1B2330; border-radius: 4px; }
#SoundSlider::handle:horizontal { width: 18px; margin: -6px 0; background: #E6EAF0; border-radius: 9px; }
#SoundToggle {
background: #1B2330;
color: #E6EAF0;
border-radius: 10px;
padding: 6px 12px;
}
#SoundToggle:checked {
background: #E6EAF0;
color: #0B0E11;
}
#SoundToneBtn {
background: #141A22;
color: #E6EAF0;
border-radius: 10px;
border: 1px solid #1B2330;
padding: 6px 10px;
}
#SoundToneBtn:checked { background: #2A3A52; }
#SoundEqBtn {
background: #141A22;
color: #E6EAF0;
border-radius: 12px;
border: 1px solid #1B2330;
padding: 8px 14px;
text-align: left;
}
#SoundEqBtn:hover { background: #1B2330; }
#EqPlaceholder { color: rgba(138,147,166,0.95); }
#SettingsBackBtn {
background: #141A22;
border-radius: 12px;
padding: 8px 14px;
}
#SettingsBackBtn:hover { background: #1B2330; }
#DevExitBtn {
background: #1B2330;
border-radius: 14px;
font-size: 16px;
font-weight: 600;
}
#DevExitBtn:hover { background: #263142; }
#DevRebootBtn {
background: #7F1D1D;
color: #FEE2E2;
border-radius: 14px;
font-size: 16px;
font-weight: 700;
}
#DevRebootBtn:hover { background: #991B1B; }
#DevResetBtn {
background: #7F1D1D;
color: #FEE2E2;
border-radius: 14px;
font-size: 16px;
font-weight: 700;
}
#DevResetBtn:hover { background: #991B1B; }
#BluetoothStatus { color: rgba(138,147,166,0.95); }
#BluetoothList {
background: #0F1318;
border: 1px solid #1B2330;
border-radius: 12px;
padding: 6px;
}
#BluetoothList::item {
padding: 12px 10px;
border-radius: 10px;
}
#BluetoothList::item:selected { background: #1B2330; }
#BluetoothActionBtn {
background: #141A22;
border-radius: 12px;
font-size: 14px;
font-weight: 600;
}
#BluetoothActionBtn:hover { background: #1B2330; }
#BluetoothActionBtnPrimary {
background: #2A3A52;
border-radius: 12px;
font-size: 14px;
font-weight: 600;
}
#BluetoothActionBtnPrimary:hover { background: #344968; }
#MediaSource { color: rgba(138,147,166,0.95); }
#MediaTitle { color: #E6EAF0; }
#MediaArtist { color: rgba(200,208,222,0.95); }
#MediaAlbum { color: rgba(138,147,166,0.95); }
#MediaCover {
background: #141A22;
border: 1px solid #1B2330;
border-radius: 16px;
color: rgba(138,147,166,0.9);
}
#MediaProgress::groove:horizontal { height: 8px; background: #1B2330; border-radius: 4px; }
#MediaProgress::handle:horizontal { width: 18px; margin: -6px 0; background: #E6EAF0; border-radius: 9px; }
#MediaVolume::groove:horizontal { height: 8px; background: #1B2330; border-radius: 4px; }
#MediaVolume::handle:horizontal { width: 18px; margin: -6px 0; background: #E6EAF0; border-radius: 9px; }
#MediaTimePos, #MediaTimeTotal { color: rgba(138,147,166,0.95); }
#MediaTransportBtn {
background: #141A22;
border-radius: 14px;
font-size: 22px;
font-weight: 700;
}
#MediaTransportBtnPrimary {
background: #2A3A52;
border-radius: 14px;
font-size: 22px;
font-weight: 700;
}
#MediaSoftBtn {
background: #141A22;
border-radius: 12px;
font-size: 14px;
font-weight: 600;
}
#LanguageDialog { background: #0B0E11; }
#LanguageCard {
background: #141A22;
border-radius: 16px;
}
#LanguageTitle { color: #E6EAF0; }
#LanguageOption {
background: #141A22;
color: #E6EAF0;
border-radius: 12px;
border: 1px solid #1B2330;
padding: 8px 14px;
}
#LanguageOption:checked { background: #2A3A52; }
#LanguageConfirm {
background: #2A3A52;
color: #E6EAF0;
border-radius: 12px;
padding: 10px 16px;
}
#LanguageConfirm:hover { background: #344968; }
#ConfirmDialog { background: transparent; }
#ConfirmCard {
background: #141A22;
border-radius: 16px;
}
#ConfirmTitle { color: #E6EAF0; background: transparent; }
#ConfirmMessage { color: rgba(138,147,166,0.95); background: transparent; }
#ConfirmCancel {
background: #141A22;
color: #E6EAF0;
border-radius: 12px;
border: 1px solid #1B2330;
padding: 8px 14px;
}
#ConfirmCancel:hover { background: #1B2330; }
#ConfirmOk {
background: #2A3A52;
color: #E6EAF0;
border-radius: 12px;
padding: 8px 14px;
}
#ConfirmOk:hover { background: #344968; }
#ConfirmOkDanger {
background: #B91C1C;
color: #FEE2E2;
border-radius: 12px;
padding: 8px 14px;
font-weight: 700;
}
#ConfirmOkDanger:hover { background: #DC2626; }
"""