Css alignment

This commit is contained in:
Amauri CHAMPEAUX 2015-03-11 02:00:27 +01:00
parent 54d9157049
commit 47f54f6034
2 changed files with 10 additions and 7 deletions

View File

@ -371,7 +371,7 @@
cursor: pointer;
display: inline-block;
font-size: 11px !important;
padding: 8px 10px 5px;
padding: 8px 10px 8px;
}
#tarteaucitronAlertSmall #tarteaucitronManager:hover {
@ -381,8 +381,9 @@
#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot {
background-color: gray;
border-radius: 5px;
display: inline-block;
display: block;
height: 8px;
margin-bottom: 1px;
margin-top: 5px;
overflow: hidden;
width: 100%;
@ -414,8 +415,9 @@
color: #fff;
cursor: pointer;
display: inline-block;
font-size: 34px;
padding: 3px 10px 0;
font-size: 30px;
padding: 4px 10px;
vertical-align: bottom;
}
#tarteaucitronAlertSmall #tarteaucitronCookiesNumber:hover {

View File

@ -10,7 +10,7 @@ var scripts = document.getElementsByTagName('script'),
tarteaucitronNoAdBlocker = false;
var tarteaucitron = {
"version": 202,
"version": 202.01,
"cdn": cdn,
"user": {},
"lang": {},
@ -748,7 +748,7 @@ var tarteaucitron = {
}
if (document.getElementById('tarteaucitronMainLineOffset') !== null) {
if (document.getElementById('tarteaucitron').offsetHeight < (windowInnerHeight / 3)) {
if (document.getElementById('tarteaucitron').offsetHeight < (windowInnerHeight / 2)) {
mainTop -= document.getElementById('tarteaucitronMainLineOffset').offsetHeight;
}
}
@ -899,7 +899,8 @@ var tarteaucitron = {
s = (nb > 1) ? 's' : '',
savedname,
regex = /^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i,
host = (tarteaucitron.domain !== undefined) ? tarteaucitron.domain : tarteaucitron.cdn.match(regex)[1];
regexedDomain = (tarteaucitron.cdn.match(regex) !== null) ? tarteaucitron.cdn.match(regex)[1] : tarteaucitron.cdn,
host = (tarteaucitron.domain !== undefined) ? tarteaucitron.domain : regexedDomain;
cookies = cookies.sort(function (a, b) {
namea = a.split('=', 1).toString().replace(/ /g, '');