< prev index next >

modules/javafx.controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -1983,15 +1983,17 @@
     -fx-background-color: transparent;
     -fx-padding: 0.5px;
 }
 /* the color over which the user is hovering */
 .color-palette-region > .color-square.hover-square {
-    -fx-background-color: -fx-faint-focus-color, -fx-focus-color;
+    -fx-background-color: -fx-faint-focus-color, white;
     -fx-background-insets: -3,-1;
     -fx-background-radius: 5,0;
     -fx-scale-x: 1.5;
     -fx-scale-y: 1.5;
+    -fx-border-color: -fx-focus-color;
+    -fx-border-insets: -1, -1;
 }
 /* ------- CUSTOM COLOR DIALOG ------- */
 .custom-color-dialog > .color-rect-pane {
     -fx-spacing: 0.75em;
     -fx-pref-height: 16.666667em;
< prev index next >