Skip to content

Commit cfcf1b7

Browse files
committed
"workbench-view-splitter"
1 parent 9b51c29 commit cfcf1b7

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

services/static-webserver/client/source/class/osparc/desktop/WorkbenchView.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,10 @@ qx.Class.define("osparc.desktop.WorkbenchView", {
4040
TAB_BUTTON_HEIGHT: 46,
4141

4242
decorateSplitter: function(splitter) {
43-
const colorManager = qx.theme.manager.Color.getInstance();
44-
const binaryColor = osparc.utils.Utils.getRoundedBinaryColor(colorManager.resolve("background-main"));
4543
splitter.set({
4644
width: 2,
47-
backgroundColor: binaryColor
45+
backgroundColor: "workbench-view-splitter"
4846
});
49-
colorManager.addListener("changeTheme", () => {
50-
const newBinaryColor = osparc.utils.Utils.getRoundedBinaryColor(colorManager.resolve("background-main"));
51-
splitter.setBackgroundColor(newBinaryColor);
52-
}, this);
5347
},
5448

5549
decorateSlider: function(slider) {
@@ -202,7 +196,6 @@ qx.Class.define("osparc.desktop.WorkbenchView", {
202196
control = new qx.ui.tabview.TabView().set({
203197
contentPadding: osparc.widget.CollapsibleViewLight.CARET_WIDTH + 2, // collapse bar + padding
204198
contentPaddingRight: 2,
205-
backgroundColor: this.self().PRIMARY_COL_BG_COLOR,
206199
barPosition: "top"
207200
});
208201
const collapsibleViewLeft = this.getChildControl("collapsible-view-left");

services/static-webserver/client/source/class/osparc/theme/ColorDark.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ qx.Theme.define("osparc.theme.ColorDark", {
163163
"workbench-edge-comp-active": "#777777",
164164
"workbench-edge-api-active": "#BBBBBB",
165165
"workbench-start-hint": "#505050",
166+
"workbench-view-splitter": "#000000",
166167

167168
"node-background": "rgba(113, 157, 181, 0.5)",
168169
"node-selected-background": "strong-main",

services/static-webserver/client/source/class/osparc/theme/ColorLight.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ qx.Theme.define("osparc.theme.ColorLight", {
164164
"workbench-edge-comp-active": "#888888",
165165
"workbench-edge-api-active": "#444444",
166166
"workbench-start-hint": "#AFAFAF",
167+
"workbench-view-splitter": "#DDDDDD",
167168

168169
"node-background": "rgba(113, 157, 181, 0.35)",
169170
"node-selected-background": "strong-main",

0 commit comments

Comments
 (0)