Bugzilla – Attachment 172481 Details for
Bug 37412
Style placeholder text in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37412: Style placeholder text in the OPAC
Bug-37412-Style-placeholder-text-in-the-OPAC.patch (text/plain), 1.30 KB, created by
Paul Derscheid
on 2024-10-07 14:56:05 UTC
(
hide
)
Description:
Bug 37412: Style placeholder text in the OPAC
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-10-07 14:56:05 UTC
Size:
1.30 KB
patch
obsolete
>From bbf1177a3d3833a42190bf0e5aeeb445d47a42e6 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <roman.dolny@jezuici.pl> >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >index e3e16efa7b..8fe3a9b828 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >@@ -1,7 +1,8 @@ > @import "common"; > >-.test { >- background-color: lighten( desaturate( $info, 5% ), 55% ); >+::placeholder { >+ font-style: italic; >+ text-align: right; > } > > .no-js { >-- >2.46.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37412
:
169222
|
169224
|
169231
|
170995
| 172481