From 92fdfcfee43c6ffce8a84f781d6970161252377c Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Tue, 23 Mar 2010 07:26:44 +0000 Subject: [PATCH] Small corrections to #4334: TextField contents offset in Firefox 3.6 svn changeset:12020/svn branch:6.3 --- WebContent/VAADIN/themes/reindeer/datefield/datefield.css | 1 + WebContent/VAADIN/themes/reindeer/select/select.css | 2 +- WebContent/VAADIN/themes/reindeer/styles.css | 8 +++++--- WebContent/VAADIN/themes/reindeer/textfield/textfield.css | 5 +++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/WebContent/VAADIN/themes/reindeer/datefield/datefield.css b/WebContent/VAADIN/themes/reindeer/datefield/datefield.css index 040c255ecf..8759adf010 100644 --- a/WebContent/VAADIN/themes/reindeer/datefield/datefield.css +++ b/WebContent/VAADIN/themes/reindeer/datefield/datefield.css @@ -247,6 +247,7 @@ td.v-datefield-calendarpanel-nextyear { -moz-border-radius-bottomright: 0; -webkit-border-top-right-radius: 0; -webkit-border-bottom-right-radius: 0; + height: 14px; } .v-readonly .v-datefield-textfield { border-right-width: 1px; diff --git a/WebContent/VAADIN/themes/reindeer/select/select.css b/WebContent/VAADIN/themes/reindeer/select/select.css index 843a6e88d1..94c364df1b 100644 --- a/WebContent/VAADIN/themes/reindeer/select/select.css +++ b/WebContent/VAADIN/themes/reindeer/select/select.css @@ -19,7 +19,7 @@ .v-app input.v-filterselect-input, .v-window input.v-filterselect-input, .v-popupview-popup input.v-filterselect-input { - padding: 4px 0 3px 2px; + padding: 4px 0 4px 2px; } .v-filterselect-prompt .v-filterselect-input { font-style: normal; diff --git a/WebContent/VAADIN/themes/reindeer/styles.css b/WebContent/VAADIN/themes/reindeer/styles.css index 669bf62664..36abba8d5b 100644 --- a/WebContent/VAADIN/themes/reindeer/styles.css +++ b/WebContent/VAADIN/themes/reindeer/styles.css @@ -2791,6 +2791,7 @@ td.v-datefield-calendarpanel-nextyear { -moz-border-radius-bottomright: 0; -webkit-border-top-right-radius: 0; -webkit-border-bottom-right-radius: 0; + height: 14px; } .v-readonly .v-datefield-textfield { border-right-width: 1px; @@ -3382,7 +3383,7 @@ td.v-datefield-calendarpanel-nextyear { .v-app input.v-filterselect-input, .v-window input.v-filterselect-input, .v-popupview-popup input.v-filterselect-input { - padding: 4px 0 3px 2px; + padding: 4px 0 4px 2px; } .v-filterselect-prompt .v-filterselect-input { font-style: normal; @@ -4653,8 +4654,9 @@ td.v-datefield-calendarpanel-nextyear { background-image: url(common/img/vertical-sprites.png); -background-image: url(common/img/vertical-sprites-ie6.png); background-position: left -1887px; - border-radius: 3px; -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; margin: 0; height: 15px; line-height: normal; @@ -4668,7 +4670,7 @@ td.v-datefield-calendarpanel-nextyear { .v-window input.v-textfield, .v-app textarea.v-textarea, .v-window textarea.v-textarea { - padding: 3px; + padding: 3px 3px 4px; } /* Textfield on blue background */ .blue .v-textfield, diff --git a/WebContent/VAADIN/themes/reindeer/textfield/textfield.css b/WebContent/VAADIN/themes/reindeer/textfield/textfield.css index afc766bf77..884e5231e4 100644 --- a/WebContent/VAADIN/themes/reindeer/textfield/textfield.css +++ b/WebContent/VAADIN/themes/reindeer/textfield/textfield.css @@ -6,8 +6,9 @@ background: #fff; background-repeat: repeat-x; background-image: url(img/bg.png); /** sprite-ref: verticals; sprite-alignment: repeat; sprite-margin-bottom: 22px */ - border-radius: 3px; -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; margin: 0; height: 15px; line-height: normal; @@ -21,7 +22,7 @@ .v-window input.v-textfield, .v-app textarea.v-textarea, .v-window textarea.v-textarea { - padding: 3px; + padding: 3px 3px 4px; } /* Textfield on blue background */ .blue .v-textfield, -- 2.39.5