From f96bf638ea0c40dbca8b1801b578b5f3740a6424 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 30 Sep 2019 20:39:54 +0000 Subject: [PATCH] Bug 23711: Icons on staff main page should be font icons Signed-off-by: Fridolin Somers Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/css/mainpage.css | 45 +++--------------- .../prog/en/modules/intranet-main.tt | 28 +++++------ koha-tmpl/intranet-tmpl/prog/img/koha-egg.svg | 1 + .../prog/img/staff-home-icons-sprite.png | Bin 10479 -> 0 bytes 4 files changed, 22 insertions(+), 52 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/img/koha-egg.svg delete mode 100644 koha-tmpl/intranet-tmpl/prog/img/staff-home-icons-sprite.png diff --git a/koha-tmpl/intranet-tmpl/prog/css/mainpage.css b/koha-tmpl/intranet-tmpl/prog/css/mainpage.css index d8cc60895f..4496ceb860 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/mainpage.css +++ b/koha-tmpl/intranet-tmpl/prog/css/mainpage.css @@ -72,7 +72,6 @@ ul.biglinks-list li { ul.biglinks-list li a.icon_general { /* Class used for each module link */ - background-image:url('../img/staff-home-icons-sprite.png'); display: block; box-sizing: content-box; max-width : 320px; @@ -101,44 +100,14 @@ ul.biglinks-list li a:hover.icon_general { border-color: #538200; } -/* CSS Sprites - * There is one sprite image which contains all icons in both - * hover states (on and off) - */ +/* CSS Font Awesome */ +ul.biglinks-list .fa, ul.biglinks-list img { + position: absolute; + left: 1em; + font-size: 1.5em; + width: 35px; +} -/* Classes used for each individual module link */ -ul.biglinks-list li a.icon_circulation {background-position:5px 0px;} -ul.biglinks-list li a.icon_patrons {background-position:5px -99px;} -ul.biglinks-list li a.icon_search {background-position:5px -198px;} -ul.biglinks-list li a.icon_lists {background-position:5px -298px;} -ul.biglinks-list li a.icon_cataloging {background-position:5px -397px;} -ul.biglinks-list li a.icon_authorities {background-position:5px -496px;} -ul.biglinks-list li a.icon_ill {background-position:5px -1291px;} - -ul.biglinks-list li a.icon_serials {background-position:5px -595px;} -ul.biglinks-list li a.icon_acquisitions {background-position:5px -695px;} -ul.biglinks-list li a.icon_reports {background-position:5px -794px;} -ul.biglinks-list li a.icon_administration {background-position:5px -894px;} -ul.biglinks-list li a.icon_tools {background-position:5px -993px;} -ul.biglinks-list li a.icon_koha {background-position:5px -1091px;} -ul.biglinks-list li a.icon_course_reserves {background-position:5px -1191px;} - -/* Classes used for each individual module link on hover*/ -ul.biglinks-list li a:hover.icon_circulation {background-position:5px -50px;} -ul.biglinks-list li a:hover.icon_patrons {background-position:5px -149px;} -ul.biglinks-list li a:hover.icon_search {background-position:5px -248px;} -ul.biglinks-list li a:hover.icon_lists {background-position:5px -348px;} -ul.biglinks-list li a:hover.icon_cataloging {background-position:5px -447px;} -ul.biglinks-list li a:hover.icon_authorities {background-position:5px -546px;} -ul.biglinks-list li a:hover.icon_ill {background-position:5px -1342px;} - -ul.biglinks-list li a:hover.icon_serials {background-position:5px -645px;} -ul.biglinks-list li a:hover.icon_acquisitions {background-position:5px -744px;} -ul.biglinks-list li a:hover.icon_reports {background-position:5px -844px;} -ul.biglinks-list li a:hover.icon_administration {background-position:5px -943px;} -ul.biglinks-list li a:hover.icon_tools {background-position:5px -1042px;} -ul.biglinks-list li a:hover.icon_koha {background-position:5px -1140px;} -ul.biglinks-list li a:hover.icon_course_reserves {background-position:5px -1241px;} /* ==== MODULE LINKS - End ==== */ 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 ab04abbcd9..704241d4c7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -41,38 +41,38 @@ @@ -82,44 +82,44 @@ [% 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 Koha + About KohaKoha Logo SVG
  • diff --git a/koha-tmpl/intranet-tmpl/prog/img/koha-egg.svg b/koha-tmpl/intranet-tmpl/prog/img/koha-egg.svg new file mode 100644 index 0000000000..a3b6168a26 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/img/koha-egg.svg @@ -0,0 +1 @@ + diff --git a/koha-tmpl/intranet-tmpl/prog/img/staff-home-icons-sprite.png b/koha-tmpl/intranet-tmpl/prog/img/staff-home-icons-sprite.png deleted file mode 100644 index bb4d6bc01a4bb9ae8e59b20c03af9a3ca401aa5c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10479 zcmaL7WmFwYv@MLgyL<59?!nz95S$GJcMBeL;}+a4!QI{6gS$&`*tk4SxZk?z`&rb;UM3Tf}T(w7#Jj&vb?&4 zyoCeU>l+8==l4&1YZ}G>L=itQK*~Sht$hx9zk+E*{R6Z@{)rlXVCsK))qsDxI{%V^ z|8(D)s{h~k{cj8cQ~BFf3ItR8%c%MN@2J|}3hICPH&*R$=D*;*`(91seeU1MC+6cP~;6%`kk zl$4f{k&{C!fU~q7FWOQ_Fe0*|pdS-TZeqmv8X?bOJZDVt5duMlV|KRZO z==k{b^y1>`3Iw{jxxKx=e|UU)dU=U;ZpQ}$qso>M|D^7|besY2g(9^wzzy$!=@6I; z>_<-sqbw(j;tFie%Z%H0* zz{u5F-Hir@w)+T=ZZ-;}RY8eY5TMs{7JjL=r0I={+VkvN4QxjV)f1~AD2ds|cqA0t zc9=~Rm`({iaJe8huaOoth&Pux=Wb4Hzvv&{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