Skip to content

Commit

Permalink
Remove old IE8 css fix rules
Browse files Browse the repository at this point in the history
  • Loading branch information
orestbida committed Mar 15, 2023
1 parent 158abf1 commit c350c9e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 86 deletions.
2 changes: 1 addition & 1 deletion dist/cookieconsent.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cookieconsent.js

Large diffs are not rendered by default.

84 changes: 1 addition & 83 deletions src/cookieconsent.css
Original file line number Diff line number Diff line change
Expand Up @@ -1314,86 +1314,4 @@ html.force--consent.show--consent body{
.cc_div .cloud #c-bns{
margin-top: 1.625em;
}
}

/* Begin IE fixes */
.cc_div.ie #c-vln{
height: 100%;
padding-top: 5.62em;
}

.cc_div.ie .bar #c-vln{
padding-top: 0;
}

.cc_div.ie #cs{
max-height: 37.5em;
position: relative;
top: 0;
margin-top: -5.625em;
}

.cc_div.ie .bar #cs{
margin-top:0;
max-height: 100%;
}

.cc_div.ie #cm{
border: 1px solid #dee6e9;
}

.cc_div.ie #c-s-in{
top: 0;
}

.cc_div.ie .b-tg{
padding-left: 1em;
margin-bottom: 0.7em;
}

.cc_div.ie .b-tg .c-tgl:checked ~ .c-tg:after{
left: 1.95em;
}

.cc_div.ie #s-bl table{
overflow: auto;
}

.cc_div.ie .b-tg .c-tg{
display: none;
}

.cc_div.ie .b-tg .c-tgl{
position: relative;
display: inline-block;
vertical-align: middle;
margin-bottom: 0.2em;
height: auto;
}

.cc_div.ie #s-cnt .b-bn .b-tl{
padding: 1.3em 6.4em 1.3em 1.4em
}

.cc_div.ie .bar #s-bl td:before{
display: none;
}

.cc_div.ie .bar #s-bl td{
padding: 0.8em 0.625em 0.8em 1.2em;
}

.cc_div.ie .bar #s-bl thead tr{
position: relative;
}

.cc_div.ie .b-tg .t-lb{
filter: alpha(opacity=0);
}

.cc_div.ie #cm-ov,
.cc_div.ie #cs-ov{
filter: alpha(opacity=80);
}

/** END IE FIXES **/
}
2 changes: 1 addition & 1 deletion src/cookieconsent.js
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@
// Fix layout flash
main_container.style.position = "fixed";
main_container.style.zIndex = "2147483647";
main_container.innerHTML = '<!--[if lt IE 9 ]><div id="cc_div" class="cc_div ie"></div><![endif]--><!--[if (gt IE 8)|!(IE)]><!--><div id="cc_div" class="cc_div"></div><!--<![endif]-->'
main_container.innerHTML = '<div id="cc_div" class="cc_div"></div>'
all_modals_container = main_container.children[0];

// Get current language
Expand Down

0 comments on commit c350c9e

Please sign in to comment.