icon fixes, loading optimizations

This commit is contained in:
Dennis Eichhorn 2023-10-20 13:08:56 +00:00
parent 3e257d3555
commit 309079e582
4 changed files with 6 additions and 7 deletions

View File

@ -370,12 +370,11 @@ final class Application
private function initResponseHead(Head $head, HttpRequest $request, HttpResponse $response) : void
{
/* Load assets */
$head->addAsset(AssetType::CSS, 'Resources/fonts/fontawesome/css/font-awesome.min.css');
$head->addAsset(AssetType::CSS, 'cssOMS/styles.css?v=1.0.0');
$head->addAsset(AssetType::CSS, '//fonts.googleapis.com/css?family=Roboto:100,300,300i,400,700,900');
$head->addAsset(AssetType::CSS, 'Resources/fonts/googleicons/styles.css', ['defer']);
$head->addAsset(AssetType::CSS, 'cssOMS/styles.css?v=1.0.0', ['defer']);
$head->addAsset(AssetType::CSS, 'Web/{APPNAME}/css/frontend.css?v=1.0.0', ['defer']);
// Framework
$head->addAsset(AssetType::JS, 'jsOMS/Utils/oLib.js?v=1.0.0');
$head->addAsset(AssetType::JS, 'jsOMS/UnhandledException.js?v=1.0.0');
$head->addAsset(AssetType::JS, 'Web/Timerecording/js/timerecording.js?v=1.0.0', ['type' => 'module']);
$head->addAsset(AssetType::JSLATE, 'Modules/Navigation/Controller.js?v=1.0.0', ['type' => 'module']);

View File

@ -24,7 +24,7 @@
--nav-header-background-highlight: rgb(94, 52, 133);
--nav-header-background-hover: rgb(116, 67, 161);
--nav-content-hover: rgb(177, 97, 218);
--font-family: 'Roboto', sans-serif;
--font-family: 'Arial', Helvetica, sans-serif;
--button-colored-background: rgb(158, 81, 197);
--button-colored-background-hover: rgb(177, 97, 218);
--table-caption-background: rgb(255, 255, 255);

View File

@ -20,5 +20,5 @@
--nav-header-background: rgb(72, 39, 102);
--nav-header-background-highlight: rgb(94, 52, 133);
--nav-header-background-hover: rgb(116, 67, 161);
--font-family: 'Roboto', sans-serif;
--font-family: 'Arial', Helvetica, sans-serif;
--box-border-color: rgb(202, 202, 202); }

View File

@ -33,7 +33,7 @@
--nav-content-hover: rgb(177, 97, 218);
--font-family: 'Roboto', sans-serif;
--font-family: 'Arial', Helvetica, sans-serif;
--button-colored-background: rgb(158, 81, 197);
--button-colored-background-hover: rgb(177, 97, 218);