Bugzilla – Attachment 142831 Details for
Bug 31919
Hovered items in "More" should change background color
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31919: Add backgground color to hovered items in header dropdowns
Bug-31919-Add-backgground-color-to-hovered-items-i.patch (text/plain), 1.69 KB, created by
Jonathan Druart
on 2022-10-31 14:10:27 UTC
(
hide
)
Description:
Bug 31919: Add backgground color to hovered items in header dropdowns
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-10-31 14:10:27 UTC
Size:
1.69 KB
patch
obsolete
>From d164fd5cfcb181c43b2d636ba21b38ccdfc07b98 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 27 Oct 2022 13:27:55 +0200 >Subject: [PATCH] Bug 31919: Add backgground color to hovered items in header > dropdowns > >This alternate patch is different in a few ways: > >- Add a hover background color only to items in dropdown menus. >- Use an SCSS variable for the background color >- Update the specificity of the hover CSS to more fully override > Bootstrap's default. > >To test, apply the patch and rebuild the staff interface CSS. > >- On any page in the staff interface, test the behavior of links in the > nav header. >- The always-visible links (Circulation, Patrons, etc) should keep the > same style as before: Underline on hover. >- In dropdown menus like "More" and the user menu in the upper right > corner, hovered links should have a green background. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/css/src/_header.scss | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss >index aaf8adb22c5..e2f0b55a866 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss >@@ -17,9 +17,10 @@ a.navbar-toggle { > > li a { > color: #FFFFFF; >- &:hover, &:focus { >- background-color: transparent; >- text-decoration: underline; >+ &:hover, >+ &:focus { >+ background: $background-color-primary none; >+ text-decoration: none; > } > } > } >-- >2.25.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 31919
:
142709
|
142755
|
142810
|
142828
|
142831
|
142893