1 ;;; PHOROS -- Photogrammetric Road Survey
2 ;;; Copyright (C) 2011 Bert Burgemeister
4 ;;; This program is free software; you can redistribute it and/or modify
5 ;;; it under the terms of the GNU General Public License as published by
6 ;;; the Free Software Foundation; either version 2 of the License, or
7 ;;; (at your option) any later version.
9 ;;; This program is distributed in the hope that it will be useful,
10 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ;;; GNU General Public License for more details.
14 ;;; You should have received a copy of the GNU General Public License along
15 ;;; with this program; if not, write to the Free Software Foundation, Inc.,
16 ;;; 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 (hunchentoot:define-easy-handler
22 :uri
(format nil
"/phoros/lib/css-~A/style.css" (phoros-version)))
25 (setf (hunchentoot:content-type
*) "text/css")
29 * From Blueprint reset.css
30 * http://blueprintcss.googlecode.com
32 html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border
33 :0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
34 body {line-height:1.5;}
35 table {border-collapse:separate;border-spacing:0;}
36 caption, th, td {text-align:left;font-weight:normal;}
37 table, td, th {vertical-align:middle;}
38 blockquote:before, blockquote:after, q:before, q:after {content:'';}
39 blockquote, q {quotes:'' '';}
44 * From OpenLayers style.css
45 * http://openlayers.org
48 font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
59 font-family: 'andale mono', 'lucida console', monospace;
64 background-color: transparent;
66 h1, h2, h3, h4, h5, h6 {
68 background-color: transparent;
69 font: 100% 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
76 border-bottom: 1px solid #fcb100;
81 border-bottom: 1px solid #aaa;
86 text-decoration: underline;
106 vertical-align: middle;
108 #download-user-points-button {
129 background: url(/~@*~A/lib/ol/theme/theme/default/img/save_features_off.png) no-repeat center center;
137 font-family: 'andale mono', 'lucida console', monospace;
152 font-family: 'andale mono', 'lucida console', monospace;
158 font-family: 'andale mono', 'lucida console', monospace;
162 margin: 2px 18px 2px 2px;
170 #point-description-select {
173 #point-description-input {
176 #point-numeric-description {
185 #point-attribute-select {
188 #point-attribute-input {
191 #finish-point-button {
196 #delete-point-button {
201 #aux-point-distance-or-point-creation-date {
207 #aux-point-distance {
215 #point-creation-date {
225 list-style-type: lower-latin;
234 #real-phoros-controls, #multiple-points-phoros-controls {
241 background-image: url(/~@*~A/lib/public_html/phoros-logo-background.png);
242 background-position: 40px 90px;
243 background-repeat: no-repeat;
248 .controlled-streetmap {
254 border: 1px solid #00008B;
261 .streetmap-controls {
266 background-color: #00008B;
273 .streetmap-layer-switcher {
276 .streetmap-layer-switcher span { /*layer name*/
281 cursor: pointer; /*TODO: doesn't work*/
283 .streetmap-vertical-strut {
287 background-color: black;
289 .streetmap-mouse-position {
290 font-family: 'andale mono', 'lucida console', monospace;
297 .streetmap-overview {
303 .image-main-controls, .walk-mode-controls {
305 background-color: #00008B;
314 background-color: white;
325 #remove-work-layers-button {
330 background-color: white;
341 #auto-zoom, #walk-mode, #brighten-images {
350 font-family: 'andale mono', 'lucida console', monospace;
356 #auto-zoom, #walk-mode, #include-aux-data-p, label {
359 #zoom-images-to-max-extent {
360 background: url(/~@*~A/lib/ol/img/zoom-world-mini.png) no-repeat;
378 background-color: #00008B;
385 .image-layer-switcher {
386 cursor: pointer; /*TODO: doesn't work*/
397 .image-trigger-time {
398 font: smaller 'andale mono', 'lucida console', monospace;
406 .dataLbl, .baseLbl { /*of layer-switcher*/
409 .image-layer-switcher span { /*layer name*/
413 background-image: url(/~@*~A/lib/public_html/phoros-logo-background.png);
414 background-position: center;
415 background-repeat: no-repeat;
416 /* width and height are read via CSS DOM where we expect them
423 border: 1px solid #00008B;
426 .olControlPanWestItemInactive {
427 background: url(/~@*~A/lib/ol/img/west-mini.png) no-repeat;
433 .olControlPanEastItemInactive {
434 background: url(/~@*~A/lib/ol/img/east-mini.png) no-repeat;
440 .olControlPanNorthItemInactive {
441 background: url(/~@*~A/lib/ol/img/north-mini.png) no-repeat;
447 .olControlPanSouthItemInactive {
448 background: url(/~@*~A/lib/ol/img/south-mini.png) no-repeat;
454 .olControlZoomInItemInactive, #increase-step-size {
455 background: url(/~@*~A/lib/ol/img/zoom-plus-mini.png) no-repeat;
461 .olControlZoomOutItemInactive, #decrease-step-size {
462 background: url(/~@*~A/lib/ol/img/zoom-minus-mini.png) no-repeat;
468 .olControlZoomToMaxExtentItemInactive {
469 background: url(/~@*~A/lib/ol/img/zoom-world-mini.png) no-repeat;
475 .olControlScaleLineBottom { /* Imperial units */
478 .streetmapZoomToMaxExtentItemInactive {
479 background: url(/~@*~A/lib/ol/img/zoom-world-mini.png) no-repeat;
485 .olLayerGoogleCopyright {
490 ;; (pushnew (hunchentoot:create-folder-dispatcher-and-handler
491 ;; (format nil "/phoros/lib/css-~A/" (phoros-version)) "css/") ;TODO: merge this style.css into public_html/style.css
492 ;; hunchentoot:*dispatch-table*)