]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added error icon for error indication.
authorJouni Koivuviita <jouni.koivuviita@itmill.com>
Wed, 7 Nov 2007 09:59:49 +0000 (09:59 +0000)
committerJouni Koivuviita <jouni.koivuviita@itmill.com>
Wed, 7 Nov 2007 09:59:49 +0000 (09:59 +0000)
svn changeset:2728/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/public/default/caption/caption.css
src/com/itmill/toolkit/terminal/gwt/public/default/icons/16/error.png [new file with mode: 0755]

index af4a30ef0749cbc3ecbf531e2b2a4fb0d2fd4ab8..4ffff807694fb212bacc839026e5b87a26e5b6e8 100644 (file)
@@ -1,9 +1,16 @@
+/* Provide some extra whitespace for wrapped elements
+   (these elements usually need the extra space, since 
+   they aren't even handling their own caption) */
+.i-captionwrapper {
+       margin: 0.3em 0 0 0;
+}
+
 .i-errorindicator {
-       width: 10px;
-       height: 10px;
+       width: 16px;
+       height: 16px;
        display: block;
        float:left;
-       background: #f00;
+       background: transparent url(../icons/16/error.png) no-repeat;
 }
 
 .i-error {
diff --git a/src/com/itmill/toolkit/terminal/gwt/public/default/icons/16/error.png b/src/com/itmill/toolkit/terminal/gwt/public/default/icons/16/error.png
new file mode 100755 (executable)
index 0000000..d1079cf
Binary files /dev/null and b/src/com/itmill/toolkit/terminal/gwt/public/default/icons/16/error.png differ