summaryrefslogtreecommitdiff
path: root/templates/chimere/dyn.css
blob: 5e6452e04e296b8f8c575baf6cbeca697e81a8b9 (plain)
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
{% for pk, color in categories %}
.main_category.toggle_plus > span#main_category_{{pk}} > label,
.main_category.toggle_minus > span#main_category_{{pk}} > label{% if not forloop.last %}, {% endif%}{% endfor %} {
    background-color:transparent;
    color: #777;
}
{% for pk, color in categories %}
.category-selected #main_category_{{pk}} .triangle{% if not forloop.last %}, {% endif %}{% endfor %} {
    border-color: transparent transparent transparent #fff;
}

{% for pk, color in categories %}
#main_category_{{pk}} .triangle{
    border-color: transparent transparent transparent {{color}};
}

.main_category.category-selected > span#main_category_{{pk}} > label,

#ul_categories #maincategory_{{pk}}.subcategories li .selected label,
.main_category.toggle_plus > span#main_category_{{pk}}.category-selected > label,
.main_category.toggle_minus > span#main_category_{{pk}}.category-selected > label{
    background-color: {{color}};
    color: #fff;
}
{% endfor %}