From bb5ed76141e680cf2f5bc17072cc875477359581 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Mon, 30 Nov 2009 13:03:48 +0000 Subject: [PATCH] New samples and some Sampler theme improvements. svn changeset:10106/svn branch:6.2 --- .../themes/sampler/sampler/new-tree-badge.png | Bin 0 -> 305 bytes .../VAADIN/themes/sampler/sampler/styles.css | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 WebContent/VAADIN/themes/sampler/sampler/new-tree-badge.png diff --git a/WebContent/VAADIN/themes/sampler/sampler/new-tree-badge.png b/WebContent/VAADIN/themes/sampler/sampler/new-tree-badge.png new file mode 100644 index 0000000000000000000000000000000000000000..01c857b332089d9456c1fc2bf803b2998e08f811 GIT binary patch literal 305 zcmV-10nYx3P)+w literal 0 HcmV?d00001 diff --git a/WebContent/VAADIN/themes/sampler/sampler/styles.css b/WebContent/VAADIN/themes/sampler/sampler/styles.css index 9952e22c05..03499a2839 100644 --- a/WebContent/VAADIN/themes/sampler/sampler/styles.css +++ b/WebContent/VAADIN/themes/sampler/sampler/styles.css @@ -294,6 +294,10 @@ .v-app-SamplerApplication .v-tree-menu .v-tree-node span { display: inline; } +.v-app-SamplerApplication .v-tree-menu .v-tree-node-caption-new span { + padding-right: 20px; + background: url(new-tree-badge.png) no-repeat right 2px; +} .v-app-SamplerApplication .v-tree-menu .v-tree-node-selected span { background: #7d8490; padding: 1px; @@ -422,7 +426,9 @@ .v-csslayout-grid .screenshot a:hover span { background: transparent url(screenshot-frame-hover.png) no-repeat 1px 0; } -.v-csslayout-grid .new span { +.v-csslayout-grid .new a span, +.v-csslayout-grid .new a:link span, +.v-csslayout-grid .new a:visited span { background: transparent url(screenshot-frame-new.png) no-repeat 2px 0; } .v-csslayout-grid .new a:hover span { @@ -494,6 +500,14 @@ .highlight .v-link a:hover span { background: transparent url(screenshot-frame-hover.png) no-repeat 0 1px; } +.highlight .new a span, +.highlight .new a:link span, +.highlight .new a:visited span { + background: transparent url(screenshot-frame-new.png) no-repeat 2px 1px; +} +.highlight .new a:hover span { + background: transparent url(screenshot-frame-new-hover.png) no-repeat 1px 1px; +} .highlight .v-label { white-space: normal; -- 2.39.5