summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-03-09 13:38:12 +0200
committerLeif Åstrand <leif@vaadin.com>2012-03-09 13:38:12 +0200
commit1c455b5a922037f97ad471bbd8ca907f0c067dff (patch)
tree959258d41958a48df6b389485144985f65c84fc1 /WebContent
parent7d05736b74e898d679ece44c984c870ee50c0e51 (diff)
downloadvaadin-framework-1c455b5a922037f97ad471bbd8ca907f0c067dff.tar.gz
vaadin-framework-1c455b5a922037f97ad471bbd8ca907f0c067dff.zip
Dynamically adjust window content paddings (#8313)
This enables easy support for e.g. header height based on font size and footer height changing if resizing is disabled.
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/window/window.css2
-rw-r--r--WebContent/VAADIN/themes/chameleon/components/window/window.css6
-rw-r--r--WebContent/VAADIN/themes/reindeer/window/window.css4
-rw-r--r--WebContent/VAADIN/themes/runo/window/window.css4
4 files changed, 1 insertions, 15 deletions
diff --git a/WebContent/VAADIN/themes/base/window/window.css b/WebContent/VAADIN/themes/base/window/window.css
index bd36c12715..f553f95fdf 100644
--- a/WebContent/VAADIN/themes/base/window/window.css
+++ b/WebContent/VAADIN/themes/base/window/window.css
@@ -2,8 +2,6 @@
background: #fff;
}
.v-window-contents {
- padding: 1.6em 0 10px;
- margin: -1.6em 0 -10px;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
diff --git a/WebContent/VAADIN/themes/chameleon/components/window/window.css b/WebContent/VAADIN/themes/chameleon/components/window/window.css
index 00e6760d4b..6ca8622a76 100644
--- a/WebContent/VAADIN/themes/chameleon/components/window/window.css
+++ b/WebContent/VAADIN/themes/chameleon/components/window/window.css
@@ -30,13 +30,9 @@
background-image: url(../../img/grad-light-top.png);
background-repeat: repeat-x;
}
-.v-window-contents {
- padding: 2.1em 0 0;
- margin: -2.1em 0 0;
-}
.v-window-outerheader {
padding: .2em 1.7em .5em 1.2em;
- height: 2.1em;
+ height: auto;
text-align: center;
}
diff --git a/WebContent/VAADIN/themes/reindeer/window/window.css b/WebContent/VAADIN/themes/reindeer/window/window.css
index 348d1cb2c5..3015f70eb5 100644
--- a/WebContent/VAADIN/themes/reindeer/window/window.css
+++ b/WebContent/VAADIN/themes/reindeer/window/window.css
@@ -16,10 +16,6 @@
background: black repeat-x;
background-image: url(img/header-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
}
-.v-window-contents {
- padding: 37px 0 15px;
- margin: -37px 0 -15px;
-}
.v-window-header {
font-weight: bold;
font-size: 12px;
diff --git a/WebContent/VAADIN/themes/runo/window/window.css b/WebContent/VAADIN/themes/runo/window/window.css
index 3205659341..d412f66605 100644
--- a/WebContent/VAADIN/themes/runo/window/window.css
+++ b/WebContent/VAADIN/themes/runo/window/window.css
@@ -22,10 +22,6 @@
color: #f14c1a;
text-shadow: 0 1px 0 #fff;
}
-.v-window-contents {
- padding: 49px 0 8px;
- margin: -49px 0 -8px;
-}
.v-window-contents > div {
background: #fff;
border: 2px solid #babfc0;