From dd5ee4f3b5ec0f817fffc22b010254af3ee3077c Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Wed, 26 May 2010 08:18:31 +0000 Subject: Small fixes to table row selection styles. svn changeset:13363/svn branch:6.4 --- WebContent/VAADIN/themes/base/styles.css | 12 +++++++---- WebContent/VAADIN/themes/base/table/table.css | 12 +++++++---- WebContent/VAADIN/themes/reindeer/styles.css | 25 ++++++++++------------- WebContent/VAADIN/themes/reindeer/table/table.css | 13 +++--------- WebContent/VAADIN/themes/runo/styles.css | 24 ++++++++++------------ WebContent/VAADIN/themes/runo/table/table.css | 12 +++-------- 6 files changed, 44 insertions(+), 54 deletions(-) (limited to 'WebContent') diff --git a/WebContent/VAADIN/themes/base/styles.css b/WebContent/VAADIN/themes/base/styles.css index ab170b65ca..1ebad6f5fd 100644 --- a/WebContent/VAADIN/themes/base/styles.css +++ b/WebContent/VAADIN/themes/base/styles.css @@ -1424,9 +1424,6 @@ div.v-progressindicator-indeterminate-disabled { .v-ie7 .v-table { overflow: visible; } -.v-table-body.focused{ - border-color: #388ddd; -} .v-table-header-wrap { overflow: hidden; border: 1px solid #aaa; @@ -1579,9 +1576,16 @@ div.v-progressindicator-indeterminate-disabled { text-align: center; } .v-table-body:focus, -.v-table-body-wrapper:focus{ +.v-table-body-wrapper:focus { outline: none; } +.v-table-body.focused { + border-color: #388ddd; +} +.v-table-focus .v-table-cell-content { + border-top: 1px dotted #0066bd; + border-bottom: 1px dotted #0066bd; +} /* row in column selector */ .v-on { diff --git a/WebContent/VAADIN/themes/base/table/table.css b/WebContent/VAADIN/themes/base/table/table.css index 7fdcd5b98a..824ce66b6e 100644 --- a/WebContent/VAADIN/themes/base/table/table.css +++ b/WebContent/VAADIN/themes/base/table/table.css @@ -29,9 +29,6 @@ .v-ie7 .v-table { overflow: visible; } -.v-table-body.focused{ - border-color: #388ddd; -} .v-table-header-wrap { overflow: hidden; border: 1px solid #aaa; @@ -184,9 +181,16 @@ text-align: center; } .v-table-body:focus, -.v-table-body-wrapper:focus{ +.v-table-body-wrapper:focus { outline: none; } +.v-table-body.focused { + border-color: #388ddd; +} +.v-table-focus .v-table-cell-content { + border-top: 1px dotted #0066bd; + border-bottom: 1px dotted #0066bd; +} /* row in column selector */ .v-on { diff --git a/WebContent/VAADIN/themes/reindeer/styles.css b/WebContent/VAADIN/themes/reindeer/styles.css index 7c65a825bc..afc9b8fa0d 100644 --- a/WebContent/VAADIN/themes/reindeer/styles.css +++ b/WebContent/VAADIN/themes/reindeer/styles.css @@ -1424,9 +1424,6 @@ div.v-progressindicator-indeterminate-disabled { .v-ie7 .v-table { overflow: visible; } -.v-table-body.focused{ - border-color: #388ddd; -} .v-table-header-wrap { overflow: hidden; border: 1px solid #aaa; @@ -1579,9 +1576,16 @@ div.v-progressindicator-indeterminate-disabled { text-align: center; } .v-table-body:focus, -.v-table-body-wrapper:focus{ +.v-table-body-wrapper:focus { outline: none; } +.v-table-body.focused { + border-color: #388ddd; +} +.v-table-focus .v-table-cell-content { + border-top: 1px dotted #0066bd; + border-bottom: 1px dotted #0066bd; +} /* row in column selector */ .v-on { @@ -4266,16 +4270,9 @@ td.v-datefield-calendarpanel-nextyear { .v-table .v-selected .v-table-cell-content { border-right-color: #466c90; } -.v-table-body:focus{ - outline: none; -} -.v-table .v-table-focus .v-table-cell-content{ - border-top: 1px dotted black; - border-bottom: 1px dotted black; -} -.v-table .v-table-focus .v-table-cell-content .v-table-cell-wrapper{ - padding-top:2px; - padding-bottom:2px; +.v-table-focus .v-table-cell-wrapper { + padding-top: 2px; + padding-bottom: 2px; } .v-table-column-selector { width: 16px; diff --git a/WebContent/VAADIN/themes/reindeer/table/table.css b/WebContent/VAADIN/themes/reindeer/table/table.css index 3a43a0fb49..35225fc22f 100644 --- a/WebContent/VAADIN/themes/reindeer/table/table.css +++ b/WebContent/VAADIN/themes/reindeer/table/table.css @@ -109,16 +109,9 @@ .v-table .v-selected .v-table-cell-content { border-right-color: #466c90; } -.v-table-body:focus{ - outline: none; -} -.v-table .v-table-focus .v-table-cell-content{ - border-top: 1px dotted black; - border-bottom: 1px dotted black; -} -.v-table .v-table-focus .v-table-cell-content .v-table-cell-wrapper{ - padding-top:2px; - padding-bottom:2px; +.v-table-focus .v-table-cell-wrapper { + padding-top: 2px; + padding-bottom: 2px; } .v-table-column-selector { width: 16px; diff --git a/WebContent/VAADIN/themes/runo/styles.css b/WebContent/VAADIN/themes/runo/styles.css index afa5660cad..1f394d4885 100644 --- a/WebContent/VAADIN/themes/runo/styles.css +++ b/WebContent/VAADIN/themes/runo/styles.css @@ -1424,9 +1424,6 @@ div.v-progressindicator-indeterminate-disabled { .v-ie7 .v-table { overflow: visible; } -.v-table-body.focused{ - border-color: #388ddd; -} .v-table-header-wrap { overflow: hidden; border: 1px solid #aaa; @@ -1579,9 +1576,16 @@ div.v-progressindicator-indeterminate-disabled { text-align: center; } .v-table-body:focus, -.v-table-body-wrapper:focus{ +.v-table-body-wrapper:focus { outline: none; } +.v-table-body.focused { + border-color: #388ddd; +} +.v-table-focus .v-table-cell-content { + border-top: 1px dotted #0066bd; + border-bottom: 1px dotted #0066bd; +} /* row in column selector */ .v-on { @@ -3652,6 +3656,9 @@ 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 { @@ -3774,15 +3781,6 @@ tr.v-table-row-odd:hover { padding: 2px 0; } -/* Keyboard navigation styles */ -.v-table-focus .v-table-cell-content { - border-top: 1px dotted black; - border-bottom: 1px dotted black; -} -.v-table-focus .v-table-cell-wrapper { - line-height: 21px; -} - .v-tabsheet-tabs { height: 48px; } diff --git a/WebContent/VAADIN/themes/runo/table/table.css b/WebContent/VAADIN/themes/runo/table/table.css index 499844e4d3..4bbd708221 100644 --- a/WebContent/VAADIN/themes/runo/table/table.css +++ b/WebContent/VAADIN/themes/runo/table/table.css @@ -69,6 +69,9 @@ 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 { @@ -190,12 +193,3 @@ tr.v-table-row-odd:hover { line-height: 18px; padding: 2px 0; } - -/* Keyboard navigation styles */ -.v-table-focus .v-table-cell-content { - border-top: 1px dotted black; - border-bottom: 1px dotted black; -} -.v-table-focus .v-table-cell-wrapper { - line-height: 21px; -} -- cgit v1.2.3