Bugzilla – Attachment 77814 Details for
Bug 21229
Correct nesting and specificity for some button styles
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21229: Correct nesting and specificity for some button styles
Bug-21229-Correct-nesting-and-specificity-for-some.patch (text/plain), 1.83 KB, created by
Owen Leonard
on 2018-08-15 13:19:08 UTC
(
hide
)
Description:
Bug 21229: Correct nesting and specificity for some button styles
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-08-15 13:19:08 UTC
Size:
1.83 KB
patch
obsolete
>From f77174f641979d2889c86a9838bdcbe492c59436 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 15 Aug 2018 13:14:02 +0000 >Subject: [PATCH] Bug 21229: Correct nesting and specificity for some button > styles > >This patch corrects some Bootstrap button-related CSS which was causing >some buttons to have the wrong color: > > - Circulation -> Check out: "Add a new message" link is black > - Catalog -> Details page: "Print" button is blue > >To test, apply the patch and rebuild CSS >(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). > >Clear your browser cache if necessary and view the above pages to >confirm the problem is fixed. >--- > .../intranet-tmpl/prog/css/src/staff-global.scss | 26 +++++++++------------- > 1 file changed, 11 insertions(+), 15 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 b17c6e4..7e89ac2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -30,16 +30,6 @@ a { > text-decoration: none; > } > >- &.btn { >- color: #004D99; >- text-decoration: none; >- >- &:link, >- &:visited { >- color: #333333; >- } >- } >- > &:hover, > &:active { > color: #538200; >@@ -52,18 +42,24 @@ a { > } > } > >- .btn-link { >+ &.btn { > &:link, > &:visited { >- color: #004D99; >+ color: #333333; > } > >- &:hover { >- color: #538200; >+ &.btn-link { >+ &:link, >+ &:visited { >+ color: #004D99; >+ } >+ >+ &:hover { >+ color: #538200; >+ } > } > } > >- > &.cancel { > padding-left: 1em; > } >-- >2.1.4
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 21229
:
77814
|
77874
|
77957