From 792ae0e5c43fea879594523f8eef1a695f07823a Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Fri, 20 Apr 2012 10:32:42 +0300 Subject: Refine box-sizing: border-box styles (#8682) --- WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.css | 3 ++- WebContent/VAADIN/themes/base/common/common.css | 3 ++- WebContent/VAADIN/themes/base/csslayout/csslayout.css | 3 ++- WebContent/VAADIN/themes/base/paintable/paintable.css | 3 ++- WebContent/VAADIN/themes/base/panel/panel.css | 3 ++- WebContent/VAADIN/themes/base/select/select.css | 3 ++- WebContent/VAADIN/themes/base/window/window.css | 6 ++++-- WebContent/VAADIN/themes/reindeer/datefield/datefield.css | 3 ++- WebContent/VAADIN/themes/reindeer/select/select.css | 3 ++- WebContent/VAADIN/themes/reindeer/window/window.css | 3 ++- WebContent/VAADIN/themes/runo/window/window.css | 3 ++- 11 files changed, 24 insertions(+), 12 deletions(-) (limited to 'WebContent/VAADIN') diff --git a/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.css b/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.css index fba94a8edc..4373c52922 100644 --- a/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.css +++ b/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.css @@ -3,8 +3,9 @@ overflow: hidden; } .v-absolutelayout-margin, .v-absolutelayout-canvas { - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } .v-absolutelayout.v-has-height > div, .v-absolutelayout.v-has-height > div > div { height: 100%; diff --git a/WebContent/VAADIN/themes/base/common/common.css b/WebContent/VAADIN/themes/base/common/common.css index 6de2b26267..3c08a9d584 100644 --- a/WebContent/VAADIN/themes/base/common/common.css +++ b/WebContent/VAADIN/themes/base/common/common.css @@ -97,8 +97,9 @@ div.v-app-loading { } .v-form-content { height: 100%; - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } /* Field modified */ /* Disabled by default diff --git a/WebContent/VAADIN/themes/base/csslayout/csslayout.css b/WebContent/VAADIN/themes/base/csslayout/csslayout.css index 1a4cb10a77..064edd28a4 100644 --- a/WebContent/VAADIN/themes/base/csslayout/csslayout.css +++ b/WebContent/VAADIN/themes/base/csslayout/csslayout.css @@ -2,8 +2,9 @@ overflow: hidden; } .v-csslayout-margin, .v-csslayout-container { - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } .v-has-width > .v-csslayout-margin, .v-has-width > .v-csslayout-margin > .v-csslayout-container { diff --git a/WebContent/VAADIN/themes/base/paintable/paintable.css b/WebContent/VAADIN/themes/base/paintable/paintable.css index 36a3fe3455..41fc0ef287 100644 --- a/WebContent/VAADIN/themes/base/paintable/paintable.css +++ b/WebContent/VAADIN/themes/base/paintable/paintable.css @@ -1,4 +1,5 @@ .v-connector { - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } \ No newline at end of file diff --git a/WebContent/VAADIN/themes/base/panel/panel.css b/WebContent/VAADIN/themes/base/panel/panel.css index 286b1b7f4d..489d6bc015 100644 --- a/WebContent/VAADIN/themes/base/panel/panel.css +++ b/WebContent/VAADIN/themes/base/panel/panel.css @@ -30,8 +30,9 @@ } .v-panel-content { overflow: auto; - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } .v-panel.v-has-width > .v-panel-content { width: 100%; diff --git a/WebContent/VAADIN/themes/base/select/select.css b/WebContent/VAADIN/themes/base/select/select.css index fe50b98ce6..b9d0dda51f 100644 --- a/WebContent/VAADIN/themes/base/select/select.css +++ b/WebContent/VAADIN/themes/base/select/select.css @@ -67,8 +67,9 @@ margin: 0; float: left; -webkit-border-radius: 0px; - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } .v-filterselect-prompt .v-filterselect-input { color: #999; diff --git a/WebContent/VAADIN/themes/base/window/window.css b/WebContent/VAADIN/themes/base/window/window.css index f553f95fdf..d728e7f60e 100644 --- a/WebContent/VAADIN/themes/base/window/window.css +++ b/WebContent/VAADIN/themes/base/window/window.css @@ -2,8 +2,9 @@ background: #fff; } .v-window-contents { - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } .v-window.v-has-width > div.popupContent, @@ -24,8 +25,9 @@ padding: 0.3em 1em; height: 1.6em; position: relative; - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } .v-window-outerheader, diff --git a/WebContent/VAADIN/themes/reindeer/datefield/datefield.css b/WebContent/VAADIN/themes/reindeer/datefield/datefield.css index bc8f617845..1ececf9fb4 100644 --- a/WebContent/VAADIN/themes/reindeer/datefield/datefield.css +++ b/WebContent/VAADIN/themes/reindeer/datefield/datefield.css @@ -250,8 +250,9 @@ td.v-datefield-calendarpanel-nextyear { -webkit-border-top-right-radius: 0; -webkit-border-bottom-right-radius: 0; height: 23px; - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } .v-datefield.v-readonly input.v-datefield-textfield { border-right-width: 1px; diff --git a/WebContent/VAADIN/themes/reindeer/select/select.css b/WebContent/VAADIN/themes/reindeer/select/select.css index 903066e4ab..8962862702 100644 --- a/WebContent/VAADIN/themes/reindeer/select/select.css +++ b/WebContent/VAADIN/themes/reindeer/select/select.css @@ -18,8 +18,9 @@ .v-window input.v-filterselect-input, .v-popupview-popup input.v-filterselect-input { padding: 4px 0 4px 2px; - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } .v-filterselect-prompt .v-filterselect-input { font-style: normal; diff --git a/WebContent/VAADIN/themes/reindeer/window/window.css b/WebContent/VAADIN/themes/reindeer/window/window.css index 3015f70eb5..e1091ef98d 100644 --- a/WebContent/VAADIN/themes/reindeer/window/window.css +++ b/WebContent/VAADIN/themes/reindeer/window/window.css @@ -3,8 +3,9 @@ } .v-window-wrap { border: 1px solid #808386; - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } .v-sa .v-window-wrap, .v-op .v-window-wrap { diff --git a/WebContent/VAADIN/themes/runo/window/window.css b/WebContent/VAADIN/themes/runo/window/window.css index d412f66605..675c8942bf 100644 --- a/WebContent/VAADIN/themes/runo/window/window.css +++ b/WebContent/VAADIN/themes/runo/window/window.css @@ -27,8 +27,9 @@ border: 2px solid #babfc0; border-top: none; border-bottom: none; - box-sizing: border-box; + -webkit-box-sizing: border-box; -moz-box-sizing: border-box; + box-sizing: border-box; } .v-window div.v-window-footer { height: 8px; -- cgit v1.2.3