new skin : sharky
authorx2000habouzit <x2000habouzit>
Sun, 29 Aug 2004 15:46:53 +0000 (15:46 +0000)
committerx2000habouzit <x2000habouzit>
Sun, 29 Aug 2004 15:46:53 +0000 (15:46 +0000)
htdocs/css/default.css
htdocs/css/fiche.css [deleted file]
htdocs/css/sharky.css [new file with mode: 0644]
htdocs/images/sk_sharky_ban.png [new file with mode: 0644]
htdocs/images/sk_sharky_bubbles.png [new file with mode: 0644]
htdocs/images/sk_sharky_logo.png [new file with mode: 0644]
templates/skin/sharky.tpl [new file with mode: 0644]

index 9ee0b40..07939b0 100644 (file)
@@ -21,14 +21,6 @@ hr    { width: 90%; text-align: center }
 .middle { vertical-align: middle; }
 .smaller { font-size: smaller; font-style: italic; }
 
-.pri1, .pri2, .pri3, .pri4, .pri5 { color: inherit; }
-
-.pri1 { background-color: #dac0c0; font-style: italic; }
-.pri2 { background-color: #dab0b0; font-style: italic; }
-.pri3 { background-color: #daa0a0; }
-.pri4 { background-color: #da9090; }
-.pri5 { background-color: #da8080; font-weight: bold; }
-
 /*******************************************************************************
     2   Styles <p>, <div>, <span>, <li>
         [ styles classiques d'effets de texte ]
@@ -243,18 +235,18 @@ table.flags td.texte {
     padding-left: 0.5em;
 }
 table.flags td.vert {
-    background-color: green;
+    background: green;
     width: 1.5em; height: 1.5em;
     text-align: center;
 }
 table.flags td.orange {
-    background-color: #ff9900;
+    background: #ff9900;
     width: 1.5em;
     height: 1.5em;
     text-align: center;
 }
 table.flags td.rouge {
-    background-color: red;
+    background: red;
     width: 1.5em;
     height: 1.5em;
     text-align: center;
@@ -324,13 +316,13 @@ div.conteneur_tab {
 
 div.boite {
   border: 1px solid #5555BB;
-  background-color: #FFFFC0;
+  background: #FFFFC0;
   padding: 5px;
   margin: 5px;
 }
 
 div.boite div.titre {
-  background-color: #9999FF;
+  background: #9999FF;
   margin: 5px;
   padding: 5px;
   text-align: center;
@@ -464,4 +456,4 @@ div.item div.value { }
 }
 
 /* vim: set et ts=4 sts=4 sw=4: */
-/* $Id: default.css,v 1.31 2004-08-26 14:44:43 x2000habouzit Exp $ */
+/* $Id: default.css,v 1.32 2004-08-29 15:46:53 x2000habouzit Exp $ */
diff --git a/htdocs/css/fiche.css b/htdocs/css/fiche.css
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/htdocs/css/sharky.css b/htdocs/css/sharky.css
new file mode 100644 (file)
index 0000000..6e35ce5
--- /dev/null
@@ -0,0 +1,121 @@
+/*******************************************************************************
+    1   Styles par défauts
+        [ balises sans attributs ou classes sans contexte ]
+*******************************************************************************/
+
+body {
+    background: #99afc1;
+    color: #000000;
+}
+
+/*******************************************************************************
+    2   Styles <p>, <div>, <span>, <li>
+        [ styles classiques d'effets de texte ]
+*******************************************************************************/
+
+div.rubrique {
+    color: #ffffff;
+    background: #657590;
+    border-top: 1px solid #305070;
+    border-bottom: 1px solid #305070;
+    font-family: "Verdana", sans-serif;
+    font-size: 100%;
+}
+
+/*******************************************************************************
+    3   Tableaux bicolores + classes utiles
+        [ Tableaux à lignes alternées, en taille normale, ou tiny ]
+*******************************************************************************/
+
+table.bicol {
+    background: #80a0c0;
+    border: 1px solid #305070;
+    border-collapse: collapse;
+}
+table.tinybicol tr, table.bicol tr { }
+table.tinybicol tr.impair , table.bicol tr.impair { background: #80a0c0; }
+table.tinybicol tr.pair, table.bicol tr.pair      { background: #99b9d0; }
+table.bicol th {
+    background: #305070;
+    color: #ffffff;
+}
+
+/*******************************************************************************
+    4   Tableau de choix de skins
+        [ Styles pour les tableaux de types de ceux des skins ]
+*******************************************************************************/
+
+#skin {
+    background: #99b9d0;
+    border-top: 1px solid #305070;
+    border-bottom: none;
+}
+
+#skin td {
+    border-top: none;
+    border-bottom: 1px solid #305070;
+    vertical-align: middle;
+}
+
+#skin td.skigauche {
+    background: #99b9d0;
+}
+
+/*******************************************************************************
+    5   Contacts
+        [ Styles liés à l'affichage de contacts ]
+*******************************************************************************/
+
+
+/*******************************************************************************
+    6   Profil
+        [ onglets des profils ]
+*******************************************************************************/
+
+/*******************************************************************************
+    7   fiche.php
+        [ cas de la fiche ]
+*******************************************************************************/
+
+/*******************************************************************************
+    A   SKIN
+        [ choix de classes faites par le skinneur
+*******************************************************************************/
+
+#body-logo {
+    border-top: 1px solid #305070;
+    border-right: 1px solid #305070;
+    border-left: 1px solid #305070;
+    border-bottom: none;
+}
+
+#body-top {
+    border-bottom: 1px solid #305070;
+}
+
+#body-bottom {
+    border-top: 1px solid #305070;
+}
+
+#body-menu {
+    border-left: 1px solid #305070;
+    border-right: 1px solid #305070;
+    background-image: url("images/sk_sharky_bubbles.png");
+    background-position: 0px 100px;
+    background-repeat: repeat-y;
+}
+
+#body-menu .menu_title {
+    color : #ffffff;
+    background: #657590;
+    border-top: 1px solid #305070;
+    border-bottom: 1px solid #305070;
+}
+
+#body-menu .menu_item {
+    padding-left: 4px;
+    text-align: left;
+}
+
+/* vim: set et ts=4 sts=4 sw=4: */
+/* $Id: sharky.css,v 1.1 2004-08-29 15:46:53 x2000habouzit Exp $ */
diff --git a/htdocs/images/sk_sharky_ban.png b/htdocs/images/sk_sharky_ban.png
new file mode 100644 (file)
index 0000000..191e10a
Binary files /dev/null and b/htdocs/images/sk_sharky_ban.png differ
diff --git a/htdocs/images/sk_sharky_bubbles.png b/htdocs/images/sk_sharky_bubbles.png
new file mode 100644 (file)
index 0000000..d6b2781
Binary files /dev/null and b/htdocs/images/sk_sharky_bubbles.png differ
diff --git a/htdocs/images/sk_sharky_logo.png b/htdocs/images/sk_sharky_logo.png
new file mode 100644 (file)
index 0000000..0288275
Binary files /dev/null and b/htdocs/images/sk_sharky_logo.png differ
diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl
new file mode 100644 (file)
index 0000000..210d95f
--- /dev/null
@@ -0,0 +1,79 @@
+{* $Id: sharky.tpl,v 1.1 2004-08-29 15:46:54 x2000habouzit Exp $ *}
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+{include file=skin/common.header.tpl}
+  <link rel="stylesheet" type="text/css" href="{"css/default.css"|url}" media="screen" />
+  <link rel="stylesheet" type="text/css" href="{"css/sharky.css"|url}" media="screen" />
+{if $xorg_head}
+{include file=$xorg_head}
+{/if}
+{include file=skin/common.bandeau.head.tpl}
+  </head>
+  <body>
+{include file=skin/common.devel.tpl}
+
+{if $smarty.session.suid}
+    <table id="suid" cellpadding="0" cellspacing="0">
+    <tr>
+      <td>
+        {dynamic}
+        {$smarty.session.suid} ({$smarty.session.username})
+        {/dynamic}
+        [<a href="{"exit.php"|url}">exit</a>]
+      </td>
+    </tr>
+    </table>
+{/if}
+
+{include file=skin/common.bandeau.tpl}
+
+    <table id="body" cellpadding="0" cellspacing="0">
+    <tr>
+      <td id="body-logo">
+        <img src="{"images/sk_sharky_logo.png"|url}" alt="[ LOGO ]" />
+      </td>
+      <td id="body-top">
+        <img src="{"images/sk_sharky_ban.png"|url}" alt="[ Polytechnique.org ]" />
+        <table>
+        <tr>
+          <td class="date-heure">
+          <script type="text/javascript">
+          <!--
+            document.write(getNow());
+          //-->
+          </script>
+          </td>
+          <td class="inscrits">{insert name="getNbIns"} polytechniciens sur le web</td>
+        </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td id="body-menu">
+{include_php file=menu.conf.php}
+{foreach key=menu_title item=menu_list from=$menu}
+{if $menu_title}
+        <div class="menu_title">{$menu_title}</div>
+{/if}
+{foreach key=menu_item item=menu_url from=$menu_list}
+        <div class="menu_item"><a href="{$menu_url|url}">{$menu_item}</a></div>
+{/foreach}
+{/foreach}
+{perms level=admin}{insert name="mkStats"}{/perms}
+      </td>
+      <td id="content">
+{include file=$xorg_tpl}
+      </td>
+    </tr>
+    <tr>
+      <td id="body-bottom" colspan="2">
+{include file=skin/common.footer.tpl}
+      </td>
+    </tr>
+    </table>
+
+  </body>
+</html>
+{* vim:set et sw=2 sts=2 sws=2: *}