From fc42eb2573b9d1c9d991cd4361ca334fd43cbcac Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 29 Aug 2023 11:22:23 +0200 Subject: [PATCH] Add a small asterisk near map title when it's dirty --- umap/static/umap/map.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index 7fe8e700..e7c06827 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -507,6 +507,15 @@ ul.photon-autocomplete { margin-right: 5px; font-weight: bold; } +a.map-name:after { + content: '\00a0'; + padding-left: 3px; + width: 5px; + display: inline-block; +} +.umap-is-dirty a.map-name:after { + content: '*'; +} .umap-main-edit-toolbox .share-status { margin: 0 20px; }