From eade8d33602f3b2174c7135cee3d5f3403fff601 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Tue, 7 Jul 2009 06:51:22 +0000 Subject: Modified Reindeer black styles to be a bit more lighter, easier to see textfields and comboboxes on low contrast displays. Fixes blue and black layout styles for IE6 (previously had a child selector in layouts.css which caused IE6 fail the whole selector). svn changeset:8336/svn branch:6.0 --- .../themes/reindeer/textfield/img/bg-black.png | Bin 124 -> 124 bytes .../textfield/img/bg-border-image-black-focus.png | Bin 218 -> 202 bytes .../textfield/img/bg-border-image-black.png | Bin 214 -> 202 bytes .../VAADIN/themes/reindeer/textfield/textfield.css | 21 ++++++++------------- 4 files changed, 8 insertions(+), 13 deletions(-) (limited to 'WebContent/VAADIN/themes/reindeer/textfield') diff --git a/WebContent/VAADIN/themes/reindeer/textfield/img/bg-black.png b/WebContent/VAADIN/themes/reindeer/textfield/img/bg-black.png index ed00223de9..54c41f8bd5 100644 Binary files a/WebContent/VAADIN/themes/reindeer/textfield/img/bg-black.png and b/WebContent/VAADIN/themes/reindeer/textfield/img/bg-black.png differ diff --git a/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-black-focus.png b/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-black-focus.png index 5c992745ec..9defe8108a 100644 Binary files a/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-black-focus.png and b/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-black-focus.png differ diff --git a/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-black.png b/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-black.png index c88b3d31ad..2f501f3866 100644 Binary files a/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-black.png and b/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-black.png differ diff --git a/WebContent/VAADIN/themes/reindeer/textfield/textfield.css b/WebContent/VAADIN/themes/reindeer/textfield/textfield.css index 95b0984664..60350450d7 100644 --- a/WebContent/VAADIN/themes/reindeer/textfield/textfield.css +++ b/WebContent/VAADIN/themes/reindeer/textfield/textfield.css @@ -42,16 +42,14 @@ input.v-textfield-prompt { background: transparent; border-width: 0 3px 0 3px; padding: 4px 0 0 0; - height: 20px; + height: 21px; -webkit-border-image: url(img/bg-border-image.png) 0 3 0 3 stretch stretch; -moz-border-image: url(img/bg-border-image.png) 0 3 0 3 stretch stretch; - -o-border-image: url(img/bg-border-image.png) 0 3 0 3 stretch stretch; } .v-sa input.v-textfield-focus, .v-ff35 input.v-textfield-focus { -webkit-border-image: url(img/bg-border-image-focus.png) 0 3 0 3 stretch stretch; -moz-border-image: url(img/bg-border-image-focus.png) 0 3 0 3 stretch stretch; - -o-border-image: url(img/bg-border-image-focus.png) 0 3 0 3 stretch stretch; } /* Small style textfield */ .v-app input.v-textfield-small, @@ -74,10 +72,10 @@ input.v-textfield-prompt { } /* Textfield on black background */ .black .v-textfield { - border-color: #343536; - border-top-color: #2a2a2b; - border-bottom-color: #3a3b3c; - background: #1b1d1e; + border-color: #38393a; + border-top-color: #2c2d2e; + border-bottom-color: #3e3f3f; + background: #151717; background-image: url(img/bg-black.png); /** sprite-ref: black-verticals; sprite-alignment: repeat; sprite-margin-bottom: 22px */ color: #c9ccce; text-shadow: #000 0 0 1px; @@ -86,23 +84,21 @@ input.v-textfield-prompt { .v-window-black .v-textfield-focus, .v-window .black .v-textfield-focus, .v-popupview-popup .black .v-textfield-focus { - border-color: #4e6a80; - border-top-color: #3a5163; - border-bottom-color: #557086; + border-color: #4b7192; + border-top-color: #3b5a75; + border-bottom-color: #507596; } /* Capable browsers get fancier border images */ .v-sa .black input.v-textfield, .v-ff35 .black input.v-textfield { -webkit-border-image: url(img/bg-border-image-black.png) 0 3 0 3 stretch stretch; -moz-border-image: url(img/bg-border-image-black.png) 0 3 0 3 stretch stretch; - -o-border-image: url(img/bg-border-image-black.png) 0 3 0 3 stretch stretch; height: 19px; } .v-sa .black input.v-textfield-focus, .v-ff35 .black input.v-textfield-focus { -webkit-border-image: url(img/bg-border-image-black-focus.png) 0 3 0 3 stretch stretch; -moz-border-image: url(img/bg-border-image-black-focus.png) 0 3 0 3 stretch stretch; - -o-border-image: url(img/bg-border-image-black-focus.png) 0 3 0 3 stretch stretch; } .v-sa .black input.v-textfield-small, .v-ff35 .black input.v-textfield-small { @@ -124,6 +120,5 @@ input.v-textfield-readonly, background: transparent; -webkit-border-image: none; -moz-border-image: none; - -o-border-image: none; border-width: 0; } \ No newline at end of file -- cgit v1.2.3