summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/liferay/contextmenu/contextmenu.scss
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-08-08 14:27:31 +0300
committerHenri Sara <hesara@vaadin.com>2012-08-08 14:44:49 +0300
commitcfa455d6cfd4a535fd77cbc76637a57e7024e9ac (patch)
treececb66492671ed20fa9865581da12930ed502047 /WebContent/VAADIN/themes/liferay/contextmenu/contextmenu.scss
parent620e096b45f27ecc5aa85d164ca8b81df000e593 (diff)
downloadvaadin-framework-cfa455d6cfd4a535fd77cbc76637a57e7024e9ac.tar.gz
vaadin-framework-cfa455d6cfd4a535fd77cbc76637a57e7024e9ac.zip
Standard themes in SCSS form, updated CompileDefaultTheme (#9223)
Conversion performed for most themes trivial, just rename file and wrap in a mixin. For chameleon compounds, also nesting used. In some cases, related small files combined in a single SCSS file Chameleon accordion and select contain fixes other than just a missing semicolon.
Diffstat (limited to 'WebContent/VAADIN/themes/liferay/contextmenu/contextmenu.scss')
-rw-r--r--WebContent/VAADIN/themes/liferay/contextmenu/contextmenu.scss44
1 files changed, 44 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/liferay/contextmenu/contextmenu.scss b/WebContent/VAADIN/themes/liferay/contextmenu/contextmenu.scss
new file mode 100644
index 0000000000..7748580f0c
--- /dev/null
+++ b/WebContent/VAADIN/themes/liferay/contextmenu/contextmenu.scss
@@ -0,0 +1,44 @@
+@mixin liferay-contextmenu {
+
+.v-contextmenu {
+ background: #ccc9c9 url(/html/themes/classic/images/application/menu_bg.png) repeat-x 0 0;
+ border: 1px solid;
+ border-color: #aeafb1 #777879 #777879 #aeafb1;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+}
+
+.v-contextmenu table {
+ border-collapse: separate;
+}
+
+.v-contextmenu .gwt-MenuItem {
+ padding: 3px 8px 2px 8px;
+ height: 16px;
+ color: #2c2f34;
+ text-shadow: -1px -1px #fff;
+ font-weight: bold;
+ border-bottom: 1px solid #bcbbbb;
+ border-top: 1px solid #eee;
+}
+
+.v-contextmenu tr:last-child .gwt-MenuItem {
+ border-bottom-width: 0;
+}
+
+.v-contextmenu .gwt-MenuItem img {
+ margin-right: 4px;
+}
+
+.v-contextmenu .gwt-MenuItem-selected {
+ background-color: #5b677d;
+ color: #FFF;
+ text-shadow: -1px -1px #2c2f34;
+}
+
+.v-contextmenu .gwt-MenuItem-selected div {
+ background: transparent;
+}
+
+} \ No newline at end of file