General normalization on LESS files
This commit is contained in:
parent
5e1e4f9eb5
commit
01633e9d9e
14 changed files with 741 additions and 196 deletions
|
@ -9,29 +9,36 @@
|
|||
@em: @h1-size * 10 / @base-font-size;
|
||||
font-size: unit(round(@em,2), em);
|
||||
}
|
||||
|
||||
.ie678 h2, .ie678 .h2-like {
|
||||
@em: @h2-size * 10 / @base-font-size;
|
||||
font-size: unit(round(@em,2), em);
|
||||
}
|
||||
|
||||
.ie678 h3, .ie678 .h3-like {
|
||||
@em: @h3-size * 10 / @base-font-size;
|
||||
font-size: unit(round(@em,2), em);
|
||||
}
|
||||
|
||||
.ie678 h4, .ie678 .h4-like {
|
||||
@em: @h4-size * 10 / @base-font-size;
|
||||
font-size: unit(round(@em,2), em);
|
||||
}
|
||||
|
||||
.ie678 h5, .ie678 .h5-like {
|
||||
@em: @h5-size * 10 / @base-font-size;
|
||||
font-size: unit(round(@em,2), em);
|
||||
}
|
||||
|
||||
.ie678 h6, .ie678 .h6-like {
|
||||
@em: @h6-size * 10 / @base-font-size;
|
||||
font-size: unit(round(@em,2), em);
|
||||
}
|
||||
|
||||
.ie678 img {
|
||||
width: auto; /* @bugfix for IE8 */
|
||||
}
|
||||
|
||||
.ie678 .gm-style img {
|
||||
height: 100%;
|
||||
}
|
||||
|
@ -44,6 +51,7 @@
|
|||
.col {
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
/* inline-block and table-cell for IE6/IE7 */
|
||||
/* warning: .col needs width on IE6/IE7 */
|
||||
.btn,
|
||||
|
@ -52,6 +60,7 @@
|
|||
*display: inline;
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.visually-hidden {
|
||||
*clip: rect(1px 1px 1px 1px);
|
||||
}
|
||||
|
@ -62,6 +71,7 @@
|
|||
letter-spacing: -0.31em;
|
||||
text-rendering: optimizespeed;
|
||||
}
|
||||
|
||||
.ie8 .grid > * > *,
|
||||
.ie8 [class*="autogrid"] > * > *{
|
||||
letter-spacing: normal;
|
||||
|
@ -77,12 +87,15 @@
|
|||
}
|
||||
|
||||
/* forms */
|
||||
/* Corrects excess space around these inputs in IE8/9 */
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
padding: 0; /* Corrects excess space around these inputs in IE8/9 */
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */
|
||||
textarea {
|
||||
overflow: auto; /* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* Active box-sizing for IE6/IE7 */
|
||||
|
@ -92,4 +105,4 @@
|
|||
behavior: url(/lib/box-sizing-polyfill/boxsizing.htc);
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue