summaryrefslogtreecommitdiffstats
path: root/WebContent/ITMILL
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2009-01-30 09:53:14 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2009-01-30 09:53:14 +0000
commit179694408deb84f107b1ce03dd82cde8a314ce60 (patch)
tree1a8e74f9ba5e3ff65ae341c0ef158986061c75f1 /WebContent/ITMILL
parent40eb4dc3681c6b36d6b43231a18ee36c1b1f6cc3 (diff)
downloadvaadin-framework-179694408deb84f107b1ce03dd82cde8a314ce60.tar.gz
vaadin-framework-179694408deb84f107b1ce03dd82cde8a314ce60.zip
fixes #2472, error indicators now works more consistently with checkbox
svn changeset:6681/svn branch:trunk
Diffstat (limited to 'WebContent/ITMILL')
-rw-r--r--WebContent/ITMILL/themes/default/button/button.css18
-rw-r--r--WebContent/ITMILL/themes/default/styles.css16
2 files changed, 29 insertions, 5 deletions
diff --git a/WebContent/ITMILL/themes/default/button/button.css b/WebContent/ITMILL/themes/default/button/button.css
index b1e20b0c0d..7db961b0fa 100644
--- a/WebContent/ITMILL/themes/default/button/button.css
+++ b/WebContent/ITMILL/themes/default/button/button.css
@@ -27,7 +27,19 @@
}
.i-button-link span {
text-decoration: underline;
-}
+}
+
+.i-checkbox {
+ white-space: nowrap;
+}
+
+.i-checkbox .i-errorindicator {
+ float: none;
+ display:inline;
+ padding-left: 10px;
+ background-position:left;
+}
+
/* fixes streched buttons in IE6 */
* html .i-button {
@@ -46,11 +58,11 @@
/* Error indicator on checkbox fix for IE6 */
* html .i-checkbox * { display: block; float: left;}
-* html .i-checkbox .i-errorindicator {padding-right:4px;}
+* html .i-checkbox .i-errorindicator {background-position:right;display: block; float: left; padding-left: 0px; padding-right:4px;}
/* Error indicator on checkbox fix for IE7 */
*+ html .i-checkbox * { display: block; float: left;}
-*+ html .i-checkbox .i-errorindicator {padding-right:7px;}
+*+ html .i-checkbox .i-errorindicator {background-position:right;display: block; float: left; padding-left: 0px;;padding-right:7px;}
/* Error indicator on button fix for IE7 */
*+ html button .i-errorindicator { display:inline; padding-right:5px; }
diff --git a/WebContent/ITMILL/themes/default/styles.css b/WebContent/ITMILL/themes/default/styles.css
index a963d0f94e..d1b43d4fe9 100644
--- a/WebContent/ITMILL/themes/default/styles.css
+++ b/WebContent/ITMILL/themes/default/styles.css
@@ -77,6 +77,18 @@
text-decoration: underline;
}
+.i-checkbox {
+ white-space: nowrap;
+}
+
+.i-checkbox .i-errorindicator {
+ float: none;
+ display:inline;
+ padding-left: 10px;
+ background-position:left;
+}
+
+
/* fixes streched buttons in IE6 */
* html .i-button {
width: 1px;
@@ -94,11 +106,11 @@
/* Error indicator on checkbox fix for IE6 */
* html .i-checkbox * { display: block; float: left;}
-* html .i-checkbox .i-errorindicator {padding-right:4px;}
+* html .i-checkbox .i-errorindicator {background-position:right;display: block; float: left; padding-left: 0px; padding-right:4px;}
/* Error indicator on checkbox fix for IE7 */
*+ html .i-checkbox * { display: block; float: left;}
-*+ html .i-checkbox .i-errorindicator {padding-right:7px;}
+*+ html .i-checkbox .i-errorindicator {background-position:right;display: block; float: left; padding-left: 0px;;padding-right:7px;}
/* Error indicator on button fix for IE7 */
*+ html button .i-errorindicator { display:inline; padding-right:5px; }