Skip to content

Commit

Permalink
Update tarteaucitron.js to 1.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Cruiser13 committed Feb 9, 2021
1 parent 2175729 commit 9e2fe96
Show file tree
Hide file tree
Showing 34 changed files with 1,551 additions and 276 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.idea
.DS_Store
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,19 @@ tarteaucitron.init({
"cookieName": "tarteaucitron", /* Cookie name */
"orientation": "middle", /* Banner position (top - bottom) */
"showAlertSmall": true, /* Show the small banner on bottom right */
"cookieslist": true, /* Show the cookie list */
"showAlertSmall": false, /* Show the small banner on bottom right */
"cookieslist": false, /* Show the cookie list */
"showIcon": true, /* Show cookie icon to manage cookies */
"iconPosition": "BottomRight", /* Position of the icon between BottomRight, BottomLeft, TopRight and TopLeft */
"adblocker": false, /* Show a Warning if an adblocker is detected */
"DenyAllCta" : true, /* Show the deny all button */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"highPrivacy": true, /* Disable auto consent */
"highPrivacy": true, /* HIGHLY RECOMMANDED Disable auto consent */
"handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
"removeCredit": false, /* Remove credit link */
Expand All @@ -51,7 +58,9 @@ tarteaucitron.init({
//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for subdomain website */
"readmoreLink": "/cookiespolicy" /* Change the default readmore link pointing to tarteaucitron.io */
"readmoreLink": "", /* Change the default readmore link pointing to tarteaucitron.io */
"mandatory": true /* Show a message about mandatory cookies */
});
</script>
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
text-align: initial;
text-shadow: initial;
}

/* Animation */
#tarteaucitronRoot * {transition: border 300ms, background 300ms, opacity 200ms, box-shadow 400ms}

/* HTML5 display-role reset for older browsers */
#tarteaucitronRoot article, #tarteaucitronRoot aside, #tarteaucitronRoot details, #tarteaucitronRoot figcaption, #tarteaucitronRoot figure, #tarteaucitronRoot footer, #tarteaucitronRoot header, #tarteaucitronRoot hgroup, #tarteaucitronRoot menu, #tarteaucitronRoot nav, #tarteaucitronRoot section {
display: block;
Expand All @@ -38,8 +42,8 @@
border-spacing: 0;
}

#tarteaucitronRoot a:focus, #tarteaucitronRoot button:focus {
/*outline: 2px solid #cb3333;*/
#tarteaucitronRoot a:focus-visible, #tarteaucitronRoot button:focus-visible {
outline: 3px dashed #3d86d8;
}

/***
Expand Down Expand Up @@ -67,7 +71,7 @@ div#tarteaucitronServices {
}

div#tarteaucitronServices {
box-shadow: 0 0 35px #575757;
box-shadow: 0 40px 60px #545454;
}

/***
Expand Down Expand Up @@ -136,10 +140,6 @@ div#tarteaucitronServices {
/***
* Common value
*/
#tarteaucitron * {
zoom: 1;
}

#tarteaucitronRoot div#tarteaucitron {
left: 0;
right: 0;
Expand Down Expand Up @@ -283,13 +283,9 @@ div#tarteaucitronServices {
width: 80%;
}

.tarteaucitronSelfLink, #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden,
#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden,
#tarteaucitron #tarteaucitronServices .tarteaucitronHidden {
background: rgba(51, 51, 51, 0.07);
}a.tarteaucitronSelfLink {
text-align: center!important;
display: block;
padding: 7px!important;
}

#tarteaucitron #tarteaucitronServices .tarteaucitronHidden {
Expand Down Expand Up @@ -444,7 +440,8 @@ div#tarteaucitronServices {
background-color: #1B870B;
opacity: 1;
}
#tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied.tarteaucitronIsSelected {
#tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied.tarteaucitronIsSelected,
#tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied2.tarteaucitronIsSelected {
background-color: #9C1A1A;
opacity: 1;
}
Expand All @@ -470,6 +467,13 @@ div#tarteaucitronServices {
margin-left: 0!important;
font-size: 14px;
}
span#tarteaucitronDisclaimerAlert {
padding: 0 10px;
display: inline-block;
}
#tarteaucitron .tarteaucitronBorder, #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain, #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList, #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden, #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine {
border-color: #333!important;
}

/***
* Big alert
Expand All @@ -492,7 +496,7 @@ div#tarteaucitronServices {
box-sizing: content-box;
z-index: 2147483645;
text-align: center;
padding: 10px;
padding: 10px 0 10px 0;
margin: auto;
width: 100%;
}
Expand All @@ -516,10 +520,12 @@ div#tarteaucitronServices {

#tarteaucitronAlertBig #tarteaucitronCloseAlert,
#tarteaucitronAlertBig #tarteaucitronPersonalize,
#tarteaucitronAlertBig #tarteaucitronPersonalize2,
.tarteaucitronCTAButton,
#tarteaucitron #tarteaucitronPrivacyUrl,
#tarteaucitron #tarteaucitronPrivacyUrlDialog,
#tarteaucitronRoot .tarteaucitronDeny {
#tarteaucitronRoot .tarteaucitronDeny,
#tarteaucitronRoot .tarteaucitronAllow {
background: #008300;
color: #fff;
cursor: pointer;
Expand All @@ -541,7 +547,7 @@ div#tarteaucitronServices {
font-size: 13px;
margin-bottom: 3px;
margin-left: 7px;
padding: 4px 10px;
padding: 5px 10px;
}

#tarteaucitronPercentage {
Expand All @@ -554,6 +560,81 @@ div#tarteaucitronServices {
z-index: 2147483644;
}

/***
* Icon
*/
.tarteaucitronIconBottomRight {
bottom: 0;
right: 0;
}
.tarteaucitronIconBottomLeft {
bottom: 0;
left: 0;
}
.tarteaucitronIconTopRight {
top: 0;
right: 0;
}
.tarteaucitronIconTopLeft {
top: 0;
left: 0;
}

.tarteaucitronIconTopLeft #tarteaucitronManager {
border-radius: 2px 7px 7px 2px;
}

.tarteaucitronIconTopRight #tarteaucitronManager {
border-radius: 7px 2px 2px 7px;
}

.tarteaucitronIconBottomLeft #tarteaucitronManager {
border-radius: 7px 7px 2px 2px;
}

.tarteaucitronIconBottomRight #tarteaucitronManager {
border-radius: 7px 7px 2px 2px;
}

#tarteaucitronIcon {
background: transparent;
position: fixed;
display: none;
width: auto;
z-index: 2147483646;
}
#tarteaucitronIcon #tarteaucitronManager {
color: transparent;
cursor: pointer;
display: inline-block;
font-size: 11px !important;
padding: 8px 10px 8px;
border: none;
}
#tarteaucitronIcon #tarteaucitronManager img {
width: 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
*/
Expand Down Expand Up @@ -752,6 +833,9 @@ div.amazon_product {
.tarteaucitronLine .tarteaucitronAllow, .tarteaucitronLine .tarteaucitronDeny {
opacity: 0.4;
}
#tarteaucitronServices_mandatory button.tarteaucitronAllow {
opacity: 1;
}

div#tarteaucitronInfo {
display: block!important;
Expand All @@ -770,15 +854,30 @@ a.tarteaucitronSelfLink {
position: absolute;
left: 0;
right: 0;
padding-top: 13px!important;
bottom: -30px;
text-align: center!important;
display: block;
text-shadow: 0 0 14px white;
text-transform: uppercase;
}.tarteaucitronMainLine .tarteaucitronH2 {
height:30px;
}

.tarteaucitronMainLine .tarteaucitronH2 {
font-size: 1.2em!important;
margin-top: 4px!important;
}

span.tarteaucitronTitle.tarteaucitronH3 {
margin-top: 12px!important;
}

.spacer-20 {
height: 20px;
display: block;
}

.display-block {
display: block;
}

.display-none {
display: none;
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,8 @@ tarteaucitron.lang = {
"other": {
"title": "Други",
"details": "Services to display web content."
}
},

"mandatoryTitle": "Mandatory cookies",
"mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated."
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/*global tarteaucitron */
tarteaucitron.lang = {
"middleBarHead": "☝ 🍪",
"adblock": "Hola! Aquest lloc web és transparent i et dóna l'opció d'activar els serveis de tercers",
"adblock_call": "Si us plau desactiva la teva AdBlocker per començar a personalitzar els serveis.",
"reload": "Recarrega aquesta pàgina",

"alertBigScroll": "Al continuar desplaçant,",
"alertBigClick": "Si continues navegant en aquest lloc web,",
"alertBig": "estàs permetent serveis tercers",

"alertBigPrivacy": "Aquest lloc web fa servir galetes i et permet controlar les que vols activar",
"alertSmall": "Gestionar serveis",
"personalize": "Personalitzar",
"acceptAll": "OK, acceptar totes",
"close": "Tancar",

"privacyUrl": "Política de privacitat",

"all": "Ajustaments per a tots els serveis",

"info": "Protegint la teva privacitat",
"disclaimer": "Acceptant aquests serveis de tercers, estàs acceptant les seves galetes i l'ús de tecnologies de rastreig necessàries per al seu correcte funcionament.",
"allow": "Permetre",
"deny": "Denegar",
"noCookie": "Aquest servei no fa servir galetes.",
"useCookie": "Aquest servei pot instal·lar",
"useCookieCurrent": "Aquest servei ha instal·lat",
"useNoCookie": "Aquest servei no ha instal·lat cap galeta.",
"more": "Llegir més",
"source": "Veure lloc web oficial",
"credit": "Gestor de galetes realitzat per tarteaucitron.js",

"toggleInfoBox": "Mostra / oculta la informació sobre emmagatzematge de galetes",
"title": "Panell de gestió de galetes",
"cookieDetail": "Detalls de les galetes per a",
"ourSite": "en la nostra web",
"newWindow": "(finestra nova)",
"allowAll": "Permet totes les galetes",
"denyAll": "Denega totes les galetes",

"fallback": "està deshabilitat.",

"ads": {
"title": "Xarxa de publicitat",
"details": "Les xarxes publicitàries poden generar ingressos mitjançant la venda d'espais publicitaris en el lloc."
},
"analytic": {
"title": "Mesura d'audiència",
"details": "Els serveis de mesurament d'audiència s'usen per generar estadístiques útils per millorar el lloc."
},
"social": {
"title": "Xarxes socials",
"details": "Les xarxes socials poden augmentar la usabilitat del lloc web i ajudar a promoure-ho a través de la contribució."
},
"video": {
"title": "Videos",
"details": "Els serveis per compartir vídeos ajuden a afegir contingut enriquit en el lloc web i augmentar la seva visibilitat."
},
"comment": {
"title": "Comentaris",
"details": "El gestor de comentaris facilita la classificació de comentaris i lluitar contra robots de correu."
},
"support": {
"title": "Suport",
"details": "Els serveis de suport et permeten contactar amb el lloc web i ajudar a millorar-lo"
},
"api": {
"title": "APIs",
"details": "Les APIs s'utilitzen per carregar scripts: geolocalització, motor de cerca, traduccions, ..."
},
"other": {
"title": "Altres",
"details": "Serveis per mostrar contingut web."
},

"mandatoryTitle": "Galetes obligatòries",
"mandatoryText": "Aquest lloc utilitza galetes necessàries per al seu correcte funcionament que no es poden desactivar (cookies tècniques)."
};
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,8 @@ tarteaucitron.lang = {
"other": {
"title": "其他",
"details": "旨在显示网页内容的服务。"
}
},

"mandatoryTitle": "Mandatory cookies",
"mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated."
};
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,8 @@ tarteaucitron.lang = {
"other": {
"title": "Jiný",
"details": "Služby pro zobrazení webového obsahu."
}
},

"mandatoryTitle": "Mandatory cookies",
"mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated."
};
Loading

0 comments on commit 9e2fe96

Please sign in to comment.