Bugzilla – Attachment 189191 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.90 KB, created by
Owen Leonard
on 2025-11-06 17:21:48 UTC
(
hide
)
Description:
Bug 41170: (follow-up) Correct a CSS selector and adjust colors
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-11-06 17:21:48 UTC
Size:
1.90 KB
patch
obsolete
>From 3acd6e9c9e543873883f02ccbb265a4f0d2e9ca1 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. >--- > 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