feat: add styling to QCheckBox and overlay buttons
All checks were successful
Code and build check / Check code (push) Successful in 1m43s
Code and build check / Build with uv (push) Successful in 54s

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-06-08 23:25:48 +05:00
parent 68a52d6980
commit b0ec4487ca
3 changed files with 36 additions and 6 deletions

View File

@ -90,6 +90,13 @@ SEARCH_EDIT_STYLE = """
}
"""
SETTINGS_CHECKBOX_STYLE = """
QCheckBox:focus {
border: 2px solid #409EFF;
background: #404554;
}
"""
# ОТКЛЮЧАЕМ РАМКУ У QScrollArea
SCROLL_AREA_STYLE = """
QWidget {
@ -206,6 +213,28 @@ ACTION_BUTTON_STYLE = """
}
"""
# СТИЛЬ КНОПОК ОВЕРЛЕЯ
OVERLAY_BUTTON_STYLE = """
QPushButton {
background: #3f424d;
border: 1px solid rgba(255, 255, 255, 0.20);
border-radius: 10px;
color: #ffffff;
font-size: 16px;
font-family: 'Play';
}
QPushButton:hover {
background: #282a33;
}
QPushButton:pressed {
background: #282a33;
}
QPushButton:focus {
border: 2px solid #409EFF;
background-color: #404554;
}
"""
# ТЕКСТОВЫЕ СТИЛИ: ЗАГОЛОВКИ И ОСНОВНОЙ КОНТЕНТ
TAB_TITLE_STYLE = "font-family: 'Play'; font-size: 24px; color: #ffffff; background-color: none;"
CONTENT_STYLE = """