From 297ad4891ea47f08cde186cc3d2e53ceb1caf3d1 Mon Sep 17 00:00:00 2001 From: Luka Stocker Date: Wed, 20 Nov 2024 10:31:33 +0100 Subject: [PATCH] CSS/Maps: 42840, restore missing styling for OpenLayersMap and adjust references to the pointer. Include a the new icon namend "icon_mapm.svg" (to be found in "components/ILIAS/UI/resources/images/standard") for maps because the original icon still was a PNG file. This was decided by the Iconset Task Fource on the 2th of december 2024. The icons "mm_20_blue.png" and "mm_20_shadow.png" were deleted as they are not needed anymore. https://mantis.ilias.de/view.php?id=42840 --- .../Maps/classes/class.ilOpenLayersMapGUI.php | 20 +- components/ILIAS/Maps/images/mm_20_blue.png | Bin 558 -> 0 bytes components/ILIAS/Maps/images/mm_20_shadow.png | Bin 436 -> 0 bytes .../ILIAS/Maps/js/src/ServiceOpenLayers.js | 2 +- .../ILIAS/Maps/resources/ServiceOpenLayers.js | 2 +- .../Maps/templates/default/tpl.google_map.js | 9 +- .../resources/images/standard/icon_mapm.svg | 1 + templates/default/070-components/_index.scss | 13 +- .../Services/_component_openlayers.scss | 181 ++++++++++++++++++ templates/default/delos.css | 180 +++++++++++++++++ 10 files changed, 389 insertions(+), 19 deletions(-) delete mode 100755 components/ILIAS/Maps/images/mm_20_blue.png delete mode 100755 components/ILIAS/Maps/images/mm_20_shadow.png create mode 100644 components/ILIAS/UI/resources/images/standard/icon_mapm.svg create mode 100644 templates/default/070-components/legacy/Services/_component_openlayers.scss diff --git a/components/ILIAS/Maps/classes/class.ilOpenLayersMapGUI.php b/components/ILIAS/Maps/classes/class.ilOpenLayersMapGUI.php index 5d8a753a43b3..108830f5f3f8 100755 --- a/components/ILIAS/Maps/classes/class.ilOpenLayersMapGUI.php +++ b/components/ILIAS/Maps/classes/class.ilOpenLayersMapGUI.php @@ -1,8 +1,23 @@ - Extended GPL, see LICENSE */ +declare(strict_types=1); /** * User interface class for OpenLayers maps @@ -61,7 +76,6 @@ public function getHtml(): string ); $this->lng->loadLanguageModule("maps"); - $this->tpl->addCss("public/node_modules/ol/ol.css"); $this->tpl->addCss("components/ILIAS/Maps/css/service_openlayers.css"); $this->tpl->addJavaScript("assets/js/ServiceOpenLayers.js"); diff --git a/components/ILIAS/Maps/images/mm_20_blue.png b/components/ILIAS/Maps/images/mm_20_blue.png deleted file mode 100755 index 2ec9ae941ad28c4dc50e2715cd92d43a546d8221..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 558 zcmV+}0@3}6P)2?J1P#*A*4ok% zL=ivC|Qc%}lAQD-FSZssb9b|@7gUFWK zJr4r|K@bE77zRMG2q20QsOl)>av4Y_PkS)$#EKuE%_iZ=0Votc6Tghs6!Ul%fw4vk zO^~3ysi_OgXst*t7d12}(A?ZjZW{>pJh*KH=?uGt%b~Xoz#2&c| z$bn!Uc8*vz?P`cIC%9aFrBdSYT?mJlX@4DAt<~ER-L%*H#C<-U+wCnh3M!s`_f#c_ z7K?Awj5&bHGfSDJ_+Jw|lq8kQawnZ0E_*(|+LZa=h$X1QROHBd$>L6mwZ>Olnm|4;DXUG(ayirP}YKdNc6z9a9*AWdomxfyu6P1${B zc6O3Vj4^5BN|TnZe{uWb&}5N_{CwpYe|J|{Qj|KOxG52H)Eq5{Eb3!Q^`k>^hnU=i z1(o$o z7KJ^RZNf5qGT;Yz)IecQwzhqh?t@*hNukwQoU|l~t8uK#IAf-JV8?CSgeEIkQ!T@g zrKqfNbaKCKai^cNuFv2GT!M)n9=fcU+sEHMD55pH2QMsxIH8{Wh#B62C-7#%MGwe~ z(kZjdd4B~in4R9|RnI|PS7bbC4RQ_6IqG)Hrtb>f`T-b#GjO6UwamXwmG}r8f@8=| eo4lyL1Q-Blj(5{0o>}z(0000