From 45ee38f49a8f14d3c069d817627d05893db8bbe3 Mon Sep 17 00:00:00 2001 From: tipaul Date: Thu, 5 Jun 2003 12:32:14 +0000 Subject: [PATCH] * moving all styles to common-style.css sheet. The styles specifics to a topic (the parameter button in parameters-top.inc is the only one defined in parameters-top.inc, he overwrittes the common-style definition) * changing from to the *-top. This way, the style sheet is sent only once, then found in the cache of the navigator. A few kb to avoid transmitting. * In some menus, adding a 2nd menu line. It contains some shorcuts for quick access. Like "quick search" and "MARC search". This way, the librarian can access the search he prefers in 1 clic. * removing MARC topic in menu. * managing correctly simple marc & non-marc acquisition system. --- .../default/en/includes/about-top.inc | 122 +------------- .../default/en/includes/acquisitions-top.inc | 122 +------------- .../default/en/includes/cat-top.inc | 146 +++-------------- .../default/en/includes/circulation-top.inc | 146 +++-------------- .../default/en/includes/common-style.css | 141 ++++++++++++++++ .../default/en/includes/marc-top.inc | 141 +--------------- .../default/en/includes/members-top.inc | 145 +++------------- .../default/en/includes/parameters-top.inc | 155 ++++-------------- .../default/en/includes/reports-top.inc | 124 +------------- 9 files changed, 253 insertions(+), 989 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/about-top.inc b/koha-tmpl/intranet-tmpl/default/en/includes/about-top.inc index d0a579281b..0d65101d51 100644 --- a/koha-tmpl/intranet-tmpl/default/en/includes/about-top.inc +++ b/koha-tmpl/intranet-tmpl/default/en/includes/about-top.inc @@ -3,129 +3,14 @@ KOHA: INTRANET: Parameters +/includes/common-style.css"> + @@ -166,9 +49,6 @@ a.about:hover { Acquisitions - - Marc - Circulation diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/cat-top.inc b/koha-tmpl/intranet-tmpl/default/en/includes/cat-top.inc index 6925c467cf..58b5f04729 100644 --- a/koha-tmpl/intranet-tmpl/default/en/includes/cat-top.inc +++ b/koha-tmpl/intranet-tmpl/default/en/includes/cat-top.inc @@ -3,41 +3,12 @@ KOHA: INTRANET: Catalogue +/includes/common-style.css"> - + diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/circulation-top.inc b/koha-tmpl/intranet-tmpl/default/en/includes/circulation-top.inc index a3d65544d2..3e225f0286 100644 --- a/koha-tmpl/intranet-tmpl/default/en/includes/circulation-top.inc +++ b/koha-tmpl/intranet-tmpl/default/en/includes/circulation-top.inc @@ -3,102 +3,12 @@ KOHA: INTRANET: Circulation +/includes/common-style.css">
- +
+
- +
@@ -167,9 +49,6 @@ a.about:hover { - @@ -185,6 +64,27 @@ a.about:hover {
Acquisitions - Marc - Circulation
+
diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/common-style.css b/koha-tmpl/intranet-tmpl/default/en/includes/common-style.css index 1e37fe77c8..2d1d0da05d 100644 --- a/koha-tmpl/intranet-tmpl/default/en/includes/common-style.css +++ b/koha-tmpl/intranet-tmpl/default/en/includes/common-style.css @@ -13,3 +13,144 @@ background-image:url("/intranet-tmpl/default/en/images/background-mem.gif"); } +#menubar { + border-top:1px solid #666666; + font: 1.2em sans-serif; + background-color:#DDDDDD; +} +#submenu { + font: 0.5em sans-serif; + background-color:#EEEEEE; + border-left:1px solid #000000; +} +a.submenu { + font-weight: normal; + text-decoration: none; + cursor: hand; + color:#777777; + padding:4px; + font-weight: bold; + margin:0; +} + +.koha { + text-align:center; + background-image:url("/intranet-tmpl/default/en/images/background-mem.gif"); + } + +a.home { + font-weight: normal; + text-decoration: none; + cursor: hand; + color:#777777; + padding:4px; + font-weight: bold; + } +a.home:hover { + background-color: #339933; + color: #000000; + text-decoration: none; + font-weight: normal; + font-weight: bold; + } + +a.catalogue { + font-weight: normal; + text-decoration: none; + cursor: hand; + color:#777777; + padding:4px; + font-weight: bold; + margin:0; + } +a.catalogue:hover { + } + +a.members { + font-weight: normal; + text-decoration: none; + cursor: hand; + color:#777777; + padding:4px; + font-weight: bold; + } +a.members:hover { + background-color: #86c268; + color: #000000; + text-decoration: none; + font-weight: bold; + } + +a.acquisition { + font-weight: normal; + text-decoration: none; + cursor: hand; + color:#777777; + padding:4px; + font-weight: bold; + } +a.acquisition:hover { + background-color: #ffdf61; + color: #000000; + text-decoration: normal; + font-weight: bold; + } + +a.reports { + font-weight: normal; + text-decoration: none; + cursor: hand; + color:#777777; + padding:4px; + font-weight: bold; + } +a.reports:hover { + background-color: #6b7cbe; + color: #000000; + text-decoration: normal; + font-weight: bold; + } + +a.circulation { + font-weight: normal; + text-decoration: none; + cursor: hand; + color:#777777; + padding:4px; + font-weight: bold; + } +a.circulation:hover { + background-color: #be6170; + color: #000000; + text-decoration: normal; + font-weight: bold; + } + +a.parameters { + font-weight: normal; + text-decoration: none; + cursor: hand; + color:#777777; + padding:4px; + font-weight: bold; + } +a.parameters:hover { + background-color: #86c268; + color: #000000; + text-decoration: normal; + font-weight: bold; + } +a.about { + font-weight: normal; + text-decoration: none; + cursor: hand; + color:#777777; + padding:4px; + font-weight: bold; + } +a.about:hover { + background-color: #86c268; + color: #000000; + text-decoration: normal; + font-weight: bold; + } diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc b/koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc index 4d1a578bab..d81cd57c03 100644 --- a/koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc +++ b/koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc @@ -9,83 +9,6 @@ marginheight=0 marginwidth=0 leftmargin=0 topmargin=0> @@ -206,7 +70,10 @@ a.about:hover { - + + + + diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/members-top.inc b/koha-tmpl/intranet-tmpl/default/en/includes/members-top.inc index e3bec8a360..9d6d2176e2 100644 --- a/koha-tmpl/intranet-tmpl/default/en/includes/members-top.inc +++ b/koha-tmpl/intranet-tmpl/default/en/includes/members-top.inc @@ -3,58 +3,12 @@ KOHA: INTRANET: Members +/includes/common-style.css"> - +
@@ -166,9 +49,6 @@ a.about:hover { - @@ -184,6 +64,27 @@ a.about:hover {
Acquisitions - Marc - Circulation
+
diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/parameters-top.inc b/koha-tmpl/intranet-tmpl/default/en/includes/parameters-top.inc index f71166d6c6..10d8d6c9ed 100644 --- a/koha-tmpl/intranet-tmpl/default/en/includes/parameters-top.inc +++ b/koha-tmpl/intranet-tmpl/default/en/includes/parameters-top.inc @@ -3,115 +3,12 @@ KOHA: INTRANET: Parameters +/includes/common-style.css"> - +
@@ -166,9 +49,6 @@ a.about:hover { - @@ -184,6 +64,37 @@ a.about:hover {
Acquisitions - Marc - Circulation
+
diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/reports-top.inc b/koha-tmpl/intranet-tmpl/default/en/includes/reports-top.inc index f9ee185ed2..3b48a6c5cf 100644 --- a/koha-tmpl/intranet-tmpl/default/en/includes/reports-top.inc +++ b/koha-tmpl/intranet-tmpl/default/en/includes/reports-top.inc @@ -3,88 +3,12 @@ KOHA: INTRANET: Reports +/includes/common-style.css"> @@ -168,9 +49,6 @@ a.about:hover { Acquisitions - - Marc - Circulation -- 2.39.5