Debian Codegraph @

terps/tads/tads3/lib/webuires/main.css

raw symbols SCIP
1 /*
2 * TADS Web UI - style sheet for the main, top-level window. The main
3 * window is mostly a frame container for subwindow widgets and doesn't
4 * show much content of its own, except that the main window handles
5 * our in-window dialog framework and has a special widget for error
6 * notification.
7 */
8
9 body {
10 width: 100%;
11 height: 100%;
12 margin: 0px;
13 padding: 0px;
14 overflow: hidden;
15 }
16 html {
17 overflow: hidden;
18 height: 100%;
19 }
20 iframe {
21 margin: 0px;
22 padding: 0px;
23 height: 100%;
24 width: 100%;
25 position: absolute;
26 border: 0px;
27 }
28 div#errorPopupDiv {
29 position: absolute;
30 top: -1000px; /* to initially hide it */
31 z-index: 10000;
32 height: 12pt;
33 width: 45ex;
34 color: #ffffff;
35 text-align: center;
36 margin: 0;
37 padding: 0;
38 font: bold 8pt/12pt Verdana, Helvetica, Sans-Serif;
39 }
40 div#errorPopupDiv div.icon {
41 background: url("errorPopupBkg.gif");
42 position: absolute;
43 left: 0px;
44 top: 0px;
45 width: 20px;
46 height: 100%;
47 margin: 0px;
48 }
49 div#errorPopupDiv div.content {
50 background: #ff0000;
51 color: #ffffff;
52 margin: 0px 0px 0px 20px;
53 height: 100%;
54 font: bold 8pt/12pt Verdana, Helvetica, Sans-Serif;
55 border-top: 1px solid #ffffff;
56 }
57 div#errorPopupDiv a {
58 color: #ffffff;
59 }
60
61 div#downloadPopupDiv {
62 position: absolute;
63 top: -1000px; /* to initially hide it */
64 z-index: 10000;
65 width: 45ex;
66 color: #ffffff;
67 text-align: left;
68 margin: 0;
69 padding: 0;
70 font: 8pt/12pt Verdana, Helvetica, Sans-Serif;
71 }
72 div#downloadPopupDiv div.icon {
73 background: url("downloadPopupBkg.gif");
74 position: absolute;
75 left: 0px;
76 top: 0px;
77 width: 10px;
78 margin: 0px;
79 height: 100%;
80 }
81 div#downloadPopupDiv div.content {
82 background: #6000e0;
83 color: #ffffff;
84 margin: 0px 0px 0px 10px;
85 font: 8pt/12pt Verdana, Helvetica, Sans-Serif;
86 border-top: 1px solid #ffffff;
87 }
88 div#downloadPopupDiv div.dlfile {
89 padding-left: 2ex;
90 }
91 div#downloadPopupDiv div.dlfile a:link {
92 color: #ffffff;
93 }
94 div#downloadPopupDiv div.dlfile a:visited {
95 color: #ffffff;
96 }
97
98 div.dialogCoverDiv {
99 position: fixed;
100 z-index: 10100;
101 top: 0px;
102 left: 0px;
103 width: 100%;
104 height: 100%;
105 background: url("modal-cover.png");
106 opacity: 0.70;
107 filter: alpha(opacity=70);
108 }
109 div.dialogCanvas {
110 position: fixed;
111 z-index: 10101;
112 top: 0px;
113 left: 0px;
114 width: 100%;
115 height: 100%;
116 overflow: auto;
117 opacity: 0.00;
118 }
119 div.dialogDiv {
120 position: relative;
121 z-index: 10101;
122 background: transparent;
123 width: 70%;
124 }
125 div.dialogTitleBar {
126 position: absolute;
127 top: -12pt;
128 left: 0px;
129 width: 100%;
130 height: 12pt;
131 background: #4040ff;
132 border-bottom: 1px solid #9090ff;
133 cursor: move;
134 }
135 div.dialogTitle {
136 position: absolute;
137 left: 0px;
138 top: -5px;
139 width: 100%;
140 height: 12pt;
141 text-align: center;
142 color: #ffffff;
143 font: bold 9pt/12pt Verdana, Helvetica, Sans-Serif;
144 cursor: move;
145 }
146 div.dialogCloseBox {
147 position: absolute;
148 right: 10px;
149 top: -5px;
150 width: 16px;
151 height: 16px;
152 cursor: pointer;
153 background: url("dlg-closebox.gif") no-repeat top right;
154 }
155 div.dialogCloseBoxH {
156 background: url("dlg-closeboxH.gif") no-repeat top right;
157 }
158 div.dialogCloseBoxA {
159 background: url("dlg-closeboxA.gif") no-repeat top right;
160 }
161
162 div.dialogMoveCover {
163 display: none;
164 position: absolute;
165 z-index: 12000;
166 }
167
168 div.dialogDiv-tl {
169 position: absolute;
170 background: url("dlg-title-corners.gif") no-repeat top left;
171 left: 0px;
172 top: -10px;
173 width: 52%;
174 height: 10px;
175 }
176 div.dialogDiv-tr {
177 position: absolute;
178 background: url("dlg-title-corners.gif") no-repeat top right;
179 right: 0px;
180 top: -10px;
181 width: 52%;
182 height: 10px;
183 }
184 div.dialogDiv-bl {
185 position: absolute;
186 background: url("dlg-corners.gif") no-repeat bottom left;
187 left: 0px;
188 bottom: -10px;
189 width: 52%;
190 height: 10px;
191 }
192 div.dialogDiv-br {
193 position: absolute;
194 background: url("dlg-corners.gif") no-repeat bottom right;
195 right: 0px;
196 bottom: -10px;
197 width: 52%;
198 height: 10px;
199 }
200
201 div.dialogWrapper {
202 text-align: center; /* IE hack - center the dialogContent block */
203 background: #ffffff;
204 overflow: auto;
205 }
206
207 div.dialogContent {
208 color: #000000;
209 font: 9pt/11pt Verdana, Helvetica, Sans-Serif;
210
211 /* the real CSS way to center the dialog content */
212 margin: 0px auto; /* automatic left/right margins */
213 display: inline-block; /* use the content width as the DIV width */
214
215 /* ...but, of course, IE has to do things its own bizarre way */
216 zoom: 1; /* force the block to have an IE "layout" object */
217 * display: inline; /* "layout" makes this work like inline-block */
218 text-align: left; /* uninherit the IE centering hack in the wrapper */
219 }
220
221 div.dialogContent a {
222 color: #0000ff;
223 }
224 div.dialogContent a:hover {
225 color: #ff00ff;
226 }
227 div.dialogContent a:active {
228 color: #ff0000;
229 }
230
231 div.dialogMarginDiv {
232 margin: 1em 2em 1ex 2em;
233 }
234 div.dialogZeroMarginDiv {
235 margin: 0px;
236 }
237
238 div.dialogButtons {
239 text-align: center;
240 margin: 1.5em 1em 1ex 1em;
241 clear: both;
242 }
243
244 div#debugLogDiv {
245 position: absolute;
246 right: 0px;
247 top: 50px;
248 z-index: 11000;
249 width: 35%;
250 height: 75%;
251 overflow: auto;
252 background: #ff8000;
253 font: 8pt/12pt Verdana, Helvetica, Sans-Serif; color: #ffffff;
254 display: none;
255 }
256
257 div.errorListDiv {
258 margin: 1em;
259 overflow: auto;
260 border: 1px inset #c0c0ff;
261 background: #f0f0f0;
262 padding: 1em;
263 max-height: 20em;
264 }
265 div.dialogContent span.details {
266 font-size: 90%;
267 }
268
269 div.errorFooter {
270 font-size: 85%;
271 color: #303030;
272 margin-top: 1ex;
273 }
274
275 div.errorDetail {
276 font-size: 85%;
277 color: #303030;
278 display: none;
279 }
280 div.errorDetail div.errorSubDetail {
281 padding: 0 1em 0 2em;
282 }
283
284 div.dialogContent a.colorbutton {
285 height: 1.5em;
286 width: 3em;
287 background: #ff00ff;
288 border: 1px solid #0000ff;
289 display: table-cell;
290 display: inline-block;
291 margin: 0.75em 0.75ex 0.75em 0.75ex;
292 vertical-align: middle;
293
294 color: #ffffff;
295 text-decoration: none;
296 text-align: center;
297 }
298
299 div.prefsSection {
300 margin: 1ex 0 1ex 0;
301 }
302
303 div.prefsSection select {
304 margin: 0.5em 0.75ex 0.5em 0.75ex;
305 vertical-align: middle;
306 }
307 div.prefsSection input {
308 margin: 0.5em 0.75ex 0.5em 0.75ex;
309 vertical-align: middle;
310 }
311 div.prefsSection div.combobox {
312 margin: 0.5em 0.75ex 0.5em 0.75ex;
313 vertical-align: middle;
314 }
315
316 span.prefsLabel {
317 width: 30ex;
318 display: table-cell;
319 display: inline-block;
320 }
321
322 a.dlgButton {
323 margin: 0 1ex 0 1ex;
324 }
325
326 div.colorPicker {
327 position: absolute;
328 z-index: 19900;
329 display: none;
330 background: #000080;
331 color: #ffffff;
332 font: 8pt/10pt Verdana, Helvetica, Sans-Serif;
333 border: 1px solid #808080;
334 }
335 div.colorPicker input {
336 border: 1px solid #303030;
337 font: 8pt/10pt Verdana, Helvetica, Sans-Serif;
338 color: #000000;
339 background: #c0c0ff;
340 }
341 a.colorPickerButton {
342 display: table-cell;
343 display: inline-block;
344 width: 2ex;
345 height: 2ex;
346 margin: 2px;
347 border: 2px inset gray;
348 cursor: pointer;
349 }
350 div.colorPickerDefault {
351 text-align: center;
352 width: 100%;
353 }
354 div.colorPickerDefault div.off {
355 padding: 0px 1ex;
356 display: inline-block; zoom: 1; * display: inline;
357 }
358 div.colorPickerDefault div.on {
359 padding: 0px 1ex;
360 display: inline-block; zoom: 1; * display: inline;
361 background: #0080ff;
362 }
363 div.colorPickerDefault a {
364 color: #ffffff;
365 text-decoration: none;
366 border: none;
367 }
368 div.colorPickerDefault img {
369 border: none;
370 vertical-align: middle;
371 }
372
373 div.inputDialog {
374 text-align: center;
375 margin: 1em;
376 padding: 1em;
377 }
378
379 table.inputDialogTab {
380 width: 100%;
381 border: none;
382 margin: 0px;
383 }
384 table.inputDialogTab tr {
385 vertical-align: top;
386 height: 40px;
387 }
388 td.inputDialogPrompt {
389 vertical-align: middle;
390 text-align: center;
391 padding: 0px 60px;
392 }
393
394 img.inputDialogIcon {
395 position: absolute;
396 }
397 img.inputDialogStrut {
398 height: 40px;
399 width: 0px;
400 }
401
402 iframe.downloadFile {
403 position: absolute;
404 width: 1px;
405 height: 1px;
406 left: -100px;
407 top: -100px;
408 }
409
410 div.menuSys {
411 padding: 3em 0px;
412 text-align: center;
413 }
414
415 div.menuSysItem {
416 padding: 1ex 0px;
417 }
418
419 div.menuSysTopicFooter {
420 padding: 1em 0px 0px 0px;
421 text-align: center;
422 }
423
424 div.menuSysItem a:link {
425 text-decoration: none;
426 }
427 div.menuSysItem a:active {
428 text-decoration: underline;
429 }
430 div.menuSysItem a:hover {
431 text-decoration: underline;
432 }
433
434 div.menuSysLongTopic {
435 overflow-y: auto;
436 overflow-x: hidden;
437 margin: 2em 0px 1em 0px;
438 text-align: left;
439 padding-right: 24px; /* hack for IE scrollbar overlap */
440 }
441
442 div.menuSysChapterButtons {
443 }
444
445 div.menuSysChapterButtons a {
446 padding: 0px 1.5em;
447 }
448
449 div#pageMenuDiv {
450 position: absolute;
451 z-index: 20000;
452 display: none;
453 background: #ffffff;
454 padding: 0px;
455 margin: 0px;
456 border: 0px;
457 }
458 div.pageMenuWrapper {
459 color: #00000;
460 font: bold 8pt/16pt Verdana, Helvetica, Sans-Serif;
461 border: 1px solid #c0c0c0;
462 padding: 6px 1.5em;
463 }
464 div#pageMenuDiv a {
465 text-decoration: none;
466 color: #0000ff;
467 }
468 div#pageMenuDiv a:hover {
469 color: #ff0000;
470 }
471 div.menuShadow {
472 position: absolute;
473 z-index: 19999;
474 background: #b0b0b0;
475 opacity: 0.60;
476 filter: alpha(opacity=60);
477 }
478
479 div#__TADS_swf_div {
480 position: absolute;
481 left: -10000px;
482 top: -10000px;
483 }