diff options
author | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-09-16 13:01:33 +0000 |
---|---|---|
committer | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-09-16 13:01:33 +0000 |
commit | fce223f35f93e6b8a549db43233aa0547539b86a (patch) | |
tree | 09ff258381ac4786b980551567a794ff2347e8fd /WebContent | |
parent | 513861844cf78f0ad838c05f3363cf5aaeb8e432 (diff) | |
download | vaadin-framework-fce223f35f93e6b8a549db43233aa0547539b86a.tar.gz vaadin-framework-fce223f35f93e6b8a549db43233aa0547539b86a.zip |
Fixes #3352: Make a custom theme for Sampler theme select dropdown (not tested in IE)
svn changeset:8815/svn branch:6.1
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/sampler/sampler/icon-empty.png | bin | 0 -> 140 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/sampler/sampler/select-bullet.png | bin | 0 -> 287 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/sampler/sampler/styles.css | 29 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/sampler/sampler/theme-select-bg.png | bin | 0 -> 320 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/sampler/sampler/theme-select-sel-bg.png | bin | 0 -> 199 bytes |
5 files changed, 28 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/sampler/sampler/icon-empty.png b/WebContent/VAADIN/themes/sampler/sampler/icon-empty.png Binary files differnew file mode 100644 index 0000000000..05326288d9 --- /dev/null +++ b/WebContent/VAADIN/themes/sampler/sampler/icon-empty.png diff --git a/WebContent/VAADIN/themes/sampler/sampler/select-bullet.png b/WebContent/VAADIN/themes/sampler/sampler/select-bullet.png Binary files differnew file mode 100644 index 0000000000..8ef4841581 --- /dev/null +++ b/WebContent/VAADIN/themes/sampler/sampler/select-bullet.png diff --git a/WebContent/VAADIN/themes/sampler/sampler/styles.css b/WebContent/VAADIN/themes/sampler/sampler/styles.css index 3b18645d74..0dab6d5227 100644 --- a/WebContent/VAADIN/themes/sampler/sampler/styles.css +++ b/WebContent/VAADIN/themes/sampler/sampler/styles.css @@ -167,7 +167,8 @@ .v-app-SamplerApplication .theme-select * { background: transparent; } -.v-app-SamplerApplication .theme-select .v-filterselect-input { +.v-app-SamplerApplication .theme-select .v-filterselect-input, +.v-app-SamplerApplication .theme-select .v-icon { width: 0; height: 0; padding: 0; @@ -193,6 +194,32 @@ .v-app-SamplerApplication .theme-select:active .v-filterselect-button { background-position: right bottom; } + + +/* Theme select drop down styles */ +.v-filterselect-suggestpopup-theme-select { + background: #343538 url(theme-select-bg.png) repeat-x; + border: none; + font-family: Arial, Helvetica, sans-serif; + font-size: 12px; + line-height: normal; + color: #d7d8d9; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + text-shadow: #373a3c 0 1px 0; +} +.v-filterselect-suggestpopup-theme-select .v-filterselect-suggestmenu { + margin: 6px 0; +} +.v-filterselect-suggestpopup-theme-select .gwt-MenuItem { + height: 14px; + padding: 1px 15px 1px 4px; + cursor: default; +} +.v-filterselect-suggestpopup-theme-select .gwt-MenuItem-selected { + background: #3472ac url(theme-select-sel-bg.png) repeat-x; +} + .v-app-SamplerApplication .v-horizontallayout-segment .v-nativebutton-previous span, .v-app-SamplerApplication .v-horizontallayout-segment .v-nativebutton-previous.v-pressed span, .v-app-SamplerApplication .v-horizontallayout-segment .v-nativebutton-previous.v-disabled span { diff --git a/WebContent/VAADIN/themes/sampler/sampler/theme-select-bg.png b/WebContent/VAADIN/themes/sampler/sampler/theme-select-bg.png Binary files differnew file mode 100644 index 0000000000..3f279aa321 --- /dev/null +++ b/WebContent/VAADIN/themes/sampler/sampler/theme-select-bg.png diff --git a/WebContent/VAADIN/themes/sampler/sampler/theme-select-sel-bg.png b/WebContent/VAADIN/themes/sampler/sampler/theme-select-sel-bg.png Binary files differnew file mode 100644 index 0000000000..f605d22cec --- /dev/null +++ b/WebContent/VAADIN/themes/sampler/sampler/theme-select-sel-bg.png |