From dfa4dccd6c66dcf68a14159198013054a85e20af Mon Sep 17 00:00:00 2001 From: leosw Date: Thu, 19 Aug 2021 18:24:52 +0200 Subject: [PATCH] Add static placeholder in blog permalink field --- views/css/d.blog.css | 15 +++++++++++++-- views/css/d.index.css | 3 ++- views/d.blog.edit.html | 5 ++++- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/views/css/d.blog.css b/views/css/d.blog.css index 2722252..f3ca72f 100755 --- a/views/css/d.blog.css +++ b/views/css/d.blog.css @@ -230,9 +230,20 @@ form.form label { float: right; font-size: 17px; } -#permalink { - width: calc(100% - 20px); +#permalink_container { + position: relative; } +#permalink { + width: calc(100% - 225px); + padding-left: 215px; +} +#permalink_label { + position: absolute; + top: 10px; + left: 10px; + opacity: 0.8; +} + form.form input[type=submit] { width: auto; diff --git a/views/css/d.index.css b/views/css/d.index.css index 96dab5d..361d85f 100755 --- a/views/css/d.index.css +++ b/views/css/d.index.css @@ -25,7 +25,8 @@ a:hover { text-decoration: none; } -input { +input, textarea { + font-family: "Fira Sans", "Open Sans",Helvetica,Arial,sans-serif; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } diff --git a/views/d.blog.edit.html b/views/d.blog.edit.html index 5ebc73c..5d50df8 100755 --- a/views/d.blog.edit.html +++ b/views/d.blog.edit.html @@ -31,7 +31,10 @@ - +