Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVeit Kunz <git@veit-kunz.de>2016-08-29 04:39:16 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2016-08-29 04:39:16 +0300
commit14100e57e757869337ebc0d9d43b6ac6a772f3b7 (patch)
tree81311c6a2d743c358e9e6cdb43be1e73049fa426 /plugins/CoreHome
parent0c9c30b731ccbacf47e154b9f7a590af49e3d799 (diff)
Add icon for pinned tabs in Safari (#10385)
* Add icon for pinned tabs in Safari * The color of the tab icon was adjusted
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r--plugins/CoreHome/images/applePinnedTab.svg11
-rw-r--r--plugins/CoreHome/templates/_applePinnedTabIcon.twig4
2 files changed, 15 insertions, 0 deletions
diff --git a/plugins/CoreHome/images/applePinnedTab.svg b/plugins/CoreHome/images/applePinnedTab.svg
new file mode 100644
index 0000000000..8e024a6e6b
--- /dev/null
+++ b/plugins/CoreHome/images/applePinnedTab.svg
@@ -0,0 +1,11 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" version="1.0" viewBox="0 0 16 16">
+
+<g transform="translate(0 500) scale(0.1 -0.1)" fill="#000000" stroke="none">
+
+<path d="M 32.8941 4997.94 c -4.32522 -0.632959 -7.8065 -2.46151 -10.7955 -5.59114 c -1.19559 -1.30108 -2.60217 -3.12963 -3.12963 -4.11424 c -2.14503 -4.00874 -2.03954 0.0703289 -2.03954 -69.0629 c 0 -53.5906 0.0703289 -63.4015 0.527466 -65.019 c 1.72306 -6.54058 7.41969 -12.0262 13.8899 -13.4328 c 2.81315 -0.597795 8.54495 -0.246151 10.9713 0.703288 c 4.53621 1.75822 8.2988 5.20433 10.3383 9.45923 c 1.72306 3.62194 1.89888 5.45048 1.89888 20.747 l 0 14.1361 l 19.6217 0 c 24.0173 0.0351644 27.0414 0.281316 35.2348 2.88348 c 16.5976 5.30983 30.3117 18.8481 35.8677 35.3754 c 2.21536 6.68124 2.60217 9.28341 2.60217 18.0042 c 0 7.45486 -0.0351644 8.15815 -0.984604 12.0966 c -1.23075 5.27466 -2.49667 8.75594 -4.99335 13.6086 c -2.74282 5.34499 -5.66147 9.35374 -10.1625 13.8548 c -9.52956 9.52956 -20.8173 14.7691 -35.0589 16.3163 c -3.90325 0.457138 -60.9048 0.457138 -63.7883 0.0351644 Z m 60.3421 -34.5666 c 6.3296 -1.89888 11.7098 -6.36476 14.3471 -11.8504 c 1.79339 -3.79776 2.32085 -6.08345 2.32085 -10.0219 c -0.0351644 -10.057 -7.24387 -19.1294 -17.1251 -21.4503 c -1.75822 -0.421973 -5.59114 -0.527466 -20.1844 -0.527466 l -18.0393 0 l 0 22.3646 l 0 22.3294 l 18.391 -0.140658 c 15.7537 -0.105493 18.6371 -0.210987 20.2899 -0.703288 Z" transform=""></path>
+</g>
+
+</svg>
diff --git a/plugins/CoreHome/templates/_applePinnedTabIcon.twig b/plugins/CoreHome/templates/_applePinnedTabIcon.twig
new file mode 100644
index 0000000000..55a72c7ef1
--- /dev/null
+++ b/plugins/CoreHome/templates/_applePinnedTabIcon.twig
@@ -0,0 +1,4 @@
+{% if isCustomLogo and customFavicon is defined and customFavicon %}
+{% else %}
+ <link rel="mask-icon" href="plugins/CoreHome/images/applePinnedTab.svg" color="#d4291f">
+{% endif %}