From 53e7581596c5bf1fdc9864db864701130dd58866 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 13 Aug 2021 17:00:37 +0000 Subject: [PATCH] Bug 28819: (follow-up) Use stacked icons for different searches This patch modifies the staff interface home page so that the "Advanced search" and "Item search" links are differentated using stacked Font Awesome icons. To test, apply the patch and view the staff interface home page. The icons associated with advanced and item searches should be different: - The Advanced search link should have a magnifying glass icon on top of a grey book icon. - The Item search link should have a magnifying glass icon on top of a grey list icon. --- koha-tmpl/intranet-tmpl/prog/css/mainpage.css | 30 ++++++++----- .../prog/en/modules/intranet-main.tt | 44 ++++++++++++------- 2 files changed, 47 insertions(+), 27 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/mainpage.css b/koha-tmpl/intranet-tmpl/prog/css/mainpage.css index 4496ceb860..a2e6cdc9c1 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/mainpage.css +++ b/koha-tmpl/intranet-tmpl/prog/css/mainpage.css @@ -75,11 +75,9 @@ ul.biglinks-list li a.icon_general { display: block; box-sizing: content-box; max-width : 320px; - height: 46px; + min-height: 2em; margin: 0 1em 14px 0; - padding-left:57px; - padding-top:5px; - + padding: 5px; border: solid 2px #b9d8d9; border-radius: 6px; @@ -90,8 +88,6 @@ ul.biglinks-list li a.icon_general { color: #000000; background-color:#f4f8f9; - background-position: 5px 3px; - background-repeat:no-repeat; } ul.biglinks-list li a:hover.icon_general { @@ -100,17 +96,29 @@ ul.biglinks-list li a:hover.icon_general { border-color: #538200; } -/* CSS Font Awesome */ -ul.biglinks-list .fa, ul.biglinks-list img { - position: absolute; - left: 1em; +ul.biglinks-list li a.icon_general .fa-fw { font-size: 1.5em; + margin-right:.2em; +} + +ul.biglinks-list li a.icon_general .fa-stack-2x { + font-size: 1.3em; +} + +ul.biglinks-list li a.icon_general .fa-stack-1x { + color: #999; + font-size: .9em; + left: -5px; + top: -1px; +} + +/* CSS Font Awesome */ +ul.biglinks-list img { width: 35px; } /* ==== MODULE LINKS - End ==== */ - /* ==== PENDING - Start ==== */ #area-pending { /* Block containing links to pending tags, comments and suggestions */ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt index 70b56c02cc..fbd89645e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -57,41 +57,53 @@ @@ -101,50 +113,50 @@ [% IF ( Koha.Preference('EnablePointOfSale') && Koha.Preference('UseCashRegisters') && CAN_user_cash_management_takepayment ) %]
  • - Point of sale + Point of sale
  • [% END %] [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
  • - Cataloging + Cataloging
  • [% END %] [% IF ( CAN_user_serials ) %]
  • - Serials + Serials
  • [% END %] [% IF ( CAN_user_acquisition ) %]
  • - Acquisitions + Acquisitions
  • [% END %] [% IF ( CAN_user_reports ) %]
  • - Reports + Reports
  • [% END %] [% IF ( CAN_user_tools ) %]
  • - Tools + Tools
  • [% END %] [% IF ( CAN_user_parameters ) %]
  • - Koha administration + Koha administration
  • [% END %]
  • - About KohaKoha Logo SVG + Koha Logo SVG About Koha
  • -- 2.20.1