diff options
author | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2011-05-19 12:06:48 +0000 |
---|---|---|
committer | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2011-05-19 12:06:48 +0000 |
commit | fbda46ca5715d391b39301abccdf30bf522fc510 (patch) | |
tree | faee380076b3254666f45ef852ff736714962f02 /WebContent/VAADIN | |
parent | 5652e7c420563d3dac040b56e602560a26a9610d (diff) | |
download | vaadin-framework-fbda46ca5715d391b39301abccdf30bf522fc510.tar.gz vaadin-framework-fbda46ca5715d391b39301abccdf30bf522fc510.zip |
Fixes #6932 "Table rows shift a couple of pixels down when selecting a row in IE7"
* Added negative margins to the cell content when the row is focused
* Removed padding/line-height changes from all core themes that previously handled the focus state offset change
svn changeset:18925/svn branch:6.6
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r-- | WebContent/VAADIN/themes/base/table/table.css | 4 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/liferay/table/table.css | 5 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/table/table.css | 4 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/runo/table/table.css | 3 |
4 files changed, 4 insertions, 12 deletions
diff --git a/WebContent/VAADIN/themes/base/table/table.css b/WebContent/VAADIN/themes/base/table/table.css index 7308cc4a46..425f8243d6 100644 --- a/WebContent/VAADIN/themes/base/table/table.css +++ b/WebContent/VAADIN/themes/base/table/table.css @@ -220,6 +220,10 @@ border-top: 1px dotted #0066bd; border-bottom: 1px dotted #0066bd; } +.v-table-focus .v-table-cell-wrapper { + margin-top: -1px; + margin-bottom: -1px; +} /* row in column selector */
.v-on { diff --git a/WebContent/VAADIN/themes/liferay/table/table.css b/WebContent/VAADIN/themes/liferay/table/table.css index 0991af8556..de9b4ff426 100644 --- a/WebContent/VAADIN/themes/liferay/table/table.css +++ b/WebContent/VAADIN/themes/liferay/table/table.css @@ -103,11 +103,6 @@ padding-bottom: 3px; } -.v-table-focus .v-table-cell-wrapper { - padding-top: 2px; - padding-bottom: 2px; -} - .v-table-cell-content { border-right: 1px solid #999; padding: 0 6px; diff --git a/WebContent/VAADIN/themes/reindeer/table/table.css b/WebContent/VAADIN/themes/reindeer/table/table.css index 903e18f6a8..8ac40ba116 100644 --- a/WebContent/VAADIN/themes/reindeer/table/table.css +++ b/WebContent/VAADIN/themes/reindeer/table/table.css @@ -114,10 +114,6 @@ .v-table .v-selected .v-table-cell-content { border-right-color: #466c90; } -.v-table-focus .v-table-cell-wrapper { - padding-top: 2px; - padding-bottom: 2px; -} .v-table-column-selector { width: 16px; height: 20px; diff --git a/WebContent/VAADIN/themes/runo/table/table.css b/WebContent/VAADIN/themes/runo/table/table.css index 9fdb83d82f..7a7de1962b 100644 --- a/WebContent/VAADIN/themes/runo/table/table.css +++ b/WebContent/VAADIN/themes/runo/table/table.css @@ -82,9 +82,6 @@ tr.v-table-row-odd:hover { /* Do not specify horizontal padding here */ padding: 3px 0 0 0; } -.v-table-focus .v-table-cell-wrapper { - line-height: 21px; -} /* Fix textfield size to correspond label size inside table */ .v-table-cell-content .v-textfield, .v-table-cell-content .v-button { |