hydraveil-gui/gui/v2/ui/styles/css/menu_css.py

47 lines
1.1 KiB
Python

CREATE_BUTTON_STYLE = """
QPushButton {
background-color: transparent;
border: none;
}
QPushButton:hover {
background-color: rgba(200, 200, 200, 50);
}
QPushButton:checked {
background-color: rgba(200, 200, 200, 80);
}
"""
def verification_style_one(font_style: str) -> str:
return f"""
QLineEdit {{
color: white;
background: transparent;
border: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
padding: 5px 0px;
font-size: 12px;
{font_style}
}}
"""
VERIFICATION_STYLE_TWO = f"""
QPushButton {{
background: transparent;
border: none;
}}
QPushButton:hover {{
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
}}
"""
def left_panel_profile_style(color: str) -> str:
return f"background: transparent; border: none; color: {color}; font-size: 17px;"
def check_mark_style(font_style: str) -> str:
return f"color: #4CAF50; font-size: 20px; font-weight: bold; {font_style}"