Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Jan 17, 2025
1 parent 21d91c3 commit 86dc4f4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ qx.Class.define("osparc.navigation.NavigationBar", {
},

__buildLayout: function() {
const colorStr = qx.theme.manager.Color.getInstance().resolve("background-main-1");
const color = qx.util.ColorUtil.stringToRgb(colorStr);
this.getContentElement().setStyles({
"background": "linear-gradient(0deg, rgba(1, 18, 26, 0.1) 0%, rgba(229, 229, 229, 0.1) 5%)"
"background": `linear-gradient(0deg, rgba(1, 18, 26, 0.1) 0%, ${qx.util.ColorUtil.rgbToRgbString(color)} 4%)`
});
this.getChildControl("left-items");
this.getChildControl("center-items");
Expand Down

0 comments on commit 86dc4f4

Please sign in to comment.