summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-09-13 16:31:12 +0300
committerJohn Ahlroos <john@vaadin.com>2012-09-13 16:31:12 +0300
commit53449310f0d84be6816bf1ddd223fd89b8619aa2 (patch)
tree0de77f06f68f8d8d7d8e165d213e854bacc574a1 /WebContent/VAADIN/themes
parent20a7ca431030cb926c9e055cb1eb6a22fef7f33c (diff)
downloadvaadin-framework-53449310f0d84be6816bf1ddd223fd89b8619aa2.tar.gz
vaadin-framework-53449310f0d84be6816bf1ddd223fd89b8619aa2.zip
Moved grid layout margin and spacing fixes from reindeer to base theme #9559
Diffstat (limited to 'WebContent/VAADIN/themes')
-rw-r--r--WebContent/VAADIN/themes/base/layout/layout.scss19
-rw-r--r--WebContent/VAADIN/themes/reindeer/layouts/layouts.scss19
2 files changed, 20 insertions, 18 deletions
diff --git a/WebContent/VAADIN/themes/base/layout/layout.scss b/WebContent/VAADIN/themes/base/layout/layout.scss
index 439510c863..04df35872e 100644
--- a/WebContent/VAADIN/themes/base/layout/layout.scss
+++ b/WebContent/VAADIN/themes/base/layout/layout.scss
@@ -28,6 +28,25 @@ TODO
padding-left: 12px;
}
+/* Different for historical reasons: previously was inherited directly from Base theme */
+/* TODO unify these values in version 7 */
+.v-gridlayout.v-layout-margin-top {
+ padding-top: 24px;
+}
+.v-gridlayout.v-layout-margin-bottom {
+ padding-bottom: 24px;
+}
+.v-gridlayout.v-layout-margin-left {
+ padding-left: 24px;
+}
+.v-gridlayout.v-layout-margin-right {
+ padding-right: 24px;
+}
+.v-gridlayout .v-layout-spacing-on {
+ padding-left: 12px;
+ padding-top: 12px;
+}
+
.v-spacing {
width: 6px;
height: 6px;
diff --git a/WebContent/VAADIN/themes/reindeer/layouts/layouts.scss b/WebContent/VAADIN/themes/reindeer/layouts/layouts.scss
index 24747a56b4..fb47c100f8 100644
--- a/WebContent/VAADIN/themes/reindeer/layouts/layouts.scss
+++ b/WebContent/VAADIN/themes/reindeer/layouts/layouts.scss
@@ -34,24 +34,7 @@
height: 7px;
width: 6px;
}
-/* Different for historical reasons: previously was inherited directly from Base theme */
-/* TODO unify these values in version 7 */
-.v-gridlayout.v-layout-margin-top {
- padding-top: 24px;
-}
-.v-gridlayout.v-layout-margin-bottom {
- padding-bottom: 24px;
-}
-.v-gridlayout.v-layout-margin-left {
- padding-left: 24px;
-}
-.v-gridlayout.v-layout-margin-right {
- padding-right: 24px;
-}
-.v-gridlayout .v-layout-spacing-on {
- padding-left: 12px;
- padding-top: 12px;
-}
+
/* Blue background */
.v-verticallayout-blue,
.v-horizontallayout-blue,