summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/runo/window/window.scss
blob: db153243e983e0bc4bfaba547eab771547f2b86f (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
@mixin runo-window($primaryStyleName : v-window) {

.#{$primaryStyleName} {
	color: #464f52;
	font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
	font-size: 13px;
	line-height: 18px;
	background: transparent url(img/bottom-left.png) no-repeat left bottom;
}
.#{$primaryStyleName}-wrap {
	background: transparent url(img/top-left.png) no-repeat;
}
.#{$primaryStyleName}-outerheader {
	height: 49px;
	margin-left: 9px;
	padding: 15px 40px 11px 12px;
	background: transparent url(img/top-right.png) no-repeat right top;
}
.#{$primaryStyleName}-header {
	font-size: 18px;
	line-height: 1.2;
	font-weight: normal;
	letter-spacing: -0.03em;
	color: #f14c1a;
	text-shadow: 0 1px 0 #fff;
}
.#{$primaryStyleName}-contents > div {
	background: #fff;
	border: 2px solid #babfc0;
	border-top: none;
	border-bottom: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.#{$primaryStyleName} div.#{$primaryStyleName}-footer {
	height: 8px;
	margin-left: 9px;
	background: transparent url(img/bottom-right.png) no-repeat right bottom;
	overflow: visible;
}
.#{$primaryStyleName}-resizebox {
	position: absolute; /* Needed to position the element over ScrollPanel, which is relatively positioned */
	right: 5px;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	background: transparent url(img/resize.png);
}
.#{$primaryStyleName}-resizebox-disabled {
	background: transparent;
	display: block;
}
.#{$primaryStyleName}-closebox,
.#{$primaryStyleName}-maximizebox,
.#{$primaryStyleName}-restorebox {
	position: absolute;
	top: 21px;
	width: 12px;
	height: 12px;
	background: transparent url(img/close.png);
}
.#{$primaryStyleName}-closebox {
	right: 24px;
	background: transparent url(img/close.png);
}

.#{$primaryStyleName}-maximizebox,
.#{$primaryStyleName}-restorebox {
	right: 42px;
}

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

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

.#{$primaryStyleName}-closebox:hover {
	background-position: 0 -12px;
}
.#{$primaryStyleName}-modalitycurtain {
	background: #fff;
}
/* Dialog style */
.#{$primaryStyleName}-dialog {
	background-image: url(img/dialog/bottom-left.png);
}
.#{$primaryStyleName}-dialog .#{$primaryStyleName}-outerheader {
	height: 32px;
	padding: 13px 30px 5px 8px;
	background: transparent url(img/top-right.png) no-repeat right top;
}
.#{$primaryStyleName}-dialog .#{$primaryStyleName}-header {
	font-size: 12px;
	line-height: normal;
	font-weight: bold;
	letter-spacing: 0;
	text-shadow: 0 1px 0 #fff;
}
.#{$primaryStyleName}-dialog .#{$primaryStyleName}-contents > div {
	background: #f1f3f3;
}
.#{$primaryStyleName}-dialog div.#{$primaryStyleName}-footer {
	background-image: url(img/dialog/bottom-right.png);
}
.#{$primaryStyleName}-dialog .#{$primaryStyleName}-closebox {
	top: 14px;
	right: 16px;
	background-image: url(img/dialog/close.png);
}
/* Shadow for window */
.v-shadow-window .top-left {
    top: -13px;             left: -20px;
    width: 39px;         height: 39px;
    background: transparent url(img/shadow/top-left.png);
}
.v-shadow-window .top {
    top: -13px;             left: 19px;
    height: 39px;
    right: 19px;
    background: transparent url(img/shadow/top.png);
}
.v-shadow-window .top-right {
    top: -13px;             right: -20px;
    width: 39px;         height: 39px;
    background: transparent url(img/shadow/top-right.png);
}
.v-shadow-window .left {
    top: 26px;           left: -20px;
    width: 39px;
    bottom: 12px;
    background: transparent url(img/shadow/left.png);
}
.v-shadow-window .center {
    top: 26px;           left: 19px;
    bottom: 12px;        right: 19px;
    background: transparent url(img/shadow/center.png);
}
.v-shadow-window .right {
    top: 26px;           right: -20px;
    width: 39px;
    bottom: 12px;
    background: transparent url(img/shadow/right.png);
}
.v-shadow-window .bottom-left {
    bottom: -27px;           left: -20px;
    width: 39px;          height: 39px;
    background: transparent url(img/shadow/bottom-left.png);
}
.v-shadow-window .bottom {
    bottom: -27px;           left: 19px;
    right: 19px;          height: 39px;
    background: transparent url(img/shadow/bottom.png);
}
.v-shadow-window .bottom-right {
    bottom: -27px;           right: -20px;
    width: 39px;          height: 39px;
    background: transparent url(img/shadow/bottom-right.png);
}

}