summaryrefslogtreecommitdiff
path: root/ui/style_light.qss
diff options
context:
space:
mode:
authorChristian Kolset <christian.kolset@gmail.com>2026-04-20 16:55:57 -0600
committerChristian Kolset <christian.kolset@gmail.com>2026-04-20 16:55:57 -0600
commitd5acb04b88373d33b038bb59945fb5ab8b4f543b (patch)
tree21c37f2b54258ef20edc1b9b7226327d5f5b1a3a /ui/style_light.qss
parent425ba78ee1f760978b23a09fe8acbbc9b8b5dae4 (diff)
V8
Diffstat (limited to 'ui/style_light.qss')
-rw-r--r--ui/style_light.qss69
1 files changed, 69 insertions, 0 deletions
diff --git a/ui/style_light.qss b/ui/style_light.qss
new file mode 100644
index 0000000..86b35c7
--- /dev/null
+++ b/ui/style_light.qss
@@ -0,0 +1,69 @@
+/* LabDAQ — Light Theme */
+* { font-family:"IBM Plex Sans","Segoe UI",Tahoma,sans-serif; font-size:12px; color:#1e293b; }
+QMainWindow,QDialog { background:#f8fafc; }
+QToolBar#mainToolbar { background:#ffffff; border-bottom:1px solid #e2e8f0; padding:4px 8px; spacing:4px; }
+QPushButton#runButton { background:#166534; color:#dcfce7; border:1px solid #22c55e; border-radius:4px; padding:5px 16px; font-family:"IBM Plex Mono",monospace; font-weight:600; min-width:90px; }
+QPushButton#runButton:checked { background:#991b1b; border-color:#ef4444; color:#fee2e2; }
+QPushButton#logButton { background:#f1f5f9; color:#64748b; border:1px solid #cbd5e1; border-radius:4px; padding:5px 14px; font-family:"IBM Plex Mono",monospace; min-width:80px; }
+QPushButton#logButton:enabled { color:#1e293b; border-color:#3b82f6; }
+QPushButton#logButton:checked { background:#fef2f2; border-color:#ef4444; color:#991b1b; }
+QPushButton#toolbarSectionBtn { background:#f1f5f9; color:#475569; border:1px solid #cbd5e1; border-radius:4px; padding:5px 14px; font-weight:600; }
+QPushButton#toolbarSectionBtn:hover { background:#e2e8f0; color:#1e293b; }
+QPushButton#toolbarSectionBtn:checked { background:#dbeafe; color:#1d4ed8; border-color:#3b82f6; }
+QLabel#timeLabel { font-family:"IBM Plex Mono",monospace; font-size:16px; font-weight:700; color:#3b82f6; letter-spacing:2px; padding-right:8px; }
+QLabel#panelHeader { background:#f1f5f9; color:#64748b; font-family:"IBM Plex Mono",monospace; font-size:10px; font-weight:700; letter-spacing:2px; padding:6px 8px; border-bottom:1px solid #e2e8f0; }
+QFrame#deviceCard { background:#ffffff; border:1px solid #e2e8f0; border-radius:6px; }
+QFrame#deviceCard:hover { border-color:#3b82f6; background:#f0f9ff; }
+QLabel#deviceName { font-size:13px; font-weight:600; color:#1e293b; }
+QLabel#deviceSub { font-family:"IBM Plex Mono",monospace; font-size:10px; color:#94a3b8; }
+QLabel#deviceChannelCount { font-size:11px; color:#3b82f6; }
+QPushButton#configButton { background:#f1f5f9; color:#64748b; border:1px solid #cbd5e1; border-radius:3px; padding:3px 10px; font-size:11px; }
+QPushButton#configButton:hover { background:#dbeafe; color:#1d4ed8; border-color:#3b82f6; }
+QScrollArea#deviceScroll { background:#f8fafc; border:none; }
+QFrame#traceRow { background:#ffffff; border:1px solid #e2e8f0; border-radius:4px; }
+QFrame#plotBlock { background:#f8fafc; border:1px solid #e2e8f0; border-radius:6px; }
+QWidget#plotBlockHeader { background:#f1f5f9; border-bottom:1px solid #e2e8f0; border-radius:5px 5px 0 0; }
+QLineEdit#plotBlockTitle { font-family:"IBM Plex Mono",monospace; font-size:12px; font-weight:700; color:#334155; background:transparent; border:none; }
+QWidget#plotBlockSettings { background:#f8fafc; border-bottom:1px solid #e2e8f0; }
+QWidget#plotBlockTraces { background:#f8fafc; border-radius:0 0 5px 5px; }
+QPushButton#addTraceBtn { background:#f0f9ff; color:#3b82f6; border:1px dashed #93c5fd; border-radius:4px; padding:4px 12px; }
+QPushButton#addTraceBtn:hover { background:#dbeafe; border-style:solid; }
+QPushButton#applyButton { background:#1d4ed8; color:#eff6ff; border:1px solid #3b82f6; border-radius:4px; padding:6px 20px; font-weight:600; }
+QPushButton#applyButton:hover { background:#1e40af; }
+QComboBox,QLineEdit,QDoubleSpinBox,QSpinBox { background:#ffffff; border:1px solid #cbd5e1; border-radius:3px; padding:4px 8px; color:#1e293b; font-family:"IBM Plex Mono",monospace; min-height:22px; }
+QComboBox:focus,QLineEdit:focus,QDoubleSpinBox:focus,QSpinBox:focus { border-color:#3b82f6; }
+QCheckBox { color:#475569; spacing:6px; }
+QCheckBox::indicator { width:14px;height:14px;border:1px solid #cbd5e1;border-radius:3px;background:#ffffff; }
+QCheckBox::indicator:checked { background:#3b82f6;border-color:#3b82f6; }
+QTabWidget::pane { background:#ffffff; border:1px solid #e2e8f0; border-radius:4px; }
+QTabBar::tab { background:#f1f5f9; color:#64748b; border:1px solid #e2e8f0; padding:6px 16px; margin-right:2px; }
+QTabBar::tab:selected { background:#ffffff; color:#1e293b; border-bottom:2px solid #3b82f6; }
+QGroupBox { border:1px solid #e2e8f0; border-radius:4px; margin-top:22px; padding-top:6px; color:#475569; font-size:11px; font-weight:700; letter-spacing:0.8px; }
+QGroupBox::title { subcontrol-origin:margin; subcontrol-position:top left; left:12px; top:-11px; background:#f8fafc; padding:1px 8px; border-radius:3px; color:#475569; font-size:11px; font-weight:700; }
+QScrollBar:vertical { background:#f1f5f9; width:6px; margin:0; }
+QScrollBar::handle:vertical { background:#cbd5e1; border-radius:3px; min-height:20px; }
+QScrollBar::handle:vertical:hover { background:#3b82f6; }
+QScrollBar::add-line:vertical,QScrollBar::sub-line:vertical { height:0; }
+QSplitter::handle { background:#e2e8f0; }
+QSplitter::handle:hover { background:#3b82f6; }
+QStatusBar { background:#ffffff; border-top:1px solid #e2e8f0; color:#64748b; font-family:"IBM Plex Mono",monospace; font-size:11px; }
+QPushButton { background:#f1f5f9; color:#475569; border:1px solid #cbd5e1; border-radius:4px; padding:5px 12px; }
+QPushButton:hover { background:#e2e8f0; color:#1e293b; }
+QTextEdit#codeEditor { font-family:"IBM Plex Mono",monospace; font-size:12px; background:#1e293b; color:#e2e8f0; border:1px solid #cbd5e1; border-radius:4px; padding:6px; }
+QLabel#traceSource { font-family:"IBM Plex Mono",monospace; font-size:10px; color:#64748b; }
+QWidget#devWindowTitleBar { background:#f1f5f9; border-bottom:1px solid #e2e8f0; }
+QLabel#devWindowTitle { font-family:"IBM Plex Mono",monospace; font-size:11px; font-weight:700; letter-spacing:2px; color:#475569; }
+QFrame#devWindowDivider { color:#e2e8f0; max-height:1px; }
+QWidget#cfgGlobalBar { background:#f8fafc; border-bottom:1px solid #e2e8f0; }
+QWidget#cfgBottomBar { background:#f8fafc; border-top:1px solid #e2e8f0; }
+QTableWidget#channelTable { background:#ffffff; gridline-color:#f1f5f9; border:1px solid #e2e8f0; alternate-background-color:#f8fafc; }
+QHeaderView::section { background:#f1f5f9; color:#475569; border:none; border-bottom:1px solid #e2e8f0; padding:4px 8px; font-weight:600; }
+
+/* Port scanner list — light theme */
+QListWidget#portList {
+ background:#ffffff; border:1px solid #cbd5e1; border-radius:4px;
+ color:#1e293b; font-family:"IBM Plex Mono",monospace; font-size:12px;
+}
+QListWidget#portList::item { padding:5px 8px; border-bottom:1px solid #f1f5f9; }
+QListWidget#portList::item:hover { background:#f0f9ff; color:#1d4ed8; }
+QListWidget#portList::item:selected { background:#dbeafe; color:#1d4ed8; border-left:3px solid #3b82f6; }