summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/csslayout/csslayout.scss
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN/themes/base/csslayout/csslayout.scss')
-rw-r--r--WebContent/VAADIN/themes/base/csslayout/csslayout.scss32
1 files changed, 32 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/csslayout/csslayout.scss b/WebContent/VAADIN/themes/base/csslayout/csslayout.scss
new file mode 100644
index 0000000000..7bd26d4197
--- /dev/null
+++ b/WebContent/VAADIN/themes/base/csslayout/csslayout.scss
@@ -0,0 +1,32 @@
+@mixin base-csslayout {
+
+.v-csslayout {
+ overflow: hidden;
+}
+.v-csslayout-margin, .v-csslayout-container {
+ -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 {
+ width: 100%;
+}
+.v-has-height > .v-csslayout-margin,
+.v-has-height > .v-csslayout-margin > .v-csslayout-container {
+ height: 100%;
+}
+.v-csslayout-margin-top {
+ padding-top: 12px;
+}
+.v-csslayout-margin-bottom {
+ padding-bottom: 12px;
+}
+.v-csslayout-margin-left {
+ padding-left: 12px;
+}
+.v-csslayout-margin-right {
+ padding-right: 12px;
+}
+
+} \ No newline at end of file