]> dev.renevier.net Git - syp.git/blob - media/syp.css
initial commit
[syp.git] / media / syp.css
1 /* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD
2    license. */
3
4 @import url(common.css);
5
6 #map {
7     width: 100%;
8     height: 100%;
9 }
10
11 .olControlAttribution {
12     left: 3px;
13     bottom: 1.5em;
14 }
15
16 .olPopup p {
17     width: 400px;
18 }
19 .olPopup img {
20     max-height: 400px;
21     max-width: 400px;
22
23     /* for IE (does not understand max-heigth max-width) */
24     _height: expression((this.offsetHeight>this.offsetWidth) ? 
25              Math.min(parseInt(this.offsetHeight), 400 ) : true);
26     _width: expression((this.offsetWidth>=this.offsetHeight) ? 
27             Math.min(parseInt(this.offsetWidth), 400 ) : true); 
28 }
29 .olPopup {
30     text-align: center;
31     border: 3px double black;
32     background-color: white;
33 }
34 /* for IE (does not understand double borders */
35 #popup_contentDiv {
36     _border: 2px solid black;
37 }
38
39 #message {
40     display: none;
41     z-index: 2000;
42     position: absolute;
43     bottom: 4px;
44     margin: 0px 30% 0px 30%;
45     text-align: center;
46     width: 40%;
47     padding: 18px 0px 12px 0px;
48     font-weight: bold;
49     background-color: white;
50 }