From fbdc2485aa32945e3a3e552ba5b027c31e1c9f12 Mon Sep 17 00:00:00 2001 From: leosw Date: Thu, 19 Aug 2021 18:36:06 +0200 Subject: [PATCH] Add static placeholder in poi permalink field --- views/css/d.poi.css | 18 ++++++++++++++++-- views/d.poi.edit.html | 5 ++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/views/css/d.poi.css b/views/css/d.poi.css index 20e5ae5..6cf12ee 100755 --- a/views/css/d.poi.css +++ b/views/css/d.poi.css @@ -42,10 +42,13 @@ html, body { /** Editor page **/ /*********************************/ +form.form input, form.form textarea, #locale { + font-size: 16px; + padding: 10px; +} form.form input, form.form textarea, form.form input[type=radio]:checked+label, #locale { background: #ddd; border-bottom: 2px solid #ccc; - padding: 10px; } form.form h1 input { @@ -158,8 +161,19 @@ form.form input[type=radio]+label img { font-style: italic; } +#permalink_container { + position: relative; +} #permalink { - width: calc(100% - 20px); + width: calc(100% - 194px); + padding-left: 184px; +} +#permalink_label { + position: absolute; + top: 10px; + left: 10px; + opacity: 0.8; + font-size: 16px; } /***************************************** diff --git a/views/d.poi.edit.html b/views/d.poi.edit.html index 6556086..0e2d8bc 100755 --- a/views/d.poi.edit.html +++ b/views/d.poi.edit.html @@ -124,7 +124,10 @@
- +