diff options
author | Marc Englund <marc.englund@itmill.com> | 2009-05-12 11:12:45 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2009-05-12 11:12:45 +0000 |
commit | e14bcef7f580a6e85c85665cd633105288c8f9c5 (patch) | |
tree | b4c92e97bd78c98e3cd81ab76b5a42513009ac8b /WebContent/VAADIN/themes/reindeer/textfield | |
parent | e0c9e338d7e575d29c19a391854f6539bd30b10d (diff) | |
download | vaadin-framework-e14bcef7f580a6e85c85665cd633105288c8f9c5.tar.gz vaadin-framework-e14bcef7f580a6e85c85665cd633105288c8f9c5.zip |
Renaming ITMILL/ -> VAADIN/ part 1 (for #2904)
svn changeset:7762/svn branch:6.0
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer/textfield')
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-focus.png | bin | 0 -> 242 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image.png | bin | 0 -> 243 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/textfield/img/bg.png | bin | 0 -> 124 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/textfield/textfield.css | 66 |
4 files changed, 66 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-focus.png b/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-focus.png Binary files differnew file mode 100644 index 0000000000..673212b408 --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image-focus.png diff --git a/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image.png b/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image.png Binary files differnew file mode 100644 index 0000000000..38fe3e6d7b --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/textfield/img/bg-border-image.png diff --git a/WebContent/VAADIN/themes/reindeer/textfield/img/bg.png b/WebContent/VAADIN/themes/reindeer/textfield/img/bg.png Binary files differnew file mode 100644 index 0000000000..4096e9d524 --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/textfield/img/bg.png diff --git a/WebContent/VAADIN/themes/reindeer/textfield/textfield.css b/WebContent/VAADIN/themes/reindeer/textfield/textfield.css new file mode 100644 index 0000000000..c04ca29398 --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/textfield/textfield.css @@ -0,0 +1,66 @@ +.v-textfield { + line-height: normal; + height: 19px; + border: 1px solid #bcbdbe; + border-top-color: #a2a3a4; + border-bottom-color: #d2d3d4; + background: #fff; + background-repeat: repeat-x; + background-image: url(img/bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */ + -moz-border-radius: 3px; +} +/* Need more specific selector because of #2384 fixes in base/common/common.css */ +.v-app input.v-textfield { + padding: 3px 3px 0 3px; +} +.v-textfield-focus { + border-color: #5b97d0; + border-top-color: #4f83b4; + border-bottom-color: #5ca0df; + outline: none; +} +input.v-textfield-prompt { + font-style: normal; + color: #999; +} +/* Textfield on blue background */ +.blue .v-textfield { + border-color: #92a2aa; + border-top-color: #7c8a90; + border-bottom-color: #a1b3bc; +} +/* Capable browsers get fancier border images */ +.v-sa input.v-textfield, +.v-ff35 input.v-textfield, +.v-op input.v-textfield { + -moz-border-radius: 0; + border: none; + background: transparent; + border-width: 0 3px 0 3px; + padding: 4px 0 0 0; + height: 20px; + -webkit-border-image: url(img/bg-border-image.png) 0 3 0 3 stretch stretch; + -moz-border-image: url(img/bg-border-image.png) 0 3 0 3 stretch stretch; + -o-border-image: url(img/bg-border-image.png) 0 3 0 3 stretch stretch; + +} +.v-sa input.v-textfield-focus, +.v-ff35 input.v-textfield-focus, +.v-op input.v-textfield-focus { + -webkit-border-image: url(img/bg-border-image-focus.png) 0 3 0 3 stretch stretch; + -moz-border-image: url(img/bg-border-image-focus.png) 0 3 0 3 stretch stretch; + -o-border-image: url(img/bg-border-image-focus.png) 0 3 0 3 stretch stretch; +} +/* Small style textfield */ +.v-app input.v-textfield-small, +.v-sa input.v-textfield-small, +.v-ff35 input.v-textfield-small, +.v-op input.v-textfield-small { + font-size: 11px; + height: 15px; +} +.v-sa input.v-textfield-small, +.v-ff35 input.v-textfield-small, +.v-op input.v-textfield-small { + height: 16px; +}
\ No newline at end of file |