oeffisearch/client/css/product_selector.css
2020-02-07 14:09:42 +01:00

85 lines
1.7 KiB
CSS

.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");
}