summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-02-20 16:04:06 +0200
committerLeif Åstrand <leif@vaadin.com>2012-02-20 16:04:06 +0200
commit70e58db73f06ef80b769fa30fc62ad7b70f1541c (patch)
treee2a7d3792966ce7e26876d001fbdb487ef2ed48e /WebContent/VAADIN/themes
parentff9e34d988a65fd5f246e97ec84fa63a344eb3d1 (diff)
downloadvaadin-framework-70e58db73f06ef80b769fa30fc62ad7b70f1541c.tar.gz
vaadin-framework-70e58db73f06ef80b769fa30fc62ad7b70f1541c.zip
PopupDateField without size calculations (#8313)
Diffstat (limited to 'WebContent/VAADIN/themes')
-rw-r--r--WebContent/VAADIN/themes/reindeer/datefield/datefield.css19
1 files changed, 15 insertions, 4 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/datefield/datefield.css b/WebContent/VAADIN/themes/reindeer/datefield/datefield.css
index 1dbc59257a..574a4973bf 100644
--- a/WebContent/VAADIN/themes/reindeer/datefield/datefield.css
+++ b/WebContent/VAADIN/themes/reindeer/datefield/datefield.css
@@ -45,6 +45,7 @@ span.v-datefield-calendarpanel-month {
}
.v-datefield-popupcalendar {
min-width: 0;
+ padding-right: 24px;
}
.v-datefield-year .v-datefield-calendarpanel {
width: 100px;
@@ -224,16 +225,25 @@ td.v-datefield-calendarpanel-nextyear {
.v-op .v-datefield-popup {
background: rgba(255,255,255,.95);
}
-.v-datefield-year .v-datefield-textfield {
+.v-datefield-textfield {
+ width: 100%;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+}
+.v-datefield.v-undefined-width > .v-datefield-textfield {
+ box-sizing: content-box;
+ -moz-box-sizing: content-box;
+}
+.v-datefield-year.v-undefined-width > .v-datefield-textfield {
width: 4em;
}
-.v-datefield-month .v-datefield-textfield {
+.v-datefield-month.v-undefined-width > .v-datefield-textfield {
width: 5em;
}
-.v-datefield-day .v-datefield-textfield {
+.v-datefield-day.v-undefined-width > .v-datefield-textfield {
width: 5.5em;
}
-.v-datefield-full .v-datefield-textfield {
+.v-datefield-full.v-undefined-width >.v-datefield-textfield {
width: 12em;
}
.v-datefield-popupcalendar input.v-datefield-textfield {
@@ -256,6 +266,7 @@ td.v-datefield-calendarpanel-nextyear {
}
.v-datefield-popupcalendar .v-datefield-button {
width: 24px;
+ margin-right: -24px;
height: 23px;
background: transparent;
border: none;