@@ -9,6 +9,14 @@ QWidget {
99 border: none; /* Remove default borders globally */
1010}
1111
12+ /* Generic Dialog Fallback (frameless windows need a soft border) */
13+ QDialog {
14+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
15+ stop: 0 #2D2D2D, stop: 1 #272727);
16+ border: 1px solid #444A50; /* Subtle neutral border for all dialogs */
17+ border-radius: 10px;
18+ }
19+
1220QMainWindow {
1321 background-color: #202020; /* Darkest background for the window frame */
1422}
@@ -1232,6 +1240,82 @@ QDialog#lossyRotationDialog {
12321240 border-radius: 8px;
12331241}
12341242
1243+ /* --- Delete Confirmation Dialog (custom QDialog) --- */
1244+ QDialog#deleteConfirmationDialog {
1245+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
1246+ stop: 0 #2D2D2D, stop: 1 #272727);
1247+ border: 2px solid #DC3545; /* Danger accent */
1248+ border-radius: 12px;
1249+ }
1250+
1251+ QDialog#deleteConfirmationDialog QLabel#deleteDialogTitle {
1252+ color: #FF7A86;
1253+ font-weight: bold;
1254+ }
1255+
1256+ QDialog#deleteConfirmationDialog QLabel#deleteDialogInfo {
1257+ color: #C8C8C8;
1258+ }
1259+
1260+ QDialog#deleteConfirmationDialog QPushButton#deleteDialogCancelButton {
1261+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
1262+ stop: 0 #383838, stop: 1 #303030);
1263+ color: #E0E0E0;
1264+ border: 1px solid #484848;
1265+ border-radius: 6px;
1266+ }
1267+
1268+ QDialog#deleteConfirmationDialog QPushButton#deleteDialogCancelButton:hover {
1269+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
1270+ stop: 0 #454545, stop: 1 #3C3C3C);
1271+ color: #FFFFFF;
1272+ }
1273+
1274+ QDialog#deleteConfirmationDialog QPushButton#deleteDialogConfirmButton {
1275+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
1276+ stop: 0 #DC3545, stop: 1 #B02A37);
1277+ color: #FFFFFF;
1278+ border: 1px solid #B02A37;
1279+ font-weight: bold;
1280+ border-radius: 6px;
1281+ }
1282+
1283+ QDialog#deleteConfirmationDialog QPushButton#deleteDialogConfirmButton:hover {
1284+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
1285+ stop: 0 #E85362, stop: 1 #C73E4A);
1286+ }
1287+
1288+ /* --- Close Confirmation Dialog (custom QDialog) --- */
1289+ QDialog#closeConfirmationDialog {
1290+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
1291+ stop: 0 #2D2D2D, stop: 1 #272727);
1292+ border: 2px solid #0084FF; /* Primary accent */
1293+ border-radius: 12px;
1294+ }
1295+
1296+ QDialog#closeConfirmationDialog QLabel#closeDialogTitle {
1297+ color: #0084FF;
1298+ font-weight: bold;
1299+ }
1300+
1301+ QDialog#closeConfirmationDialog QPushButton#closeDialogCancelButton,
1302+ QDialog#closeConfirmationDialog QPushButton#closeDialogIgnoreButton {
1303+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
1304+ stop: 0 #383838, stop: 1 #303030);
1305+ color: #E0E0E0;
1306+ border: 1px solid #484848;
1307+ border-radius: 6px;
1308+ }
1309+
1310+ QDialog#closeConfirmationDialog QPushButton#closeDialogCommitButton {
1311+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
1312+ stop: 0 #0084FF, stop: 1 #0066CC);
1313+ color: #FFFFFF;
1314+ border: 1px solid #005A9E;
1315+ border-radius: 6px;
1316+ font-weight: bold;
1317+ }
1318+
12351319QLabel#lossyRotationMessageLabel {
12361320 color: #E5E5E5;
12371321 font-size: 11pt;
@@ -1308,14 +1392,14 @@ QPushButton#lossyRotationProceedButton:pressed {
13081392 background-color: #E67A35;
13091393}
13101394
1311- /* --- Confirm Delete Dialog (QMessageBox) --- */
1395+ /* --- Default Message Boxes --- */
13121396QMessageBox {
13131397 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
13141398 stop: 0 #2D2D2D, stop: 1 #272727);
13151399 color: #E0E0E0;
13161400 font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
13171401 font-size: 9pt;
1318- border: 2px solid #DC3545;
1402+ border: 2px solid #666C72; /* Neutral border for all QMessageBoxes */
13191403 border-radius: 12px;
13201404}
13211405
0 commit comments