Оптимизмрован код, исправлены параметры отображения факторов экспримента
This commit is contained in:
@@ -12,8 +12,8 @@ class Colors:
|
||||
"""Цветовая палитра приложения"""
|
||||
|
||||
# Основные цвета (Primary)
|
||||
PRIMARY = "#3498db" # Синий - основной акцент
|
||||
PRIMARY_DARK = "#2980b9" # Тёмно-синий (наведение)
|
||||
PRIMARY = "#999999" # Синий - основной акцент
|
||||
PRIMARY_DARK = "#777777" # Тёмно-синий (наведение)
|
||||
PRIMARY_LIGHT = "#5dade2" # Светло-синий
|
||||
PRIMARY_BG = "#ebf5fb" # Фоновый для primary элементов
|
||||
|
||||
@@ -216,10 +216,10 @@ class ButtonStyles:
|
||||
{ButtonStyles._base_style()}
|
||||
}}
|
||||
QPushButton:hover {{
|
||||
background-color: {Colors.PRIMARY_DARK};
|
||||
background-color: {Colors.PRIMARY_LIGHT};
|
||||
}}
|
||||
QPushButton:pressed {{
|
||||
background-color: {Colors.PRIMARY_LIGHT};
|
||||
background-color: {Colors.PRIMARY_DARK};
|
||||
}}
|
||||
QPushButton:disabled {{
|
||||
background-color: {Colors.GRAY_400};
|
||||
@@ -326,7 +326,14 @@ class InputStyles:
|
||||
@staticmethod
|
||||
def default():
|
||||
return f"""
|
||||
QLineEdit, QDoubleSpinBox, QSpinBox, QComboBox {{
|
||||
QComboBox {{
|
||||
border: 1px solid {Colors.BORDER_DEFAULT};
|
||||
border-radius: {Spacing.BORDER_RADIUS_SM}px;
|
||||
padding: 1px;
|
||||
background-color: {Colors.WHITE};
|
||||
min-height: {Spacing.INPUT_HEIGHT - 16}px;
|
||||
}}
|
||||
QLineEdit, QDoubleSpinBox, QSpinBox {{
|
||||
border: 1px solid {Colors.BORDER_DEFAULT};
|
||||
border-radius: {Spacing.BORDER_RADIUS_SM}px;
|
||||
padding: {Spacing.SM}px;
|
||||
@@ -342,7 +349,6 @@ class InputStyles:
|
||||
color: {Colors.GRAY_600};
|
||||
}}
|
||||
"""
|
||||
|
||||
@staticmethod
|
||||
def error():
|
||||
return f"""
|
||||
|
||||
Reference in New Issue
Block a user