]> dev.renevier.net Git - syj.git/blob - public/css/syj.css
direct link to path
[syj.git] / public / css / syj.css
1 /*  This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
2     and is published under the AGPL license. */
3 body, html {
4     margin: 0; padding: 0;
5     width: 100%;
6     height: 100%;
7 }
8
9 /*
10  * map rules
11  */
12 #map {
13     position: absolute;
14     top: 0; left: 0; right: 0;
15     bottom: 2em;
16     *width: 100%;
17     *height: 100%;
18 }
19
20 .olControlAttribution {
21     bottom: 0.5em;
22     *bottom: 2.5em;
23     _bottom: 3.0em;
24     left: 0.5em;
25 }
26
27 /*
28  * main message rules
29  */
30
31 #message {
32     position: absolute;
33     bottom: 3.5em;
34     width: 40%;
35     margin: 0px 45% 0px 15%;
36     padding: 1.5em 1.5em 1.5em 1.5em;
37     text-align: center;
38     border-width: 2px;
39     border-style: solid;
40     -moz-border-radius: 5px;
41     -webkit-border-radius: 5px;
42     border-radius: 5px;
43 }
44
45 /*
46  * menu rules
47  */
48
49 #menu {
50     text-align: right;
51 }
52
53 .menu-group {
54     z-index: 10; /* to be over nominatim-suggestions */
55     position: relative; /* otherwise, under #map in ie */
56     float: right;
57     clear: right;
58     padding-top: 8px;
59     padding-left: 3em;
60     opacity: 0.85;
61     filter:alpha(opacity=85);
62 }
63
64 .menu-item {
65     position: relative; /* otherwise, under #map in ie */
66     min-width: 150px;
67     margin: 2px 10px 2px 0;
68     background-color: white;
69     text-decoration: none;
70     border: #1E90FF 2px solid;
71     padding: 2px 15px 2px 15px;
72     -moz-border-radius: 5px;
73     -webkit-border-radius: 5px;
74     border-radius: 5px;
75     background-color: white;
76 }
77 .menu-item:hover {
78     background-color: #BBBBFF;
79 }
80
81 .info-title {
82     text-decoration: underline;
83 }
84
85 #path-infos-content {
86     text-align: center;
87     padding: 4px 15px 15px 15px;
88 }
89
90 #path-length {
91     text-align: center;
92     position: absolute; /* otherwise, under #map in ie */
93     top: 1em;
94     left: 5em;
95     opacity: 0.85;
96     margin-right: 12px;
97     filter:alpha(opacity=85);
98     background-color: white;
99     padding: 2px 15px 2px 15px;
100     -moz-border-radius: 5px;
101     -webkit-border-radius: 5px;
102     border-radius: 5px;
103     background-color: white;
104 }
105
106 #data_controls {
107     position: absolute;
108     right: 0.5em;
109     bottom: 3em;
110     text-align: center;
111     background-color: white;
112     opacity: 0.85;
113     filter:alpha(opacity=85);
114     border: 1px solid gray;
115     margin: auto;
116     -moz-border-radius: 5px;
117     -webkit-border-radius: 5px;
118     border-radius: 5px;
119 }
120 #data_controls_btns {
121     padding: 5px 10px 5px 10px;
122 }
123
124 #nominatim-form {
125     text-align: left;
126     padding-bottom: 7px;
127     margin-bottom: 3px;
128     border-bottom: 1px solid black;
129 }
130 #nominatim-message {
131     max-width: 16em;
132     padding: 15px 0 15px 0;
133 }
134 #nominatim-label {
135     text-decoration: none;
136 }
137 #nominatim-search {
138     border: 1px solid black;
139 }
140 #nominatim-submit {
141     width: 26px;
142     border: 1px solid black;
143     padding: 0;
144 }
145
146 #geomform {
147     padding: 25px 45px 20px 45px;
148     *width: 40%; /* otherwise takes all screen width in ie<7 */
149 }
150 #edit-btn {
151     margin-top: 1em;
152 }
153 #geom_title {
154     margin-top: 0.7em;
155 }
156 #geom_submit {
157     margin-top: 0.7em;
158 }
159
160 #other-language {
161     opacity: 0.85;
162     filter:alpha(opacity=85);
163     background-color: white;
164     padding: 5px 1px 5px 1px;
165     position: relative; /* otherwise, under #map in ie */
166 }
167
168 /* nominatim-suggestions */
169 #nominatim-suggestions {
170     text-align: left;
171     border: 2px solid blue;
172     -moz-border-radius: 8px;
173     -webkit-border-radius: 8px;
174     border-radius: 8px;
175     max-width: 360px;
176     width: 360px\9; /* ie only */
177     background-color: white;
178     position: absolute;
179     right: 8px;
180 }
181 #nominatim-suggestions-list {
182     margin-left: 0;
183     position: relative;
184     list-style: none;
185     padding: 0 16px 0 12px;
186 }
187 #nominatim-suggestions-title {
188     text-align: center;
189     font-weight: bold;
190 }
191 #nominatim-suggestions-list li.current {
192     background-color: #D3D3D3;
193 }
194 .nominatim-suggestions-icon {
195     border: none;
196     vertical-align: middle;
197     margin-right: 4px;
198 }
199 .nominatim-suggestions-link {
200     text-decoration: none;
201 }
202
203 /* * login rules
204  */
205 .modal {
206     background-color: white;
207     text-align: center;
208     width: 50%;
209     margin-left: auto;
210     margin-right: auto;
211     padding: 21px;
212     border: 1px solid gray;
213     opacity: 0.85;
214     filter:alpha(opacity=85);
215 }
216
217 .form-table-elem {
218     display: block;
219     width: 100%;
220 }
221 .modal .message {
222     margin: 0 35px 12px 35px;
223 }
224 #login_area_create {
225     text-align: right;
226 }
227
228 #user_control_anchor {
229     text-align: right;
230 }
231
232 #user_email-desc {
233     margin: 0px 0px 12px 0px;
234     padding: 8px 2px 8px 2px;
235     background-color: #D3D3D3; /* lightgrey */
236 }
237
238 #termsofusearea {
239     height: 50%;
240     /* override opacity defined in .modal rule */
241     opacity: 1;
242     filter:alpha(opacity=100);
243 }
244
245 /*
246  * printing
247  */
248 @media print {
249     @page {
250       size: landscape;
251     }
252
253     #message, #data_controls, #login_controls, #user_area, #login_area, #newpwd_area, .olControlPanZoom{
254         display: none;
255     }
256 }