ctucx.git: oeffi-web

[nimlang] oeffisearch fork that works without javascript

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47 
48 
49 
50 
51 
52 
53 
54 
55 
56 
57 
58 
59 
60 
61 
62 
63 
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
79 
80 
81 
82 
83 
84 
.product_selector > label {
	width: 32px;
	height: 32px;

	-webkit-user-select: none;        
	-moz-user-select: none;
	-ms-user-select: none;

	-o-user-select: none;
	user-select: none;
}

.product_selector > input {
	display: none;
}

input[id=national] + label[for=national] {
	content: url("../img/product_highspeed_grey.svg");
}

input[id=national]:checked + label[for=national] {
	content: url("../img/product_highspeed_color.svg");
}


input[id=regional] + label[for=regional] {
	content: url("../img/product_train_grey.svg");
}

input[id=regional]:checked + label[for=regional] {
	content: url("../img/product_train_color.svg");
}


input[id=suburban] + label[for=suburban] {
	content: url("../img/product_suburban_grey.svg");
}

input[id=suburban]:checked + label[for=suburban] {
	content: url("../img/product_suburban_color.svg");
}


input[id=subway] + label[for=subway] {
	content: url("../img/product_subway_grey.svg");
}

input[id=subway]:checked + label[for=subway] {
	content: url("../img/product_subway_color.svg");
}

input[id=tram] + label[for=tram] {
	content: url("../img/product_tram_grey.svg");
}

input[id=tram]:checked + label[for=tram] {
	content: url("../img/product_tram_color.svg");
}


input[id=bus] + label[for=bus] {
	content: url("../img/product_bus_grey.svg");
}

input[id=bus]:checked + label[for=bus] {
	content: url("../img/product_bus_color.svg");
}


input[id=ferry] + label[for=ferry] {
	content: url("../img/product_ferry_grey.svg");
}

input[id=ferry]:checked + label[for=ferry] {
	content: url("../img/product_ferry_color.svg");
}

input[id=taxi] + label[for=taxi] {
	content: url("../img/product_call_grey.svg");
}

input[id=taxi]:checked + label[for=taxi] {
	content: url("../img/product_call_color.svg");
}