Bugzilla – Attachment 4720 Details for
Bug 6623
Nicer style for "clear screen" button
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-6623-Nicer-style-for-clear-screen-button.patch (text/plain), 2.75 KB, created by
Owen Leonard
on 2011-07-22 14:28:01 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-07-22 14:28:01 UTC
Size:
2.75 KB
patch
obsolete
>From 1d68ec757df13003a7ef4e968b1d347cdad2c486 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 20 Apr 2011 15:29:53 -0400 >Subject: [PATCH] Fix for Bug 6623 - Nicer style for "clear screen" button >Content-Type: text/plain; charset="utf-8" > >This patch replaces the <button> element with an "X" link >styled to appear fixed to the upper right corner of the box >containing the barcode input field. A title attribute >shows "Clear screen" on hover. >--- > .../intranet-tmpl/prog/en/css/staff-global.css | 33 +++++++++++++++++++- > .../prog/en/modules/circ/circulation.tt | 3 +- > 2 files changed, 33 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >index 9c97db1..04f1e9b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -2048,4 +2048,35 @@ fieldset.rows+h3 {clear:both;padding-top:.5em;} > border : 1px solid #EEE; > padding : 0.3em 0.4em; > } >-</style> >\ No newline at end of file >+#circ_circulation_issue { >+ position: relative; >+ } >+ >+#clearscreen { >+ margin-right: 0; >+ position: absolute; >+ top:0; >+ right:0; >+ } >+/* CSS Hack to target Firefox */ >+@-moz-document url-prefix() { >+ #clearscreen { >+ margin-right : 1em; >+ top: -1em; >+ } >+} >+#clearscreen a { >+ display:block; >+ -moz-border-radius: 0 0 0 5px; >+ border-radius: 0 0 0 5px; >+ padding : 0 .7em .2em .7em; >+ background-color : #EEE; >+ color : #CCC; >+ text-shadow: 0px -1px 0px #666; >+ text-decoration: none; >+ font-size: 160%; >+ font-weight : bold >+ } >+#clearscreen a:hover { >+ color : #cc0000; >+ } >\ No newline at end of file >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index cb03d89..9dcb16d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -159,7 +159,6 @@ function refocus(calendar) { > }; > //]]> > </script> >- > [% INCLUDE 'calendar.inc' %] > </head> > <body> >@@ -458,7 +457,7 @@ No patron matched <span class="ex">[% message %]</span> > <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform"> > <fieldset id="circ_circulation_issue"> > [% IF ( DisplayClearScreenButton ) %] >- <input type="button" value="Clear Screen" onclick="window.location = '/cgi-bin/koha/circ/circulation.pl'" /> >+ <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span> > [% END %] > > <label for="barcode">Checking out to [% firstname %] [% surname %] ([% cardnumber %]) </label> >-- >1.7.3 >
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 6623
:
4719
| 4720