|
@@ -137,7 +137,7 @@
|
|
|
* remove the setting -fx-background in all the sections that use
|
|
|
* -fx-selection-bar.
|
|
|
*/
|
|
|
- -fx-selection-bar: #2283FB;
|
|
|
+ -fx-selection-bar: #0069D9;
|
|
|
|
|
|
|
|
|
* backgrounds filled with -fx-selection-bar.
|
|
@@ -152,8 +152,6 @@
|
|
|
-fx-background-insets: inherit;
|
|
|
-fx-padding: inherit;
|
|
|
|
|
|
- -fx-cell-focus-inner-border: -fx-selection-bar;
|
|
|
-
|
|
|
|
|
|
* *
|
|
|
* Set the default background color for the scene *
|
|
@@ -267,15 +265,6 @@
|
|
|
-fx-stroke: -fx-text-base-color;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-.combo-box-base > .arrow-button > .arrow {
|
|
|
- -fx-background-color: -fx-light-text-color;
|
|
|
- -fx-background-insets: 0 0 -1 0, 0;
|
|
|
- -fx-padding: 9px 6px 0 0;
|
|
|
- -fx-shape: "M 0 3 l 3 -3 l 3 3 m 0 3 l -3 3 l -3 -3";
|
|
|
-}
|
|
|
-
|
|
|
|
|
|
|
|
|
.combo-box-base {
|
|
@@ -313,7 +302,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
-.button:default {
|
|
|
+.root.active-window .button:default {
|
|
|
-fx-background-color: linear-gradient(to bottom, #4AA0F9 0%, #045FFF 100%), linear-gradient(to bottom, #69B2FA 0%, #0D81FF 100%);
|
|
|
-fx-text-fill: -fx-light-text-color;
|
|
|
}
|
|
@@ -344,13 +333,16 @@
|
|
|
-fx-padding: 4px;
|
|
|
-fx-shape: "M-1,4, L-1,5.5 L3.5,8.5 L9,0 L9,-1 L7,-1 L3,6 L1,4 Z";
|
|
|
}
|
|
|
-.check-box:selected > .box {
|
|
|
+.root.active-window .check-box:selected > .box {
|
|
|
-fx-background-color: #2C90FC, #3B99FC;
|
|
|
-fx-background-insets: 0, 1;
|
|
|
}
|
|
|
-.check-box:selected > .box > .mark {
|
|
|
+.root.active-window .check-box:selected > .box > .mark {
|
|
|
-fx-background-color: white;
|
|
|
}
|
|
|
+.root.inactive-window .check-box:selected > .box > .mark {
|
|
|
+ -fx-background-color: #444444;
|
|
|
+}
|
|
|
|
|
|
|
|
|
* *
|
|
@@ -587,7 +579,7 @@
|
|
|
}
|
|
|
.menu-item:focused {
|
|
|
-fx-background: -fx-accent;
|
|
|
- -fx-background-color: -fx-selection-bar;
|
|
|
+ -fx-background-color: #2283FB;
|
|
|
-fx-text-fill: -fx-selection-bar-text;
|
|
|
}
|
|
|
.menu-item:focused > .label {
|
|
@@ -612,6 +604,45 @@
|
|
|
-fx-opacity: -fx-disabled-opacity;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ * *
|
|
|
+ * ListView and ListCell *
|
|
|
+ * *
|
|
|
+ ******************************************************************************/
|
|
|
+
|
|
|
+.list-view > .virtual-flow > .scroll-bar:vertical {
|
|
|
+ -fx-background-insets: 0, 0 0 0 1;
|
|
|
+ -fx-padding: -1 -1 -1 0;
|
|
|
+}
|
|
|
+.list-view > .virtual-flow > .scroll-bar:horizontal {
|
|
|
+ -fx-background-insets: 0, 1 0 0 0;
|
|
|
+ -fx-padding: 0 -1 -1 -1;
|
|
|
+}
|
|
|
+.list-view > .virtual-flow > .corner {
|
|
|
+ -fx-background-color: -fx-box-border, -fx-base;
|
|
|
+ -fx-background-insets: 0, 1 0 0 1;
|
|
|
+}
|
|
|
+.list-cell {
|
|
|
+ -fx-background-color: -fx-control-inner-background;
|
|
|
+ -fx-padding: 0.8em 0.5em 0.8em 0.5em;
|
|
|
+ -fx-text-fill: -fx-text-inner-color;
|
|
|
+ -fx-opacity: 1;
|
|
|
+}
|
|
|
+
|
|
|
+.root.active-window .list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell:focused,
|
|
|
+.root.active-window .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected,
|
|
|
+.root.active-window .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected:hover {
|
|
|
+ -fx-background-color: -fx-selection-bar;
|
|
|
+ -fx-text-fill: -fx-selection-bar-text;
|
|
|
+}
|
|
|
+
|
|
|
+.root.inactive-window .list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell:focused,
|
|
|
+.root.inactive-window .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected,
|
|
|
+.root.inactive-window .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected:hover {
|
|
|
+ -fx-background-color: #DCDCDC;
|
|
|
+ -fx-text-fill: -fx-selection-bar-text;
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
* *
|
|
|
* ComboBox *
|
|
@@ -625,13 +656,6 @@
|
|
|
-fx-text-fill: -fx-text-base-color;
|
|
|
-fx-padding: 0.2em 0.5em 0.2em 0.5em;
|
|
|
}
|
|
|
-.combo-box-base > .arrow-button {
|
|
|
- -fx-background-color: linear-gradient(to bottom, #4AA0F9 0%, #045FFF 100%), linear-gradient(to bottom, #69B2FA 0%, #0D81FF 100%);
|
|
|
- -fx-background-radius: 0 5 5 0, 0 4 4 0;
|
|
|
- -fx-padding: 0.2em 0.5em 0.2em 0.5em;
|
|
|
- -fx-background-insets: 0 0 0 1, 1;
|
|
|
-}
|
|
|
-
|
|
|
.combo-box-popup > .list-view {
|
|
|
-fx-background-color: rgba(255.0, 255.0, 255.0, 0.9);
|
|
|
-fx-background-insets: 0;
|
|
@@ -641,17 +665,42 @@
|
|
|
}
|
|
|
.combo-box-popup > .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell {
|
|
|
-fx-background-color: transparent;
|
|
|
- -fx-padding:0.2em 1em 0.2em 1em;
|
|
|
- -fx-border-color:transparent;
|
|
|
+ -fx-padding: 0.2em 1em 0.2em 1em;
|
|
|
+ -fx-border-color: transparent;
|
|
|
}
|
|
|
|
|
|
-.combo-box-popup > .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected,
|
|
|
-.combo-box-popup > .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected:hover {
|
|
|
+.root.active-window .combo-box-popup > .list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell:focused:filled:selected,
|
|
|
+.root.active-window .combo-box-popup > .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected,
|
|
|
+.root.active-window .combo-box-popup > .list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected:hover {
|
|
|
-fx-background: -fx-accent;
|
|
|
- -fx-background-color: -fx-selection-bar;
|
|
|
+ -fx-background-color: #2283FB;
|
|
|
-fx-text-fill: -fx-selection-bar-text;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+.combo-box-base > .arrow-button {
|
|
|
+ -fx-background-radius: 0 5 5 0, 0 4 4 0;
|
|
|
+ -fx-padding: 0.2em 0.5em 0.2em 0.5em;
|
|
|
+ -fx-background-insets: 0 0 0 1, 1;
|
|
|
+}
|
|
|
+.combo-box-base > .arrow-button > .arrow {
|
|
|
+ -fx-background-insets: 0 0 -1 0, 0;
|
|
|
+ -fx-padding: 9px 6px 0 0;
|
|
|
+ -fx-shape: "M 0 3 l 3 -3 l 3 3 m 0 3 l -3 3 l -3 -3";
|
|
|
+}
|
|
|
+.root.active-window .combo-box-base > .arrow-button {
|
|
|
+ -fx-background-color: linear-gradient(to bottom, #4AA0F9 0%, #045FFF 100%), linear-gradient(to bottom, #69B2FA 0%, #0D81FF 100%);
|
|
|
+}
|
|
|
+.root.active-window .combo-box-base > .arrow-button > .arrow {
|
|
|
+ -fx-background-color: -fx-light-text-color;
|
|
|
+}
|
|
|
+.root.inactive-window .combo-box-base > .arrow-button {
|
|
|
+ -fx-background-color: transparent;
|
|
|
+}
|
|
|
+.root.inactive-window .combo-box-base > .arrow-button > .arrow {
|
|
|
+ -fx-background-color: #444444;
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
* *
|
|
|
* SplitPane *
|
|
@@ -662,53 +711,6 @@
|
|
|
-fx-padding: 0 0.25em 0 0.25em;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- * *
|
|
|
- * ListView and ListCell *
|
|
|
- * *
|
|
|
- ******************************************************************************/
|
|
|
-
|
|
|
-.list-view > .virtual-flow > .scroll-bar:vertical{
|
|
|
- -fx-background-insets: 0, 0 0 0 1;
|
|
|
- -fx-padding: -1 -1 -1 0;
|
|
|
-}
|
|
|
-.list-view > .virtual-flow > .scroll-bar:horizontal{
|
|
|
- -fx-background-insets: 0, 1 0 0 0;
|
|
|
- -fx-padding: 0 -1 -1 -1;
|
|
|
-}
|
|
|
-.list-view > .virtual-flow > .corner {
|
|
|
- -fx-background-color: -fx-box-border, -fx-base;
|
|
|
- -fx-background-insets: 0, 1 0 0 1;
|
|
|
-}
|
|
|
-.list-cell {
|
|
|
- -fx-background-color: -fx-control-inner-background;
|
|
|
- -fx-padding: 0.8em 0.5em 0.8em 0.5em;
|
|
|
- -fx-text-fill: -fx-text-inner-color;
|
|
|
- -fx-opacity: 1;
|
|
|
-}
|
|
|
-.list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell:focused {
|
|
|
- -fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, -fx-control-inner-background;
|
|
|
- -fx-background-insets: 0, 1, 2;
|
|
|
-}
|
|
|
-.list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected {
|
|
|
- -fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, -fx-selection-bar;
|
|
|
- -fx-background-insets: 0, 1, 2;
|
|
|
- -fx-background: -fx-accent;
|
|
|
- -fx-text-fill: -fx-selection-bar-text;
|
|
|
-}
|
|
|
-.list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected,
|
|
|
-.list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected:hover {
|
|
|
- -fx-background: -fx-accent;
|
|
|
- -fx-background-color: -fx-selection-bar;
|
|
|
- -fx-text-fill: -fx-selection-bar-text;
|
|
|
-}
|
|
|
-.list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected:hover {
|
|
|
- -fx-background: -fx-accent;
|
|
|
- -fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, -fx-selection-bar;
|
|
|
- -fx-background-insets: 0, 1, 2;
|
|
|
- -fx-text-fill: -fx-selection-bar-text;
|
|
|
-}
|
|
|
-
|
|
|
|
|
|
* *
|
|
|
* Tooltip *
|