Bug 27631: Changed <h1> around logo to <div>
To test: 1) Look at Staff Client and the logo 2) Apply patch 3) Check Koha logo moves to the middle of the page when zooming in 4) Ensure page source shows logo inside <div> and not <h1> Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
d21157b35c
commit
ca602f75c8
19 changed files with 27 additions and 19 deletions
|
@ -343,6 +343,14 @@ h1 {
|
|||
}
|
||||
}
|
||||
|
||||
#logo {
|
||||
border: 0 none;
|
||||
float: left;
|
||||
margin: .75em .3em .75em .7em;
|
||||
padding: 0;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 146.5%;
|
||||
font-weight: bold;
|
||||
|
@ -4684,7 +4692,7 @@ div .suggestion_note {
|
|||
}
|
||||
}
|
||||
|
||||
h1#logo {
|
||||
div#logo {
|
||||
float: none;
|
||||
margin: auto;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Acquisitions Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Acquisitions Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="supplier_search" class="residentsearch">
|
||||
<label class="tip" for="supplier">Search vendors:</label>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1>
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div>
|
||||
|
||||
<!-- Begin main page resident search box -->
|
||||
<div id="header_search">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[% USE Koha %]
|
||||
[% USE Branches %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Fund Admin Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Fund Admin Resident Search Box -->
|
||||
|
||||
<div id="header_search">
|
||||
<div id="budgets_search" class="residentsearch">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Catalogue Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Catalogue Resident Search Box -->
|
||||
<div id="header_search">
|
||||
|
||||
[% INCLUDE 'patron-search-box.inc' %]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Cataloging Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Cataloging Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="addbooks_search" class="residentsearch">
|
||||
<form name="search" action="addbooks.pl">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Checkin Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Checkin Resident Search Box -->
|
||||
<div id="header_search">
|
||||
[% INCLUDE 'patron-search-box.inc' %]
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Circulation Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Circulation Resident Search Box -->
|
||||
|
||||
<div id="header_search">
|
||||
[% INCLUDE 'patron-search-box.inc' %]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Cities Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Cities Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="city_search" class="residentsearch">
|
||||
<form action="[% script_name | html %]" method="post">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Patrons Admin Resident Search Box -->
|
||||
|
||||
<div id="header_search">
|
||||
<div id="contract_description_search" class="residentsearch">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Currencies Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Currencies Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="currency_search" class="residentsearch">
|
||||
<form action="[% script_name | html %]" method="post">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName|html %]</a></h1><!-- Begin Desks Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName|html %]</a></div><!-- Begin Desks Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="desk_search" class="residentsearch">
|
||||
<form action="[% script_name|html %]" method="post">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Main page Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Main page Resident Search Box -->
|
||||
|
||||
<div id="header_search">
|
||||
[% INCLUDE 'patron-search-box.inc' %]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Notices Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Notices Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="notices_search" class="residentsearch">
|
||||
<form action="/cgi-bin/koha/tools/letter.pl" method="post">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Patrons Admin Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="patron_category_search" class="residentsearch">
|
||||
<form action="[% script_name | html %]" method="post">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1>
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div>
|
||||
<div id="header_search">
|
||||
<div id="syspref_search" class="residentsearch">
|
||||
<form action="/cgi-bin/koha/admin/preferences.pl">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Serials Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Serials Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="subscription_search" class="residentsearch">
|
||||
<p class="tip">Search subscriptions:</p>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Suggestions Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Suggestions Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="suggestions_search" class="residentsearch">
|
||||
<p class="tip">Suggestions search:</p>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin z3950 Admin Resident Search Box -->
|
||||
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin z3950 Admin Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="z3950_search" class="residentsearch">
|
||||
<form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
|
||||
|
|
Loading…
Reference in a new issue