Bugzilla – Attachment 193055 Details for
Bug 41170
Highlight previously edited item on add items page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41170: (follow-up) Correct a CSS selector and adjust colors
Bug-41170-follow-up-Correct-a-CSS-selector-and-adj.patch (text/plain), 1.95 KB, created by
Katrin Fischer
on 2026-02-13 10:55:07 UTC
(
hide
)
Description:
Bug 41170: (follow-up) Correct a CSS selector and adjust colors
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2026-02-13 10:55:07 UTC
Size:
1.95 KB
patch
obsolete
>From a512f5b9f53ecf2bf4c0ad5be228337e601a7d98 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 6 Nov 2025 17:11:01 +0000 >Subject: [PATCH] Bug 41170: (follow-up) Correct a CSS selector and adjust > colors > >This patch updates the table cell selector so that the >"previous" class isn't overwritte, and updates the "active" and >"previous" classes so that they use standard Bootstrap colors. > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > koha-tmpl/intranet-tmpl/prog/css/addbiblio.css | 6 ++++-- > koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss | 2 +- > 2 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css >index c5ac3c8f11a..0705c126238 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css >@@ -306,10 +306,12 @@ fieldset.order_details ol li .label:first-child { > > tbody tr.active:nth-child( 2n+1 ) td, > tbody tr.active td { >- background-color: #FFFFCC; >+ background-color: var( --bs-warning-bg-subtle ); > } >+ >+tbody tr.previous:nth-child( 2n+1 ) td, > tbody tr.previous td { >- background-color: #CCFFFF; >+ background-color: var( --bs-info-bg-subtle ); > } > > #loading { >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >index 41d7c8943bf..00c29141703 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >@@ -415,7 +415,7 @@ caption { > > tbody { > tr { >- &:nth-child( odd ):not( .dtrg-group, .active, .ok, .highlighted-row, .selected-row ) { >+ &:nth-child( odd ):not( .dtrg-group, .active, .ok, .highlighted-row, .selected-row, .previous ) { > td { > &:not( .bg-danger, .bg-warning, .bg-info, .bg-success, .bg-primary, .highlighted-row ) { > background-color: $table-odd-row; >-- >2.39.5
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 41170
:
188928
|
189190
|
189191
|
193054
| 193055