move from tff to woff and fix IE8
This commit is contained in:
parent
0ec3f1dd2d
commit
d1176f546a
|
@ -10,6 +10,11 @@ select {
|
|||
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:hover, .delete-icon:focus {
|
||||
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 #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 */
|
||||
|
@ -84,3 +89,4 @@ select {
|
|||
width: 271px;
|
||||
left: 6px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: 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-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
src: url(../fonts/OpenSans-Bold.ttf);
|
||||
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../fonts/OpenSans-Bold.woff) format('woff');
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue