Browse Source

some changes to the cookiebar

redesign
Anxhelo Lushka 7 years ago
parent
commit
11f2a1b1a2
  1. 7
      css/style.css
  2. 2
      js/svg.js

7
css/style.css

@ -1779,7 +1779,7 @@ p.blogauthor {
#cookieConsent { #cookieConsent {
background-color: rgba(20,20,20,0.8); background-color: rgba(20,20,20,0.8);
min-height: 26px; min-height: 26px;
font-size: 14px; font-size: 12px;
color: #ccc; color: #ccc;
line-height: 26px; line-height: 26px;
padding: 8px 0 8px 30px; padding: 8px 0 8px 30px;
@ -1801,7 +1801,6 @@ p.blogauthor {
cursor: pointer; cursor: pointer;
height: 20px; height: 20px;
width: 20px; width: 20px;
margin: -15px 0 0 0;
font-weight: bold; font-weight: bold;
} }
#closeCookieConsent:hover { #closeCookieConsent:hover {
@ -1812,10 +1811,10 @@ p.blogauthor {
color: #000; color: #000;
display: inline-block; display: inline-block;
border-radius: 5px; border-radius: 5px;
padding: 0 20px; padding: 0 10px;
cursor: pointer; cursor: pointer;
float: right; float: right;
margin: 0 60px 0 10px; margin: 0 10px 0 5px;
} }
#cookieConsent a.cookieConsentOK:hover { #cookieConsent a.cookieConsentOK:hover {
background-color: #E0C91F; background-color: #E0C91F;

2
js/svg.js

@ -38,7 +38,7 @@ jQuery('img.svg').each(function(){
$(document).ready(function(){ $(document).ready(function(){
setTimeout(function () { setTimeout(function () {
$("#cookieConsent").fadeIn(200); $("#cookieConsent").fadeIn(200);
}, 4000); }, 2500);
$("#closeCookieConsent, .cookieConsentOK").click(function() { $("#closeCookieConsent, .cookieConsentOK").click(function() {
$("#cookieConsent").fadeOut(200); $("#cookieConsent").fadeOut(200);
}); });

Loading…
Cancel
Save