// ----------------------------------------------------------------------------------
// MINDCRAFT CSS THEME v0.9 (Duologic.se)
// ----------------------------------------------------------------------------------
// Theme name : DemoStyle CSS Theme
// Author : Roger 'ThRuST' Lindfors
// Created : 2017-01-10
// Email :
[email protected]
// ----------------------------------------------------------------------------------
// -----------------------------------------------------------------
// Contextmenu Background
// -----------------------------------------------------------------
.context-menu {
-fx-background-color:
linear-gradient(#686868 0%, #232723 25%, #373837 75%, #757575 100%),
linear-gradient(#020b02, #3a3a3a),
linear-gradient(#9d9e9d 0%, #6b6a6b 20%, #343534 80%, #242424 100%),
linear-gradient(#8a8a8a 0%, #6b6a6b 20%, #343534 80%, #262626 100%),
linear-gradient(#777777 0%, #606060 50%, #505250 51%, #2a2b2a 100%);
-fx-background-insets: 0,1,4,5,6;
-fx-background-radius: 10,9,8,7,6;
-fx-padding: 10 4 10 4;
-fx-border-width: 0px;
-fx-font-family: "broadway";
-fx-font-weight: bold;
-fx-text-fill: white;
}
// -----------------------------------------------------------------
// Title Logo Bgr Color
// -----------------------------------------------------------------
.cmenu .title {
-fx-background-color: transparent;
-fx-pref-height: 20px;
-fx-font-weight: bold;
-fx-text-fill: transparent;
}
// Title menu headlines/font size/color
.cmenu .label {
-fx-font-size: 12px;
-fx-font-weight: bold;
-fx-text-fill: #d7d7d7;
}
// -----------------------------------------------------------------
// Title logo color
// -----------------------------------------------------------------
.cmenu .title .label {
-fx-text-fill: #b6b6b6;
-fx-font-weight: bold;
}
// -----------------------------------------------------------------
// Title Logo FontSize
// -----------------------------------------------------------------
.cmenu .title .label {
-fx-font-size: 22px;
-fx-background-color: transparent;
-fx-font-weight: bold;
}
// -----------------------------------------------------------------
// CheckMenuItem Markers Non Focused
// -----------------------------------------------------------------
.check-menu-item:checked > .left-container > .check {
-fx-background-color: LightGray;
}
//-fx-mark-color
// -----------------------------------------------------------------
// CheckMenuItem Markers Focused
// -----------------------------------------------------------------
.check-menu-item:focused:checked > .left-container > .check {
-fx-background-color: Lime;
}
// -----------------------------------------------------------------
// SubMenu Arrows
// -----------------------------------------------------------------
// Arrows Non Focused
.menu > .right-container > .arrow {
-fx-background-color: White;
}
// Arrows Focused
// Arrows - MenuItem Selection
.menu:focused > .right-container > .arrow {
-fx-background-color: Lime;
}
// -----------------------------------------------------------------
// Title Menu Labels
// -----------------------------------------------------------------
.menu-item .label {
-fx-font-weight: normal;
}
// -----------------------------------------------------------------
// MenuItem Text Selected Color
// -----------------------------------------------------------------
.menu-item: focused .label {
-fx-text-fill: Lime;
}
// -----------------------------------------------------------------
// MenuItem Selector Color
// -----------------------------------------------------------------
.menu-item: focused {
// -fx-shape: "M0,-4L4,0L0,4Z";
// -fx-shape: "M0 1 L1 1 L.5 0 Z";
//-fx-shape: "M0 1 L1 1 L.5 0 Z";
-fx-background-color: Black;
}
// -----------------------------------------------------------------
// Clicked Item
// -----------------------------------------------------------------
.menu-item: pressed {
-fx-background-color: Gray;
}