# -*- coding: utf-8 -*- # gui/styles/ticket_details.py """Стили dialog-экрана подробностей Ticket.""" TICKET_DETAILS = { "TICKET_DETAILS_SUMMARY_TITLE_DARK": """ QLabel { background-color: transparent; color: #F5F7FA; font-size: 16px; font-weight: 700; } """, "TICKET_DETAILS_SUMMARY_TITLE_LIGHT": """ QLabel { background-color: transparent; color: #0F2F61; font-size: 16px; font-weight: 700; } """, "TICKET_DETAILS_SUMMARY_VALUE_DARK": """ QLabel { background-color: transparent; color: #F5F7FA; font-size: 16px; font-weight: 400; } """, "TICKET_DETAILS_SUMMARY_VALUE_LIGHT": """ QLabel { background-color: transparent; color: #0F2F61; font-size: 16px; font-weight: 400; } """, "TICKET_DETAILS_SECTION_TITLE_DARK": """ QLabel { background-color: transparent; color: #F5F7FA; font-size: 18px; font-weight: 700; } """, "TICKET_DETAILS_SECTION_TITLE_LIGHT": """ QLabel { background-color: transparent; color: #0F2F61; font-size: 18px; font-weight: 700; } """, "TICKET_DETAILS_DIVIDER_DARK": """ QLabel { background-color: #3C4553; border: none; min-height: 1px; max-height: 1px; } """, "TICKET_DETAILS_DIVIDER_LIGHT": """ QLabel { background-color: #D6DCE5; border: none; min-height: 1px; max-height: 1px; } """, "TICKET_DETAILS_STAGE_ROW": """ QWidget { background-color: transparent; border: 1px solid transparent; border-radius: 10px; } """, "TICKET_DETAILS_STAGE_ROW_ACTIVE": """ QWidget { background-color: transparent; border: 1px solid transparent; border-radius: 10px; } QWidget:hover { background-color: rgba(12, 102, 228, 0.10); } """, "TICKET_DETAILS_STAGE_TEXT_ACTIVE_DARK": """ QLabel { background-color: transparent; color: #F5F7FA; font-size: 18px; font-weight: 500; } """, "TICKET_DETAILS_STAGE_TEXT_ACTIVE_LIGHT": """ QLabel { background-color: transparent; color: #172B4D; font-size: 18px; font-weight: 500; } """, "TICKET_DETAILS_STAGE_TEXT_INACTIVE_DARK": """ QLabel { background-color: transparent; color: #8C9BAB; font-size: 18px; font-weight: 400; } """, "TICKET_DETAILS_STAGE_TEXT_INACTIVE_LIGHT": """ QLabel { background-color: transparent; color: #6B778C; font-size: 18px; font-weight: 400; } """, "TICKET_DETAILS_EMPLOYEE_NAME_DARK": """ QLabel { background-color: transparent; color: #F5F7FA; font-size: 17px; font-weight: 500; } """, "TICKET_DETAILS_EMPLOYEE_NAME_LIGHT": """ QLabel { background-color: transparent; color: #172B4D; font-size: 17px; font-weight: 500; } """, "TICKET_DETAILS_EMPLOYEE_ROLE_DARK": """ QLabel { background-color: transparent; color: #D0D7E2; font-size: 17px; font-weight: 400; } """, "TICKET_DETAILS_EMPLOYEE_ROLE_LIGHT": """ QLabel { background-color: transparent; color: #172B4D; font-size: 17px; font-weight: 400; } """, "TICKET_DETAILS_REFUSE_BUTTON": """ QPushButton { background-color: #DE350B; color: #FFFFFF; border: none; border-radius: 8px; font-size: 16px; font-weight: 500; min-width: 260px; min-height: 48px; padding: 10px 18px; } QPushButton:hover { background-color: #BF2600; } QPushButton:pressed { background-color: #A32000; } QPushButton:disabled { background-color: #9AA5B1; color: #FFFFFF; } """, "TICKET_DETAILS_REFUSE_BUTTON_DARK": """ QPushButton { background-color: #DE350B; color: #FFFFFF; border: none; border-radius: 8px; font-size: 16px; font-weight: 500; min-width: 260px; min-height: 48px; padding: 10px 18px; } QPushButton:hover { background-color: #BF2600; } QPushButton:pressed { background-color: #A32000; } QPushButton:disabled { background-color: #9AA5B1; color: #FFFFFF; } """, "TICKET_DETAILS_REFUSE_BUTTON_LIGHT": """ QPushButton { background-color: #DE350B; color: #111111; border: none; border-radius: 8px; font-size: 16px; font-weight: 500; min-width: 260px; min-height: 48px; padding: 10px 18px; } QPushButton:hover { background-color: #BF2600; } QPushButton:pressed { background-color: #A32000; } QPushButton:disabled { background-color: #9AA5B1; color: #6B778C; } """, }