[Koha-patches] [PATCH] (BUG 4325) Standardize buttons cancel
Alex Arnaud
alex.arnaud at biblibre.com
Fri Mar 19 15:43:01 CET 2010
This patch modifies the a.cancel class of the /home/alex/workspace/versions/koha32/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css file
and a.cancel class of /home/alex/workspace/versions/koha32/koha-tmpl/opac-tmpl/prog/en/css/opac.css file
---
.../intranet-tmpl/prog/en/css/staff-global.css | 27 +++++++++++++++++-
koha-tmpl/opac-tmpl/prog/en/css/opac.css | 29 ++++++++++++++++++-
2 files changed, 52 insertions(+), 4 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 190c9da..8cb0963 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
@@ -698,8 +698,31 @@ width: 100%;
}
a.cancel {
- padding-left : 1em;
+ font-size: 13.3333px;
+ font-family: "Sans";
+ text-decoration: none;
+ cursor: default;
+ background : #E8E8E8 url(../../img/button-bg.gif) top left repeat-x;
+ border-bottom-color: #999999;
+ border-bottom-style: outset;
+ border-bottom-width: 1px;
+ border-left-color: #666;
+ border-left-style: outset;
+ border-left-width: 1px;
+ border-right-color: #999999;
+ border-right-style: outset;
+ border-right-width: 1px;
+ border-top-color: #666666;
+ border-top-style: outset;
+ border-top-width: 1px;
+ color: #333333;
+ padding: 0.34em;
+
}
+a.cancel:before {
+ content:url(../../img/deny.gif);
+ vertical-align:middle;
+ }
fieldset.rows fieldset.action {
padding : 1em;
@@ -1864,4 +1887,4 @@ img.spinner {
}
#cataloguing_additem_itemlist div {
overflow : scroll;
-}
\ No newline at end of file
+}
diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css
index b590473..17a80db 100644
--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css
+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css
@@ -941,7 +941,32 @@ h2 span.hint {
margin : 0pt 5px 5px 0pt;
}
a.cancel {
- padding-left : 1em;
+ text-decoration: none;
+ background-attachment:scroll;
+ background-position:0 0;
+ background : #B8D0E6 url(../../images/submit-bg.gif) top left repeat-x;
+ border-bottom-color:#EEEEEE;
+ border-bottom-style:solid;
+ border-bottom-width:1px;
+ border-left-color:#CCCCCC;
+ border-left-style:solid;
+ border-left-width:1px;
+ border-right-color:#EEEEEE;
+ border-right-style:solid;
+ border-right-width:1px;
+ border-top-color:#CCCCCC;
+ border-top-style:solid;
+ border-top-width:1px;
+ color:#333333;
+ font-size:93%;
+ font-weight:bold;
+ padding:4.5px;
+}
+
+a.cancel:before{
+ content:url(../../images/shelf-delete.gif);
+ vertical-align:middle;
+ padding-right: 1.5px;
}
a.hidemytags {
@@ -1947,4 +1972,4 @@ a.p1:active {
div.ft {
clear : both;
-}
\ No newline at end of file
+}
--
1.6.3.3
More information about the Koha-patches
mailing list