From d9ae12dab74f9aa3ff6c33d4fae1abc4f25a65e5 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 19 Jul 2024 13:29:34 +0000 Subject: [PATCH] Bug 37412: Style placeholder text in the OPAC This patch adds a custom style to input placeholder text so that it is visibly different from the style of text entered in the input. To test, apply the patch and rebuild the OPAC CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface) Go to the OPAC and check the appearance of the placeholder text in the main search bar. Sign off if the vibes are right. Sponsored-by: Athens County Public Libraries Signed-off-by: Roman Dolny --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index c852515e27..1ff6368721 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -1,5 +1,10 @@ @import "common"; +::placeholder { + font-style: italic; + text-align: right; +} + .no-js { .dateformat { display: inline; -- 2.39.2