aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-06-06 23:48:25 +0300
committerVaadin Code Review <review@vaadin.com>2013-06-07 06:34:23 +0000
commitbca14c0d095f63275cdbe46aca946673465c56d6 (patch)
treeb180c39230d71afae5ea2852f845e1cac2ddf76b /WebContent/VAADIN/themes/base
parent1b0a214100e6270abea8b9f415a0873de88aab95 (diff)
downloadvaadin-framework-bca14c0d095f63275cdbe46aca946673465c56d6.tar.gz
vaadin-framework-bca14c0d095f63275cdbe46aca946673465c56d6.zip
Correctly report theme version in the debug window (#11442)
* Adds a special v-vaadin-version selector for detecting the theme version * The version in the base theme is replaced during build (for releases) and by the current version also when compiling in the IDE Change-Id: Id6b94ab2edead61602fed021b7152f6e46be809f
Diffstat (limited to 'WebContent/VAADIN/themes/base')
-rw-r--r--WebContent/VAADIN/themes/base/base.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/base.scss b/WebContent/VAADIN/themes/base/base.scss
index 514579830d..f22af7670e 100644
--- a/WebContent/VAADIN/themes/base/base.scss
+++ b/WebContent/VAADIN/themes/base/base.scss
@@ -40,6 +40,10 @@
@import "window/window.scss";
@import "debug/debug.scss";
+.v-vaadin-version:after {
+ content: "@version@";
+}
+
/* References the BODY tag generated by Vaadin application servlet */
.v-generated-body {
width: 100%;