summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon/components/splitpanel/splitpanel.scss
blob: 2496be65136838e371583cbc7ffd4380465296bd (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
@mixin chameleon-splitpanel($primaryStyleName : v-splitpanel) {

.#{$primaryStyleName}-hsplitter div,
.#{$primaryStyleName}-vsplitter div {
	background: transparent url(../../img/split-handle.png) no-repeat 2px 50%;
	margin: 0 -1px;
	width: 9px;
	}

.#{$primaryStyleName}-vsplitter div {
	background-position: 50% 2px;
	margin: -1px 0;
	width: auto;
	height: 9px;
	}

.#{$primaryStyleName}-hsplitter,
.#{$primaryStyleName}-hsplitter-locked {
	border-style: solid;
	border-width: 0 1px;
	border-color: #b0b0b0;
	width: 7px;
	background: #b3b3b3 url(../../img/grad-light-left.png) repeat-y;
	}

.#{$primaryStyleName}-vsplitter,
.#{$primaryStyleName}-vsplitter-locked {
	border-style: solid;
	border-width: 1px 0;
	border-color: #b0b0b0;
	height: 7px;
	background: #b3b3b3 url(../../img/grad-light-top.png) repeat-x;
	}

/*******************************************************************************
 * Small
 ******************************************************************************/
&.v-app .#{$primaryStyleName}-hsplitter-small,
&.v-app .#{$primaryStyleName}-hsplitter-small-locked {
	width: 1px;
	border: none;
	background-image: none;
	}

&.v-app .#{$primaryStyleName}-vsplitter-small,
&.v-app .#{$primaryStyleName}-vsplitter-small-locked {
	height: 1px;
	border: none;
	background-image: none;
	font-size: 1px;
	line-height: 1px;
	}

.#{$primaryStyleName}-hsplitter-small div {
	width: 7px;
	margin-left: -2px;
	background: transparent;
	}

.#{$primaryStyleName}-vsplitter-small div {
	height: 7px;
	margin-top: -2px;
	background: transparent;
	overflow: hidden;
	}

}