Fix server handler on .exe, add hazard stripe button

This commit is contained in:
2026-03-20 11:26:56 +01:00
parent 945abae5f1
commit 93c37a905b
8 changed files with 140 additions and 15 deletions

View File

@@ -45,7 +45,7 @@ QLabel#queue_lbl {
}
QPushButton#connexion_btn {
QPushButton#connexion_btn[chantier="false"] {
/* Dégradé chaleureux : Orange vers Orange-Rouge */
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop: 0 #ff9d00,
@@ -57,7 +57,7 @@ QPushButton#connexion_btn {
padding: 10px;
}
QPushButton#connexion_btn:hover {
QPushButton#connexion_btn[chantier="false"]:hover {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop: 0 #ffb338,
stop: 1 #ff7a29);
@@ -66,7 +66,7 @@ QPushButton#connexion_btn:hover {
outline: none;
}
QPushButton#connexionBtn:pressed {
QPushButton#connexion_btn[chantier="false"]:pressed {
background: #cc5200;
padding-top: 12px; /* Effet d'enfoncement */
}
@@ -81,6 +81,19 @@ QPushButton#staff_btn {
padding: 5px 15px;
}
HazardButton#connexion_btn {
color: rgb(0, 0, 0);
font-weight: bold;
}
HazardButton#connexion_btn:hover {
color: #ffffff;
}
HazardButton#connexion_btn:pressed {
color: #333333;
}
QPushButton#staff_btn:hover {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FF6046, stop:1 #FF527B);