1 ;;; PHOROS -- Photogrammetric Road Survey
2 ;;; Copyright (C) 2011, 2012 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 {
191 #finish-point-button {
201 #suggest-unique-button {
206 #force-duplicate-button {
211 #delete-point-button {
216 #aux-point-distance-or-point-creation-date {
222 #aux-point-distance {
227 #include-aux-data, #display-nearest-aux-data {
230 #point-creation-date {
248 font-family: 'andale mono', 'lucida console', monospace;
256 #real-phoros-controls {
263 background-image: url(/~@*~A/lib/public_html/phoros-logo-background.png);
264 background-position: 40px 90px;
265 background-repeat: no-repeat;
270 .controlled-streetmap {
276 border: 1px solid #00008B;
283 .streetmap-controls {
288 background-color: #00008B;
295 .streetmap-layer-switcher {
299 .streetmap-layer-switcher span { /*layer name*/
303 #unselect-all-restrictions-button {
313 #restriction-select {
314 font-family: 'andale mono', 'lucida console', monospace;
325 cursor: pointer; /*TODO: doesn't work*/
327 .streetmap-vertical-strut {
331 background-color: black;
333 .streetmap-mouse-position {
334 font-family: 'andale mono', 'lucida console', monospace;
342 .streetmap-overview {
348 .image-main-controls, .walk-mode-controls {
350 background-color: #00008B;
359 background-color: white;
370 #remove-work-layers-button {
375 background-color: white;
386 #auto-zoom, #walk-mode, #brighten-images {
395 font-family: 'andale mono', 'lucida console', monospace;
401 #auto-zoom, #walk-mode, #include-aux-data-p, label {
404 #zoom-images-to-max-extent {
405 background: url(/~@*~A/lib/ol/img/zoom-world-mini.png) no-repeat;
423 background-color: #00008B;
430 .image-layer-switcher {
431 cursor: pointer; /*TODO: doesn't work*/
442 .image-trigger-time {
443 font: smaller 'andale mono', 'lucida console', monospace;
451 .dataLbl, .baseLbl { /*of layer-switcher*/
454 .image-layer-switcher span { /*layer name*/
458 background-image: url(/~@*~A/lib/public_html/phoros-logo-background.png);
459 background-position: center;
460 background-repeat: no-repeat;
461 /* width and height are read via CSS DOM where we expect them
468 border: 1px solid #00008B;
471 .olControlPanWestItemInactive {
472 background: url(/~@*~A/lib/ol/img/west-mini.png) no-repeat;
478 .olControlPanEastItemInactive {
479 background: url(/~@*~A/lib/ol/img/east-mini.png) no-repeat;
485 .olControlPanNorthItemInactive {
486 background: url(/~@*~A/lib/ol/img/north-mini.png) no-repeat;
492 .olControlPanSouthItemInactive {
493 background: url(/~@*~A/lib/ol/img/south-mini.png) no-repeat;
499 .olControlZoomInItemInactive, #increase-step-size {
500 background: url(/~@*~A/lib/ol/img/zoom-plus-mini.png) no-repeat;
506 .olControlZoomOutItemInactive, #decrease-step-size {
507 background: url(/~@*~A/lib/ol/img/zoom-minus-mini.png) no-repeat;
513 .olControlZoomToMaxExtentItemInactive {
514 background: url(/~@*~A/lib/ol/img/zoom-world-mini.png) no-repeat;
520 .olControlScaleLineBottom { /* Imperial units */
523 .streetmapZoomToMaxExtentItemInactive {
524 background: url(/~@*~A/lib/ol/img/zoom-world-mini.png) no-repeat;
530 .olLayerGoogleCopyright {
535 ;; (pushnew (hunchentoot:create-folder-dispatcher-and-handler
536 ;; (format nil "/phoros/lib/css-~A/" (phoros-version)) "css/") ;TODO: merge this style.css into public_html/style.css
537 ;; hunchentoot:*dispatch-table*)