summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN
diff options
context:
space:
mode:
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>2012-07-09 10:13:27 +0000
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>2012-07-09 10:13:27 +0000
commit3aab8e558b60088bb6dca5e75a320ef3dc6b0aba (patch)
treee273f27903ef57313131dab0fbe679bb431650bd /WebContent/VAADIN
parentd4d61d68982b5ce5ff435ab7c8644709cdc5950e (diff)
downloadvaadin-framework-3aab8e558b60088bb6dca5e75a320ef3dc6b0aba.tar.gz
vaadin-framework-3aab8e558b60088bb6dca5e75a320ef3dc6b0aba.zip
#7387 Render block elements in TreeTable hierarchy column correctly: draw the expand/collapse arrow as position: absolute and use padding for indentation. Also fix typo "ident" -> "indent".
svn changeset:23994/svn branch:6.8
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r--WebContent/VAADIN/themes/base/treetable/treetable.css14
-rw-r--r--WebContent/VAADIN/themes/reindeer/table/table.css6
2 files changed, 12 insertions, 8 deletions
diff --git a/WebContent/VAADIN/themes/base/treetable/treetable.css b/WebContent/VAADIN/themes/base/treetable/treetable.css
index 1bc21b890c..662839a4a2 100644
--- a/WebContent/VAADIN/themes/base/treetable/treetable.css
+++ b/WebContent/VAADIN/themes/base/treetable/treetable.css
@@ -4,13 +4,13 @@
height: 10px;
/* defines the amount of indent per level */
width: 18px;
-}
-.v-ie7 .v-treetable-treespacer{
- height: 100%; /* #7388 */
+ position: absolute;
+ left: 0;
+ top: 5px;
}
.v-treetable-node-closed {
- background: url(../treetable/img/arrow-right.png) right center no-repeat;
+ background: url(../treetable/img/arrow-right.png) right top no-repeat;
}
.v-ie6 .v-treetable-node-closed {
@@ -18,7 +18,7 @@
}
.v-treetable-node-open {
- background: url(../treetable/img/arrow-down.png) right center no-repeat;
+ background: url(../treetable/img/arrow-down.png) right top no-repeat;
}
.v-ie6 .v-treetable-node-open {
@@ -36,6 +36,10 @@
z-index: 10;
}
+.v-treetable .v-table-cell-wrapper {
+ position: relative;
+}
+
.v-treetable .v-table-body .v-table-table .v-table-row-animating {
zoom:1;
z-index:1;
diff --git a/WebContent/VAADIN/themes/reindeer/table/table.css b/WebContent/VAADIN/themes/reindeer/table/table.css
index 2e6c597160..cab7d6a01f 100644
--- a/WebContent/VAADIN/themes/reindeer/table/table.css
+++ b/WebContent/VAADIN/themes/reindeer/table/table.css
@@ -130,9 +130,9 @@
text-shadow: #f3f5f8 0 1px 0;
line-height: normal;
}
-.v-table-generated-row .v-table-cell-content {
- padding-top: 1px;
- padding-bottom: 2px;
+.v-table-generated-row .v-table-cell-wrapper {
+ padding-top: 4px;
+ padding-bottom: 5px;
}
.v-table-cell-content:last-child {
border-right-color: transparent;