From 2752d636743b1091b6c52baf26d39ce5c7d50964 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Fri, 4 Jun 2010 08:56:21 +0000 Subject: Hide webkit textarea resize handles for disabled & readonly textfields svn changeset:13548/svn branch:6.4 --- WebContent/VAADIN/themes/base/styles.css | 5 +++++ WebContent/VAADIN/themes/base/textfield/textfield-normal.css | 5 +++++ WebContent/VAADIN/themes/reindeer/styles.css | 5 +++++ WebContent/VAADIN/themes/runo/styles.css | 5 +++++ 4 files changed, 20 insertions(+) (limited to 'WebContent') diff --git a/WebContent/VAADIN/themes/base/styles.css b/WebContent/VAADIN/themes/base/styles.css index 1ebad6f5fd..fd3522e312 100644 --- a/WebContent/VAADIN/themes/base/styles.css +++ b/WebContent/VAADIN/themes/base/styles.css @@ -1773,6 +1773,11 @@ input.v-textfield-readonly, textarea.v-textarea-readonly { background: transparent; border: none; + resize: none; +} +input.v-disabled, +textarea.v-disabled { + resize: none; } input.v-textfield-readonly:focus, textarea.v-textarea-readonly:focus { diff --git a/WebContent/VAADIN/themes/base/textfield/textfield-normal.css b/WebContent/VAADIN/themes/base/textfield/textfield-normal.css index f5783ad748..aa787dd4dc 100644 --- a/WebContent/VAADIN/themes/base/textfield/textfield-normal.css +++ b/WebContent/VAADIN/themes/base/textfield/textfield-normal.css @@ -15,6 +15,11 @@ input.v-textfield-readonly, textarea.v-textarea-readonly { background: transparent; border: none; + resize: none; +} +input.v-disabled, +textarea.v-disabled { + resize: none; } input.v-textfield-readonly:focus, textarea.v-textarea-readonly:focus { diff --git a/WebContent/VAADIN/themes/reindeer/styles.css b/WebContent/VAADIN/themes/reindeer/styles.css index afc9b8fa0d..7252230469 100644 --- a/WebContent/VAADIN/themes/reindeer/styles.css +++ b/WebContent/VAADIN/themes/reindeer/styles.css @@ -1773,6 +1773,11 @@ input.v-textfield-readonly, textarea.v-textarea-readonly { background: transparent; border: none; + resize: none; +} +input.v-disabled, +textarea.v-disabled { + resize: none; } input.v-textfield-readonly:focus, textarea.v-textarea-readonly:focus { diff --git a/WebContent/VAADIN/themes/runo/styles.css b/WebContent/VAADIN/themes/runo/styles.css index 1f394d4885..1b248f22d8 100644 --- a/WebContent/VAADIN/themes/runo/styles.css +++ b/WebContent/VAADIN/themes/runo/styles.css @@ -1773,6 +1773,11 @@ input.v-textfield-readonly, textarea.v-textarea-readonly { background: transparent; border: none; + resize: none; +} +input.v-disabled, +textarea.v-disabled { + resize: none; } input.v-textfield-readonly:focus, textarea.v-textarea-readonly:focus { -- cgit v1.2.3