Hi dFactory
Thx for your answer.
Of course, I made these changes on my own sites. But what I suggest is to include these changes to the plugin in order to configure it in a more discreet way… just like Google does it, for example.
Because my belief is that a lot of visitors who come for the first time on a site do not bother turning off that stupid legal and compulsory EU mention on my cookies.
Therefore, I suggest you to add 3 fields:
Important, indispensable
– Height maxi of the container
maybe 3 or 4 sizes (Big, Normal, Small, Very small)
Optional, for fun ??
– % of transparency
– Hover effect Y/N
In order not to loose the modifications on each cookie notice update, and especially to offer them to all cookie notice users.
So frankly speaking, I think you will then have one of the best ? eu cookie law ? plugin.
On the top of that, if you could possibly make an import/export of the configuration, than it would be THE best plugin!
Regards,
GalliumDev
* * *
For example, my front.css, in several sites – Cookie Notice v. 1.2.23
#cookie-notice {
display: none;
position: fixed;
min-width: 100%;
height: auto;
z-index: 100000;
font-size: 12px;
line-height: 18px;
left: 0;
text-align: center;
/* GD 2015/05/18 - ADD: transparency */
opacity: 0.9;
filter: alpha(opacity=90); /* For IE8 and earlier */
}
/* GD 2015/05/18 - ADD: hover no transparency */
#cookie-notice:hover {
opacity: 1.0;
filter: alpha(opacity=100); /* For IE8 and earlier */
}
/* GD 2015/05/18 - ORIGINAL: padding:10px; */
.cookie-notice-container { padding:2px; }
.cn-top {
top: 0;
}
.cn-bottom {
bottom: 0;
}
#cookie-notice .button {
margin-left: 10px;
}
#cookie-notice .button.wp-default {
font-family: sans-serif;
/* GD 2015/05/18 - ORIGINAL: line-height: 18px; */
line-height: 14px;
padding: 2px 12px;
background: linear-gradient(to bottom, #FEFEFE, #F4F4F4) repeat scroll 0 0 #F3F3F3;
border-color: #BBB;
color: #333;
text-shadow: 0 1px 0 #FFF;
-moz-box-sizing: border-box;
border-radius: 3px 3px 3px 3px;
border-style: solid;
border-width: 1px;
cursor: pointer;
display: inline-block;
font-size: 12px;
font-style: normal;
text-decoration: none;
white-space: nowrap;
outline: none;
}
#cookie-notice .button.wp-default:hover, #cookie-notice .button.wp-default:focus {
background: linear-gradient(to bottom, #FFFFFF, #F3F3F3) repeat scroll 0 0 #F3F3F3;
border-color: #999999;
color: #222222;
}
#cookie-notice .button.bootstrap {
font-family: sans-serif;
display: inline-block;
*display: inline;
padding: 4px 12px;
margin-right: 0.3em;
margin-bottom: 0;
*margin-left: .3em;
/* GD 2015/05/18 - ORIGINAL: line-height: 20px; */
line-height: 14px;
color: #333333;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
font-style: normal;
vertical-align: middle;
cursor: pointer;
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #006dcc;
*background-color: #0044cc;
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
background-image: linear-gradient(to bottom, #0088cc, #0044cc);
background-repeat: repeat-x;
border-style: solid;
border-width: 1px;
border-color: #0044cc #0044cc #002a80;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
padding: 2px 10px;
font-size: 12px;
text-decoration: none;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
outline: none;
}
#cookie-notice .button.bootstrap:hover, #cookie-notice .button.bootstrap:focus {
color: #ffffff;
background-color: #0044cc;
*background-color: #003bb3;
background-position: 0 -15px;
-webkit-transition: background-position 0.1s linear;
-moz-transition: background-position 0.1s linear;
-o-transition: background-position 0.1s linear;
transition: background-position 0.1s linear;
}