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