Added CSS to better style the electron menubar

This commit is contained in:
Joel Collins 2019-06-03 15:50:07 +01:00
parent 22d139ecf8
commit f35a06008c
2 changed files with 20 additions and 0 deletions

17
src/assets/less/app.less Normal file
View file

@ -0,0 +1,17 @@
// Theming specific to the electron app
.menubar-menu-container {
box-shadow: 0.5px 1px 4px 0px rgba(0,0,0,0.3) !important;
}
.menubar-menu-container > * {
box-shadow: none !important;
}
.menubar-menu-container .action-menu-item, .menubar-menu-container .action-label {
cursor: default
}
.menubar-menu-container a:hover {
text-decoration: none;
}

View file

@ -4,6 +4,9 @@
// Highlight.js
@import "./highlight.less";
// Electron app theming
@import "./app.less";
// Custom OpenFlexure theming
@global-primary-background: #C32280;