en | fr  | Contact  | Print  | Share

FrameBeurk File

Fmbk/Module/Zenpa/Style/styleSweets/fonctionsSweets.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 Sweets

function Zenpa_cssCarteEntite_style($entite) {
    global 
$TRANSAC$CONFIG;
    
    
$couleur0 Zenpa_eclaircie($CONFIG['Controle']['Palette']['Entite'][$entite][1]);
    
$couleur1 Zenpa_eclaircie($couleur0);

    echo 
'
.'
$entite'_l0, .'$entite'_l1 td {
'
Zenpa_prefixePropriete('border-radius''3px'),
'background-color: #'$couleur0';
}
.'
$entite'_l1, .'$entite'_l0 td { 
'
Zenpa_prefixePropriete('border-radius''3px'),
'background-color: #'$couleur1';
}
.'
$entite'_c2, .'$entite'_c3 { color:#'$CONFIG['Controle']['Palette']['_site']['Sweets']['infos'], ' }
'
;
}

function 
Zenpa_cssTitreEntite_style($entite) {
    global 
$CONFIG;
    
    echo 
'
h2.h_'
$entite' { background-color:#'$CONFIG['Controle']['Palette']['Entite'][$entite][1], '; }
'
;
}

function 
Zenpa_cssMenuEntite_style($entite$topAfficheCache) {

    global 
$CONFIG;
    
    
$couleur0 Zenpa_eclaircie($CONFIG['Controle']['Palette']['Entite'][$entite][1]);
    
$couleur1 Zenpa_eclaircie($couleur0);
    
    echo 
'
.'
$entite'_m0, .'$entite'_m1 { 
margin-top:1px;
margin-bottom:1px;
padding-left:4px;
padding-right:2px;
'
Zenpa_prefixePropriete('border-radius''3px'), '
'
Zenpa_prefixePropriete('box-shadow''2px 2px 2px -1px silver, inset 2px 2px 2px -1px white;'), '
}
.'
$entite'_m0 { background-color:#'$couleur0'; }
.'
$entite'_m1 { background-color:#'$couleur1'; }
'
;

// fleche affiche/cache contenu
    
if ($topAfficheCache) {
        
        echo 
'
.'
$entite'_m0.expFerme:before, .'$entite'_m1.expFerme:before {
content:"";
background:'
Zenpa_encodeImage('png''/Module/Zenpa/_image/flecheDroite15.png'), ';
display:inline-block;
width:15px;
height:15px;
}
.'
$entite'_m0.expOuvert:before, .'$entite'_m1.expOuvert:before {
content:"";
background:'
Zenpa_encodeImage('png''/Module/Zenpa/_image/flecheBas15.png'), ';
display:inline-block;
width:15px;
height:15px;
}
'
;
    }
}


© 2010-2015 by ToolOscope SASU. © 2016-2018 by Arnaud De Rette. All rights reserved