changeset 2218:d84bb839e63e

RT-27593: ComboBox: Hover and Press states are missing for the open button
author jgiles
date Fri, 11 Jan 2013 09:10:20 +1300
parents 268dc298c0c4
children 98a7bfe0f231
files javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/caspian.css
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/caspian.css	Thu Jan 10 13:00:59 2013 +1300
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/caspian.css	Fri Jan 11 09:10:20 2013 +1300
@@ -3113,17 +3113,17 @@
     -fx-background-radius: 0 5 5 0, 0 4 4 0, 0 3 3 0;
     -fx-padding: 0.5em 0.416667em 0.5em 0.416667em; /* 6 5 6 5  */
 }
-/*    -fx-background-color: null;
-    -fx-background-insets: 0, 1, 2;
-    -fx-background-radius: 0 5 5 0, 0 4 4 0, 0 3 3 0;
-    -fx-padding: 0.5em 0.416667em 0.5em 0.416667em;  6 5 6 5 
-}*/
-/*.combo-box-base.split-button .arrow-button {
+
+.combo-box-base:hover > .arrow-button {
     -fx-background-color: -fx-outer-border, -fx-inner-border, -fx-body-color;
     -fx-background-insets: 0, 1, 2;
     -fx-background-radius: 0 5 5 0, 0 4 4 0, 0 3 3 0;
-    -fx-padding: 0.5em 0.416667em 0.5em 0.416667em;  6 5 6 5 
-}*/
+    -fx-padding: 0.5em 0.416667em 0.5em 0.416667em; /* 6 5 6 5 */
+}
+
+.combo-box-base:showing > .arrow-button {
+    -fx-color: -fx-pressed-base;
+} 
 
 /* ------- ARROW* ------- */
 .combo-box-base > .arrow-button > .arrow,