Merge pull request #507 from mcouzinet/feature/move-icon-to-css
move icon to css
This commit is contained in:
commit
843f66cdfe
|
|
@ -616,6 +616,25 @@ div#tarteaucitronServices {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#tarteaucitronRoot .tarteaucitronCross::before {
|
||||||
|
content: '\2717';
|
||||||
|
display: inline-block;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tarteaucitronRoot .tarteaucitronCheck::before {
|
||||||
|
content: '\2713';
|
||||||
|
display: inline-block;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tarteaucitronRoot .tarteaucitronPlus::before {
|
||||||
|
content: '\271b';
|
||||||
|
display: inline-block;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***
|
/***
|
||||||
* Small alert
|
* Small alert
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -316,10 +316,10 @@ var tarteaucitron = {
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
html += ' <div class="tarteaucitronAsk" id="tarteaucitronScrollbarAdjust">';
|
html += ' <div class="tarteaucitronAsk" id="tarteaucitronScrollbarAdjust">';
|
||||||
html += ' <button type="button" id="tarteaucitronAllAllowed" class="tarteaucitronAllow">';
|
html += ' <button type="button" id="tarteaucitronAllAllowed" class="tarteaucitronAllow">';
|
||||||
html += ' ✓ ' + tarteaucitron.lang.allowAll;
|
html += ' <span class="tarteaucitronCheck"></span> ' + tarteaucitron.lang.allowAll;
|
||||||
html += ' </button> ';
|
html += ' </button> ';
|
||||||
html += ' <button type="button" id="tarteaucitronAllDenied" class="tarteaucitronDeny">';
|
html += ' <button type="button" id="tarteaucitronAllDenied" class="tarteaucitronDeny">';
|
||||||
html += ' ✗ ' + tarteaucitron.lang.denyAll;
|
html += ' <span class="tarteaucitronCross"></span> ' + tarteaucitron.lang.denyAll;
|
||||||
html += ' </button>';
|
html += ' </button>';
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
|
|
@ -340,10 +340,10 @@ var tarteaucitron = {
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
html += ' <div class="tarteaucitronAsk">';
|
html += ' <div class="tarteaucitronAsk">';
|
||||||
html += ' <button type="button" class="tarteaucitronAllow">';
|
html += ' <button type="button" class="tarteaucitronAllow">';
|
||||||
html += ' ✓ ' + tarteaucitron.lang.allow;
|
html += ' <span class="tarteaucitronCheck"></span> ' + tarteaucitron.lang.allow;
|
||||||
html += ' </button> ';
|
html += ' </button> ';
|
||||||
html += ' <button type="button" class="tarteaucitronDeny" style="visibility:hidden">';
|
html += ' <button type="button" class="tarteaucitronDeny" style="visibility:hidden">';
|
||||||
html += ' ✗ ' + tarteaucitron.lang.deny;
|
html += ' <span class="tarteaucitronCross"></span> ' + tarteaucitron.lang.deny;
|
||||||
html += ' </button> ';
|
html += ' </button> ';
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
html += '</li>';
|
html += '</li>';
|
||||||
|
|
@ -353,7 +353,7 @@ var tarteaucitron = {
|
||||||
for (i = 0; i < cat.length; i += 1) {
|
for (i = 0; i < cat.length; i += 1) {
|
||||||
html += ' <li id="tarteaucitronServicesTitle_' + cat[i] + '" class="tarteaucitronHidden">';
|
html += ' <li id="tarteaucitronServicesTitle_' + cat[i] + '" class="tarteaucitronHidden">';
|
||||||
html += ' <div class="tarteaucitronTitle">';
|
html += ' <div class="tarteaucitronTitle">';
|
||||||
html += ' <button type="button" class="catToggleBtn" data-cat="tarteaucitronDetails' + cat[i] + '">✛ ' + tarteaucitron.lang[cat[i]].title + '</button>';
|
html += ' <button type="button" class="catToggleBtn" data-cat="tarteaucitronDetails' + cat[i] + '"><span class="tarteaucitronPlus"></span> ' + tarteaucitron.lang[cat[i]].title + '</button>';
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
html += ' <div id="tarteaucitronDetails' + cat[i] + '" class="tarteaucitronDetails tarteaucitronInfoBox">';
|
html += ' <div id="tarteaucitronDetails' + cat[i] + '" class="tarteaucitronDetails tarteaucitronInfoBox">';
|
||||||
html += ' ' + tarteaucitron.lang[cat[i]].details;
|
html += ' ' + tarteaucitron.lang[cat[i]].details;
|
||||||
|
|
@ -408,13 +408,13 @@ var tarteaucitron = {
|
||||||
html += ' </span>';
|
html += ' </span>';
|
||||||
//html += ' <span class="tarteaucitronAlertBigBtnWrapper">';
|
//html += ' <span class="tarteaucitronAlertBigBtnWrapper">';
|
||||||
html += ' <button type="button" class="tarteaucitronCTAButton tarteaucitronAllow" id="tarteaucitronPersonalize2">';
|
html += ' <button type="button" class="tarteaucitronCTAButton tarteaucitronAllow" id="tarteaucitronPersonalize2">';
|
||||||
html += ' ✓ ' + tarteaucitron.lang.acceptAll;
|
html += ' <span class="tarteaucitronCheck"></span> ' + tarteaucitron.lang.acceptAll;
|
||||||
html += ' </button>';
|
html += ' </button>';
|
||||||
|
|
||||||
|
|
||||||
if (tarteaucitron.parameters.DenyAllCta) {
|
if (tarteaucitron.parameters.DenyAllCta) {
|
||||||
html += ' <button type="button" class="tarteaucitronCTAButton tarteaucitronDeny" id="tarteaucitronAllDenied2">';
|
html += ' <button type="button" class="tarteaucitronCTAButton tarteaucitronDeny" id="tarteaucitronAllDenied2">';
|
||||||
html += ' ✗ ' + tarteaucitron.lang.denyAll;
|
html += ' <span class="tarteaucitronCross"></span> ' + tarteaucitron.lang.denyAll;
|
||||||
html += ' </button>';
|
html += ' </button>';
|
||||||
//html += ' <br/><br/>';
|
//html += ' <br/><br/>';
|
||||||
}
|
}
|
||||||
|
|
@ -698,10 +698,10 @@ var tarteaucitron = {
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
html += ' <div class="tarteaucitronAsk">';
|
html += ' <div class="tarteaucitronAsk">';
|
||||||
html += ' <button type="button" id="' + service.key + 'Allowed" class="tarteaucitronAllow">';
|
html += ' <button type="button" id="' + service.key + 'Allowed" class="tarteaucitronAllow">';
|
||||||
html += ' ✓ ' + tarteaucitron.lang.allow;
|
html += ' <span class="tarteaucitronCheck"></span> ' + tarteaucitron.lang.allow;
|
||||||
html += ' </button> ';
|
html += ' </button> ';
|
||||||
html += ' <button type="button" id="' + service.key + 'Denied" class="tarteaucitronDeny">';
|
html += ' <button type="button" id="' + service.key + 'Denied" class="tarteaucitronDeny">';
|
||||||
html += ' ✗ ' + tarteaucitron.lang.deny;
|
html += ' <span class="tarteaucitronCross"></span> ' + tarteaucitron.lang.deny;
|
||||||
html += ' </button>';
|
html += ' </button>';
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
html += '</li>';
|
html += '</li>';
|
||||||
|
|
@ -1709,7 +1709,7 @@ var tarteaucitron = {
|
||||||
html += ' <div class="tac_float">';
|
html += ' <div class="tac_float">';
|
||||||
html += ' ' + engage;
|
html += ' ' + engage;
|
||||||
html += ' <button type="button" class="tarteaucitronAllow" id="Eng' + r + 'ed' + id + '">';
|
html += ' <button type="button" class="tarteaucitronAllow" id="Eng' + r + 'ed' + id + '">';
|
||||||
html += ' ✓ ' + tarteaucitron.lang.allow;
|
html += ' <span class="tarteaucitronCheck"></span> ' + tarteaucitron.lang.allow;
|
||||||
html += ' </button>';
|
html += ' </button>';
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue