From 3a08a43ee5b31f7f79ca777636b2085ffc9b3010 Mon Sep 17 00:00:00 2001 From: Guillaume Grossetie Date: Tue, 15 Feb 2022 14:44:19 +0100 Subject: [PATCH] Style the search bar when disabled --- src/css/header.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/css/header.css b/src/css/header.css index db9ee52..e320b0a 100644 --- a/src/css/header.css +++ b/src/css/header.css @@ -61,6 +61,17 @@ body { padding: 0 0.25em; } +#search-input:disabled { + background-color: #dbdbdb; + /* disable cursor */ + cursor: not-allowed; + pointer-events: all !important; +} + +#search-input:disabled::placeholder { + color: #4c4c4c; +} + .navbar-burger { background: none; border: none; -- 2.11.0