summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/csslayout/csslayout.scss
blob: 2356a1689d78f83884747cf28fdaa504e0658a77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@mixin base-csslayout($name : v-csslayout) {

.#{$name} {
	overflow: hidden;
}
/* More specific selector to override 'v-connector' */
div.#{$name} {
	display: block;
}
.#{$name}-margin, .#{$name}-container {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.v-has-width > .#{$name}-margin,
.v-has-width > .#{$name}-margin > .#{$name}-container {
	width: 100%;
}
.v-has-height > .#{$name}-margin,
.v-has-height > .#{$name}-margin > .#{$name}-container {
	height: 100%;
}
.#{$name}-margin-top {
	padding-top: 12px;	
}
.#{$name}-margin-bottom {
	padding-bottom: 12px;	
}
.#{$name}-margin-left {
	padding-left: 12px;	
}
.#{$name}-margin-right {
	padding-right: 12px;	
}

}