Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

ViewVC logotype

Contents of /trunk/web/www/routino/router.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1005 - (show annotations) (download) (as text)
Fri Jun 29 14:30:38 2012 UTC (12 years, 8 months ago) by amb
File MIME type: text/css
File size: 3454 byte(s)
Display all of the search results and allow the user to select one.

1 /*
2 // Routino router web page style sheet.
3 //
4 // Part of the Routino routing software.
5 //
6 // This file Copyright 2008-2012 Andrew M. Bishop
7 //
8 // This program is free software: you can redistribute it and/or modify
9 // it under the terms of the GNU Affero General Public License as published by
10 // the Free Software Foundation, either version 3 of the License, or
11 // (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU Affero General Public License for more details.
17 //
18 // You should have received a copy of the GNU Affero General Public License
19 // along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22
23 /*--------------------------------*/
24 /* Left panel - override defaults */
25 /*--------------------------------*/
26
27 DIV.hideshow_box
28 {
29 overflow-x: auto;
30 }
31
32
33 /*------------------------------*/
34 /* Left panel - generic options */
35 /*------------------------------*/
36
37 DIV.scrollable
38 {
39 overflow: auto;
40
41 height: 20em;
42 }
43
44
45 /*-----------------------------------*/
46 /* Left panel - specific tab options */
47 /*-----------------------------------*/
48
49 DIV#tab_options_div IMG
50 {
51 cursor: pointer;
52 vertical-align: bottom;
53 }
54
55 DIV#tab_options_div IMG:hover
56 {
57 background: #F0F000;
58 }
59
60 DIV#tab_options_div TABLE
61 {
62 padding: 0;
63 border: 0 hidden;
64 margin: 0;
65 }
66
67 DIV#tab_options_div TABLE TD
68 {
69 padding: 0;
70 border: 0;
71 margin: 0;
72 }
73
74 DIV#tab_options_div A:hover
75 {
76 background: #F0F000;
77 }
78
79 DIV#tab_options_div INPUT
80 {
81 padding: 0;
82 border: 1px solid;
83 margin: 0;
84 }
85
86 DIV#tab_options_div INPUT[type="text"]
87 {
88 text-align: right;
89 }
90
91 DIV#tab_options_div INPUT:hover
92 {
93 background: #F0F0C0;
94 }
95
96 DIV#tab_options_div INPUT#shortest
97 {
98 margin: 3px;
99 border: 3px solid;
100
101 border-color: #00FF00;
102
103 background: #C0F0C0;
104
105 text-align: center;
106 }
107
108 DIV#tab_options_div INPUT#quickest
109 {
110 margin: 3px;
111 border: 3px solid;
112
113 border-color: #0000FF;
114
115 background: #C0C0F0;
116
117 text-align: center;
118 }
119
120 DIV#tab_results_div TABLE
121 {
122 border-collapse: collapse;
123 border: hidden;
124 }
125
126 DIV#tab_results_div TD.distance
127 {
128 text-align: left;
129 }
130
131 DIV#tab_results_div TD.highway
132 {
133 text-align: left;
134 padding-left: 10px;
135 }
136
137 DIV#tab_results_div DIV#shortest_links A:hover
138 {
139 background: #C0F0C0;
140 }
141
142 DIV#tab_results_div DIV#shortest_route TR:hover
143 {
144 cursor: pointer;
145
146 background: #C0F0C0;
147 }
148
149 DIV#tab_results_div DIV#quickest_links A:hover
150 {
151 background: #C0C0F0;
152 }
153
154 DIV#tab_results_div DIV#quickest_route TR:hover
155 {
156 cursor: pointer;
157
158 background: #C0C0F0;
159 }
160
161
162 /*-------------------------------------------------*/
163 /* Popup - using the styles defined in HTML output */
164 /*-------------------------------------------------*/
165
166 DIV.popup table {table-layout: fixed; border: none; border-collapse: collapse;}
167 DIV.popup tr {border: 0px;}
168 DIV.popup tr.c {display: none;} /* coords */
169 DIV.popup tr.n {} /* node */
170 DIV.popup tr.s {} /* segment */
171 DIV.popup tr.t {font-weight: bold;} /* total */
172 DIV.popup td.l {font-weight: bold;}
173 DIV.popup td.r {}
174 DIV.popup span.w {font-weight: bold;} /* waypoint */
175 DIV.popup span.h {text-decoration: underline;} /* highway */
176 DIV.popup span.d {} /* segment distance */
177 DIV.popup span.j {font-style: italic;} /* total journey distance */
178 DIV.popup span.t {font-variant: small-caps;} /* turn */
179 DIV.popup span.b {font-variant: small-caps;} /* bearing */