From 1031d5b26550c0172748cf8eeab867dd9d7c8d4b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 30 Aug 2007 14:44:03 -0500 Subject: [PATCH] Moving top-level navigation links, login information into header section of pages Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/css/login.css | 3 ++ .../prog/en/css/staff-global.css | 53 +++++++++++++++---- .../intranet-tmpl/prog/en/includes/header.inc | 16 ++++-- .../prog/en/includes/mainmenu.inc | 15 ------ 4 files changed, 58 insertions(+), 29 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/login.css b/koha-tmpl/intranet-tmpl/prog/en/css/login.css index 53e19fa70c..7e3364e50e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/login.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/login.css @@ -51,6 +51,9 @@ label { border: 1px solid #a2a2a2; margin: 5em auto; padding: 1.5em; + position : relative; + top : auto; + right : auto; width: 25em; } 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 3540d6e773..f331354d8b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1,5 +1,13 @@ @import url( /intranet-tmpl/prog/en/lib/yui/reset-fonts-grids.css) all; +a, a:link, a:visited, a:active { + color : #316494; +} + +a:hover { + color : #669ACC; +} + body { text-align : left; } @@ -59,10 +67,18 @@ h6 { .yui-u { } -#onlinehelp { +#doc3 { + padding-top : 1em; +} + +#login { position : absolute; top : 3px; - right : 10px; + right : 40px; +} + +#login a { + } ul { @@ -75,34 +91,51 @@ li { } #header { + border-bottom : 1px solid #E8E8E8; +} + +#header:after { /* clearing without presentational markup, IE gets extra treatment */ + display: block; + clear: both; + content: " "; +} + +#title { background-image : url("../../img/koha-logo-black.png"); - background-position : left; + background-position : 5px 2px; background-repeat : no-repeat; + float : left; height : 54px; - padding-left : 45px; + padding-left : 50px; } -#header h1 { - height : 54px; - vertical-align : middle; +#title h1 { + display : inline; + line-height : 54px; } -#header h1 a { +#title h1 a { text-decoration : none; } +#toplevelnav { + float : left; + line-height : 54px; + margin-left : 1em; +} + #submenu { margin : .5em 0; } -#submenu li { +#toplevelnav li, #submenu li { display : inline; border-right : 1px solid #E8E8E8; padding : 0 .5em; white-space : nowrap; } -#submenu li:last-child { +#toplevelnav li:last-child, #submenu li:last-child { border : 0; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index 1e4570a075..ea4f1c001f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -1,6 +1,14 @@ - \ No newline at end of file -- 2.39.5