Updating branch refs/heads/master to 202ea395927c0caacee55cab8f7cbff19a209c83 (commit) from 4ae135820fc73a96313e8bb62444ea1615582f20 (commit)
commit 202ea395927c0caacee55cab8f7cbff19a209c83 Author: Nick Schermer <n...@xfce.org> Date: Tue Jan 3 19:48:43 2012 +0100 Include header data in template. lib/tpl/xfce/_xfceheader.css | 42 +++++++++++++++++++++++++++++++++++++ lib/tpl/xfce/images/logosmall.png | Bin 0 -> 7035 bytes lib/tpl/xfce/main.php | 1 - lib/tpl/xfce/style.ini | 1 + 4 files changed, 43 insertions(+), 1 deletions(-) diff --git a/lib/tpl/xfce/_xfceheader.css b/lib/tpl/xfce/_xfceheader.css new file mode 100644 index 0000000..b98a94b --- /dev/null +++ b/lib/tpl/xfce/_xfceheader.css @@ -0,0 +1,42 @@ +/* this file is used in various xfce subdomains! */ + +#xfce-header { + /*border-bottom: 2px #69f solid;*/ + background: #333 url('images/logosmall.png') no-repeat 6px 55%; + padding-left: 120px; + min-height: 45px; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); +} +#xfce-header ul { + float: right; + list-style: none; + margin: 0; + padding: 0 10px 0 0; + background: #333; +} +#xfce-header ul li { + float: left; + font-weight: bold; + margin: 0; +} +#xfce-header a { + color: #fff; + text-decoration: none; + display: block; + float: right; + padding: 0 10px 0 10px; + line-height: 4em; + border: 0; +} +#xfce-header ul li a:hover { + color: #69f; +} +#xfce-header .active { + color: #69f; +} +#xfce-header-clear { + clear: both; +} +#xfce-header-title, #xfce-header-subtitle { + display: none; +} diff --git a/lib/tpl/xfce/images/logosmall.png b/lib/tpl/xfce/images/logosmall.png new file mode 100644 index 0000000..8b3a50c Binary files /dev/null and b/lib/tpl/xfce/images/logosmall.png differ diff --git a/lib/tpl/xfce/main.php b/lib/tpl/xfce/main.php index 48ed237..0a827b1 100644 --- a/lib/tpl/xfce/main.php +++ b/lib/tpl/xfce/main.php @@ -34,7 +34,6 @@ function __tpl_flush(){ <?php tpl_metaheaders()?> <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.png" /> - <link rel="stylesheet" media="screen" type="text/css" href="/_media/css/header.css" /> </head> <body> diff --git a/lib/tpl/xfce/style.ini b/lib/tpl/xfce/style.ini index 8f07366..00e6621 100644 --- a/lib/tpl/xfce/style.ini +++ b/lib/tpl/xfce/style.ini @@ -15,6 +15,7 @@ _mediaoptions.css = screen _admin.css = screen _linkwiz.css = screen _subscription.css = screen +_xfceheader.css = screen rtl.css = rtl print.css = print _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits