]> source.dussan.org Git - vaadin-framework.git/commitdiff
Component specific stylesheets and images for TextField.
authorJouni Koivuviita <jouni.koivuviita@itmill.com>
Thu, 14 Jun 2007 12:53:28 +0000 (12:53 +0000)
committerJouni Koivuviita <jouni.koivuviita@itmill.com>
Thu, 14 Jun 2007 12:53:28 +0000 (12:53 +0000)
svn changeset:1718/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/public/component-themes/common/css/common.css [new file with mode: 0644]
src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/css/textfield.css [new file with mode: 0644]
src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/img/bg.png [new file with mode: 0644]

diff --git a/src/com/itmill/toolkit/terminal/gwt/public/component-themes/common/css/common.css b/src/com/itmill/toolkit/terminal/gwt/public/component-themes/common/css/common.css
new file mode 100644 (file)
index 0000000..def4615
--- /dev/null
@@ -0,0 +1,7 @@
+body {\r
+       background-color: #fff;\r
+       font-family: helvetica, verdana, tahoma, arial, sans-serif;\r
+       color: #222;\r
+       font-size: 62.5%;\r
+       line-height: 1.4em;\r
+}
\ No newline at end of file
diff --git a/src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/css/textfield.css b/src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/css/textfield.css
new file mode 100644 (file)
index 0000000..e7eaba6
--- /dev/null
@@ -0,0 +1,18 @@
+.itk-textfield{\r
+       font-family: helvetica, verdana, tahoma, arial, sans-serif; /* Copy from common.css */\r
+       font-size: 1.2em;\r
+       color: #444;\r
+       background: #fff url(../img/bg.png) repeat-x;\r
+       padding: 2px;\r
+       border: 1px solid #b6b6b6;\r
+       border-bottom-color: #d6d6d6;\r
+       border-right-color: #d6d6d6;\r
+       margin: 0;\r
+}\r
+\r
+.itk-textfield-focus {\r
+       color: #111;\r
+       border-color: #4376c3;\r
+       border-bottom-color: #6696dd;\r
+       border-right-color: #6696dd;\r
+}
\ No newline at end of file
diff --git a/src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/img/bg.png b/src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/img/bg.png
new file mode 100644 (file)
index 0000000..43c7ac7
Binary files /dev/null and b/src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/img/bg.png differ