changeset 2234:81ab70f7e38b

RT-27522 : [QVGA] Implement CSS for TableView (2-level)
author mickf
date Mon, 14 Jan 2013 16:26:52 +0000
parents 30a2f46ad627
children 98c7eaf712db
files javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/embedded.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/embedded.css	Mon Jan 14 16:26:15 2013 +0000
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/embedded.css	Mon Jan 14 16:26:52 2013 +0000
@@ -341,16 +341,16 @@
 }
 
 
-.table-view:external-focus {
-    -fx-border-color: red; 
-    -fx-focus-color: red;
-    -fx-opacity: 0.8;
+.table-view:focused:external-focus {
+    -fx-background-color: -fx-focus-color, -fx-text-box-border, -fx-control-inner-background;
 }
-.table-view:internal-focus {
-    -fx-border-color: null; 
-    -fx-focus-color: #0093ff;
-    -fx-opacity: 1.0;
+.table-view:focused:external-focus > .virtual-flow > .clipped-container > .sheet > .table-row-cell:filled:selected {
+    -fx-background-color: gray;
 }
+.table-view:focused:internal-focus {
+    -fx-background-color: -fx-shadow-highlight-color, -fx-text-box-border, -fx-control-inner-background;
+}
+
 
 .combo-box:external-focus {
     -fx-border-color: red;