V2.4.0 — Theme moderne Catppuccin + recadrage non-modal

- Theme sombre Catppuccin Mocha sur toute l'interface :
  - Menus, toolbars, dialogues, spinbox, combo, boutons
  - Scrollbars custom, bordures arrondies, hover states
  - Panneau vignettes repensé
  - Sections outils avec titre bleu
- Recadrage : dialogue non-modal (Qt.Tool) pour pouvoir
  interagir avec le viewer pendant la selection
- Fond viewer plus sombre (#11111b)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jules
2026-03-21 14:30:17 +01:00
parent 1f8f6bb89d
commit 98049cd3cb
6 changed files with 150 additions and 33 deletions

View File

@@ -29,22 +29,28 @@ class PagePanel(QWidget):
self._list.setSpacing(4)
self._list.setStyleSheet("""
QListWidget {
background: #252525;
background: #181825;
border: none;
border-right: 1px solid #313244;
padding: 4px;
}
QListWidget::item {
background: #333;
border: 1px solid #444;
border-radius: 4px;
background: #1e1e2e;
border: 1px solid #313244;
border-radius: 6px;
padding: 4px;
color: #ccc;
color: #a6adc8;
font-size: 10px;
margin: 2px 0;
}
QListWidget::item:hover {
background: #313244;
border-color: #45475a;
}
QListWidget::item:selected {
background: #0066cc;
border: 1px solid #0088ff;
color: white;
background: #313244;
border: 1px solid #89b4fa;
color: #cdd6f4;
}
""")
@@ -95,8 +101,9 @@ class PagePanel(QWidget):
menu = QMenu(self)
menu.setStyleSheet("""
QMenu { background: #333; color: #eee; border: 1px solid #555; }
QMenu::item:selected { background: #0066cc; }
QMenu { background: #1e1e2e; color: #cdd6f4; border: 1px solid #45475a; border-radius: 8px; padding: 4px; }
QMenu::item { padding: 6px 20px; border-radius: 4px; }
QMenu::item:selected { background: #45475a; }
""")
act_insert = menu.addAction("Inserer une page blanche apres")