diff options
author | John Ahlroos <john@vaadin.com> | 2012-09-13 16:31:12 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2012-09-13 16:31:12 +0300 |
commit | 53449310f0d84be6816bf1ddd223fd89b8619aa2 (patch) | |
tree | 0de77f06f68f8d8d7d8e165d213e854bacc574a1 /WebContent/VAADIN/themes | |
parent | 20a7ca431030cb926c9e055cb1eb6a22fef7f33c (diff) | |
download | vaadin-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.scss | 19 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/layouts/layouts.scss | 19 |
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, |