From 0198e2b245dc29689cd62e221e7834b36d726b4f Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Thu, 14 Jun 2007 12:53:28 +0000 Subject: [PATCH] Component specific stylesheets and images for TextField. svn changeset:1718/svn branch:trunk --- .../component-themes/common/css/common.css | 7 +++++++ .../textfield/css/textfield.css | 18 ++++++++++++++++++ .../component-themes/textfield/img/bg.png | Bin 0 -> 148 bytes 3 files changed, 25 insertions(+) create mode 100644 src/com/itmill/toolkit/terminal/gwt/public/component-themes/common/css/common.css create mode 100644 src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/css/textfield.css create mode 100644 src/com/itmill/toolkit/terminal/gwt/public/component-themes/textfield/img/bg.png 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 0000000000000000000000000000000000000000..43c7ac7b47d03b884bdbe66e7a2443f81a584020 GIT binary patch literal 148 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrF!3-ofN0qGwQY`6?zK#qG>ra@ocD)4hB}-f* zN`mv#O3D+9QW+dm@{>{(JaZG%Q-e|yQz{EjrrH1%aR&H=xc>kD|I3#zFJHdgvb!b| qC@ARZ;uunKD=8rKbLh*2~7ZPJS@2Y literal 0 HcmV?d00001 -- 2.39.5