Bugzilla – Attachment 119551 Details for
Bug 27695
Fix style of messages on Elasticsearch configuration page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27695: (follow-up) Add specificity to CSS changes
Bug-27695-follow-up-Add-specificity-to-CSS-changes.patch (text/plain), 1.85 KB, created by
Jonathan Druart
on 2021-04-14 08:48:03 UTC
(
hide
)
Description:
Bug 27695: (follow-up) Add specificity to CSS changes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-04-14 08:48:03 UTC
Size:
1.85 KB
patch
obsolete
>From fd3e95611c865deef57a642a6335b88ce67a045d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 9 Apr 2021 18:07:48 +0000 >Subject: [PATCH] Bug 27695: (follow-up) Add specificity to CSS changes > >This patch moves the definition of .alert and .error classes into the >block for .dialog in order to make sure they don't have an effect beyond >the desired scope. > >The ".closebtn" section is redundant and has been removed. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../prog/css/src/staff-global.scss | 30 +++++++------------ > 1 file changed, 11 insertions(+), 19 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 e52c690b8fb..dd1211569e9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -1791,30 +1791,22 @@ i { > text-align: right; > } > } >-} >- >-.alert, >-.error { >- background: linear-gradient(to bottom, #FEF8D3 0%, #FFEC91 9%, #FFED87 89%, #F9DC00 100%); >- border: 1px solid #E0C726; >- color: inherit; >- text-align: center; >- text-shadow: none; > >- strong { >- color: #900; >- } >+ &.alert, >+ &.error { >+ background: linear-gradient(to bottom, #FEF8D3 0%, #FFEC91 9%, #FFED87 89%, #F9DC00 100%); >+ border: 1px solid #E0C726; >+ color: inherit; >+ text-align: center; >+ text-shadow: none; > >- // Redefine a new style for Bootstrap's class "close" since we use that already >- // Use <a class="closebtn" href="#">×</a> >- .closebtn { >- line-height: 20px; >- position: relative; >- right: -21px; >- top: -2px; >+ strong { >+ color: #900; >+ } > } > } > >+ > .approve, > .success { > i { >-- >2.20.1
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 27695
:
116842
|
117282
|
117569
|
119428
|
119550
| 119551