diff --git a/umap/static/umap/umap.css b/umap/static/umap/umap.css index e4adfcc2..fffb5639 100644 --- a/umap/static/umap/umap.css +++ b/umap/static/umap/umap.css @@ -80,6 +80,32 @@ input:-moz-placeholder, :-moz-placeholder { background-color: #970b0e; } +#style_options > * { + display: none; +} + +#style_options .more_style_options, +#style_options legend { + display: block; + cursor: pointer; +} +#style_options .more_style_options:before { + content: "…"; +} +#style_options legend:before { + content: "▶"; + padding-right: 5px; +} +#style_options.on legend:before { + content: "▼"; +} +#style_options.on > * { + display: block; +} +#style_options.on .more_style_options { + display: none; +} + /* Map infos */ .category_color { display: inline-block; diff --git a/umap/templates/base.html b/umap/templates/base.html index f46ebd90..d3414565 100644 --- a/umap/templates/base.html +++ b/umap/templates/base.html @@ -45,6 +45,19 @@ {% endcompress js %} {% block bottom_js %} + {% endblock %}
diff --git a/umap/templates/umap/styles_fieldset.html b/umap/templates/umap/styles_fieldset.html index b9057732..a494a5cb 100644 --- a/umap/templates/umap/styles_fieldset.html +++ b/umap/templates/umap/styles_fieldset.html @@ -1,7 +1,8 @@ {% load umap_tags i18n %} - \ No newline at end of file