summaryrefslogtreecommitdiff
path: root/site/assets
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-02-28 16:40:21 +0100
committerJules Laplace <julescarbon@gmail.com>2019-02-28 16:40:21 +0100
commitd8ea57ede73087e0590bc98c7a018f3f185d057a (patch)
tree3c776b104aa8e42950bc113b442be9f258a6eef7 /site/assets
parente5d15ae16c31c710fa3038845406735937e371af (diff)
div over leaflet map
Diffstat (limited to 'site/assets')
-rw-r--r--site/assets/css/applets.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/site/assets/css/applets.css b/site/assets/css/applets.css
index 729737fe..e84fcfc2 100644
--- a/site/assets/css/applets.css
+++ b/site/assets/css/applets.css
@@ -140,6 +140,28 @@
.map {
margin-bottom: 20px;
}
+.map_cover {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ cursor: pointer;
+ background: rgba(0,0,0,0.8);
+ z-index: 9998; /* site header is 9999 */
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ font-size: 36px;
+ transition: opacity 0.4s cubic-bezier(0,0,1,1);
+ opacity: 1;
+}
+.desktop .map_cover {
+ opacity: 0;
+}
+.desktop .map_cover:hover {
+ opacity: 1;
+}
/* tabulator */