Updated icon for iOS

This commit is contained in:
ポール ウェッブ 2019-03-19 10:51:41 -05:00
parent 9bc6c43b89
commit 5f99714ca4
2 changed files with 9 additions and 4 deletions

View file

@ -11,8 +11,9 @@ class OS
OS_OSX = 'osx', OS_OSX = 'osx',
OS_WINDOWS = 'windows'; OS_WINDOWS = 'windows';
public static function OS_DETAIL($os) { public static function OS_DETAIL($os)
switch($os) { {
switch ($os) {
case 'android': case 'android':
return [ return [
'/android', '/android',
@ -30,7 +31,7 @@ class OS
'icon-mobile', 'icon-mobile',
false, false,
false, false,
"<span class='icon-mobile icon-fw'></span> iOS" "<span class='icon-ios icon-fw'></span> iOS"
]; ];
case 'linux': case 'linux':
@ -74,7 +75,7 @@ class OS
OS::OS_OSX => ['/osx', 'macOS', 'icon-apple', __("Download for macOS"), "OSX"], OS::OS_OSX => ['/osx', 'macOS', 'icon-apple', __("Download for macOS"), "OSX"],
OS::OS_LINUX => ['/linux', 'Linux', 'icon-linux', __("Download .deb"), "Linux"], OS::OS_LINUX => ['/linux', 'Linux', 'icon-linux', __("Download .deb"), "Linux"],
OS::OS_ANDROID => ['/android', 'Android', 'icon-android', false, false], 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]
]; ];
} }

View file

@ -69,6 +69,10 @@
content: "\f09b"; content: "\f09b";
} }
.icon-ios::before {
content: "\f370";
}
.icon-linux::before { .icon-linux::before {
content: "\f17c"; content: "\f17c";
} }