summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss
blob: 11b4da48d89f5ab90d1f0458b5374685738a3e9a (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
37
38
39
40
41
42
43
44
45
@mixin base-splitpanel($name : v-splitpanel) {

.#{$name}-horizontal,
.#{$name}-vertical {
	overflow: hidden;
}
.#{$name}-hsplitter {
	width: 6px;
}
.#{$name}-hsplitter div {
	width: 6px;
	position: absolute;
	top: 0;
	bottom: 0;
	background: #ddd;
	cursor: e-resize;
	cursor: col-resize;
}
.v-disabled .#{$name}-hsplitter div {
	cursor: default;
}
.#{$name}-vsplitter {
	height: 6px;
}
.#{$name}-vsplitter div {
	height: 6px;
	background: #ddd;
	cursor: s-resize;
	cursor: row-resize;
}
.v-disabled .#{$name}-vsplitter div {
	cursor: default;
}

/*
 * In IE8 we need to do magic things to avoid scrollbars since it does not completely
 * support the HTML5 doctype. Changing the contained element to a block element will not add
 * magical bottom paddings to the contained element and cause scrollbars.
 */
.v-ie8 .v-splitpanel-first-container > .v-widget,
.v-ie8 .v-splitpanel-second-container > .v-widget{
    display:block;
}

}