Bugzilla – Attachment 105979 Details for
Bug 25727
Update the Select2 JS lib
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25727: (follow-up) Use CSS specificity rather than !important
Bug-25727-follow-up-Use-CSS-specificity-rather-tha.patch (text/plain), 1.30 KB, created by
Owen Leonard
on 2020-06-17 16:27:15 UTC
(
hide
)
Description:
Bug 25727: (follow-up) Use CSS specificity rather than !important
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-06-17 16:27:15 UTC
Size:
1.30 KB
patch
obsolete
>From 7a21991ce8dd5ad7d7acdad1909f3f13c38af101 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 17 Jun 2020 15:52:53 +0000 >Subject: [PATCH] Bug 25727: (follow-up) Use CSS specificity rather than > !important > >This patch adds specificty to the CSS which controls the "invalid" >appearance of a Select2 dropdown so that the use of "!important" can be >avoided. >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > >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 c8c8d94d6b..da7740fd6d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -1535,12 +1535,14 @@ input[type='text']:read-only:focus { > font-style: italic; > } > >-.subfield_not_filled { >- background-color: #FFFF99 !important; >+.subfield_not_filled, >+.select2-container .select2-selection--single.subfield_not_filled { >+ background-color: #FFFF99; > } > >-.important_subfield_not_filled { >- background-color : #FFFFCC !important; >+.important_subfield_not_filled, >+.select2-container .select2-selection--single.important_subfield_not_filled { >+ background-color : #FFFFCC; > } > > .content_hidden { >-- >2.11.0
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 25727
:
105822
|
105853
|
105854
|
105855
|
105975
|
105976
|
105977
|
105978
|
105979
|
105980
|
108351
|
108352
|
108353
|
108354
|
108355
|
108395
|
108400
|
108436
|
108823
|
108829
|
108830
|
108875
|
108876
|
108877
|
108878
|
108879
|
108880
|
108881
|
108882
|
109359
|
109361