diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-brands-400.woff2 b/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-brands-400.woff2 new file mode 100644 index 0000000000..e8bd881bb9 Binary files /dev/null and b/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-brands-400.woff2 differ diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-regular-400.woff2 b/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-regular-400.woff2 new file mode 100644 index 0000000000..344b101afd Binary files /dev/null and b/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-regular-400.woff2 differ diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-solid-900.woff2 b/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-solid-900.woff2 new file mode 100644 index 0000000000..ea09c935a9 Binary files /dev/null and b/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-solid-900.woff2 differ diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-v4compatibility.woff2 b/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-v4compatibility.woff2 new file mode 100644 index 0000000000..9ea71671c2 Binary files /dev/null and b/koha-tmpl/opac-tmpl/bootstrap/css/fonts/fa-v4compatibility.woff2 differ diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss index 8ada953271..fa96fa2184 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss @@ -1,3 +1,12 @@ +@use "~@fortawesome/fontawesome-free/scss/variables" with ( + // customizing $font-path + $font-path: "./fonts" +); +@use "~@fortawesome/fontawesome-free/scss/fontawesome"; +@use "~@fortawesome/fontawesome-free/scss/fa" as fa; +@use "~@fortawesome/fontawesome-free/scss/solid" as fa-solid; +@use "~@fortawesome/fontawesome-free/scss/brands" as fa-brands; + /* Bootstrap variable customizations */ :root { @@ -357,7 +366,7 @@ textarea, &::before { color: #4466AE; display: inline-block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; padding-right: .5em; } @@ -423,7 +432,7 @@ div.dt-button-collection button.dt-button.buttons-columnVisibility::before { color: #C00; content: "\f00d"; display: inline-block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; margin-right: .5em; width: 1em; } @@ -438,7 +447,7 @@ div.dt-button-collection button.dt-button.buttons-columnVisibility:hover::before color: #538200; content: "\f00c"; display: inline-block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; margin-right: .5em; width: 1em; } @@ -462,7 +471,7 @@ div.dt-button-collection button.dt-button.buttons-columnVisibility.active:hover: color: #C00; content: "\f00d"; display: inline-block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; margin-right: .5em; width: 1em; } @@ -476,7 +485,7 @@ div.dt-button-collection button.dt-button.buttons-columnVisibility.active::befor color: $base-theme-color; content: "\f00c"; display: inline-block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; margin-right: .5em; width: 1em; } @@ -500,7 +509,7 @@ div.dt-button-collection button.dt-button.buttons-print:hover { div.dt-button-collection button.dt-button.buttons-html5:not( .disabled )::before { color: #222BAC; display: inline-block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; margin-right: .5em; width: 1em; } @@ -521,7 +530,7 @@ div.dt-button-collection button.dt-button.buttons-print:not( .disabled )::before color: #222BAC; content: "\f02f"; display: inline-block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; margin-right: .5em; width: 1em; } @@ -664,7 +673,7 @@ div.dt-container .dt-length { &::before, &::after { display: inline-block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; width: 1em; } } @@ -879,7 +888,7 @@ table { &.dt-orderable-desc span.dt-column-order::after, &.dt-ordering-desc span.dt-column-order::after { display: block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; font-size: 1rem; line-height: .5rem; } diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss index 04a84b1893..6dca55ca50 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss @@ -381,7 +381,7 @@ &::before { content: "\f0da"; display: inline-block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; width: 1em; } } @@ -407,7 +407,7 @@ &::before { content: "\f0d7"; display: inline-block; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; width: 1em; } } diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index 4c73efaefc..abd924e9f4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -496,6 +496,7 @@ th { margin: 0 2px; padding: 2px 4px; text-shadow: 1px 0 1px rgba( 0, 0, 0, .25 ); + width: 1.6em; &.rsssearchicon { font-size: 70%; @@ -1906,7 +1907,7 @@ nav { .facet-toggle::before { color: #5A5A5A; content: "\f0da"; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; font-size: 90%; line-height: 1.5em; padding: 0 0.35em 0 0; @@ -1923,7 +1924,7 @@ nav { color: #5A5A5A; content: "\f0c8"; cursor: default; - font-family: "Font Awesome 6 Free"; + font-family: "Font Awesome 7 Free"; font-size: 50%; line-height: 1.5em; padding: .7em 1em 0 0; @@ -2715,7 +2716,7 @@ $star-selected: #EDB867; white-space: nowrap; span,a { - font: normal normal normal 20px/1 "Font Awesome 6 Free"; + font: normal normal normal 20px/1 "Font Awesome 7 Free"; -webkit-font-smoothing: antialiased; margin-right: 2px; text-decoration: none; diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc index dca3efb55f..f5f66dba57 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc @@ -4,7 +4,7 @@ [% IF ( ACCOUNT_LINES ) %]
| [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc index 03ae9407b5..860b692e21 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc @@ -85,8 +85,5 @@ [% Asset.js('js/i18n.js') | $raw %] [% Asset.js('js/stores.js') | $raw %] -[% Asset.css("lib/fontawesome/css/fontawesome.min.css") | $raw %] -[% Asset.css("lib/fontawesome/css/brands.min.css") | $raw %] -[% Asset.css("lib/fontawesome/css/solid.min.css") | $raw %] [% PROCESS 'html_helpers.inc' %] [% KohaPlugins.get_plugins_opac_head | $raw %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc index 71e859a48b..bfdcf804d4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc @@ -7,7 +7,7 @@ [%- IF ( starting_location ) %]Shelving location: [%- starting_location | html -%][% END -%] [%- IF ( starting_homebranch && starting_ccode ) %],[% END %] [%- IF ( starting_ccode ) %]Collection: [%- starting_ccode | html -%][% END -%] - Close shelf browser (Hides shelf browser) + Close shelf browser (Hides shelf browser) |
|---|