summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes
diff options
context:
space:
mode:
authorJonatan Kronqvist <jonatan.kronqvist@itmill.com>2011-08-17 10:20:39 +0000
committerJonatan Kronqvist <jonatan.kronqvist@itmill.com>2011-08-17 10:20:39 +0000
commit63411e8a5478aef8316cd270f045d82c83caee68 (patch)
tree5daf8fde17cfcebfbdb535751dab687391bda533 /WebContent/VAADIN/themes
parentaade55ae17d4e40b0ad64ae8d3c2a2205897f6ff (diff)
downloadvaadin-framework-63411e8a5478aef8316cd270f045d82c83caee68.tar.gz
vaadin-framework-63411e8a5478aef8316cd270f045d82c83caee68.zip
Optional expand and collapse animations for TreeTable (#6723)
svn changeset:20445/svn branch:6.7
Diffstat (limited to 'WebContent/VAADIN/themes')
-rw-r--r--WebContent/VAADIN/themes/base/table/table.css1
-rw-r--r--WebContent/VAADIN/themes/base/treetable/treetable.css40
-rw-r--r--WebContent/VAADIN/themes/tests-components/styles.css5
3 files changed, 45 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/base/table/table.css b/WebContent/VAADIN/themes/base/table/table.css
index 425f8243d6..c618c07587 100644
--- a/WebContent/VAADIN/themes/base/table/table.css
+++ b/WebContent/VAADIN/themes/base/table/table.css
@@ -136,6 +136,7 @@
}
.v-table-row,
.v-table-row-odd {
+ background: #fff;
border: 0;
margin: 0;
padding: 0;
diff --git a/WebContent/VAADIN/themes/base/treetable/treetable.css b/WebContent/VAADIN/themes/base/treetable/treetable.css
index ee5aaed861..eec6c794d3 100644
--- a/WebContent/VAADIN/themes/base/treetable/treetable.css
+++ b/WebContent/VAADIN/themes/base/treetable/treetable.css
@@ -17,4 +17,42 @@
.v-treetable .v-checkbox {
display: inline-block;
padding-bottom: 4px;
-} \ No newline at end of file
+}
+
+.v-treetable .v-table-row .v-table-cell-content,
+.v-treetable .v-table-row-odd .v-table-cell-content {
+ position: relative;
+ z-index: 10;
+}
+
+.v-treetable .v-table-body .v-table-table .v-table-row-animating {
+ zoom:1;
+ z-index:1;
+}
+
+.v-treetable .v-table-body .v-table-table .v-table-row-animating,
+.v-treetable .v-table-body .v-table-table .v-table-row-animating .v-table-cell-content {
+ background:transparent;
+}
+
+.v-treetable-animation-clone {
+ border-spacing: 0;
+ zoom:1;
+}
+
+div.v-treetable-animation-clone-wrapper {
+ position: absolute;
+ z-index: 2;
+ background-color:#fff;
+}
+
+div.v-treetable-animation-clone-wrapper table.v-treetable-animation-clone {
+ background-color:#fff;
+}
+
+div table.v-treetable-animation-clone tr.v-table-row,
+div table.v-treetable-animation-clone tr.v-table-row-odd,
+div table.v-treetable-animation-clone tr.v-table-row td.v-table-cell-content,
+div table.v-treetable-animation-clone tr.v-table-row-odd td.v-table-cell-content {
+ visibility: visible;
+}
diff --git a/WebContent/VAADIN/themes/tests-components/styles.css b/WebContent/VAADIN/themes/tests-components/styles.css
index 3e59aaec7a..da173964f4 100644
--- a/WebContent/VAADIN/themes/tests-components/styles.css
+++ b/WebContent/VAADIN/themes/tests-components/styles.css
@@ -32,3 +32,8 @@
.border-blue-2px {
border: 2px solid blue;
}
+
+.v-table-row-tables-test-cell-style-red-row,
+.v-table-cell-content-tables-test-cell-style-red-row {
+ background: #f00;
+} \ No newline at end of file