# -*- coding: utf-8 -*-
# gui/styles/quality_assurance.py

"""Styles for Quality Assurance pages."""


QUALITY_ASSURANCE: dict[str, str] = {
    "QA_PAGE_TITLE_DARK": """
        QLabel {
            color: #E6EDF7;
            font-size: 24px;
            font-weight: 700;
            padding: 0px;
            background: transparent;
            border: none;
            qproperty-alignment: 'AlignLeft | AlignVCenter';
        }
    """,
    "QA_PAGE_TITLE_LIGHT": """
        QLabel {
            color: #172B4D;
            font-size: 24px;
            font-weight: 700;
            padding: 0px;
            background: transparent;
            border: none;
            qproperty-alignment: 'AlignLeft | AlignVCenter';
        }
    """,
    "QA_SECTION_TITLE_DARK": """
        QLabel {
            color: #E6EDF7;
            font-size: 22px;
            font-weight: 700;
            padding: 0px;
            background: transparent;
            border: none;
            qproperty-alignment: 'AlignLeft | AlignVCenter';
        }
    """,
    "QA_SECTION_TITLE_LIGHT": """
        QLabel {
            color: #172B4D;
            font-size: 22px;
            font-weight: 700;
            padding: 0px;
            background: transparent;
            border: none;
            qproperty-alignment: 'AlignLeft | AlignVCenter';
        }
    """,
    "QA_PLACEHOLDER_DESCRIPTION_DARK": """
        QLabel {
            color: #B8C0CC;
            font-size: 16px;
            font-weight: 600;
            padding: 0px;
            background: transparent;
            border: none;
            qproperty-alignment: 'AlignLeft | AlignTop';
        }
    """,
    "QA_PLACEHOLDER_DESCRIPTION_LIGHT": """
        QLabel {
            color: #42526E;
            font-size: 16px;
            font-weight: 600;
            padding: 0px;
            background: transparent;
            border: none;
            qproperty-alignment: 'AlignLeft | AlignTop';
        }
    """,
    "QA_PLACEHOLDER_NOTE_DARK": """
        QLabel {
            color: #8C9BAB;
            font-size: 14px;
            font-weight: 600;
            padding: 0px;
            background: transparent;
            border: none;
            qproperty-alignment: 'AlignLeft | AlignTop';
        }
    """,
    "QA_PLACEHOLDER_NOTE_LIGHT": """
        QLabel {
            color: #5E6C84;
            font-size: 14px;
            font-weight: 600;
            padding: 0px;
            background: transparent;
            border: none;
            qproperty-alignment: 'AlignLeft | AlignTop';
        }
    """,
    "QA_ADMIN_INFO_COMBO_DARK": """
        QComboBox {
            border: 1px solid #5a5a5a;
            border-radius: 0px;
            font-size: 14px;
            background-color: #2e2e2e;
            color: #A7B3C2;
            padding: 4px 8px;
            combobox-popup: 0;
        }
        QComboBox:focus {
            border: 2px solid #3b82f6;
            outline: none;
        }
        QComboBox QAbstractItemView {
            background-color: #2e2e2e;
            color: #E6EDF7;
            selection-background-color: #3b82f6;
            selection-color: #FFFFFF;
            border: 1px solid #5a5a5a;
            outline: none;
        }
    """,
    "QA_ADMIN_INFO_COMBO_LIGHT": """
        QComboBox {
            border: 1px solid #DFE1E6;
            border-radius: 0px;
            font-size: 14px;
            background-color: #FFFFFF;
            color: #7A869A;
            padding: 4px 8px;
            combobox-popup: 0;
        }
        QComboBox:focus {
            border: 2px solid #0C66E4;
            outline: none;
        }
        QComboBox QAbstractItemView {
            background-color: #FFFFFF;
            color: #172B4D;
            selection-background-color: #0C66E4;
            selection-color: #FFFFFF;
            border: 1px solid #DFE1E6;
            outline: none;
        }
    """,
    "QA_DESIGN_BOARD_NEW_DOCUMENT_REQUEST": """
        QPushButton {
            background-color: #6B86CC;
            color: #FFFFFF;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 0px;
            padding: 20px 16px;
            font-size: 18px;
            font-weight: 700;
            text-align: center;
        }
        QPushButton:hover {
            background-color: #6B86CC;
            border: 1px solid rgba(255, 255, 255, 0.34);
        }
        QPushButton:pressed {
            background-color: #6B86CC;
            border: 1px solid rgba(0, 0, 0, 0.22);
        }
        QPushButton:disabled {
            background-color: #6B86CC;
            color: rgba(255, 255, 255, 0.70);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }
    """,
    "QA_DESIGN_BOARD_UNDER_REVIEW": """
        QPushButton {
            background-color: #AD71DD;
            color: #FFFFFF;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 0px;
            padding: 20px 16px;
            font-size: 18px;
            font-weight: 700;
            text-align: center;
        }
        QPushButton:hover {
            background-color: #AD71DD;
            border: 1px solid rgba(255, 255, 255, 0.34);
        }
        QPushButton:pressed {
            background-color: #AD71DD;
            border: 1px solid rgba(0, 0, 0, 0.22);
        }
        QPushButton:disabled {
            background-color: #AD71DD;
            color: rgba(255, 255, 255, 0.70);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }
    """,
    "QA_DESIGN_BOARD_IN_DRAFTING": """
        QPushButton {
            background-color: #6B86CC;
            color: #FFFFFF;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 0px;
            padding: 20px 16px;
            font-size: 18px;
            font-weight: 700;
            text-align: center;
        }
        QPushButton:hover {
            background-color: #6B86CC;
            border: 1px solid rgba(255, 255, 255, 0.34);
        }
        QPushButton:pressed {
            background-color: #6B86CC;
            border: 1px solid rgba(0, 0, 0, 0.22);
        }
        QPushButton:disabled {
            background-color: #6B86CC;
            color: rgba(255, 255, 255, 0.70);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }
    """,
    "QA_DESIGN_BOARD_IN_APPROVAL": """
        QPushButton {
            background-color: #C2945E;
            color: #FFFFFF;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 0px;
            padding: 20px 16px;
            font-size: 18px;
            font-weight: 700;
            text-align: center;
        }
        QPushButton:hover {
            background-color: #C2945E;
            border: 1px solid rgba(255, 255, 255, 0.34);
        }
        QPushButton:pressed {
            background-color: #C2945E;
            border: 1px solid rgba(0, 0, 0, 0.22);
        }
        QPushButton:disabled {
            background-color: #C2945E;
            color: rgba(255, 255, 255, 0.70);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }
    """,
    "QA_DESIGN_BOARD_TO_BE_SIGNED": """
        QPushButton {
            background-color: #D86727;
            color: #FFFFFF;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 0px;
            padding: 20px 16px;
            font-size: 18px;
            font-weight: 700;
            text-align: center;
        }
        QPushButton:hover {
            background-color: #D86727;
            border: 1px solid rgba(255, 255, 255, 0.34);
        }
        QPushButton:pressed {
            background-color: #D86727;
            border: 1px solid rgba(0, 0, 0, 0.22);
        }
        QPushButton:disabled {
            background-color: #D86727;
            color: rgba(255, 255, 255, 0.70);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }
    """,
    "QA_DESIGN_BOARD_PUBLISHED": """
        QPushButton {
            background-color: #58B522;
            color: #FFFFFF;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 0px;
            padding: 20px 16px;
            font-size: 18px;
            font-weight: 700;
            text-align: center;
        }
        QPushButton:hover {
            background-color: #58B522;
            border: 1px solid rgba(255, 255, 255, 0.34);
        }
        QPushButton:pressed {
            background-color: #58B522;
            border: 1px solid rgba(0, 0, 0, 0.22);
        }
        QPushButton:disabled {
            background-color: #58B522;
            color: rgba(255, 255, 255, 0.70);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }
    """,
    "QA_DESIGN_BOARD_CLOSED_ARCHIVED": """
        QPushButton {
            background-color: #96A0B6;
            color: #FFFFFF;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 0px;
            padding: 20px 16px;
            font-size: 18px;
            font-weight: 700;
            text-align: center;
        }
        QPushButton:hover {
            background-color: #96A0B6;
            border: 1px solid rgba(255, 255, 255, 0.34);
        }
        QPushButton:pressed {
            background-color: #96A0B6;
            border: 1px solid rgba(0, 0, 0, 0.22);
        }
        QPushButton:disabled {
            background-color: #96A0B6;
            color: rgba(255, 255, 255, 0.70);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }
    """,
    "QA_DESIGN_BOARD_CANCELLED": """
        QPushButton {
            background-color: #DB3C3C;
            color: #FFFFFF;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 0px;
            padding: 20px 16px;
            font-size: 18px;
            font-weight: 700;
            text-align: center;
        }
        QPushButton:hover {
            background-color: #DB3C3C;
            border: 1px solid rgba(255, 255, 255, 0.34);
        }
        QPushButton:pressed {
            background-color: #DB3C3C;
            border: 1px solid rgba(0, 0, 0, 0.22);
        }
        QPushButton:disabled {
            background-color: #DB3C3C;
            color: rgba(255, 255, 255, 0.70);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }
    """,
}
