Bugzilla – Attachment 23751 Details for
Bug 10797
Move styling from element to CSS file for search input field in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10797: Move styling of simple search from element to CSS file
Bug-10797-Move-styling-of-simple-search-from-eleme.patch (text/plain), 2.24 KB, created by
Chris Cormack
on 2013-12-22 20:22:43 UTC
(
hide
)
Description:
Bug 10797: Move styling of simple search from element to CSS file
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2013-12-22 20:22:43 UTC
Size:
2.24 KB
patch
obsolete
>From de81fa9eb8e2344d5a052be66e3312fab8ca7450 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Wed, 4 Dec 2013 15:41:39 +0100 >Subject: [PATCH] Bug 10797: Move styling of simple search from element to CSS > file > >To test: >- Switch to prog theme, problem doesn't exist in Bootstrap theme >- Take a look at the simple search input field >- Apply patch >- Refresh page >- Make sure field has the same length and size > >You can also use Firebug to make sure the same styles >are applied to the element before and after the change. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > koha-tmpl/opac-tmpl/prog/en/css/opac.css | 5 +++++ > koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 4 ++-- > 2 files changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >index c2902c1..b7cf025 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >@@ -3080,3 +3080,8 @@ padding: 0.1em 0; > .copiesrow { > clear : both; > } >+ >+#transl1 { >+ width: 35%; >+ font-size: 111%; >+} >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >index 79eb1a1..76bf5ea 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >@@ -80,9 +80,9 @@ > [% END %] > [% END %]</select> > [% IF ( ms_value ) %] >- <input type="text" title="Type search term" id = "transl1" name="q" value="[% ms_value |html %]" class="left" style="width: 35%; font-size: 111%;"/><div id="translControl"></div> >+ <input type="text" title="Type search term" id = "transl1" name="q" value="[% ms_value |html %]" class="left" /><div id="translControl"></div> > [% ELSE %] >- <input type="text" title="Type search term" id = "transl1" name="q" class="left" style="width: 35%; font-size: 111%;"/><div id="translControl"></div> >+ <input type="text" title="Type search term" id = "transl1" name="q" class="left" /><div id="translControl"></div> > [% END %] > [% IF Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 %] > <select name="branch_group_limit" id="select_library" class="left"> >-- >1.8.3.2
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 10797
:
23298
|
23751
|
23785