Mentions légales du service

Skip to content
Snippets Groups Projects
Commit bc4402ce authored by NINASSI Benjamin's avatar NINASSI Benjamin
Browse files

adding styles

parent 25e16c58
No related branches found
No related tags found
No related merge requests found
......@@ -1055,6 +1055,22 @@ a.iai-content-links-header:hover .toggle {
border: solid #5E5E5E 1px;
}
.iai-ressources h3{
font-size:20px;
}
.iai-ressources .orange{
color:#F95230;
}
.iai-ressources .blue{
color:#5937B9;
}
.iai-ressources .green{
color:#00A387;
}
.iai-ressources ul{
padding-left:30px;
}
@media screen and (max-width:1360px) {
.iai-video-popup {
......
......@@ -49,7 +49,9 @@ print $dataArraySize." lignes après nettoyage \n";
if($dataArray && $dataArraySize!=0){
$currentSection="";
usort($dataArray, "cmpSection");//on trie le tableau
foreach ($dataArray as $tmp_line){
$colorArray=("blue","orange","green");
$int $sectionNumber = 0;
foreach ($dataArray as $tmp_line){
$tmp_section=$tmp_line[20];
$tmp_url=$tmp_line[1];
$tmp_title=$tmp_line[0];
......@@ -62,7 +64,9 @@ if($dataArray && $dataArraySize!=0){
$html.="</ul></div>\n";
$html.="<br>\n";
}
$html.="<div class='iai-ressources'><h3>".$tmp_section."</h3>\n";
$sectionNumber++;
$colorClass=$colorArray[$sectionNumber%3];
$html.="<div class='iai-ressources'><h3 class='".$colorClass."'>".$tmp_section."</h3>\n";
$html.="<ul>";
$currentSection=$tmp_section ;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment