]> dev.renevier.net Git - syj.git/blob - public/css/syj.css
css improvements for nominatim-suggestions
[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 #path-infos-content {
82     background-color: white;
83     -moz-border-radius: 5px;
84     -webkit-border-radius: 5px;
85     border-radius: 5px;
86     margin: 2px 10px 2px 0;
87 }
88
89 #path-length {
90     text-align: center;
91     position: absolute; /* otherwise, under #map in ie */
92     top: 1em;
93     left: 5em;
94     opacity: 0.85;
95     margin-right: 12px;
96     filter:alpha(opacity=85);
97     background-color: white;
98     padding: 2px 15px 2px 15px;
99     -moz-border-radius: 5px;
100     -webkit-border-radius: 5px;
101     border-radius: 5px;
102     background-color: white;
103 }
104 #path-length-title {
105     text-decoration: underline;
106 }
107
108 #data_controls {
109     position: absolute;
110     right: 0.5em;
111     bottom: 3em;
112     text-align: center;
113     background-color: white;
114     opacity: 0.85;
115     filter:alpha(opacity=85);
116     border: 1px solid gray;
117     margin: auto;
118     -moz-border-radius: 5px;
119     -webkit-border-radius: 5px;
120     border-radius: 5px;
121 }
122 #data_controls_btns {
123     padding: 5px 10px 5px 10px;
124 }
125
126 #nominatim-form {
127     text-align: left;
128     padding-bottom: 7px;
129     margin-bottom: 3px;
130     border-bottom: 1px solid black;
131 }
132 #nominatim-message {
133     max-width: 16em;
134     padding: 15px 0 15px 0;
135 }
136 #nominatim-label {
137     text-decoration: none;
138 }
139 #nominatim-search {
140     border: 1px solid black;
141 }
142 #nominatim-submit {
143     width: 26px;
144     border: 1px solid black;
145     padding: 0;
146 }
147
148 #geomform {
149     padding: 25px 45px 20px 45px;
150     *width: 40%; /* otherwise takes all screen width in ie<7 */
151 }
152 #edit-btn {
153     margin-top: 1em;
154 }
155 #geom_title {
156     margin-top: 0.7em;
157 }
158 #geom_submit {
159     margin-top: 0.7em;
160 }
161
162 #other-language {
163     opacity: 0.85;
164     filter:alpha(opacity=85);
165     background-color: white;
166     padding: 5px 1px 5px 1px;
167     position: relative; /* otherwise, under #map in ie */
168 }
169
170 /* nominatim-suggestions */
171 #nominatim-suggestions {
172     text-align: left;
173     border: 2px solid blue;
174     -moz-border-radius: 8px;
175     -webkit-border-radius: 8px;
176     border-radius: 8px;
177     max-width: 360px;
178     width: 360px\9; /* ie only */
179     background-color: white;
180     position: absolute;
181     right: 8px;
182 }
183 #nominatim-suggestions-list {
184     margin-left: 0;
185     position: relative;
186     list-style: none;
187     padding: 0 16px 0 12px;
188 }
189 #nominatim-suggestions-title {
190     text-align: center;
191     font-weight: bold;
192 }
193 #nominatim-suggestions-list li.current {
194     background-color: #D3D3D3;
195 }
196 .nominatim-suggestions-icon {
197     border: none;
198     vertical-align: middle;
199     margin-right: 4px;
200 }
201 .nominatim-suggestions-link {
202     text-decoration: none;
203 }
204
205 /* * login rules
206  */
207 .modal {
208     background-color: white;
209     text-align: center;
210     width: 50%;
211     margin-left: auto;
212     margin-right: auto;
213     padding: 21px;
214     border: 1px solid gray;
215     opacity: 0.85;
216     filter:alpha(opacity=85);
217 }
218
219 .form-table-elem {
220     display: block;
221     width: 100%;
222 }
223 .modal .message {
224     margin: 0 35px 12px 35px;
225 }
226 #login_area_create {
227     text-align: right;
228 }
229
230 #user_control_anchor {
231     text-align: right;
232 }
233
234 #user_email-desc {
235     margin: 0px 0px 12px 0px;
236     padding: 8px 2px 8px 2px;
237     background-color: #D3D3D3; /* lightgrey */
238 }
239
240 #termsofusearea {
241     height: 50%;
242     /* override opacity defined in .modal rule */
243     opacity: 1;
244     filter:alpha(opacity=100);
245 }
246
247 /*
248  * printing
249  */
250 @media print {
251     @page {
252       size: landscape;
253     }
254
255     #message, #data_controls, #login_controls, #user_area, #login_area, #newpwd_area, .olControlPanZoom{
256         display: none;
257     }
258 }