Skip to content

Instantly share code, notes, and snippets.

@ismailmechbal
Last active August 29, 2015 14:00
Show Gist options
  • Save ismailmechbal/11039877 to your computer and use it in GitHub Desktop.
Save ismailmechbal/11039877 to your computer and use it in GitHub Desktop.
cih-css
/* Mettre à jour dans cih-alpha-default-normal.css */
/* CSS pour l'arrière plan du menu pour chaque section */
/* Changer la couleur de background-color pour chaque section
data-id= "491" -> Particulier
data-id= "492" -> Professionnels
data-id= "493" -> MRE
data-id= "494" -> Promotion immo
data-id= "495" -> Entreprise
data-id= "496" -> Corporate
*/
.tb-megamenu li[data-id="491"] .dropdown-menu {
background-color: #e85311;
opacity: 0.9;
}
.tb-megamenu li[data-id="492"] .dropdown-menu {
background-color: #e85311;
opacity: 0.9;
}
.tb-megamenu li[data-id="493"] .dropdown-menu {
background-color: #e85311;
opacity: 0.9;
}
.tb-megamenu li[data-id="494"] .dropdown-menu {
background-color: #e85311;
opacity: 0.9;
}
.tb-megamenu li[data-id="495"] .dropdown-menu {
background-color: #e85311;
opacity: 0.9;
}
.tb-megamenu li[data-id="496"] .dropdown-menu {
background-color: #e85311;
opacity: 0.9;
}
/* Mettre à jour dans global.css */
/* Exemple de picto pour la section Entreprise -> Découvrir nos offres -> Carte bancaires */
.entreprise-decouvrir-offres-cartes-bancaires #page-title,
.entreprise-decouvrir-offres-cartes-bancaires-principale #page-title {
background: url('../images/icons/title/entreprise/carte-bancaire.png') 0 -4px no-repeat;
height: 50px;
padding: 0 60px;
}
/* Pour changer par exemple le picto pour la section Particulier -> CIH vous accompagne */
.particulier-cih-vous-accompagne #page-title {
background: url('../images/icons/title/particulier/cih-vous-accompagne.png') 0 -4px no-repeat;
height: 50px;
padding: 0 60px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment