diff --git a/.gitattributes b/.gitattributes index b5d9adc4feb1c111d3d9f1b55502bc97ecd02b13..c2afb17d5a3b81067b72ae22b1993bebf7c21bfe 100644 --- a/.gitattributes +++ b/.gitattributes @@ -791,6 +791,8 @@ prive/style_prive_defaut.css -text prive/style_prive_fonctions.php -text prive/style_prive_formulaires.html -text prive/style_prive_ie.html -text +prive/style_prive_plugins.html -text +prive/style_prive_plugins_fonctions.php -text prive/style_vieilles_def.html -text prive/transmettre/forum_article.html -text prive/transmettre/signatures_article.html -text diff --git a/prive/style_prive.html b/prive/style_prive.html index 9fca3e55c627cc8c58da7978621ffb55ea4805c4..24eac6e62b8899b21466e66448225f8014ff1749 100644 --- a/prive/style_prive.html +++ b/prive/style_prive.html @@ -778,3 +778,7 @@ body.sites .no_onglets #contenu #wysiwyg div.contenu_nom_site {display: none;} /******** Formulaires **************/ [(#INCLURE{fond=style_prive_formulaires}{couleur_claire}{couleur_foncee}{lang}{ltr})] /******** Formulaires fin **************/ + +/*** Plugins ***/ +[(#INCLURE{fond=style_prive_plugins}{couleur_claire}{couleur_foncee}{lang}{ltr})] +/**** Plugins fin ***/ \ No newline at end of file diff --git a/prive/style_prive_plugins.html b/prive/style_prive_plugins.html new file mode 100644 index 0000000000000000000000000000000000000000..8991231269c1d13051ac7abcb5627dfe6c221078 --- /dev/null +++ b/prive/style_prive_plugins.html @@ -0,0 +1,40 @@ +#CACHE{0} +[(#REM) + + Ce squelette definit les styles de l'espace prive + + Note: l'entete "Vary:" sert a repousser l'entete par + defaut "Vary: Cookie,Accept-Encoding", qui est (un peu) + genant en cas de "rotation du cookie de session" apres + un changement d'IP (effet de clignotement). + + ATTENTION: il faut absolument le charset sinon Firefox croit que + c'est du text/html ! +] +#CACHE{3600*100,cache-client} +#HTTP_HEADER{Content-Type: text/css; charset=iso-8859-15} +#HTTP_HEADER{Vary: Accept-Encoding} + +#SET{claire,##ENV{couleur_claire,edf3fe}} +#SET{foncee,##ENV{couleur_foncee,3874b0}} +#SET{left,#ENV{ltr}|choixsiegal{left,left,right}} +#SET{right,#ENV{ltr}|choixsiegal{left,right,left}} + + +h2.titrem { display: block; padding-top: 6px; padding-bottom: 4px; background-repeat: no-repeat;padding-[(#GET{left})]:16px;background-color: #GET{claire};font-size:14px;} + + +/* listes */ +.liste_items {list-style:none;margin:1em 0;padding:0;border-top:1px solid #ddd;clear:both;} +.liste_items li.item {border-bottom:1px solid #ddd;padding:0.4em 0; font-size: 10px;} +.liste_items li.item:hover {background-color:[#(#GET{claire}|couleur_eclaircir|couleur_eclaircir)];} +.liste_items li.court:hover {background-color:#eee;} +.liste_items li.item.on {background-color:[#(#GET{claire}|couleur_eclaircir|couleur_eclaircir)];font-weight:normal;} +.liste_items li.item.on:hover {background-color:[#(#GET{claire}|couleur_eclaircir)];} + +.pagination {background:#eee;border-top:1px solid #ddd;border-bottom:1px solid #ddd; margin: 0;padding:2px 0; font-size: 0.9em; font-weight: bold; text-align: right; white-space: nowrap; } +.pagination .on { background:#ccc;padding:2px 3px;color:#fff; } + +.clicable {cursor:hand;cursor:pointer;} + +[(#INCLURE{fond=#VAL{prive/}|tous_les_fonds{/style_prive_plugin_}}{couleur_claire}{couleur_foncee}{lang}{ltr})] \ No newline at end of file diff --git a/prive/style_prive_plugins_fonctions.php b/prive/style_prive_plugins_fonctions.php new file mode 100644 index 0000000000000000000000000000000000000000..d29e287c7e03196165ff1ab26326c59850cb5f1a --- /dev/null +++ b/prive/style_prive_plugins_fonctions.php @@ -0,0 +1,10 @@ +<?php + +function tous_les_fonds($dir,$pattern){ + $liste = find_all_in_path($dir,$pattern); + foreach($liste as $k=>$v) + $liste[$k] = $dir . basename($v,'.html'); + return $liste; +} + +?> \ No newline at end of file