From b728761e091dc2329165a1a009c2c382aa0c9f93 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 30 Jan 2008 01:20:52 -0600 Subject: [PATCH] More button style tests Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- koha-tmpl/intranet-tmpl/prog/en/css/login.css | 13 +++-- .../opac-tmpl/prog/en/includes/masthead.inc | 48 +++++++++++++++++-- 2 files changed, 54 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/login.css b/koha-tmpl/intranet-tmpl/prog/en/css/login.css index 7e3364e50e..3e6c95e428 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/login.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/login.css @@ -68,7 +68,7 @@ label { } #login h1 { - background: url(/intranet-tmpl/prog/img/koha-logo.gif) no-repeat top left; + background: url(../../img/koha-logo.gif) no-repeat top left; margin-top: 0; } @@ -97,11 +97,16 @@ label { #login #userid, #password { font-size: 1.7em; - width: 80%; + width: 97%; +} + +#login #branch { + width : 97%; } #login #submit { - font-size: 1.7em; + font-size: 1.4em; + padding : .3em .6em; } @@ -113,7 +118,7 @@ label { } .submit input, .submit input:focus, .button { - background: url(/intranet-tmpl/prog/img/fade-butt.png ); + background: url(../../img/fade-butt.png ); border: 3px double #999; border-left-color: #ccc; border-top-color: #ccc; diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index 903837f5b9..3f0355c512 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -1,3 +1,30 @@ +
@@ -12,7 +39,7 @@
-
+ " type="hidden" /> +
@@ -103,11 +131,25 @@ $(document).ready(function() { } YAHOO.util.Event.addListener(window, "load", init); + $(document).ready(function(){ + $('.btn').each(function(){ + var b = $(this); + var tt = b.text() || b.val(); + if ($(':submit,:button',this)) { + b = $('').insertAfter(this). addClass(this.className).attr('id',this.id); + $(this).remove(); + } + b.text('').css({cursor:'pointer'}). prepend('').append($(''). + text(tt).append('')); + }); + }); + -Cart -Lists +Cart +Lists +
-- 2.39.5