aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-10-12 16:05:49 +0300
committerJohn Ahlroos <john@vaadin.com>2012-10-16 13:05:41 +0300
commit014f752f5620433cc0f429821c6464534227dfc9 (patch)
tree43293e5b330a752397d68344333f3d9a43d0648c /WebContent/VAADIN/themes/reindeer
parent081d5dc14015838be5b358632474997a8b8855ba (diff)
downloadvaadin-framework-014f752f5620433cc0f429821c6464534227dfc9.tar.gz
vaadin-framework-014f752f5620433cc0f429821c6464534227dfc9.zip
Fixed primary stylename handling for Datefield and InlineDatefield #9903
Change-Id: I4fb460a19a2bf40131172319070edde78851c4a7
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer')
-rw-r--r--WebContent/VAADIN/themes/reindeer/inlinedatefield/inlinedatefield.scss8
-rw-r--r--WebContent/VAADIN/themes/reindeer/reindeer.scss2
2 files changed, 10 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/inlinedatefield/inlinedatefield.scss b/WebContent/VAADIN/themes/reindeer/inlinedatefield/inlinedatefield.scss
new file mode 100644
index 0000000000..19402f8208
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/inlinedatefield/inlinedatefield.scss
@@ -0,0 +1,8 @@
+@mixin reindeer-inlinedatefield ($name : v-inline-datefield) {
+
+ @include reindeer-datefield(v-inline-datefield);
+
+ .#{$name} {
+ line-height:14px; /* Override popup datefields line-height:0 to get correct line heights */
+ }
+} \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/reindeer/reindeer.scss b/WebContent/VAADIN/themes/reindeer/reindeer.scss
index e102e99bc5..ef827190b5 100644
--- a/WebContent/VAADIN/themes/reindeer/reindeer.scss
+++ b/WebContent/VAADIN/themes/reindeer/reindeer.scss
@@ -9,6 +9,7 @@
@import "common/common.scss";
@import "datefield/datefield.scss";
+@import "inlinedatefield/inlinedatefield.scss";
@import "formlayout/formlayout.scss";
@import "label/label.scss";
@import "layouts/layouts.scss";
@@ -39,6 +40,7 @@
@include reindeer-nativebutton;
@include reindeer-common;
@include reindeer-datefield;
+ @include reindeer-inlinedatefield;
@include reindeer-formlayout;
@include reindeer-label;
@include reindeer-layouts;