/usr/lib/python3/dist-packages/odoo/addons/web/static/src/less/fonts.less
// ------------------------------------------------------------------
// Lato
// ------------------------------------------------------------------
@lato-font-path: '../fonts/lato';
.lato-font(@type, @weight, @style) {
@font-face {
font-family: 'Lato';
src: url('@{lato-font-path}/Lato-@{type}-webfont.eot');
src: url('@{lato-font-path}/Lato-@{type}-webfont.eot?#iefix') format('embedded-opentype'),
url('@{lato-font-path}/Lato-@{type}-webfont.woff') format('woff'),
url('@{lato-font-path}/Lato-@{type}-webfont.ttf') format('truetype'),
url('@{lato-font-path}/Lato-@{type}-webfont.svg#Lato') format('svg');
font-weight: @weight;
font-style: @style;
}
@font-face {
font-family: 'Lato-@{type}';
src: url('@{lato-font-path}/Lato-@{type}-webfont.eot');
src: url('@{lato-font-path}/Lato-@{type}-webfont.eot?#iefix') format('embedded-opentype'),
url('@{lato-font-path}/Lato-@{type}-webfont.woff') format('woff'),
url('@{lato-font-path}/Lato-@{type}-webfont.ttf') format('truetype'),
url('@{lato-font-path}/Lato-@{type}-webfont.svg#Roboto') format('svg');
}
}
.lato-font-pair(@type, @weight) {
.lato-font('@{type}', @weight, normal);
.lato-font('@{type}Ita', @weight, italic);
}
.arial-font(@type, @weight, @style) {
@font-face {
font-family: "ArialRegular";
src: url("../fonts/ArialRegular/ArialRegular.eot");
src: url("../fonts/ArialRegular/ArialRegular.eot?#iefix")format("embedded-opentype"),
url("../fonts/ArialRegular/ArialRegular.woff") format("woff"),
url("../fonts/ArialRegular/ArialRegular.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "ArialBold";
src: url("../fonts/ArialBold/ArialBold.eot");
src: url("../fonts/ArialBold/ArialBold.eot?#iefix")format("embedded-opentype"),
url("../fonts/ArialBold/ArialBold.woff") format("woff"),
url("../fonts/ArialBold/ArialBold.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "ArialItalic";
src: url("../fonts/ArialItalic/ArialItalic.eot");
src: url("../fonts/ArialItalic/ArialItalic.eot?#iefix")format("embedded-opentype"),
url("../fonts/ArialItalic/ArialItalic.woff") format("woff"),
url("../fonts/ArialItalic/ArialItalic.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "ArialBlack";
src: url("../fonts/ArialBlack/ArialBlack.eot");
src: url("../fonts/ArialBlack/ArialBlack.eot?#iefix")format("embedded-opentype"),
url("../fonts/ArialBlack/ArialBlack.woff") format("woff"),
url("../fonts/ArialBlack/ArialBlack.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "ArialBoldItalic";
src: url("../fonts/ArialBoldItalic/ArialBoldItalic.eot");