From: Paul Hänsch Date: Wed, 11 Oct 2023 16:20:08 +0000 (+0200) Subject: do not require class=search for input of type=search X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=a004238f314f8359e20319943107e4b574cfd358;p=cgilite do not require class=search for input of type=search --- diff --git a/common.css b/common.css index 6f4c484..38eff7d 100644 --- a/common.css +++ b/common.css @@ -115,6 +115,7 @@ input + label { margin-left: .375em; } +input[type="search"] + button.search, input.search + button.search { width: 2.5em; color: transparent; @@ -125,6 +126,7 @@ input.search + button.search { white-space: nowrap; overflow: hidden; } +input[type="search"] + button.search:before { input.search + button.search:before { content: '\1f50d'; color: #000;