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.scss36
1 files changed, 36 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..c2c1b698ad
--- /dev/null
+++ b/WebContent/VAADIN/themes/base/csslayout/csslayout.scss
@@ -0,0 +1,36 @@
+@mixin base-csslayout {
+
+.v-csslayout {
+ overflow: hidden;
+}
+/* More specific selector to override 'v-connector' */
+div.v-csslayout {
+ display: block;
+}
+.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