Bayadere bicolor

This commit is contained in:
Michael RICOIS 2017-09-29 16:54:22 +02:00
parent 88c5a5e9b7
commit 76d32b9a41
2 changed files with 13 additions and 8 deletions

View File

@ -176,10 +176,15 @@ function initFaces()
$('.chocos-holder .flipper .front').html($('#temp-bayadere .bayaface').clone())
$('.chocos-holder .flipper .back').html($('#temp-bayadere .bayaface').clone())
$('.bayaface .col1').addClass('b-'+color1)
$('.bayaface .col2').addClass('b-'+color2)
$('.bayaface .col3').addClass('b-'+color1)
$('.bayaface .col4').addClass('b-'+color2)
$('.bayaface #col1').attr('class', '');
$('.bayaface #col2').attr('class', '');
$('.bayaface #col3').attr('class', '');
$('.bayaface #col4').attr('class', '');
$('.bayaface #col1').addClass('colbaya col1').addClass('b-'+color1);
$('.bayaface #col2').addClass('colbaya col2').addClass('b-'+color2);
$('.bayaface #col3').addClass('colbaya col3').addClass('b-'+color1);
$('.bayaface #col4').addClass('colbaya col4').addClass('b-'+color2);
// DC
$('#custom_elmts .noms-holder').clone().appendTo(".container-db .db-cube1 .front")

View File

@ -191,10 +191,10 @@
<!--BAYADERE-->
<div id="temp-bayadere">
<div class="bayaface">
<div class="colbaya col1"></div>
<div class="colbaya col2"></div>
<div class="colbaya col3"></div>
<div class="colbaya col4"></div>
<div id="col1" class="colbaya col1"></div>
<div id="col2" class="colbaya col2"></div>
<div id="col3" class="colbaya col3"></div>
<div id="col4" class="colbaya col4"></div>
<div class="colbaya colover"></div>
</div>
</div>