]> dev.renevier.net Git - syp.git/blob - media/admin.css
0822ece217923a1375df4568540d203d9d52a195
[syp.git] / media / admin.css
1 /* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD
2    license. */
3
4 @import url(common.css);
5
6 /*
7  * map
8  */
9
10 #map {
11     position: absolute;
12     top: 4px;
13     left: 4px;
14     height: 50%;
15     width: 50%;
16     margin-bottom: 1em!important;
17 }
18
19 /*
20  * feature editor
21  */
22 #editor {
23     display: none;
24     float: right;
25     clear: right;
26     margin-right: 12px;
27 }
28
29 #img {
30     max-height: 400px;
31     max-width: 400px;
32 }
33 html>/**/body #img { /* hide from ie7 */
34     display: block;
35     margin: 1em auto 0 auto;
36 }
37
38 #deletephoto_button {
39     margin-top: 12px;
40 }
41
42 /*
43  * global admin area
44  */
45
46 #global_admin {
47     position: fixed;
48     top: 50%;
49     width: 50%;
50 }
51
52 #modify_howto,
53 #dragdrop_howto {
54     visibility: hidden;
55 }
56
57 #features_connect_error {
58     display: none;
59 }
60
61 /*
62  * password manager
63  */
64
65 #login_area {
66     z-index:2001;
67     position: absolute;
68     top: 0px;
69     left: 0px;
70     width: 100%;
71     height: 100%;
72 }
73
74 #login_transparency {
75     z-index:-1;  
76     position: absolute;
77     top: 0px;
78     left: 0px;
79     right: 0px;
80     bottom: 0px;
81     width: 100%;
82     height: 100%;
83     background-color: #888;
84     opacity: 0.3;
85     filter: alpha(opacity = 30);
86 }
87
88 #login_padding {
89     float: left;
90     height: 40%;
91     width: 1px;
92     margin-bottom: -20px;
93 }
94
95 #login_content {
96     z-index:1004;
97     clear:left;
98     width: 50%;
99     padding: 20px;
100     margin-left: auto;
101     margin-right: auto;
102     opacity: 1;
103     filter: alpha(opacity = 100);
104     background-color: white;
105 }
106
107 #user_pwd {
108     display: block;
109     width: 100%;
110 }
111
112 #login_connect_error, 
113 #login_password_error {
114     display: none;
115 }
116
117 /*
118  * add feature
119  */
120 #newimage {
121     display: none;
122     float: right;
123     clear: right;
124     width: 45%;
125     border: 1px solid black;
126     padding: 15px 3px 8px 2px;
127 }
128
129 #newimage_error,
130 #newimage_warn {
131     display: none;
132 }
133
134 #newimage_close {
135     float: right;
136     right: 8px;
137     margin: -14px -2px 0px 0px;
138 }
139
140 #newimage_preview {
141     display: none;
142     max-height: 400px;
143     max-width: 400px;
144
145     /* for IE */
146     _height: expression((this.offsetHeight>this.offsetWidth) ? 
147              Math.min(parseInt(this.offsetHeight), 400 ) : true);
148     _width: expression((this.offsetWidth>=this.offsetHeight) ? 
149             Math.min(parseInt(this.offsetWidth), 400 ) : true); 
150
151     margin-left: auto;
152     margin-right: auto;
153 }
154
155 /*
156  * misc
157  */
158
159 #logout {
160     float: right;
161     margin: 0px 10px 0px 0px;
162 }
163
164 #features_success {
165     visibility: hidden;
166     clear: right;
167     text-align: center;
168     margin: 0px 0px 12px 50%;
169 }