summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2011-06-13 11:15:49 +0000
committerHenri Sara <henri.sara@itmill.com>2011-06-13 11:15:49 +0000
commit8727670c7a90267ad4d2bceb69d18aee5c6f4615 (patch)
tree5cd033998eb9f6892b050d973ee3999a0a35d416 /WebContent/VAADIN/themes/reindeer
parent354be78fb0cbd147085ef11f88fe3c1c3cdb99b7 (diff)
downloadvaadin-framework-8727670c7a90267ad4d2bceb69d18aee5c6f4615.tar.gz
vaadin-framework-8727670c7a90267ad4d2bceb69d18aee5c6f4615.zip
#4125 MenuBar supports selectable items
svn changeset:19348/svn branch:6.6
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer')
-rw-r--r--WebContent/VAADIN/themes/reindeer/menubar/img/checked-selected.pngbin0 -> 508 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/menubar/img/checked.pngbin0 -> 393 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/menubar/img/unchecked-selected.pngbin0 -> 320 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/menubar/img/unchecked.pngbin0 -> 261 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/menubar/menubar.css22
5 files changed, 21 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/menubar/img/checked-selected.png b/WebContent/VAADIN/themes/reindeer/menubar/img/checked-selected.png
new file mode 100644
index 0000000000..192c404617
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/menubar/img/checked-selected.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/menubar/img/checked.png b/WebContent/VAADIN/themes/reindeer/menubar/img/checked.png
new file mode 100644
index 0000000000..418e951166
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/menubar/img/checked.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/menubar/img/unchecked-selected.png b/WebContent/VAADIN/themes/reindeer/menubar/img/unchecked-selected.png
new file mode 100644
index 0000000000..bac6587c20
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/menubar/img/unchecked-selected.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/menubar/img/unchecked.png b/WebContent/VAADIN/themes/reindeer/menubar/img/unchecked.png
new file mode 100644
index 0000000000..92a2b582c5
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/menubar/img/unchecked.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/menubar/menubar.css b/WebContent/VAADIN/themes/reindeer/menubar/menubar.css
index f3e620353a..e5e337725e 100644
--- a/WebContent/VAADIN/themes/reindeer/menubar/menubar.css
+++ b/WebContent/VAADIN/themes/reindeer/menubar/menubar.css
@@ -49,4 +49,24 @@
}
.v-menubar-submenu .v-menubar-menuitem-selected .v-menubar-submenu-indicator {
background-image: url(img/submenu-icon-hover.png);
-} \ No newline at end of file
+}
+
+/* Checkboxes for checkable/checked menu items */
+.v-menubar-submenu-check-column .v-menubar-menuitem {
+ padding-left: 6px;
+}
+.v-menubar-submenu-check-column .v-menubar-menuitem-caption {
+ padding-left: 18px;
+}
+.v-menubar-submenu .v-menubar-menuitem-checked .v-menubar-menuitem-caption {
+ background: transparent url(img/checked.png) no-repeat left;
+}
+.v-menubar-submenu .v-menubar-menuitem-unchecked .v-menubar-menuitem-caption {
+ background: transparent url(img/unchecked.png) no-repeat left;
+}
+.v-menubar-submenu .v-menubar-menuitem-selected-checked .v-menubar-menuitem-caption {
+ background: transparent url(img/checked-selected.png) no-repeat left;
+}
+.v-menubar-submenu .v-menubar-menuitem-selected-unchecked .v-menubar-menuitem-caption {
+ background: transparent url(img/unchecked-selected.png) no-repeat left;
+}