diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-05-20 09:52:32 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-05-20 09:52:32 +0000 |
commit | 3996b73c35f8be95d8b3c2c03554da5cb6c624a8 (patch) | |
tree | be04874f4895c90c64b1a446206cee7093268ae7 /WebContent | |
parent | 111e8b7b6d04f249b612501d6c623be55f8f832c (diff) | |
download | vaadin-framework-3996b73c35f8be95d8b3c2c03554da5cb6c624a8.tar.gz vaadin-framework-3996b73c35f8be95d8b3c2c03554da5cb6c624a8.zip |
fixes #1668, #1669
svn changeset:4561/svn branch:trunk
Diffstat (limited to 'WebContent')
8 files changed, 103 insertions, 23 deletions
diff --git a/WebContent/ITMILL/themes/default/button/button.css b/WebContent/ITMILL/themes/default/button/button.css index 2f8ffe0d28..30fdff6618 100644 --- a/WebContent/ITMILL/themes/default/button/button.css +++ b/WebContent/ITMILL/themes/default/button/button.css @@ -17,3 +17,8 @@ .i-button-link span { text-decoration: underline; } + +.i-checkbox-error { + background:transparent; + background-color: #FFE0E0; +} diff --git a/WebContent/ITMILL/themes/default/common/common.css b/WebContent/ITMILL/themes/default/common/common.css index 99e386b8ae..c68d18a625 100644 --- a/WebContent/ITMILL/themes/default/common/common.css +++ b/WebContent/ITMILL/themes/default/common/common.css @@ -72,16 +72,12 @@ input.i-modified, background-color: #FFFFE0;
}
-input.i-error,
-.i-richtextarea.i-error iframe.gwt-RichTextArea,
-.i-checkbox.i-error,
-.i-error .i-select-option,
-.i-error .i-textfield,
-.i-error .i-datefield-calendarpanel,
-.i-error .i-select-select,
-.i-error .i-select-twincol-selections,
-.i-error .i-select-twincol-options,
-.i-error .i-slider-base {
+.i-checkbox-error, +.i-select-error .i-select-option, +.i-select-error .i-select-select, +.i-select-error .i-select-twincol-selections, +.i-select-error .i-select-twincol-options, +.i-slider-error .i-slider-base {
background:transparent; background-color: #FFE0E0;
} diff --git a/WebContent/ITMILL/themes/default/datefield/datefield.css b/WebContent/ITMILL/themes/default/datefield/datefield.css index 7ddf948f5a..834945e7fc 100644 --- a/WebContent/ITMILL/themes/default/datefield/datefield.css +++ b/WebContent/ITMILL/themes/default/datefield/datefield.css @@ -172,6 +172,12 @@ margin: 0;
} -.i-datefield-error .i-textfield { +.i-datefield-error .i-textfield, +.i-datefield-error .i-datefield-calendarpanel { + background:transparent; + background-color: #FFE0E0; +} + +.i-datefield-rendererror .i-textfield { background: #ff9999; } diff --git a/WebContent/ITMILL/themes/default/formlayout/formlayout.css b/WebContent/ITMILL/themes/default/formlayout/formlayout.css new file mode 100644 index 0000000000..a27cada8af --- /dev/null +++ b/WebContent/ITMILL/themes/default/formlayout/formlayout.css @@ -0,0 +1,6 @@ +.i-formlayout-cell .i-errorindicator { + width: 10px; + height: 16px; + display: block; + background: transparent url(../icons/16/error.png) no-repeat top right; +}
\ No newline at end of file diff --git a/WebContent/ITMILL/themes/default/select/select.css b/WebContent/ITMILL/themes/default/select/select.css index 54064221bb..9d7eeaca52 100644 --- a/WebContent/ITMILL/themes/default/select/select.css +++ b/WebContent/ITMILL/themes/default/select/select.css @@ -182,6 +182,22 @@ border-top: 1px solid #b6bbbc; } +.i-filterselect-error { + background: transparent url(img/bg-left-filter-error.png) no-repeat; +} + +.i-filterselect-error .i-filterselect-button { + background: transparent url(img/bg-right-filter-error.png); +} + +.i-select-error .i-select-option, +.i-select-error .i-select-select, +.i-select-error .i-select-twincol-selections, +.i-select-error .i-select-twincol-options { + background:transparent; + background-color: #FFE0E0; +} + /* IE specific styles */ * html .i-filterselect { diff --git a/WebContent/ITMILL/themes/default/slider/slider.css b/WebContent/ITMILL/themes/default/slider/slider.css index 5b10e6a110..9249770017 100644 --- a/WebContent/ITMILL/themes/default/slider/slider.css +++ b/WebContent/ITMILL/themes/default/slider/slider.css @@ -85,6 +85,10 @@ } +.i-slider-error .i-slider-base { + background:transparent; + background-color: #FFE0E0; +} /* IE specific styles */ diff --git a/WebContent/ITMILL/themes/default/styles.css b/WebContent/ITMILL/themes/default/styles.css index 79aed3f7ad..d48d9e80fc 100644 --- a/WebContent/ITMILL/themes/default/styles.css +++ b/WebContent/ITMILL/themes/default/styles.css @@ -48,6 +48,11 @@ .i-button-link span { text-decoration: underline; } + +.i-checkbox-error { + background:transparent; + background-color: #FFE0E0; +} /* Provide some extra whitespace for wrapped elements (these elements usually need the extra space, since they aren't even handling their own caption) */ @@ -158,16 +163,12 @@ input.i-modified, background-color: #FFFFE0; } -input.i-error, -.i-richtextarea.i-error iframe.gwt-RichTextArea, -.i-checkbox.i-error, -.i-error .i-select-option, -.i-error .i-textfield, -.i-error .i-datefield-calendarpanel, -.i-error .i-select-select, -.i-error .i-select-twincol-selections, -.i-error .i-select-twincol-options, -.i-error .i-slider-base { +.i-checkbox-error, +.i-select-error .i-select-option, +.i-select-error .i-select-select, +.i-select-error .i-select-twincol-selections, +.i-select-error .i-select-twincol-options, +.i-slider-error .i-slider-base { background:transparent; background-color: #FFE0E0; } @@ -425,7 +426,13 @@ input.i-error, margin: 0; } -.i-datefield-error .i-textfield { +.i-datefield-error .i-textfield, +.i-datefield-error .i-datefield-calendarpanel { + background:transparent; + background-color: #FFE0E0; +} + +.i-datefield-rendererror .i-textfield { background: #ff9999; } .i-expandlayout-lo-table { @@ -471,6 +478,12 @@ input.i-error, .i-expandlayout-hspacing { margin-left: 8px; } +.i-formlayout-cell .i-errorindicator { + width: 10px; + height: 16px; + display: block; + background: transparent url(icons/16/error.png) no-repeat top right; +} .i-Notification { font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif; @@ -952,6 +965,22 @@ input.i-error, border-top: 1px solid #b6bbbc; } +.i-filterselect-error { + background: transparent url(select/img/bg-left-filter-error.png) no-repeat; +} + +.i-filterselect-error .i-filterselect-button { + background: transparent url(select/img/bg-right-filter-error.png); +} + +.i-select-error .i-select-option, +.i-select-error .i-select-select, +.i-select-error .i-select-twincol-selections, +.i-select-error .i-select-twincol-options { + background:transparent; + background-color: #FFE0E0; +} + /* IE specific styles */ * html .i-filterselect { @@ -1061,6 +1090,10 @@ input.i-error, } +.i-slider-error .i-slider-base { + background:transparent; + background-color: #FFE0E0; +} /* IE specific styles */ @@ -1540,6 +1573,13 @@ input.i-error, .i-richtextarea iframe { border: 0; } + +.i-textarea-error, +.i-textfield-error, +.i-richtextarea-error iframe.gwt-RichTextArea { + background:transparent; + background-color: #FFE0E0; +} .i-tree { text-align: left /* Force default alignment */ } diff --git a/WebContent/ITMILL/themes/default/textfield/textfield.css b/WebContent/ITMILL/themes/default/textfield/textfield.css index 9f3191dc75..da549b4c66 100644 --- a/WebContent/ITMILL/themes/default/textfield/textfield.css +++ b/WebContent/ITMILL/themes/default/textfield/textfield.css @@ -44,4 +44,11 @@ } .i-richtextarea iframe { border: 0; -}
\ No newline at end of file +} + +.i-textarea-error, +.i-textfield-error, +.i-richtextarea-error iframe.gwt-RichTextArea { + background:transparent; + background-color: #FFE0E0; +} |