move from tff to woff and fix IE8
This commit is contained in:
parent
0ec3f1dd2d
commit
d1176f546a
|
@ -10,6 +10,11 @@ select {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* reset typeface for IE8 because OpenSans renders too small */
|
||||||
|
.ie body {
|
||||||
|
font-family: Frutiger, Calibri, 'Myriad Pro', Myriad, Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
.lte8 .delete-icon { background-image: url('../img/actions/delete.png'); }
|
.lte8 .delete-icon { background-image: url('../img/actions/delete.png'); }
|
||||||
.lte8 .delete-icon:hover, .delete-icon:focus {
|
.lte8 .delete-icon:hover, .delete-icon:focus {
|
||||||
background-image: url('../img/actions/delete-hover.png');
|
background-image: url('../img/actions/delete-hover.png');
|
||||||
|
@ -76,7 +81,7 @@ select {
|
||||||
|
|
||||||
/* IE8 isn't able to display transparent background. So it is specified using a gradient */
|
/* IE8 isn't able to display transparent background. So it is specified using a gradient */
|
||||||
.ie8 #nojavascript {
|
.ie8 #nojavascript {
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4c320000', endColorstr='#4c320000'); /* IE */
|
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4c320000', endColorstr='#4c320000');
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IE8 doesn't have rounded corners, so the strengthify bar should be wider */
|
/* IE8 doesn't have rounded corners, so the strengthify bar should be wider */
|
||||||
|
@ -84,3 +89,4 @@ select {
|
||||||
width: 271px;
|
width: 271px;
|
||||||
left: 6px;
|
left: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'OpenSans';
|
font-family: 'Open Sans';
|
||||||
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
src: url(../fonts/OpenSans-Regular.ttf);
|
src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans-Regular.woff) format('woff');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'OpenSans';
|
font-family: 'Open Sans';
|
||||||
|
font-style: normal;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
src: url(../fonts/OpenSans-Bold.ttf);
|
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../fonts/OpenSans-Bold.woff) format('woff');
|
||||||
}
|
}
|
|
@ -19,7 +19,7 @@ body {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
font-family: 'OpenSans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
|
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
|
||||||
color: #000;
|
color: #000;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue