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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user