Skip to content
Snippets Groups Projects
Commit d1649234 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Add custom menu-button style

parent fdd9810c
No related branches found
No related tags found
No related merge requests found
.menu-button {
-fx-background-color: #5c5c5c;
-fx-text-fill: #efefef;
-fx-background-radius: 3px;
-fx-border-width: 0;
-fx-pref-height: 30px;
}
.menu-button:hover {
-fx-background-color: #878787;
-fx-text-fill: #EEEEEE !important;
}
.menu-button:default {
-fx-background-color: #358dab;
-fx-text-fill: #EEEEEE !important;
}
\ No newline at end of file
......@@ -2,8 +2,13 @@
-fx-background-color: #333333;
}
.menu:showing, .menu:hover {
.menu-bar .menu-button {
-fx-background-color: #333333;
}
.menu-bar .menu:showing, .menu-bar .menu:hover {
-fx-background-color: #358dab;
-fx-background-radius: 0px;
}
.menu-item:selected, .menu-item:focused {
......
......@@ -27,6 +27,7 @@ class ModernGlobalDesignHandlerImpl extends ModernGlobalDesignHandler with Color
val styleSheets: Array[String] = Array(
"style/components/button.css",
"style/components/menu-button.css",
"style/components/combobox.css",
"style/components/checkbox.css",
"style/components/scrollbar.css",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment