]> source.dussan.org Git - vaadin-framework.git/commitdiff
New samples and some Sampler theme improvements.
authorJouni Koivuviita <jouni.koivuviita@itmill.com>
Mon, 30 Nov 2009 13:03:48 +0000 (13:03 +0000)
committerJouni Koivuviita <jouni.koivuviita@itmill.com>
Mon, 30 Nov 2009 13:03:48 +0000 (13:03 +0000)
svn changeset:10106/svn branch:6.2

WebContent/VAADIN/themes/sampler/sampler/new-tree-badge.png [new file with mode: 0644]
WebContent/VAADIN/themes/sampler/sampler/styles.css

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 (file)
index 0000000..01c857b
Binary files /dev/null and b/WebContent/VAADIN/themes/sampler/sampler/new-tree-badge.png differ
index 9952e22c05b1eb06069125c93017cd5305e19578..03499a2839caf812b5a9a14231c125bb32ce49c3 100644 (file)
 .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;
 .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 {
 .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;