From 46c031768eb82a1c96c623112359cfd019e23f6e Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 7 Jun 2015 15:24:39 +0200 Subject: [PATCH] give an optical hint that clicking the header closes the drawer --- manifest.appcache | 2 +- style/lantea.css | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/manifest.appcache b/manifest.appcache index bfdf744..c49b006 100644 --- a/manifest.appcache +++ b/manifest.appcache @@ -1,6 +1,6 @@ CACHE MANIFEST -# 2015-06-07 +# 2015-06-07 .2 index.html manifest.webapp js/map.js diff --git a/style/lantea.css b/style/lantea.css index fd7ff62..c3c1b72 100644 --- a/style/lantea.css +++ b/style/lantea.css @@ -156,6 +156,17 @@ h1 { height: 1.2em; } +/* For optical conveniece, display an "x" for closing. */ +.menuDrawer > h2:after { + content: '\00D7'; /* multiplication sign */ + display: inline-block; + vertical-align: text-top; + float: right; + margin-top: 0; + margin-right: .2em; + font-size: .75em; +} + /* Custom checkbox design */ .menuDrawer input[type="checkbox"] { display: none; -- 2.35.3