From 3fa53f908308294c8c8076355ab10b8c00db5967 Mon Sep 17 00:00:00 2001 From: Raphael Goetter Date: Wed, 21 May 2014 18:42:47 +0200 Subject: [PATCH] Minor IE6 IE7 fixes --- css/11-ie.css | 6 +++--- css/knacss.css | 6 +++--- less/11-ie.less | 6 +++--- sass/11-ie.scss | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/css/11-ie.css b/css/11-ie.css index 2d4acbd..548bcc9 100644 --- a/css/11-ie.css +++ b/css/11-ie.css @@ -84,11 +84,11 @@ *zoom: 1; } -input[type="checkbox"], -input[type="radio"] { +.ie678 input[type="checkbox"], +.ie678 input[type="radio"] { padding: 0; } -textarea { +.ie678 textarea { overflow: auto; } \ No newline at end of file diff --git a/css/knacss.css b/css/knacss.css index c9807c6..d9975f2 100644 --- a/css/knacss.css +++ b/css/knacss.css @@ -1519,11 +1519,11 @@ Tutorial: http://knacss.com/demos/tutoriel.html#flex */ *display: inline; *zoom: 1; } -input[type="checkbox"], -input[type="radio"] { +.ie678 input[type="checkbox"], +.ie678 input[type="radio"] { padding: 0; } -textarea { +.ie678 textarea { overflow: auto; } /* ----------------------------- */ diff --git a/less/11-ie.less b/less/11-ie.less index 1facceb..1e68be4 100644 --- a/less/11-ie.less +++ b/less/11-ie.less @@ -97,13 +97,13 @@ /* forms */ /* Corrects excess space around these inputs in IE8/9 */ - input[type="checkbox"], - input[type="radio"] { + .ie678 input[type="checkbox"], + .ie678 input[type="radio"] { padding: 0; } /* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */ - textarea { + .ie678 textarea { overflow: auto; } diff --git a/sass/11-ie.scss b/sass/11-ie.scss index f06219b..dcc1d07 100644 --- a/sass/11-ie.scss +++ b/sass/11-ie.scss @@ -94,13 +94,13 @@ /* forms */ /* Corrects excess space around these inputs in IE8/9 */ - input[type="checkbox"], - input[type="radio"] { + .ie678 input[type="checkbox"], + .ie678 input[type="radio"] { padding: 0; } /* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */ - textarea { + .ie678 textarea { overflow: auto; }