From: Jouni Koivuviita Date: Thu, 14 Jun 2007 12:53:28 +0000 (+0000) Subject: Component specific stylesheets and images for TextField. X-Git-Tag: 6.7.0.beta1~6264 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0198e2b245dc29689cd62e221e7834b36d726b4f;p=vaadin-framework.git Component specific stylesheets and images for TextField. svn changeset:1718/svn branch:trunk --- 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 index 0000000000..def46157a5 --- /dev/null +++ b/src/com/itmill/toolkit/terminal/gwt/public/component-themes/common/css/common.css @@ -0,0 +1,7 @@ +body { + background-color: #fff; + font-family: helvetica, verdana, tahoma, arial, sans-serif; + color: #222; + font-size: 62.5%; + line-height: 1.4em; +} \ 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 index 0000000000..e7eaba60e1 --- /dev/null +++ b/src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/css/textfield.css @@ -0,0 +1,18 @@ +.itk-textfield{ + font-family: helvetica, verdana, tahoma, arial, sans-serif; /* Copy from common.css */ + font-size: 1.2em; + color: #444; + background: #fff url(../img/bg.png) repeat-x; + padding: 2px; + border: 1px solid #b6b6b6; + border-bottom-color: #d6d6d6; + border-right-color: #d6d6d6; + margin: 0; +} + +.itk-textfield-focus { + color: #111; + border-color: #4376c3; + border-bottom-color: #6696dd; + border-right-color: #6696dd; +} \ 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 index 0000000000..43c7ac7b47 Binary files /dev/null and b/src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/img/bg.png differ