Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

Philip/recoloring (#374)

philipqueene1342098da79
diff --git a/freemocap/gui/qt/style_sheet/qt_style_sheet.css b/freemocap/gui/qt/style_sheet/qt_style_sheet.css
index 0528d967..14d5f4fb 100644
--- a/freemocap/gui/qt/style_sheet/qt_style_sheet.css
+++ b/freemocap/gui/qt/style_sheet/qt_style_sheet.css
@@ -17,7 +17,7 @@ QMainWindow {
background-color: #365d5f; }
QTabWidget::pane {
- border: 1px solid white;
+ border: 1px solid #f5f5f7;
top: 1px;
background: cadetblue; }
@@ -30,7 +30,7 @@ QTabBar::tab {
/*min-width: 200px;*/ }
QTabBar::tab {
- background: white;
+ background: #f5f5f7;
border-color: #365d5f;
margin-bottom: -5px;
font-weight: bolder;
@@ -38,23 +38,25 @@ QTabBar::tab {
QTabBar::tab:selected {
background: #365d5f;
- color: white;
- border-color: white; }
+ color: #f5f5f7;
+ border-color: #f5f5f7; }
QPushButton {
- font-weight: bold;
border-radius: 4px;
- border: 2px solid #29394a;
+ border: 2px solid #202c3a;
background-color: #29394a;
- color: white; }
+ color: #f5f5f7; }
QPushButton:disabled {
- background-color: #7983b1;
- border: 1px solid #7983b1;
- color: #a4d6d9; }
+ background-color: #bec2d3;
+ border: 1px solid #afb4c9;
+ color: #1d1d1f; }
QPushButton:hover {
- border: 3px solid white; }
+ border: 3px solid #f5f5f7; }
+
+QPushButton:pressed {
+ background-color: #050608; }
QPushButton#start_recording_button {
font-size: 18px;
@@ -70,23 +72,27 @@ QPushButton#stop_recording_button:enabled {
/*font-size: 24px;*/
border: 3px solid #d95158; }
+QPushButton#process_motion_capture_button {
+ font-size: 18px;
+ background-color: #961d39; }
+
WelcomeScreenButton {
border: 2px solid #333333;
background-color: #365d5f;
- color: white;
+ color: #f5f5f7;
font-size: 24px;
border-radius: 20px;
padding: 10px; }
WelcomeScreenButton[recommended_next=true] {
background-color: #d95158;
- color: white; }
+ color: #f5f5f7; }
QLabel {
font-size: 14px;
color: #333333; }
QTreeView QLabel {
- color: black; }
+ color: #1d1d1f; }
QLabel:disabled {
color: #a4d6d9; }
@@ -96,31 +102,36 @@ QLineEdit {
border-radius: 4px;
padding: 0 8px;
color: #333333;
- background-color: white; }
+ background-color: #f5f5f7; }
QLineEdit:disabled {
color: #333333;
- background-color: #687e90; }
+ background-color: #bec2d3; }
QTreeView {
background-color: #7983b1;
- color: black;
- font-weight: bold;
+ color: #1d1d1f;
font-family: "Roboto", sans-serif;
font-size: 12px; }
QTreeView::item:has-children {
background-color: #29394a;
- color: white; }
+ color: #f5f5f7; }
QTreeView::item:selected,
QTreeView::item:hover {
- background-color: white;
+ background-color: #f5f5f7;
color: #333333; }
LogViewWidget {
background-color: #254342;
- color: white;
+ color: #f5f5f7;
font-family: "Roboto", sans-serif;
font-size: 12px;
padding: 8px; }
+
+QDialog {
+ background-color: cadetblue; }
+
+QListWidget {
+ background-color: #a4d6d9; }
diff --git a/freemocap/gui/qt/style_sheet/qt_style_sheet.scss b/freemocap/gui/qt/style_sheet/qt_style_sheet.scss
index ed563305..0ebe312b 100644
--- a/freemocap/gui/qt/style_sheet/qt_style_sheet.scss
+++ b/freemocap/gui/qt/style_sheet/qt_style_sheet.scss
@@ -5,12 +5,14 @@ $laser-red: #d95158;
$disabled-laser-red: #8c5454;
$freemocap-green: #365d5f;
$freemocap-dark-green: #254342;
-$button-blue: #29394a;
-$disabled-button-blue: #687e90;
+$heading: #29394a;
+$primary-button: #961d39;
+$secondary-button: #29394a;
+$disabled-button: #bec2d3;
$tree-primary: #7983b1;
$tree-secondary: #a3b1ed;
-$plain-white: white;
-$plain-black: black;
+$plain-white: #f5f5f7;
+$plain-black: #1d1d1f;
* {
font-family: "Dosis", sans-serif;
@@ -64,23 +66,26 @@ QTabBar::tab:selected {
}
QPushButton {
- font-weight: bold;
border-radius: 4px;
- border: 2px solid $button-blue;
- background-color: $button-blue;
+ border: 2px solid darken($secondary-button, 5%);
+ background-color: $secondary-button;
color: $plain-white;
}
QPushButton:disabled {
- background-color: $tree-primary;
- border: 1px solid $tree-primary;
- color: $skelly-bone-blue;
+ background-color: $disabled-button;
+ border: 1px solid darken($disabled-button, 5%);
+ color: $plain-black;
}
QPushButton:hover {
border: 3px solid $plain-white;
}
+QPushButton:pressed {
+ background-color: darken($secondary-button, 20%);
+}
+
QPushButton#start_recording_button {
font-size: 18px;
background-color: $laser-red;
@@ -98,6 +103,11 @@ QPushButton#stop_recording_button:enabled {
border: 3px solid $laser-red;
}
+QPushButton#process_motion_capture_button {
+ font-size: 18px;
+ background-color: $primary-button;
+}
+
WelcomeScreenButton {
border: 2px solid $dark-charcoal;
background-color: $freemocap-green;
@@ -126,7 +136,7 @@ QLabel:disabled {
}
QLineEdit {
- border: 1px solid $button-blue;
+ border: 1px solid $heading;
border-radius: 4px;
padding: 0 8px;
color: $dark-charcoal;
@@ -134,19 +144,18 @@ QLineEdit {
}
QLineEdit:disabled {
color: $dark-charcoal;
- background-color: $disabled-button-blue;
+ background-color: $disabled-button;
}
QTreeView {
background-color: $tree-primary;
color: $plain-black;
- font-weight: bold;
font-family: "Roboto", sans-serif;
font-size: 12px;
}
QTreeView::item:has-children {
- background-color: $button-blue;
+ background-color: $heading;
color: $plain-white;
}
@@ -165,3 +174,10 @@ LogViewWidget {
}
+QDialog {
+ background-color: $cadet-skelly;
+}
+
+QListWidget {
+ background-color: $skelly-bone-blue;
+}
diff --git a/freemocap/gui/qt/widgets/control_panel/process_mocap_data_panel/process_motion_capture_data_panel.py b/freemocap/gui/qt/widgets/control_panel/process_mocap_data_panel/process_motion_capture_data_panel.py
index 025dd541..4c4c40c3 100644
--- a/freemocap/gui/qt/widgets/control_panel/process_mocap_data_panel/process_motion_capture_data_panel.py
+++ b/freemocap/gui/qt/widgets/control_panel/process_mocap_data_panel/process_motion_capture_data_panel.py
@@ -65,6 +65,7 @@ class ProcessMotionCaptureDataPanel(QWidget):
"Process Motion Capture Videos",
)
self._process_motion_capture_data_button.setFont(QFont("Dosis", 16, QFont.Weight.Bold))
+ self._process_motion_capture_data_button.setObjectName("process_motion_capture_button")
self._process_motion_capture_data_button.clicked.connect(self._launch_process_motion_capture_data_thread_worker)
self._layout.addWidget(self._process_motion_capture_data_button)