Bug 30952: Add Poppins font assets
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
f43558f539
commit
9d62047e62
11 changed files with 38 additions and 4 deletions
BIN
koha-tmpl/intranet-tmpl/prog/css/fonts/poppins-bold-webfont.woff
Normal file
BIN
koha-tmpl/intranet-tmpl/prog/css/fonts/poppins-bold-webfont.woff
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
35
koha-tmpl/intranet-tmpl/prog/css/src/_fonts.scss
Normal file
35
koha-tmpl/intranet-tmpl/prog/css/src/_fonts.scss
Normal file
|
@ -0,0 +1,35 @@
|
|||
@font-face {
|
||||
font-family: "poppins";
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
src: local("Poppins-Italic"),
|
||||
url("fonts/poppins-italic-webfont.woff2") format("woff2"),
|
||||
url("fonts/poppins-italic-webfont.woff") format("woff");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "poppins";
|
||||
font-style: 700;
|
||||
font-weight: italic;
|
||||
src: local("Poppins-BoldItalic"),
|
||||
url("fonts/poppins-bolditalic-webfont.woff2") format("woff2"),
|
||||
url("fonts/poppins-bolditalic-webfont.woff") format("woff");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "poppins";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local("Poppins-Regular"),
|
||||
url("fonts/poppins-regular-webfont.woff2") format("woff2"),
|
||||
url("fonts/poppins-regular-webfont.woff") format("woff");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "poppins";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local("Poppins-Bold"),
|
||||
url("fonts/poppins-bold-webfont.woff2") format("woff2"),
|
||||
url("fonts/poppins-bold-webfont.woff") format("woff");
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
$font-main: Arial, Verdana, Helvetica, sans-serif;
|
||||
$font-monospace: "Courier New", Courier, monospace;
|
||||
|
||||
$language-footer-min-height: 20px;
|
||||
$table-border-color: #BCBCBC;
|
||||
$table-header-background: #E8E8E8;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
@import "mixins";
|
||||
@import "tables";
|
||||
@import "flatpickr";
|
||||
@import "fonts";
|
||||
|
||||
::selection {
|
||||
background: #538200;
|
||||
|
@ -274,7 +275,7 @@ main {
|
|||
}
|
||||
|
||||
body {
|
||||
font-family: $font-main;
|
||||
font-family: "poppins", "Arial", "sans-serif";
|
||||
font-size: 13px;
|
||||
line-height: 1.22;
|
||||
padding: 0 0 4em;
|
||||
|
@ -546,7 +547,6 @@ ul {
|
|||
padding-left: 0;
|
||||
|
||||
button {
|
||||
font-family: $font-main;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
|
@ -3213,7 +3213,6 @@ nav {
|
|||
button,
|
||||
.btn {
|
||||
border-color: #ADADAD #ADADAD #949494;
|
||||
font-family: $font-main;
|
||||
|
||||
&.btn-link {
|
||||
border: 0;
|
||||
|
|
Loading…
Reference in a new issue