Centralized stylesheet constants for dark-themed dialogs.
More...
#include <DialogStyles.hpp>
Centralized stylesheet constants for dark-themed dialogs.
These styles are shared between LoginDialog and SignUpDialog to ensure visual consistency. Change them here to update the appearance globally.
◆ panel
Initial value:= R"(
QWidget#mainPanel {
background-color: #1A1A1A;
}
)"
◆ input_field
| const QString input_field |
|
static |
Initial value:= R"(
QLineEdit {
background-color: #2d2d2d;
border: 1px solid #3d3d3d;
border-radius: 4px;
padding: 8px 12px;
font-size: 13px;
color: #ffffff;
}
QLineEdit:focus {
border-color: #5a5a5a;
background-color: #333333;
}
QLineEdit::placeholder {
color: #707070;
}
)"
◆ input_field_match
| const QString input_field_match |
|
static |
Initial value:= R"(
QLineEdit {
background-color: #2d2d2d;
border: 2px solid #4CAF50;
border-radius: 4px;
padding: 8px 12px;
font-size: 13px;
color: #ffffff;
}
QLineEdit:focus {
border-color: #4CAF50;
background-color: #333333;
}
)"
◆ input_field_mismatch
| const QString input_field_mismatch |
|
static |
Initial value:= R"(
QLineEdit {
background-color: #2d2d2d;
border: 2px solid #FF9800;
border-radius: 4px;
padding: 8px 12px;
font-size: 13px;
color: #ffffff;
}
QLineEdit:focus {
border-color: #FF9800;
background-color: #333333;
}
)"
◆ spin_box
Initial value:= R"(
QSpinBox {
background-color: #2d2d2d;
border: 1px solid #3d3d3d;
border-radius: 4px;
padding: 8px 12px;
font-size: 13px;
color: #ffffff;
}
QSpinBox:focus {
border-color: #5a5a5a;
background-color: #333333;
}
)"
◆ primary_button
| const QString primary_button |
|
static |
Initial value:= R"(
QPushButton {
background-color: #3d3d3d;
color: #ffffff;
border: none;
border-radius: 4px;
padding: 10px 24px;
font-size: 14px;
font-weight: bold;
}
QPushButton:hover {
background-color: #4a4a4a;
}
QPushButton:pressed {
background-color: #333333;
}
QPushButton:disabled {
background-color: #2a2a2a;
color: #555555;
}
)"
◆ checkbox
Initial value:= R"(
QCheckBox {
background: transparent;
color: #909090;
font-size: 12px;
spacing: 6px;
}
QCheckBox::indicator {
width: 14px;
height: 14px;
border: 1px solid #3d3d3d;
border-radius: 2px;
background-color: #2d2d2d;
}
QCheckBox::indicator:checked {
background-color: #4a4a4a;
border-color: #5a5a5a;
}
)"
◆ link_button
| const QString link_button |
|
static |
Initial value:= R"(
QPushButton {
background: transparent;
border: none;
color: #909090;
font-size: 12px;
padding: 0;
}
QPushButton:hover {
color: #ffffff;
text-decoration: underline;
}
)"
◆ field_label
| const QString field_label |
|
static |
Initial value:= R"(
QLabel {
background: transparent;
color: #909090;
font-size: 10px;
font-weight: bold;
letter-spacing: 1px;
}
)"
◆ version
Initial value:= R"(
QLabel {
background: transparent;
color: #505050;
font-size: 9px;
}
)"
◆ status
Initial value:= R"(
QLabel {
background: transparent;
color: #707070;
font-size: 11px;
font-style: italic;
}
)"
◆ subtitle
Initial value:= R"(
QLabel {
background: transparent;
color: #707070;
font-size: 12px;
}
)"
◆ saved_connections_button
| const QString saved_connections_button |
|
static |
Initial value:= R"(
QToolButton {
background: transparent;
border: none;
padding: 2px;
}
QToolButton:hover {
background-color: #2d2d2d;
border-radius: 2px;
}
QToolButton::menu-indicator {
image: none;
}
)"