summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon/components/window/window.scss
blob: 16de81a785d68c98558ae015d27d58cc97e86f8e (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
68
69
70
71
72
73
74
@mixin chameleon-window($primaryStyleName : v-window) {

.#{$primaryStyleName} {
	 border-radius: 3px;
}
.#{$primaryStyleName}-closebox,
.#{$primaryStyleName}-restorebox,
.#{$primaryStyleName}-maximizebox {
	width: 14px;
	height: 15px;
	overflow: hidden;
	vertical-align: middle;
	margin: 0;
	top: .3em;
	z-index: 2;
	&:hover {
		background-position: 0 -25px;
	}
	&:active {
		background-position: 0 -50px;
	}
}
.#{$primaryStyleName}-closebox {
	text-indent: -50px;
	background: transparent url(../../img/close-btn.png) no-repeat;
	right: .4em;
}
.#{$primaryStyleName}-restorebox,
.#{$primaryStyleName}-maximizebox {
	right: 1.8em;
}

.#{$primaryStyleName}-restorebox {
	background: transparent url(../../img/restore.png) no-repeat;
}
.#{$primaryStyleName}-maximizebox {
	background: transparent url(../../img/maximize.png) no-repeat;
}


.#{$primaryStyleName} {
	background-image: none;
	}

.#{$primaryStyleName}-wrap {
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	background-image: url(../../img/grad-light-top.png);
	background-repeat: repeat-x;
	}
.#{$primaryStyleName}-outerheader {
	padding: .2em 1.7em .5em 1.2em;
	height: auto;
	text-align: center;
	}

.#{$primaryStyleName}-header {
	font-weight: normal;
	}

.#{$primaryStyleName}-footer {
	height: 0;
	position: static;
	}

.#{$primaryStyleName}-resizebox {
	background: transparent url(../../img/resize.png) no-repeat;
	width: 14px;
	height: 14px;
	bottom: 0;
	}

}