We can't use A.home, A.about, etc. for Chinese, otherwise the padding will
authoracli <acli>
Tue, 10 Feb 2004 02:53:09 +0000 (02:53 +0000)
committeracli <acli>
Tue, 10 Feb 2004 02:53:09 +0000 (02:53 +0000)
cause the links to become very ugly; this is better. (It is probably better
for other translations as well...)

koha-tmpl/intranet-tmpl/default/zh-TW/includes/common-style.css

index bbd97fc..d438383 100644 (file)
@@ -38,15 +38,21 @@ a.submenu {
        background-image:url("/intranet-tmpl/default/en/images/background-mem.gif");
        }
 
-a.home {
+/*
+ * We can't use a.home, etc. for Chinese.
+ * Otherwise the screen will be extremely ugly because of the padding
+ */
+td.home {
+       padding:4px;
+       }
+td.home a {
        font-weight: normal;
        text-decoration: none;
        cursor: hand;
        color:#777777;
-       padding:4px;
        font-weight: bold;
        }
-a.home:hover {
+td.home a:hover {
        background-color: #339933;
        color: #000000;
        text-decoration: none;
@@ -54,16 +60,18 @@ a.home:hover {
        font-weight: bold;
        }
 
-a.catalogue {
+td.catalogue {
+       padding:4px;
+       }
+td.catalogue a {
        font-weight: normal;
        text-decoration: none;
        cursor: hand;
        color:#777777;
-       padding:4px;
        font-weight: bold;
        margin:0;
        }
-a.catalogue:hover {
+td.catalogue a:hover {
        font-weight: normal;
        text-decoration: none;
        cursor: hand;
@@ -72,89 +80,102 @@ a.catalogue:hover {
        font-weight: bold;
        }
 
-a.members {
+td.members {
+       padding:4px;
+       }
+td.members a {
        font-weight: normal;
        text-decoration: none;
        cursor: hand;
        color:#777777;
-       padding:4px;
        font-weight: bold;
        }
-a.members:hover {
+td.members a:hover {
        background-color: #86c268;
        color: #000000;
        text-decoration: none;
        font-weight: bold;
        }
 
-a.acquisition {
+td.acquisition {
+       padding:4px;
+       }
+td.acquisition a {
        font-weight: normal;
        text-decoration: none;
        cursor: hand;
        color:#777777;
-       padding:4px;
        font-weight: bold;
        }
-a.acquisition:hover {
+td.acquisition a:hover {
        background-color: #ffdf61;
        color: #000000;
        text-decoration: normal;
        font-weight: bold;
        }
 
-a.reports {
+td.reports {
+       padding:4px;
+       }
+td.reports a {
        font-weight: normal;
        text-decoration: none;
        cursor: hand;
        color:#777777;
-       padding:4px;
        font-weight: bold;
        }
-a.reports:hover {
+td.reports a:hover {
        background-color: #6b7cbe;
        color: #000000;
        text-decoration: normal;
        font-weight: bold;
        }
 
-a.circulation {
+td.circulation {
+       padding:4px;
+       }
+td.circulation a {
        font-weight: normal;
        text-decoration: none;
        cursor: hand;
        color:#777777;
-       padding:4px;
        font-weight: bold;
        }
-a.circulation:hover {
+td.circulation a:hover {
        background-color: #be6170;
        color: #000000;
        text-decoration: normal;
        font-weight: bold;
        }
 
-a.parameters {
+td.parameters {
+       padding:4px;
+       }
+td.parameters a {
        font-weight: normal;
        text-decoration: none;
        cursor: hand;
        color:#777777;
-       padding:4px;
        font-weight: bold;
        }
-a.parameters:hover {
+td.parameters a:hover {
        background-color: #86c268;
        color: #000000;
        text-decoration: normal;
        font-weight: bold;
        }
-a.about {
+
+td.about {
+       padding:4px;
+       }
+td.about a {
        font-weight: normal;
        text-decoration: none;
        cursor: hand;
        color:#777777;
-       padding:4px;
        font-weight: bold;
        }
-a.about:hover {
+td.about a:hover {
        background-color: #86c268;
        color: #000000;
        text-decoration: normal;