fix(theme): palette Deep Navy Slate + legibilidad ribbon + capa indicadores

- Reemplaza fondos casi-negros (#0e1117, #1e2128) por paleta
  azul-gris marino profesional (#252a38 main, #1a1e2c viewport canvas)
- Elimina max-width:72px de ribbonButton — texto como "C. Incendio",
  "Post-Proc.", "Agua Dulce" ya no se corta
- layerVisBtn: indicador visual por color (azul=#0d99ff visible /
  gris=#363b4e oculta) sin depender de texto ni ícono
- layerLockBtn: ámbar=#fbbf24 bloqueada / gris libre
- Mejora contraste de ribbonGroupTitle, viewportTitle,
  placeholderTitle, placeholderDesc y viewportPlaceholder
- Agrega border-bottom a ribbonContent para separación visual

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-26 23:43:29 -04:00
parent 0dc1050e5a
commit d0d47ec5fb
+167 -172
View File
@@ -1,8 +1,18 @@
/* ============================================================ /* ============================================================
AR-ShipDesign — Tema Oscuro Profesional AR-ShipDesign — Tema Oscuro Profesional v2
Estilo: ingeniería CAD / naval / Office dark mode Paleta "Deep Navy Slate" — sin negro puro, azul oceánico
Paleta: #1e2128 fondo, #252830 panel, #2d3139 elevado, ─────────────────────────────────────────────────────────
#0d99ff acento, #e8eaf0 texto, #8b919e texto muted #252a38 fondo principal (slate azul-gris)
#2e3342 paneles / toolbar
#373c4e elementos elevados
#424757 hover / inputs
#1a1e2c viewport canvas (azul marino profundo)
#22263a viewport title bar
#454a5e bordes principales
#363b4e bordes sutiles
#8a93aa texto muted
#dce1f0 texto principal
#0d99ff acento (azul eléctrico)
============================================================ */ ============================================================ */
/* ─── BASE ─────────────────────────────────────────────────── */ /* ─── BASE ─────────────────────────────────────────────────── */
@@ -12,8 +22,8 @@
} }
QMainWindow, QDialog, QWidget { QMainWindow, QDialog, QWidget {
background-color: #1e2128; background-color: #252a38;
color: #e8eaf0; color: #dce1f0;
font-family: "Segoe UI", Arial, sans-serif; font-family: "Segoe UI", Arial, sans-serif;
font-size: 13px; font-size: 13px;
} }
@@ -21,9 +31,9 @@ QMainWindow, QDialog, QWidget {
/* ─── MENÚ ──────────────────────────────────────────────────── */ /* ─── MENÚ ──────────────────────────────────────────────────── */
QMenuBar { QMenuBar {
background-color: #252830; background-color: #2e3342;
color: #e8eaf0; color: #dce1f0;
border-bottom: 1px solid #333841; border-bottom: 1px solid #454a5e;
padding: 1px 0; padding: 1px 0;
} }
QMenuBar::item { QMenuBar::item {
@@ -31,7 +41,7 @@ QMenuBar::item {
background: transparent; background: transparent;
} }
QMenuBar::item:selected { QMenuBar::item:selected {
background-color: #2d3139; background-color: #373c4e;
color: #ffffff; color: #ffffff;
} }
QMenuBar::item:pressed { QMenuBar::item:pressed {
@@ -40,9 +50,9 @@ QMenuBar::item:pressed {
} }
QMenu { QMenu {
background-color: #252830; background-color: #2e3342;
color: #e8eaf0; color: #dce1f0;
border: 1px solid #3a3f4b; border: 1px solid #454a5e;
padding: 3px 0; padding: 3px 0;
} }
QMenu::item { QMenu::item {
@@ -53,20 +63,20 @@ QMenu::item:selected {
color: #ffffff; color: #ffffff;
} }
QMenu::item:disabled { QMenu::item:disabled {
color: #555b67; color: #555c6e;
} }
QMenu::separator { QMenu::separator {
height: 1px; height: 1px;
background: #333841; background: #454a5e;
margin: 3px 8px; margin: 3px 8px;
} }
/* ─── RIBBON TOOLBAR (contenedor) ───────────────────────────── */ /* ─── RIBBON TOOLBAR (contenedor QToolBar) ──────────────────── */
QToolBar#ribbonToolbar { QToolBar#ribbonToolbar {
background-color: #252830; background-color: #2e3342;
border: none; border: none;
border-bottom: 1px solid #333841; border-bottom: 1px solid #454a5e;
padding: 0; padding: 0;
spacing: 0; spacing: 0;
margin: 0; margin: 0;
@@ -75,13 +85,13 @@ QToolBar#ribbonToolbar {
/* ─── RIBBON BAR ────────────────────────────────────────────── */ /* ─── RIBBON BAR ────────────────────────────────────────────── */
QWidget#ribbonBar { QWidget#ribbonBar {
background-color: #252830; background-color: #2e3342;
} }
/* Fila de pestañas */ /* Fila de pestañas */
QWidget#ribbonTabRow { QWidget#ribbonTabRow {
background-color: #1e2128; background-color: #252a38;
border-bottom: 1px solid #333841; border-bottom: 1px solid #454a5e;
} }
/* Botones de pestañas */ /* Botones de pestañas */
@@ -90,68 +100,66 @@ QToolButton#ribbonTabBtn {
border: none; border: none;
border-bottom: 2px solid transparent; border-bottom: 2px solid transparent;
border-radius: 0; border-radius: 0;
padding: 0 14px; padding: 0 16px;
color: #8b919e; color: #8a93aa;
font-size: 12px; font-size: 12px;
min-width: 80px; min-width: 80px;
height: 26px; height: 26px;
} }
QToolButton#ribbonTabBtn:hover { QToolButton#ribbonTabBtn:hover {
background-color: #2d3139; background-color: #373c4e;
color: #c8cad0; color: #c0c8d8;
} }
QToolButton#ribbonTabBtn:checked { QToolButton#ribbonTabBtn:checked {
background-color: #252830; background-color: #2e3342;
color: #0d99ff; color: #0d99ff;
border-bottom: 2px solid #0d99ff; border-bottom: 2px solid #0d99ff;
font-weight: bold; font-weight: bold;
} }
/* Stack de contenido del ribbon */ /* Stack de contenido */
QStackedWidget#ribbonContent { QStackedWidget#ribbonContent {
background-color: #252830; background-color: #2e3342;
border-bottom: 1px solid #454a5e;
} }
/* Grupo individual */ /* Grupo de botones */
QFrame#ribbonGroup { QFrame#ribbonGroup {
background-color: transparent; background-color: transparent;
border: none; border: none;
margin: 2px 0; margin: 2px 0;
} }
/* Área de botones dentro del grupo */
QWidget#ribbonBtnArea { QWidget#ribbonBtnArea {
background-color: transparent; background-color: transparent;
} }
/* Etiqueta del nombre del grupo */
QLabel#ribbonGroupTitle { QLabel#ribbonGroupTitle {
color: #8b919e; color: #7a8398;
font-size: 10px; font-size: 10px;
padding: 2px 0 3px 0; padding: 2px 0 3px 0;
background-color: transparent; background-color: transparent;
} }
/* Separador vertical entre grupos */
QFrame#ribbonSep { QFrame#ribbonSep {
color: #2d3139; color: #373c4e;
margin: 6px 2px; margin: 6px 2px;
} }
/* Botones de la ribbon */ /* Botones — sin max-width para que el texto no se corte */
QToolButton#ribbonButton { QToolButton#ribbonButton {
background: transparent; background: transparent;
color: #e8eaf0; color: #dce1f0;
border: 1px solid transparent; border: 1px solid transparent;
border-radius: 3px; border-radius: 3px;
padding: 4px 6px 2px 6px; padding: 4px 8px 2px 8px;
font-size: 11px; font-size: 11px;
min-width: 46px; min-width: 48px;
max-width: 72px; /* SIN max-width — texto completo siempre visible */
} }
QToolButton#ribbonButton:hover { QToolButton#ribbonButton:hover {
background-color: #2d3139; background-color: #373c4e;
border-color: #3a3f4b; border-color: #454a5e;
} }
QToolButton#ribbonButton:pressed { QToolButton#ribbonButton:pressed {
background-color: #0d99ff; background-color: #0d99ff;
@@ -159,49 +167,53 @@ QToolButton#ribbonButton:pressed {
border-color: #0d99ff; border-color: #0d99ff;
} }
QToolButton#ribbonButton:checked { QToolButton#ribbonButton:checked {
background-color: #1a4a70; background-color: #1a4070;
border-color: #0d99ff; border-color: #0d99ff;
} }
QToolButton#ribbonButton:disabled { QToolButton#ribbonButton:disabled {
color: #555b67; color: #555c6e;
} }
/* ─── 4 VIEWPORTS ───────────────────────────────────────────── */ /* ─── 4 VIEWPORTS ───────────────────────────────────────────── */
QWidget#fourViewport { QWidget#fourViewport {
background-color: #12151a; background-color: #1a1e2c;
} }
QFrame#viewportFrame { QFrame#viewportFrame {
background-color: #12151a; background-color: #1a1e2c;
border: 1px solid #1e2128; border: 1px solid #2a2e40;
} }
QWidget#viewportTitleBar { QWidget#viewportTitleBar {
background-color: #1a1e26; background-color: #22263a;
border-bottom: 1px solid #2a2e38; border-bottom: 1px solid #2e3448;
} }
QLabel#viewportTitle { QLabel#viewportTitle {
color: #6b7280; color: #6070a0;
font-size: 11px; font-size: 11px;
font-weight: bold; font-weight: bold;
letter-spacing: 0.5px; letter-spacing: 0.5px;
} }
QWidget#viewportCanvas { QWidget#viewportCanvas {
background-color: #0e1117; background-color: #1a1e2c;
} }
/* Texto watermark en el viewport — sutil pero legible */
QLabel#viewportPlaceholder { QLabel#viewportPlaceholder {
color: #1e2540; color: #2a3060;
font-size: 20px; font-size: 16px;
font-family: "Consolas", monospace; font-family: "Consolas", monospace;
font-weight: bold; font-weight: bold;
letter-spacing: 2px; letter-spacing: 2px;
} }
/* Separadores arrastrables del viewport */ /* Separadores arrastrables del viewport — azul eléctrico */
QSplitter#viewportSplitter {
background-color: #1a1e2c;
}
QSplitter#viewportSplitter::handle { QSplitter#viewportSplitter::handle {
background-color: #0d99ff; background-color: #0d99ff;
} }
@@ -212,20 +224,20 @@ QSplitter#viewportSplitter::handle:vertical {
height: 3px; height: 3px;
} }
QSplitter#viewportSplitter::handle:hover { QSplitter#viewportSplitter::handle:hover {
background-color: #3db8ff; background-color: #4dbfff;
} }
/* ─── DOCK WIDGETS ──────────────────────────────────────────── */ /* ─── DOCK WIDGETS ──────────────────────────────────────────── */
QDockWidget { QDockWidget {
color: #e8eaf0; color: #dce1f0;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 12px;
} }
QDockWidget::title { QDockWidget::title {
background-color: #252830; background-color: #2e3342;
padding: 4px 8px; padding: 4px 8px;
border-bottom: 1px solid #333841; border-bottom: 1px solid #454a5e;
text-align: left; text-align: left;
} }
QDockWidget::close-button, QDockWidget::close-button,
@@ -236,122 +248,122 @@ QDockWidget::float-button {
} }
QDockWidget::close-button:hover, QDockWidget::close-button:hover,
QDockWidget::float-button:hover { QDockWidget::float-button:hover {
background-color: #3a3f4b; background-color: #454a5e;
border-radius: 2px; border-radius: 2px;
} }
/* ─── PANEL DE CAPAS ────────────────────────────────────────── */ /* ─── PANEL DE CAPAS ────────────────────────────────────────── */
QWidget#layersPanel { QWidget#layersPanel {
background-color: #1e2128; background-color: #252a38;
} }
QWidget#layersPanelHeader { QWidget#layersPanelHeader {
background-color: #252830; background-color: #2e3342;
border-bottom: 1px solid #333841; border-bottom: 1px solid #454a5e;
} }
QFrame#panelSep { QFrame#panelSep {
color: #333841; color: #454a5e;
max-height: 1px; max-height: 1px;
} }
QScrollArea#layersScrollArea { QScrollArea#layersScrollArea {
background-color: #1e2128; background-color: #252a38;
border: none; border: none;
} }
QWidget#layersContainer { QWidget#layersContainer {
background-color: #1e2128; background-color: #252a38;
} }
/* Fila de capa */
QWidget#layerRow { QWidget#layerRow {
background-color: transparent; background-color: transparent;
min-height: 26px; min-height: 26px;
} }
QWidget#layerRow:hover { QWidget#layerRow:hover {
background-color: #252830; background-color: #2e3342;
} }
QLabel#layerName { QLabel#layerName {
color: #c8cad0; color: #c0c8d8;
font-size: 12px; font-size: 12px;
} }
/* Botón de visibilidad de capa */ /*
Botón de visibilidad: azul = capa visible, gris oscuro = oculta
(sin texto — el color ES el indicador)
*/
QToolButton#layerVisBtn { QToolButton#layerVisBtn {
background: transparent; background-color: #0d99ff;
border: 1px solid transparent; border: none;
border-radius: 2px; border-radius: 2px;
color: #0d99ff; /* 16×16 fijo desde Python */
font-size: 9px; }
font-weight: bold; QToolButton#layerVisBtn:!checked {
background-color: #363b4e;
border: 1px solid #454a5e;
} }
QToolButton#layerVisBtn:hover { QToolButton#layerVisBtn:hover {
background-color: #2d3139; border: 1px solid #6bb8ff;
border-color: #3a3f4b;
}
QToolButton#layerVisBtn:checked {
background-color: #1a4a70;
border-color: #0d99ff;
} }
/* Botón de bloqueo de capa */ /*
Botón de bloqueo: ámbar = bloqueada, gris = libre
*/
QToolButton#layerLockBtn { QToolButton#layerLockBtn {
background: transparent; background-color: #363b4e;
border: 1px solid transparent; border: 1px solid #454a5e;
border-radius: 2px; border-radius: 2px;
color: #fbbf24;
font-size: 9px;
}
QToolButton#layerLockBtn:hover {
background-color: #2d3139;
border-color: #3a3f4b;
} }
QToolButton#layerLockBtn:checked { QToolButton#layerLockBtn:checked {
background-color: #3d2c00; background-color: #fbbf24;
border-color: #fbbf24; border-color: #fbbf24;
} }
QToolButton#layerLockBtn:hover {
border: 1px solid #ffd066;
}
/* ─── PROPIEDADES ───────────────────────────────────────────── */ /* ─── PROPIEDADES ───────────────────────────────────────────── */
QWidget#propContent { QWidget#propContent {
background-color: #1e2128; background-color: #252a38;
} }
QLabel#propSection { QLabel#propSection {
color: #8b919e; color: #8a93aa;
font-size: 11px; font-size: 11px;
padding-bottom: 6px; padding-bottom: 6px;
border-bottom: 1px solid #333841; border-bottom: 1px solid #454a5e;
margin-bottom: 4px; margin-bottom: 4px;
} }
QLabel#propKey { QLabel#propKey {
color: #8b919e; color: #8a93aa;
font-size: 12px; font-size: 12px;
} }
QLabel#propVal { QLabel#propVal {
color: #e8eaf0; color: #dce1f0;
font-size: 13px; font-size: 13px;
} }
/* ─── PANEL HIDROSTÁTICOS ───────────────────────────────────── */ /* ─── PANEL HIDROSTÁTICOS ───────────────────────────────────── */
QFrame#hydrostaticsPanel { QFrame#hydrostaticsPanel {
background-color: #14181f; background-color: #1e2232;
border-top: 1px solid #333841; border-top: 1px solid #454a5e;
} }
QLabel#hydroTitle { QLabel#hydroTitle {
color: #555b67; color: #555c6e;
font-size: 10px; font-size: 10px;
font-weight: bold; font-weight: bold;
padding: 0 10px 0 4px; padding: 0 10px 0 4px;
letter-spacing: 1px; letter-spacing: 1px;
} }
QFrame#hydroSep { QFrame#hydroSep {
color: #333841; color: #363b4e;
} }
QLabel#hydroKey { QLabel#hydroKey {
color: #8b919e; color: #8a93aa;
font-size: 11px; font-size: 11px;
padding: 0 2px; padding: 0 2px;
} }
@@ -362,7 +374,7 @@ QLabel#hydroVal {
min-width: 52px; min-width: 52px;
} }
QLabel#hydroImoNone { QLabel#hydroImoNone {
color: #555b67; color: #555c6e;
font-family: "Consolas", monospace; font-family: "Consolas", monospace;
font-size: 12px; font-size: 12px;
} }
@@ -382,29 +394,29 @@ QLabel#hydroImoFail {
/* ─── MÓDULOS PLACEHOLDER ───────────────────────────────────── */ /* ─── MÓDULOS PLACEHOLDER ───────────────────────────────────── */
QWidget#modulePlaceholder { QWidget#modulePlaceholder {
background-color: #1e2128; background-color: #252a38;
} }
QLabel#placeholderTitle { QLabel#placeholderTitle {
color: #2d3448; color: #5a6585;
font-size: 18px; font-size: 18px;
font-weight: bold; font-weight: bold;
} }
QLabel#placeholderDesc { QLabel#placeholderDesc {
color: #3a4055; color: #4e5870;
font-size: 13px; font-size: 13px;
} }
QLabel#placeholderMsg { QLabel#placeholderMsg {
color: #333841; color: #414c64;
font-size: 12px; font-size: 12px;
} }
/* ─── BARRA DE ESTADO ───────────────────────────────────────── */ /* ─── BARRA DE ESTADO ───────────────────────────────────────── */
QStatusBar { QStatusBar {
background-color: #0d99ff; background-color: #0a7de0;
color: #ffffff; color: #ffffff;
font-size: 12px; font-size: 12px;
} }
@@ -428,44 +440,44 @@ QLabel#statusValue {
/* ─── SCROLLBARS ────────────────────────────────────────────── */ /* ─── SCROLLBARS ────────────────────────────────────────────── */
QScrollBar:vertical { QScrollBar:vertical {
background: #1e2128; background: #252a38;
width: 10px; width: 10px;
border: none; border: none;
} }
QScrollBar::handle:vertical { QScrollBar::handle:vertical {
background: #3a3f4b; background: #454a5e;
border-radius: 5px; border-radius: 5px;
min-height: 24px; min-height: 24px;
} }
QScrollBar::handle:vertical:hover { background: #555b67; } QScrollBar::handle:vertical:hover { background: #6b7385; }
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical { height: 0; } QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical { height: 0; }
QScrollBar:horizontal { QScrollBar:horizontal {
background: #1e2128; background: #252a38;
height: 10px; height: 10px;
border: none; border: none;
} }
QScrollBar::handle:horizontal { QScrollBar::handle:horizontal {
background: #3a3f4b; background: #454a5e;
border-radius: 5px; border-radius: 5px;
min-width: 24px; min-width: 24px;
} }
QScrollBar::handle:horizontal:hover { background: #555b67; } QScrollBar::handle:horizontal:hover { background: #6b7385; }
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { width: 0; } QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { width: 0; }
/* ─── BOTONES ───────────────────────────────────────────────── */ /* ─── BOTONES ───────────────────────────────────────────────── */
QPushButton { QPushButton {
background-color: #2d3139; background-color: #373c4e;
color: #e8eaf0; color: #dce1f0;
border: 1px solid #3a3f4b; border: 1px solid #454a5e;
border-radius: 3px; border-radius: 3px;
padding: 5px 14px; padding: 5px 14px;
min-width: 72px; min-width: 72px;
} }
QPushButton:hover { QPushButton:hover {
background-color: #3a3f4b; background-color: #424757;
border-color: #555b67; border-color: #6b7385;
} }
QPushButton:pressed { QPushButton:pressed {
background-color: #0d99ff; background-color: #0d99ff;
@@ -473,14 +485,14 @@ QPushButton:pressed {
border-color: #0d99ff; border-color: #0d99ff;
} }
QPushButton:default { border-color: #0d99ff; } QPushButton:default { border-color: #0d99ff; }
QPushButton:disabled { color: #555b67; border-color: #2d3139; } QPushButton:disabled { color: #555c6e; border-color: #363b4e; }
/* ─── CAMPOS DE ENTRADA ─────────────────────────────────────── */ /* ─── CAMPOS DE ENTRADA ─────────────────────────────────────── */
QLineEdit, QSpinBox, QDoubleSpinBox, QComboBox { QLineEdit, QSpinBox, QDoubleSpinBox, QComboBox {
background-color: #252830; background-color: #2e3342;
color: #e8eaf0; color: #dce1f0;
border: 1px solid #3a3f4b; border: 1px solid #454a5e;
border-radius: 3px; border-radius: 3px;
padding: 4px 6px; padding: 4px 6px;
selection-background-color: #0d99ff; selection-background-color: #0d99ff;
@@ -489,47 +501,47 @@ QLineEdit:focus, QSpinBox:focus, QDoubleSpinBox:focus, QComboBox:focus {
border-color: #0d99ff; border-color: #0d99ff;
} }
QLineEdit:disabled, QSpinBox:disabled, QDoubleSpinBox:disabled { QLineEdit:disabled, QSpinBox:disabled, QDoubleSpinBox:disabled {
color: #555b67; color: #555c6e;
background-color: #1e2128; background-color: #252a38;
} }
QComboBox::drop-down { border: none; width: 20px; } QComboBox::drop-down { border: none; width: 20px; }
QComboBox QAbstractItemView { QComboBox QAbstractItemView {
background-color: #252830; background-color: #2e3342;
color: #e8eaf0; color: #dce1f0;
border: 1px solid #3a3f4b; border: 1px solid #454a5e;
selection-background-color: #0d99ff; selection-background-color: #0d99ff;
} }
/* ─── TABLAS Y LISTAS ───────────────────────────────────────── */ /* ─── TABLAS Y LISTAS ───────────────────────────────────────── */
QHeaderView::section { QHeaderView::section {
background-color: #252830; background-color: #2e3342;
color: #8b919e; color: #8a93aa;
border: none; border: none;
border-right: 1px solid #333841; border-right: 1px solid #454a5e;
border-bottom: 1px solid #333841; border-bottom: 1px solid #454a5e;
padding: 4px 8px; padding: 4px 8px;
font-size: 12px; font-size: 12px;
} }
QTableView, QListView { QTableView, QListView {
background-color: #1e2128; background-color: #252a38;
alternate-background-color: #212630; alternate-background-color: #282d3c;
color: #e8eaf0; color: #dce1f0;
border: 1px solid #333841; border: 1px solid #454a5e;
gridline-color: #2d3139; gridline-color: #363b4e;
selection-background-color: #0d99ff; selection-background-color: #0d99ff;
selection-color: #ffffff; selection-color: #ffffff;
} }
QTableView::item:hover, QListView::item:hover { QTableView::item:hover, QListView::item:hover {
background-color: #2d3139; background-color: #373c4e;
} }
/* ─── ÁRBOL ─────────────────────────────────────────────────── */ /* ─── ÁRBOL ─────────────────────────────────────────────────── */
QTreeWidget { QTreeWidget {
background-color: #1e2128; background-color: #252a38;
alternate-background-color: #212630; alternate-background-color: #282d3c;
color: #e8eaf0; color: #dce1f0;
border: none; border: none;
selection-background-color: #0d99ff; selection-background-color: #0d99ff;
selection-color: #ffffff; selection-color: #ffffff;
@@ -540,77 +552,60 @@ QTreeWidget::item {
border: none; border: none;
} }
QTreeWidget::item:hover { QTreeWidget::item:hover {
background-color: #2d3139; background-color: #373c4e;
} }
QTreeWidget::item:selected { QTreeWidget::item:selected {
background-color: #0d99ff; background-color: #0d99ff;
color: #ffffff; color: #ffffff;
} }
QTreeWidget::branch { QTreeWidget::branch {
background-color: #1e2128; background-color: #252a38;
} }
/* ─── PESTAÑAS ──────────────────────────────────────────────── */ /* ─── PESTAÑAS ──────────────────────────────────────────────── */
QTabWidget::pane { QTabWidget::pane {
border: none; border: none;
border-top: 1px solid #333841; border-top: 1px solid #454a5e;
background-color: #1e2128; background-color: #252a38;
} }
QTabBar { QTabBar {
background-color: #252830; background-color: #2e3342;
} }
QTabBar::tab { QTabBar::tab {
background-color: #252830; background-color: #2e3342;
color: #8b919e; color: #8a93aa;
border: none; border: none;
border-right: 1px solid #333841; border-right: 1px solid #454a5e;
padding: 6px 14px; padding: 6px 14px;
min-width: 70px; min-width: 70px;
font-size: 12px; font-size: 12px;
} }
QTabBar::tab:selected { QTabBar::tab:selected {
background-color: #1e2128; background-color: #252a38;
color: #e8eaf0; color: #dce1f0;
border-top: 2px solid #0d99ff; border-top: 2px solid #0d99ff;
} }
QTabBar::tab:hover:!selected { QTabBar::tab:hover:!selected {
background-color: #2d3139; background-color: #373c4e;
color: #e8eaf0; color: #dce1f0;
} }
/* ─── SPLITTER GENERAL ──────────────────────────────────────── */ /* ─── SPLITTER GENERAL ──────────────────────────────────────── */
QSplitter::handle { background-color: #333841; } QSplitter::handle { background-color: #454a5e; }
QSplitter::handle:horizontal { width: 1px; } QSplitter::handle:horizontal { width: 1px; }
QSplitter::handle:vertical { height: 1px; } QSplitter::handle:vertical { height: 1px; }
/* ─── MENSAJES / TOOLTIP ────────────────────────────────────── */ /* ─── MENSAJES / TOOLTIP ────────────────────────────────────── */
QMessageBox { background-color: #252830; } QMessageBox { background-color: #2e3342; }
QMessageBox QLabel { color: #e8eaf0; } QMessageBox QLabel { color: #dce1f0; }
QToolTip { QToolTip {
background-color: #252830; background-color: #2e3342;
color: #e8eaf0; color: #dce1f0;
border: 1px solid #3a3f4b; border: 1px solid #454a5e;
padding: 4px 6px; padding: 4px 6px;
font-size: 12px; font-size: 12px;
} }
/* ─── WIDGET DE INFO (ribbonInfoWidget legado) ──────────────── */
QWidget#ribbonInfoWidget {
background-color: transparent;
border-left: 1px solid #333841;
padding-left: 4px;
}
QLabel#tbLabel {
color: #8b919e;
font-size: 11px;
}
QLabel#tbValue {
color: #0d99ff;
font-weight: bold;
font-size: 11px;
}