Bugzilla – Attachment 169580 Details for
Bug 34440
Add warm-up and cool-down periods to bookings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34440: Highlight overlaping lead and trail periods
Bug-34440-Highlight-overlaping-lead-and-trail-peri.patch (text/plain), 1.77 KB, created by
Martin Renvoize (ashimema)
on 2024-07-25 15:44:20 UTC
(
hide
)
Description:
Bug 34440: Highlight overlaping lead and trail periods
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-07-25 15:44:20 UTC
Size:
1.77 KB
patch
obsolete
>From 2e3f91b0e7c93f883553eefd65ef143c425d0e9c Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 15 Jul 2024 16:23:02 +0100 >Subject: [PATCH] Bug 34440: Highlight overlaping lead and trail periods > >This adds a further distinction between a lead/trail period and whether >it would conflict with an existing booking or not. >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index 35c142e9633..adc9470dc22 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -838,6 +838,11 @@ $dayTrailBackground: #fcdcb3 !default; > &.leadRange { > box-shadow: -2.5 * $dayMargin 0 0 $dayLeadBackground, 2.5 * $dayMargin 0 0 $dayLeadBackground; > background: $dayLeadBackground; >+ &.flatpickr-disabled { >+ $darkLeadBackground: darken($dayLeadBackground, 10); >+ box-shadow: -2.5 * $dayMargin 0 0 $darkLeadBackground, 2.5 * $dayMargin 0 0 $darkLeadBackground; >+ background: $darkLeadBackground; >+ } > } > > &.selected { >@@ -856,6 +861,11 @@ $dayTrailBackground: #fcdcb3 !default; > &.trailRange { > box-shadow: -2.5 * $dayMargin 0 0 $dayTrailBackground, 2.5 * $dayMargin 0 0 $dayTrailBackground; > background: $dayTrailBackground; >+ &.flatpickr-disabled { >+ $darkTrailBackground: darken($dayTrailBackground, 10); >+ box-shadow: -2.5 * $dayMargin 0 0 $darkTrailBackground, 2.5 * $dayMargin 0 0 $darkTrailBackground; >+ background: $darkTrailBackground; >+ } > } > > &.trailRangeEnd { >-- >2.45.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 34440
:
167948
|
167949
|
167950
|
167951
|
167952
|
167953
|
167954
|
167955
|
168941
|
168942
|
168943
|
168944
|
168945
|
168946
|
168947
|
168948
|
168949
|
168998
|
168999
|
169000
|
169001
|
169002
|
169003
|
169004
|
169005
|
169006
|
169007
|
169571
|
169572
|
169573
|
169574
|
169575
|
169576
|
169577
|
169578
|
169579
|
169580
|
169581
|
169587
|
169588
|
170032
|
170033
|
170034
|
170035
|
170036
|
170037
|
170038
|
170039
|
170040
|
170041
|
170042
|
170046
|
170047
|
170048
|
170049
|
170050
|
170051
|
170052
|
170053
|
170054
|
170055
|
170056
|
170589
|
170590
|
170591
|
170592
|
170593
|
170594
|
170595
|
170596
|
170597
|
170598
|
170599
|
170600
|
170603
|
170610
|
170951