Imported Upstream version 1.5.1
[routino] / web / www / routino / router.css
1 /*
2 // Routino router web page style sheet.
3 //
4 // Part of the Routino routing software.
5 //
6 // This file Copyright 2008-2010 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 INPUT
75 {
76  padding: 0;
77  border:  1px solid;
78  margin:  0;
79
80  text-align: right;
81 }
82
83 DIV#tab_options_div INPUT:hover
84 {
85  background: #F0F0C0;
86 }
87
88 DIV#tab_options_div INPUT#shortest
89 {
90  margin: 3px;
91  border: 3px solid;
92
93  border-color: #00FF00;
94
95  background: #C0F0C0;
96
97  text-align: center;
98 }
99
100 DIV#tab_options_div INPUT#quickest
101 {
102  margin: 3px;
103  border: 3px solid;
104
105  border-color: #0000FF;
106
107  background: #C0C0F0;
108
109  text-align: center;
110 }
111
112 DIV#tab_results_div TABLE
113 {
114  border-collapse: collapse;
115  border: hidden;
116 }
117
118 DIV#tab_results_div TD.distance
119 {
120  text-align: left;
121 }
122
123 DIV#tab_results_div TD.highway
124 {
125  text-align: left;
126  padding-left: 10px;
127 }
128
129 DIV#tab_results_div DIV#shortest_links A:hover
130 {
131  background: #C0F0C0;
132 }
133
134 DIV#tab_results_div DIV#shortest_route TR:hover
135 {
136  cursor: pointer;
137
138  background: #C0F0C0;
139 }
140
141 DIV#tab_results_div DIV#quickest_links A:hover
142 {
143  background: #C0C0F0;
144 }
145
146 DIV#tab_results_div DIV#quickest_route TR:hover
147 {
148  cursor: pointer;
149
150  background: #C0C0F0;
151 }
152
153
154 /*-------------------------------------------------*/
155 /* Popup - using the styles defined in HTML output */
156 /*-------------------------------------------------*/
157
158 DIV.popup table  {table-layout: fixed; border: none; border-collapse: collapse;}
159 DIV.popup tr     {border: 0px;}
160 DIV.popup tr.c   {display: none;} /* coords */
161 DIV.popup tr.n   {} /* node */
162 DIV.popup tr.s   {} /* segment */
163 DIV.popup tr.t   {font-weight: bold;} /* total */
164 DIV.popup td.l   {font-weight: bold;}
165 DIV.popup td.r   {}
166 DIV.popup span.w {font-weight: bold;} /* waypoint */
167 DIV.popup span.h {text-decoration: underline;} /* highway */
168 DIV.popup span.d {} /* segment distance */
169 DIV.popup span.j {font-style: italic;} /* total journey distance */
170 DIV.popup span.t {font-variant: small-caps;} /* turn */
171 DIV.popup span.b {font-variant: small-caps;} /* bearing */