]> mj.ucw.cz Git - leo.git/blob - pruvodce.css
Průvodce: More styling
[leo.git] / pruvodce.css
1 /*** General settings ***/
2
3 way::* {
4         color: #ccc;
5         linejoin: round;
6         linecap: round;
7         casing-linejoin: round;
8         casing-linecap: round;
9 }
10
11 /*** Boundary ***/
12
13 relation[boundary=administrative] way {
14         color: #ccc;
15         width: 1;
16         z-index: 0.5;
17         linejoin: round;
18         linecap: round;
19 }
20
21 /*** Highways ***/
22
23 way[highway=motorway_link] {
24         width: 0.4;
25         z-index: 1.9;
26 }
27
28 way[highway=trunk_link] {
29         width: 0.4;
30         z-index: 1.8;
31 }
32
33 way[highway=primary_link] {
34         width: 0.4;
35         z-index: 1.7;
36 }
37
38 way[highway=secondary_link] {
39         width: 0.4;
40         z-index: 1.6;
41 }
42
43 way[highway=tertiary_link] {
44         width: 0.4;
45         z-index: 1.5;
46 }
47
48 way[highway=motorway] {
49         width: 0.4;
50         z-index: 1.9;
51 }
52
53 way[highway=trunk] {
54         width: 0.4;
55         z-index: 1.8;
56 }
57
58 way[highway=primary] {
59         width: 0.4;
60         z-index: 1.7;
61 }
62
63 way[highway=secondary] {
64         width: 0.4;
65         z-index: 1.6;
66 }
67
68 way[highway=tertiary] {
69         width: 0.2;
70         z-index: 1.5;
71 }
72
73 way[highway=road] {
74         width: 0.2;
75         z-index: 1;
76 }
77
78 way[highway=residential],
79 way[highway=unclassified],
80 way[highway=road],
81 way[highway=living_street] {
82         width: 0.2;
83         z-index: 1;
84 }
85
86 way[highway=service] {
87         width: 0.2;
88         z-index: 1;
89 }
90
91 way[highway=proposed] {
92         width: 0;
93 }
94
95 /*** Dijkstra ***/
96
97 way[pruvodce=visited] {
98         color: #000;
99         width: 0.3;
100         z-index: 9;
101 }
102
103 way[pruvodce=path] {
104         color: #000;
105         width: 1.5;
106         z-index: 10;
107 }
108
109 /*
110 node[pruvodce=visited] {
111         symbol-shape: circle;
112         symbol-size: 0.5;
113         symbol-fill-color: #f00;
114         z-index: 10;
115 }
116 */
117
118 node[pruvodce=src], node[pruvodce=dest] {
119         symbol-shape: circle;
120         symbol-size: 3;
121         symbol-fill-color: #ccc;
122         symbol-stroke-color: #000;
123         symbol-stroke-width: 0.5;
124         z-index: 11;
125 }
126
127 /*** Backward Dijkstra ***/
128
129 way[pruvodce2=visited] {
130         color: #000;
131         width: 0.3;
132         z-index: 9;
133 }
134
135 way[pruvodce2=path] {
136         color: #000;
137         width: 1.5;
138         z-index: 10;
139 }
140
141 /*
142 node[pruvodce2=visited] {
143         symbol-shape: circle;
144         symbol-size: 0.7;
145         symbol-fill-color: #0f0;
146         z-index: 10;
147 }
148 */