Changeset 2392952
- Timestamp:
- 10/03/2020 06:18:10 PM (6 years ago)
- Location:
- better-gdpr/trunk
- Files:
-
- 2 edited
-
better-gdpr.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
better-gdpr/trunk/better-gdpr.php
r2387302 r2392952 12 12 * Plugin URI: https://paranoidguy.com 13 13 * Description: GDPR & Cookie Consent plugin built by ParanoidGuy.com team. 14 * Version: 0.2. 014 * Version: 0.2.1 15 15 * Author: Yuli Stremovsky 16 16 * Author URI: https://paranoidguy.com/about-us … … 397 397 if (banner) { 398 398 banner.style.visibility = "visible"; 399 var obj = document.getElementById(' PopupMessage');399 var obj = document.getElementById('bettergdpr_popup_message'); 400 400 if (obj) { 401 401 obj.innerHTML = popupConf.PopupMessage; … … 501 501 bettergdpr_load_settings(); 502 502 </script> 503 <style> 504 #bettergdpr_cookie_banner { 505 background-color:rgba(71,81,84,.95);box-shadow: 0 -8px 20px 0 rgba(0,0,0,.2);width:100%;margin:0 auto;padding:5px;font-size: 1em;color: #6d6d6d;bottom:0px;position:fixed;left: 0px;opacity:0.9;filter:alpha(opacity=80);height:auto;max-height:500px;z-index:9999999999;overflow:hidden; 506 } 507 #bettergdpr_popup_message {float:left;color:#fff;width: calc(100% - 200px);padding:10px;} 508 #bettergdpr_popup_buttons {float:left;width:200px;margin:0 auto;text-align:center;vertical-align: middle;padding-top:15px;} 509 #bettergdpr_cookie_banner #bettergdpr_agree_btn {text-decoration:none;font-weight: 400;text-transform: uppercase;cursor: pointer;background-color: #2eb8ff;min-width: 150px;min-height: 33px;margin: 0;padding: .5rem 1rem;font-size: 1.3rem;color: #fff;border: none;border-radius: 3px;outline: none;} 510 #bettergdpr_cookie_banner #bettergdpr_req_btn {text-decoration:none;font-weight: 400;text-transform: uppercase;background-color:transparent;cursor: pointer;min-width: 150px;min-height: 30px;margin: 5px 0 0 0;padding: .5rem 1rem;font-size: 1.1rem;color: #fff;border: 1px solid #fff;border-radius: 3px;outline: none;} 511 @media only screen and (min-width:769px){ 512 #bettergdpr_cookie_banner {max-width:70%; border-top-right-radius: 5px;} 513 } 514 @media only screen and (max-width:500px){ 515 #bettergdpr_popup_message {width: 100%; padding:5px;} 516 #bettergdpr_popup_buttons {padding:0px 0px 10px 0px; width: 100%;} 517 #bettergdpr_popup_buttons #bettergdpr_agree_btn { margin-right: 10px; } 518 } 519 </style> 503 520 <div id="bettergdpr_settings_popup" style="background: rgba(0, 0, 0, 0.7);position: fixed;top: 0;right: 0;bottom: 0;left: 0;z-index:999999999; display:none;"> 504 521 <div style="position:absolute; top:20px; right:20px; background: transparent;cursor: pointer;color:#fff;font-family: 'Helvetica', 'Arial', sans-serif;font-size: 2em;font-weight: 400;text-align: center;width: 40px;height: 40px;border-radius: 5px;margin: 0 auto;" onclick="bettergdpr_close_cookie_settings_popup()">X</div> … … 517 534 </div> 518 535 </div> 519 <div id="bettergdpr_cookie_banner" style="visibility:hidden; background-color:rgba(71,81,84,.95);box-shadow: 0 -8px 20px 0 rgba(0,0,0,.2);width:100%;margin:0 auto;padding:5px;font-size: 1em;color: #6d6d6d;bottom:0px;position:fixed;left: 0px;opacity:0.9;filter:alpha(opacity=80);height:auto;max-height:500px;z-index:9999999999;overflow:hidden;">520 <div id='PopupMessage' style="float:left;color:#fff;width: calc(100% - 200px);padding:10px;"></div>521 <div style="float:left;width:200px;margin:0 auto;text-align:center;vertical-align: middle;padding-top:15px;">522 <button style="text-decoration:none;font-weight: 400;text-transform: uppercase;cursor: pointer;background-color: #2eb8ff;min-width: 160px;min-height: 33px;margin: 0;padding: .5rem 1rem;font-size: 1.3rem;color: #fff;border: none;border-radius: 3px;outline: none;"onclick='bettergdpr_allow_all_cookies();'>I agree <span style="font-weight: 700;style:inline-block;height:25px;">✓</span></button>523 <button style="text-decoration:none;font-weight: 400;text-transform: uppercase;background-color:transparent;cursor: pointer;min-width: 160px;min-height: 30px;margin: 5px 0 0 0;padding: .5rem 1rem;font-size: 1.1rem;color: #fff;border: 1px solid #fff;border-radius: 3px;outline: none;"onclick='bettergdpr_allow_required_cookies();'>Required only</button>536 <div id="bettergdpr_cookie_banner" style="visibility:hidden;"> 537 <div id='bettergdpr_popup_message'></div> 538 <div id='bettergdpr_popup_buttons'> 539 <button id='bettergdpr_agree_btn' onclick='bettergdpr_allow_all_cookies();'>I agree <span style="font-weight: 700;style:inline-block;height:25px;">✓</span></button> 540 <button id='bettergdpr_req_btn' onclick='bettergdpr_allow_required_cookies();'>Required only</button> 524 541 <div style="display:block;padding:0;margin:0;"><u style="color:#fff;font-weight: 400;background-color:transparent;cursor: pointer;font-size:1rem;" onclick="bettergdpr_show_cookie_settings_popup();">Customize settings</u></div> 525 542 </div> -
better-gdpr/trunk/readme.txt
r2379001 r2392952 79 79 * Initial product release. 80 80 81 = 0.2.1 = 82 * Automatically change banner position. 83 84 81 85 == Upgrade Notice == 82 86
Note: See TracChangeset
for help on using the changeset viewer.