TICKET_SETTING_STYLE_A = """ QScrollArea { background-color: transparent; border: none; } QScrollArea > QWidget > QWidget { background-color: transparent; } """ def setting_style_b(font_style: str) -> str: return f""" QPushButton {{ background: #00aaff; color: white; border: none; border-radius: 5px; font-weight: bold; {font_style} }} QPushButton:hover {{ background: #0088cc; }} """ def setting_evaluate_style_c(font_style: str) -> str: return f""" QPushButton {{ background: #00aaff; color: white; border: none; border-radius: 5px; font-weight: bold; {font_style} }} QPushButton:hover:!disabled {{ background: #0088cc; }} QPushButton:disabled {{ background: #666666; color: #bbbbbb; }} """ def setting_evaluate_style_d(font_style: str) -> str: return f""" QPushButton {{ background: #c0392b; color: white; border: none; border-radius: 5px; font-size: 10px; font-weight: bold; {font_style} }} QPushButton:hover:!disabled {{ background: #a93226; }} QPushButton:disabled {{ background: #666666; color: #bbbbbb; }} """