Skip to content

Commit 86ca800

Browse files
committed
prettify menu
1 parent c04ff70 commit 86ca800

File tree

1 file changed

+5
-4
lines changed
  • services/static-webserver/client/source/class/osparc/theme

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -722,13 +722,14 @@ qx.Theme.define("osparc.theme.Appearance", {
722722
"menu-button": {
723723
alias: "atom",
724724

725-
style: function(states) {
725+
style: states => {
726726
return {
727+
decorator: "rounded",
727728
cursor: states.disabled ? "not-allowed" : "pointer",
728-
backgroundColor: states.selected ? "background-selected-dark" : undefined,
729+
backgroundColor: states.selected || states.hovered ? "pb-new" : undefined,
729730
textColor: states.selected ? "default-button-text" : "text",
730-
padding: [2, 6]
731-
};
731+
padding: [4, 8]
732+
}
732733
}
733734
},
734735

0 commit comments

Comments
 (0)