From 92f7ac1aa940d13347aadf6b6a8589df578835a2 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Wed, 6 Oct 2004 18:41:12 +0000 Subject: [PATCH] Adding skin : NBviolet --- htdocs/css/nbviolet.css | 130 ++++++++++++++++++++++++++++++++++++++++++++ templates/skin/nbviolet.tpl | 116 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 246 insertions(+) create mode 100644 htdocs/css/nbviolet.css create mode 100644 templates/skin/nbviolet.tpl diff --git a/htdocs/css/nbviolet.css b/htdocs/css/nbviolet.css new file mode 100644 index 0000000..de29992 --- /dev/null +++ b/htdocs/css/nbviolet.css @@ -0,0 +1,130 @@ +/*************************************************************************** + * Copyright (C) 2003-2004 Polytechnique.org * + * http://opensource.polytechnique.org/ * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the Free Software * + * Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * + ***************************************************************************/ + +/******************************************************************************* + 1 Styles par défauts + [ balises sans attributs ou classes sans contexte ] +*******************************************************************************/ + +a:link { color: #800080; } +a:visited { color: #800080; } +a:active { color: #800080; } +a:hover { color: #800080;} + +/******************************************************************************* + 2 Styles

,

, ,
  • + [ styles classiques d'effets de texte ] +*******************************************************************************/ + +div.rubrique { + color: #ff0000; + background-color: #800080; + background-image: url( "/images/sk_nbviolet_titre.jpg"); + background-repeat: repeat-x; +} + +/******************************************************************************* + 3 Tableaux bicolores + classes utiles + [ Tableaux à lignes alternées, en taille normale, ou tiny ] +*******************************************************************************/ + +table.tinybicol, table.bicol { + background: #800080; + border: 1px solid #800080; + border-collapse: collapse; +} + +table.tinybicol tr, table.bicol tr { } +table.tinybicol tr.impair, table.bicol tr.impair { background: #ecd0ff; } +table.tinybicol tr.pair, table.bicol tr.pair { background: #efddff; } +table.tinybicol th, table.bicol th { + background-color: #800080; +} + +/******************************************************************************* + 4 Tableau de choix de skins + [ Styles pour les tableaux de types de ceux des skins ] +*******************************************************************************/ + +/******************************************************************************* + 5 Contacts + [ Styles liés à l'affichage de contacts ] +*******************************************************************************/ + +div.contact-list div.contact { + border-top: 1px solid #305070; + background: #e0c0ff; + color: inherit; +} + +div.contact div.long { + background: #efddff; + color: inherit; +} + +/******************************************************************************* + 6 Profil + [ onglets des profils ] +*******************************************************************************/ + +/******************************************************************************* + 7 fiche.php + [ cas de la fiche ] +*******************************************************************************/ + +/******************************************************************************* + A SKIN + [ choix de classes faites par le skinneur +*******************************************************************************/ + +#body-logo { + border-bottom: none; + border-right: none; + border-left: none; + border-top: none; +} + +#body-top { + border-bottom: 2px solid #cccccc; +} + +#body-bottom { + border-top: 1px solid #003399; +} + +#body-menu { + border-right: none; +} + +#body-menu .menu_title { + color : #eeeeee; + background-color: #404040; + background-image: url("/images/sk_nbviolet_menu.jpg"); + border-top: none; + border-bottom: none; +} + +#body-menu .menu_item { + padding-left: 0px; + text-align: left; +} + +/* vim: set et ts=4 sts=4 sw=4: */ +/* $Id: nbviolet.css,v 1.1 2004-10-06 18:41:12 x2003bruneau Exp $ */ diff --git a/templates/skin/nbviolet.tpl b/templates/skin/nbviolet.tpl new file mode 100644 index 0000000..19ad68d --- /dev/null +++ b/templates/skin/nbviolet.tpl @@ -0,0 +1,116 @@ +{*************************************************************************** + * Copyright (C) 2003-2004 Polytechnique.org * + * http://opensource.polytechnique.org/ * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the Free Software * + * Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * + *************************************************************************** + $Id: nbviolet.tpl,v 1.1 2004-10-06 18:41:20 x2003bruneau Exp $ + ***************************************************************************} + + + + + + {include file=skin/common.header.tpl} + + + {if $xorg_head} + {include file=$xorg_head} + {/if} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} + + {if $smarty.session.suid} + + + + +
    + {dynamic} + {$smarty.session.suid} ({$smarty.session.forlife}) + {/dynamic} + [exit] +
    + {/if} + + {if $simple} + +
    + {include file=$xorg_tpl} +
    + + {else} + + {include file=skin/common.bandeau.tpl} + + + + + + + + + + + + + +
    + [ Polytechnique.org ] + + + + + +
    + + {insert name="getNbIns"} polytechniciens sur le web
    + [LES X SUR LE WEB] +
    + {include_php file=menu.conf.php} + {foreach key=menu_title item=menu_list from=$menu} + {if $menu_title} + + {/if} + {foreach key=menu_item item=menu_url from=$menu_list} + + {/foreach} + {/foreach} + {perms level=admin} + + + + + +
    Valid
    {insert name="mkStats"}
    + {/perms} +
    + {include file=$xorg_tpl} +
    + {include file=skin/common.footer.tpl} +
    + {/if} + + +{* vim:set et sw=2 sts=2 sws=2: *} -- 2.1.4