[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412
--- Comment #14 from Lucas Gass (lukeg) ---
For anyone wanting this placeholder text to be left-aligned, you can add this
to OPACUserCSS:
#translControl1::placeholder {
text-align: left;
}
--
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Owen Leonard changed: What|Removed |Added Text to go in the||This enhancement adds a release notes||custom style to the ||placeholder text shown in ||the OPAC's main search bar ||when it is empty. ||Previously the placeholder ||text color was very close ||to the color of ||user-entered text, making ||it difficult to distinguish ||the state of the form. ||Rather than adjusting the ||color of the placeholder ||text in a way that makes ||the contrast unacceptable, ||this changes the text to ||right-aligned italic text. Keywords|release-notes-needed| -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Lucas Gass (lukeg) changed: What|Removed |Added Resolution|--- |FIXED Status|Pushed to main |RESOLVED -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Martin Renvoize (ashimema) changed: What|Removed |Added Keywords||release-notes-needed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 --- Comment #13 from Katrin Fischer --- Pushed for 24.11! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Katrin Fischer changed: What|Removed |Added Version(s)||24.11.00 released in|| Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 --- Comment #12 from Katrin Fischer --- I agree the right-align is a bit uncommon, but let's go with that and gather some feedback maybe. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 David Cook changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Martin Renvoize (ashimema) changed: What|Removed |Added QA Contact|[email protected] |[email protected] |y.org | CC||martin.renvoize@ptfs-europe ||.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 --- Comment #11 from Owen Leonard --- (In reply to Pedro Amorim from comment #9) > Providing my opinion here. I think the italic makes sense, but is > text-align: right here necessary? It looks quite different. > I don't have scientific evidence to support my claims but I don't think it's > often the case that search input placeholders are aligned to the right in > web interfaces. I agree that it isn't typical. My goal was to achieve two things: 1. Style the placeholder with enough color contrast to comply with accessibility guidelines. 2. Style the placeholder in such a way that it doesn't look like actual text in the text field. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 --- Comment #10 from Lucas Gass --- (In reply to Pedro Amorim from comment #9) > Providing my opinion here. I think the italic makes sense, but is > text-align: right here necessary? It looks quite different. > I don't have scientific evidence to support my claims but I don't think it's > often the case that search input placeholders are aligned to the right in > web interfaces. I think this is only a matter of preference and can easily be adjusted with CSS if your prefer left vs right. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Lucas Gass changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Pedro Amorim changed: What|Removed |Added CC||[email protected] ||m --- Comment #9 from Pedro Amorim --- Providing my opinion here. I think the italic makes sense, but is text-align: right here necessary? It looks quite different. I don't have scientific evidence to support my claims but I don't think it's often the case that search input placeholders are aligned to the right in web interfaces. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Fridolin Somers changed: What|Removed |Added CC||[email protected] ||m --- Comment #8 from Fridolin Somers --- Great. Maybe add left align in rigth-to-left CSS (I cant find were it is in OPAC) -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 --- Comment #7 from Paul Derscheid --- So also for the search input in tables for example. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Paul Derscheid changed: What|Removed |Added CC||[email protected] --- Comment #6 from Paul Derscheid --- Just a question, the intention here was to apply this styling to every ::placeholder, right? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Paul Derscheid changed: What|Removed |Added Attachment #170995|0 |1 is obsolete|| --- Comment #5 from Paul Derscheid --- Created attachment 172481 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172481&action=edit 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 Signed-off-by: Paul Derscheid -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Paul Derscheid changed: What|Removed |Added Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Owen Leonard changed: What|Removed |Added Attachment #169231|0 |1 is obsolete|| --- Comment #4 from Owen Leonard --- Created attachment 170995 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170995&action=edit 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 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Owen Leonard changed: What|Removed |Added Status|Patch doesn't apply |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Katrin Fischer changed: What|Removed |Added Status|Signed Off |Patch doesn't apply --- Comment #3 from Katrin Fischer --- Not trusting myself with these files - could you please rebase? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Roman Dolny changed: What|Removed |Added Attachment #169224|0 |1 is obsolete|| --- Comment #2 from Roman Dolny --- Created attachment 169231 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169231&action=edit 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 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Roman Dolny changed: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 --- Comment #1 from Owen Leonard --- Created attachment 169224 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169224&action=edit 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 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 37412] Style placeholder text in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 Owen Leonard changed: What|Removed |Added Status|ASSIGNED|Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
