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 font-family: 'andale mono', 'lucida console', monospace;
144 font-family: 'andale mono', 'lucida console', monospace;
150 font-family: 'andale mono', 'lucida console', monospace;
154 margin: 2px 18px 2px 2px;
162 #point-description-select {
165 #point-description-input {
168 #point-numeric-description {
183 #finish-point-button {
193 #suggest-unique-button {
198 #force-duplicate-button {
203 #delete-point-button {
208 #aux-point-distance-or-point-creation-date {
214 #aux-point-distance {
219 #include-aux-data, #display-nearest-aux-data {
222 #point-creation-date {
240 font-family: 'andale mono', 'lucida console', monospace;
248 #real-phoros-controls {
255 background-image: url(/~@*~A/lib/public_html/phoros-logo-background.png);
256 background-position: 40px 90px;
257 background-repeat: no-repeat;
262 .controlled-streetmap {
268 border: 1px solid #00008B;
275 .streetmap-controls {
280 background-color: #00008B;
287 .streetmap-layer-switcher {
291 .streetmap-layer-switcher span { /*layer name*/
295 #unselect-all-restrictions-button {
305 #restriction-select {
306 font-family: 'andale mono', 'lucida console', monospace;
317 cursor: pointer; /*TODO: doesn't work*/
319 .streetmap-vertical-strut {
323 background-color: black;
325 .streetmap-mouse-position {
326 font-family: 'andale mono', 'lucida console', monospace;
334 .streetmap-overview {
340 .image-main-controls, .walk-mode-controls {
342 background-color: #00008B;
351 background-color: white;
362 #remove-work-layers-button {
367 background-color: white;
378 #auto-zoom, #walk-mode, #brighten-images {
387 font-family: 'andale mono', 'lucida console', monospace;
393 #auto-zoom, #walk-mode, #include-aux-data-p, label {
396 #zoom-images-to-max-extent {
397 background: url(/~@*~A/lib/ol/img/zoom-world-mini.png) no-repeat;
415 background-color: #00008B;
422 .image-layer-switcher {
423 cursor: pointer; /*TODO: doesn't work*/
434 .image-trigger-time {
435 font: smaller 'andale mono', 'lucida console', monospace;
443 .dataLbl, .baseLbl { /*of layer-switcher*/
446 .image-layer-switcher span { /*layer name*/
450 background-image: url(/~@*~A/lib/public_html/phoros-logo-background.png);
451 background-position: center;
452 background-repeat: no-repeat;
453 /* width and height are read via CSS DOM where we expect them
460 border: 1px solid #00008B;
463 .olControlPanWestItemInactive {
464 background: url(/~@*~A/lib/ol/img/west-mini.png) no-repeat;
470 .olControlPanEastItemInactive {
471 background: url(/~@*~A/lib/ol/img/east-mini.png) no-repeat;
477 .olControlPanNorthItemInactive {
478 background: url(/~@*~A/lib/ol/img/north-mini.png) no-repeat;
484 .olControlPanSouthItemInactive {
485 background: url(/~@*~A/lib/ol/img/south-mini.png) no-repeat;
491 .olControlZoomInItemInactive, #increase-step-size {
492 background: url(/~@*~A/lib/ol/img/zoom-plus-mini.png) no-repeat;
498 .olControlZoomOutItemInactive, #decrease-step-size {
499 background: url(/~@*~A/lib/ol/img/zoom-minus-mini.png) no-repeat;
505 .olControlZoomToMaxExtentItemInactive {
506 background: url(/~@*~A/lib/ol/img/zoom-world-mini.png) no-repeat;
512 .olControlScaleLineBottom { /* Imperial units */
515 .streetmapZoomToMaxExtentItemInactive {
516 background: url(/~@*~A/lib/ol/img/zoom-world-mini.png) no-repeat;
522 .olLayerGoogleCopyright {
527 ;; (pushnew (hunchentoot:create-folder-dispatcher-and-handler
528 ;; (format nil "/phoros/lib/css-~A/" (phoros-version)) "css/") ;TODO: merge this style.css into public_html/style.css
529 ;; hunchentoot:*dispatch-table*)