aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/csslayout/csslayout.scss
blob: d6df771b8583aba9d74869e87ee6a6efa76861eb (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($primaryStyleName : v-csslayout) {

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

}