From 5f99714ca4ecd74b5653823490bee5dc8e43210a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=AB=20=E3=82=A6=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=96?= Date: Tue, 19 Mar 2019 10:51:41 -0500 Subject: [PATCH] Updated icon for iOS --- lib/tools/OS.class.php | 9 +++++---- web/scss/components/_icons.scss | 4 ++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/tools/OS.class.php b/lib/tools/OS.class.php index b9603bae..44f1b01d 100644 --- a/lib/tools/OS.class.php +++ b/lib/tools/OS.class.php @@ -11,8 +11,9 @@ class OS OS_OSX = 'osx', OS_WINDOWS = 'windows'; - public static function OS_DETAIL($os) { - switch($os) { + public static function OS_DETAIL($os) + { + switch ($os) { case 'android': return [ '/android', @@ -30,7 +31,7 @@ class OS 'icon-mobile', false, false, - " iOS" + " iOS" ]; case 'linux': @@ -74,7 +75,7 @@ class OS OS::OS_OSX => ['/osx', 'macOS', 'icon-apple', __("Download for macOS"), "OSX"], OS::OS_LINUX => ['/linux', 'Linux', 'icon-linux', __("Download .deb"), "Linux"], OS::OS_ANDROID => ['/android', 'Android', 'icon-android', false, false], - OS::OS_IOS => ['/ios', 'iOS', 'icon-mobile', false, false] + OS::OS_IOS => ['/ios', 'iOS', 'icon-ios', false, false] ]; } diff --git a/web/scss/components/_icons.scss b/web/scss/components/_icons.scss index bdbe7ba8..91678cdb 100644 --- a/web/scss/components/_icons.scss +++ b/web/scss/components/_icons.scss @@ -69,6 +69,10 @@ content: "\f09b"; } +.icon-ios::before { + content: "\f370"; +} + .icon-linux::before { content: "\f17c"; }