FrameBeurk File
Fmbk/Module/Zenpa/Style/styleSnow/fonctionsSnow.css.php
<?php //FrameBeurk V0.65 Copyright ToolOscope 2016. Licence CeCILL-C.
//fonctions de génération de css du module Zenpa pour le style Snow
function Zenpa_cssCarteEntite_style($entite) {
global $TRANSAC, $CONFIG;
echo '
.', $entite, '_c1 {
text-shadow: 1px 1px 1px #', $CONFIG['Controle']['Palette']['_site']['Snow']['fond2'], ';
text-align:left;
border-bottom: 2px solid #', $CONFIG['Controle']['Palette']['Entite'][$entite][1], ';
}
.', $entite, '_c2, .', $entite, '_c3 { color:#', $CONFIG['Controle']['Palette']['_site']['Snow']['infos'], '; }
.', $entite, '_c6 { margin-bottom:10px }
.', $entite, '_l0 td, .', $entite, '_l1 td {
border-bottom: 2px solid #', Zenpa_eclaircie($CONFIG['Controle']['Palette']['Entite'][$entite][1]), ';
}
';
}
function Zenpa_cssTitreEntite_style($entite) {
global $CONFIG;
echo '
h2.h_', $entite, ' {
color:#', $CONFIG['Controle']['Palette']['Entite'][$entite][0], ';
text-shadow: 2px 2px 2px #', $CONFIG['Controle']['Palette']['Entite'][$entite][1], ';
}
';
}
function Zenpa_cssMenuEntite_style($entite, $topAfficheCache) {
global $CONFIG;
$couleur0 = $CONFIG['Controle']['Palette']['Entite'][$entite][1];
$couleur1 = $couleur0; // Zenpa_eclaircie($couleur0);
echo '
.', $entite, '_m0, .', $entite, '_m1 {
margin-top:2px;
margin-bottom:2px;
padding-left:4px;
padding-right:2px;
text-shadow: 1px 1px 0px #', $CONFIG['Controle']['Palette']['_site']['Snow']['fond3'], ';
}
.', $entite, '_m0 { color:#', $couleur0, '; }
.', $entite, '_m1 { color:#', $couleur1, '; }
';
// fleche affiche/cache contenu
if ($topAfficheCache) {
echo '
.', $entite, '_m0.expFerme:before { /* couleur : ', $couleur0, ' */
content:"";
background:', Zenpa_encodeImageColorisee('png', '/Module/Zenpa/_image/flecheDroite15.png', $couleur0), ';
display:inline-block;
width:15px;
height:15px;
}
.', $entite, '_m1.expFerme:before { /* couleur : ', $couleur1, ' */
content:"";
background:', Zenpa_encodeImageColorisee('png', '/Module/Zenpa/_image/flecheDroite15.png', $couleur1), ';
display:inline-block;
width:15px;
height:15px;
}
.', $entite, '_m0.expOuvert:before {
content:"";
background:', Zenpa_encodeImageColorisee('png', '/Module/Zenpa/_image/flecheBas15.png', $couleur0), ';
display:inline-block;
width:15px;
height:15px;
}
.', $entite, '_m1.expOuvert:before {
content:"";
background:', Zenpa_encodeImageColorisee('png', '/Module/Zenpa/_image/flecheBas15.png', $couleur1), ';
display:inline-block;
width:15px;
height:15px;
}
.', $entite, '_m0.expOuvert {
border-left:2px solid #', $couleur0, ';
border-bottom:2px solid #', $couleur0, '
}
.', $entite, '_m1.expOuvert {
border-left:2px solid #', $couleur1, ';
border-bottom:2px solid #', $couleur1, '
}
';
}
}