aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/window/window.scss
blob: c3ad0fc9bef635f78bc4ced107bd4338999d00e1 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
@mixin reindeer-window($name : v-window) {

.#{$name} {
	background: transparent;
}
.#{$name}-wrap {
	border: 1px solid #808386;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.v-sa .#{$name}-wrap,
.v-op .#{$name}-wrap {
	border-color: rgba(0,0,0,.2);
}
.#{$name}-outerheader {
	padding: 12px 32px 0 14px;
	height: 37px;
	background: black repeat-x;
	background-image: url(img/header-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
}
.#{$name}-header {
	font-weight: bold;
	font-size: 12px;
	line-height: normal;
	color: #fff;
	text-shadow: #000 0 -1px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-ms-text-overflow: ellipsis;
}
.#{$name}-error .#{$name}-header {
	padding-left: 13px;
	background: transparent url(../common/icons/error.png) no-repeat 0 50%;
}
.#{$name}-resizebox {
	width: 15px;
	height: 15px;
	cursor: se-resize;
	background: transparent;
	background-image: url(img/resize.png); /** sprite-ref: verticals */
}
.#{$name}-footer {
	background-color:white;
	background-repeat: repeat-x;
	background-image: url(img/footer-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
	height: 15px;
}
.#{$name}-closebox {
	top: 12px;
	right: 10px;
	width: 15px;
	height: 16px;
	background: transparent;
	background-image: url(img/close.png); /** sprite-ref: verticals */
}
.#{$name}-closebox:hover {
	background-image: url(img/close-hover.png); /** sprite-ref: verticals */
}
.#{$name}-closebox:active {
	background-image: url(img/close-pressed.png); /** sprite-ref: verticals */
}
.#{$name}-contents {
	background: #fff;
}
.#{$name}-modalitycurtain {
	background: #56595b;
}






/**
 Light style window -----------------------------
**/

.#{$name}-light .#{$name}-outerheader {
	background: transparent;
	padding: 15px 32px 0 18px;
	height: 23px;
}
.#{$name}-light .#{$name}-header {
	font-size: 16px;
	color: #292e34;
	text-shadow: none;
}
.#{$name}-light .#{$name}-resizebox {
	width: 12px;
	height: 12px;
	background-image: url(img/resize-light.png); /** sprite-ref: verticals */
}
.#{$name}-light .#{$name}-footer {
	background: transparent;
	height: 12px;
}
.#{$name}-light .#{$name}-closebox {
	right: 1px;
	top: 17px;
	width: 19px;
	height: 15px;
	background-image: url(img/close-light.png); /** sprite-ref: verticals */
}
.#{$name}-light .#{$name}-closebox:hover {
	background-image: url(img/close-light-hover.png); /** sprite-ref: verticals */
}
.#{$name}-light .#{$name}-closebox:active {
	background-image: url(img/close-light-pressed.png); /** sprite-ref: verticals */
}
.#{$name}-light .#{$name}-contents {
	background: transparent;
}
/* This must be the last sprite added to the verticals-sprite image */
.#{$name}-light .#{$name}-wrap2 {
	background: #f7f7f8 repeat-x;
	background-image: url(img/content-bg-light.png); /** sprite-ref: verticals; sprite-alignment: repeat */
}


/**
 Black style window -----------------------------
**/

.#{$name}-black .#{$name}-wrap {
	border-color: #2e3030;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	overflow: hidden;
}
.v-sa .#{$name}-black .#{$name}-wrap,
.v-op .#{$name}-black .#{$name}-wrap {
	border-color: rgba(0,0,0,.8);
}
.#{$name}-black .#{$name}-wrap2 {
	background-color: #1d2021;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
}
.v-sa .#{$name}-black .#{$name}-wrap2,
.v-op .#{$name}-black .#{$name}-wrap2 {
	background-color: rgba(29,32,33,.9);
}
.#{$name}-black .#{$name}-outerheader {
	height: auto;
	padding: 7px 14px;
	height: 15px;
	background: transparent repeat-x;
	background-image: url(img/black/header-bg.png); /** sprite-ref: black-verticals; sprite-alignment: repeat */
	text-align: center;
	-moz-border-radius-topright: 7px;
	-moz-border-radius-topleft: 7px;
	-webkit-border-top-right-radius: 7px;
	-webkit-border-top-left-radius: 7px;
	overflow: hidden;
	border: none;
}
.#{$name}-black .#{$name}-header {
	font-size: 12px;
	font-weight: normal;
	color: #dddfe1;
}
.#{$name}-black .#{$name}-closebox {
	top: 8px;
}
.#{$name}-black .#{$name}-footer {
	background: transparent;
	border: none;
	height: 14px;
}
.#{$name}-black .#{$name}-resizebox {
	background: transparent no-repeat;
	background-image: url(img/black/resize.png); /** sprite-ref: black-verticals; sprite-margin-bottom: 4px */
	width: 14px;
	height: 14px;
}
/* Must be last to make this image last in the sprites */
.#{$name}-black .#{$name}-contents {
	border: none;
	background: transparent repeat-x;
	background-image: url(img/black/content-bg.png); /** sprite-ref: black-verticals; sprite-alignment: repeat */
}

}