diff options
author | Marc Englund <marc@vaadin.com> | 2012-11-29 15:46:18 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-12-07 11:17:41 +0000 |
commit | d004bdfd17127666ea8bb4ae8652a859546f1ff0 (patch) | |
tree | 075ddde83081ba6611be51099a51241d68bf88d8 /WebContent/VAADIN/themes/runo/menubar | |
parent | 10cda2673592f63a1cc3adf5f30d31bf6be46056 (diff) | |
download | vaadin-framework-d004bdfd17127666ea8bb4ae8652a859546f1ff0.tar.gz vaadin-framework-d004bdfd17127666ea8bb4ae8652a859546f1ff0.zip |
Added support for $primaryStyleName to Runo
Change-Id: I2c1a24b2655c1b9361b52e24f542deb64be8a914
Diffstat (limited to 'WebContent/VAADIN/themes/runo/menubar')
-rw-r--r-- | WebContent/VAADIN/themes/runo/menubar/menubar.scss | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/WebContent/VAADIN/themes/runo/menubar/menubar.scss b/WebContent/VAADIN/themes/runo/menubar/menubar.scss index a9c26a4b24..51efc6f28f 100644 --- a/WebContent/VAADIN/themes/runo/menubar/menubar.scss +++ b/WebContent/VAADIN/themes/runo/menubar/menubar.scss @@ -1,21 +1,21 @@ -@mixin runo-menubar { +@mixin runo-menubar($primaryStyleName : v-menubar) { -.v-menubar { +.#{$primaryStyleName} { color: #464f52; border-left: 1px solid #c6cbcc; } -.v-menubar .v-menubar-menuitem { +.#{$primaryStyleName} .#{$primaryStyleName}-menuitem { padding: 1px 10px; border: 1px solid #c6cbcc; border-left: none; height: 18px; line-height: 18x; } -.v-menubar-menuitem-selected { +.#{$primaryStyleName}-menuitem-selected { color: #fff; background: #5daee8; } -.v-menubar-submenu { +.#{$primaryStyleName}-submenu { background: #e9eced url(../tabsheet/img/tab-bg.png); font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif; color: #464f52; @@ -26,13 +26,13 @@ border-top: 1px solid #d0d4d5; border-left: 1px solid #d0d4d5; } -.v-menubar-submenu .v-menubar-menuitem { +.#{$primaryStyleName}-submenu .#{$primaryStyleName}-menuitem { padding-top: 1px; padding-bottom: 1px; line-height: 16px; padding-left: 10px; } -.v-menubar-submenu .v-menubar-menuitem-caption .v-icon { +.#{$primaryStyleName}-submenu .#{$primaryStyleName}-menuitem-caption .v-icon { vertical-align: middle; } |