more booleans for IE fixing

This commit is contained in:
Raphael Goetter 2014-04-20 20:50:43 +02:00
parent 9ebed88d42
commit fd3e153cd9
4 changed files with 15 additions and 13 deletions

View file

@ -1,5 +1,5 @@
/*! /*!
* www.KNACSS.com V2.9.3 (2014-02) @author: Raphael Goetter, Alsacreations * www.KNACSS.com V2.9.4 (2014-04) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/ * Licence WTFPL http://www.wtfpl.net/
*/ */
/* ----------------------------- */ /* ----------------------------- */
@ -153,8 +153,6 @@ strong {
/* hiding content */ /* hiding content */
.visually-hidden { .visually-hidden {
position: absolute !important; position: absolute !important;
clip: rect(1px 1px 1px 1px);
/* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px); clip: rect(1px, 1px, 1px, 1px);
overflow: hidden; overflow: hidden;
height: 1px; height: 1px;
@ -205,10 +203,6 @@ table {
:not(.gm-style) img { :not(.gm-style) img {
height: auto; height: auto;
} }
.ie678 .gm-style img {
height: 100%;
/* IE678 hack */
}
.gm-style img, .gm-style img,
.gmnoscreen img, .gmnoscreen img,
.gmnoprint img { .gmnoprint img {

View file

@ -90,6 +90,9 @@ hr {
width: auto; width: auto;
/* @bugfix for IE8 */ /* @bugfix for IE8 */
} }
.ie678 .gm-style img {
height: 100%;
}
/* hasLayout for IE6/IE7 */ /* hasLayout for IE6/IE7 */
.clearfix, .clearfix,
.line, .line,
@ -106,6 +109,9 @@ hr {
*display: inline; *display: inline;
*zoom: 1; *zoom: 1;
} }
.visually-hidden {
*clip: rect(1px 1px 1px 1px);
}
/* Active box-sizing for IE6/IE7 */ /* Active box-sizing for IE6/IE7 */
/* @source https://github.com/Schepp/box-sizing-polyfill */ /* @source https://github.com/Schepp/box-sizing-polyfill */
/* /*

View file

@ -1,6 +1,6 @@
@import "00-config"; @import "00-config";
/*! /*!
* www.KNACSS.com V2.9.3 (2014-02) @author: Raphael Goetter, Alsacreations * www.KNACSS.com V2.9.4 (2014-04) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/ * Licence WTFPL http://www.wtfpl.net/
*/ */
@ -140,7 +140,6 @@ strong {
/* hiding content */ /* hiding content */
.visually-hidden { .visually-hidden {
position: absolute !important; position: absolute !important;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px); clip: rect(1px, 1px, 1px, 1px);
overflow: hidden; overflow: hidden;
height: 1px; width: 1px; height: 1px; width: 1px;
@ -179,9 +178,6 @@ table { margin-bottom: 1.5em; }
:not(.gm-style) img { :not(.gm-style) img {
height: auto; height: auto;
} }
.ie678 .gm-style img {
height: 100%; /* IE678 hack */
}
.gm-style img, .gm-style img,
.gmnoscreen img, .gmnoscreen img,
.gmnoprint img { .gmnoprint img {

View file

@ -88,7 +88,10 @@
} }
.ie678 img { .ie678 img {
width: auto; /* @bugfix for IE8 */ width: auto; /* @bugfix for IE8 */
} }
.ie678 .gm-style img {
height: 100%;
}
/* hasLayout for IE6/IE7 */ /* hasLayout for IE6/IE7 */
.clearfix, .clearfix,
@ -106,6 +109,9 @@
*display: inline; *display: inline;
*zoom: 1; *zoom: 1;
} }
.visually-hidden {
*clip: rect(1px 1px 1px 1px);
}
/* Active box-sizing for IE6/IE7 */ /* Active box-sizing for IE6/IE7 */
/* @source https://github.com/Schepp/box-sizing-polyfill */ /* @source https://github.com/Schepp/box-sizing-polyfill */