Переделал на assetManager, перенес файлы в спец-каталог

master
parent 9499e88bf8
commit 41400d2def
  1. 23
      .gitignore
  2. 26
      README.md
  3. 105
      protected/components/FontAwesomeComponent.php
  4. 5
      public/css/fontawesome/brands.min.css
  5. 5
      public/css/fontawesome/regular.min.css
  6. 5
      public/css/fontawesome/solid.min.css
  7. 4616
      public/fonts/font-awesome-5.15.4/css/all.css
  8. 5
      public/fonts/font-awesome-5.15.4/css/all.min.css
  9. 4
      public/fonts/font-awesome-5.15.4/css/brands.css
  10. 5
      public/fonts/font-awesome-5.15.4/css/brands.min.css
  11. 0
      public/fonts/font-awesome-5.15.4/css/fontawesome.css
  12. 0
      public/fonts/font-awesome-5.15.4/css/fontawesome.min.css
  13. 4
      public/fonts/font-awesome-5.15.4/css/regular.css
  14. 5
      public/fonts/font-awesome-5.15.4/css/regular.min.css
  15. 4
      public/fonts/font-awesome-5.15.4/css/solid.css
  16. 5
      public/fonts/font-awesome-5.15.4/css/solid.min.css
  17. 371
      public/fonts/font-awesome-5.15.4/css/svg-with-js.css
  18. 5
      public/fonts/font-awesome-5.15.4/css/svg-with-js.min.css
  19. 2172
      public/fonts/font-awesome-5.15.4/css/v4-shims.css
  20. 5
      public/fonts/font-awesome-5.15.4/css/v4-shims.min.css
  21. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-brands-400.eot
  22. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-brands-400.svg
  23. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-brands-400.ttf
  24. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-brands-400.woff
  25. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-brands-400.woff2
  26. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-regular-400.eot
  27. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-regular-400.svg
  28. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-regular-400.ttf
  29. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-regular-400.woff
  30. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-regular-400.woff2
  31. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-solid-900.eot
  32. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-solid-900.svg
  33. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-solid-900.ttf
  34. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-solid-900.woff
  35. 0
      public/fonts/font-awesome-5.15.4/webfonts/fa-solid-900.woff2

23
.gitignore vendored

@ -93,6 +93,23 @@ bh_unicode_properties.cache
# https://packagecontrol.io/packages/sublime-github
GitHub.sublime-settings
# ---> VisualStudioCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Workspaces
*.code-workspace
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
# ---> JetBrains
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
@ -104,6 +121,9 @@ GitHub.sublime-settings
.idea/**/dictionaries
.idea/**/shelf
# AWS User-specific
.idea/**/aws.xml
# Generated files
.idea/**/contentModel.xml
@ -154,6 +174,9 @@ atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# SonarLint plugin
.idea/sonarlint/
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties

@ -1,6 +1,6 @@
# yii1-component-fontawesome5
Простой компонент для yii-1 для вставки иконок FontAwesome5.
Простой компонент для yii-1 для вставки иконок FontAwesome v5.x.
Сам шрифт тоже присутствует.
@ -8,6 +8,8 @@
## Пример подключения
Выгружаем компонент в protected/extensions/.
В файле config/main.php:
```php
@ -16,24 +18,32 @@
...
'fa' => array(
'class' => 'FontAwesome5Component',
'class' => 'ext.yii1-component-fontawesome5.protected.components.FontAwesomeComponent',
/* доступные параметры */
/*
'debug' => false, // bool, вкл-выкл подключение минифицированных версий css
'all' => false, // bool, вместо нескольких файлов, загрузить один all
'v4shim' => false, // bool, дополнительный файл для перехода с 4-ой версии
'cdn' => false, // bool, включает использование cdn (cloudflare)
'localUrl' => 'css/fontawesome,
'async' => false, // bool, вкл-выкл асинхронную загрузку
'localUrl' => 'fonts/font-awesome-{version},
// string, ссылка на локальные файлы в document_root
'cdnUrl' => 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/{version}/css',
'cdnUrl' => 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/{version}',
// string, ссылка на путь в cdn. по-умолчанию заменяется {version} на версию шрифта.
'tag' => 'i', // string, название тега для вывода иконки
'baseCss' => 'fontawesome.css'
'baseCss' => 'css/fontawesome.css'
// string, название файла базовых стилей
'solidCss' => 'solid.css'
'solidCss' => 'css/solid.css'
// string, название файла стилей solid
'regilarCss' => 'regular.css'
'regilarCss' => 'css/regular.css'
// string, название файла стилей regular
'brandsCss' => 'brands.css'
'brandsCss' => 'css/brands.css'
// string, название файла стилей brands
'allCss' => 'css/all.css'
// string, название файла со всеми стилями
'v4shimCss' => 'css/v4-shim.css'
// string, название файла со всеми стилями
*/
),

@ -8,7 +8,7 @@
* Вывод иконок FontAwesome 5 Free
* В виде html-тега <i class="fa[srlb] fa-<code>">
*/
class FontAwesome5Component extends CApplicationComponent
class FontAwesomeComponent extends CApplicationComponent
{
const MODE_DEFAULT = '';
const MODE_SOLID = 'solid';
@ -22,16 +22,23 @@ class FontAwesome5Component extends CApplicationComponent
public $debug = null; // null == авто-режим
public $cdn = false;
public $all = false; // bool, вместо нескольких файлов, загрузить один all
public $v4shim = false; // bool, дополнительный файл для перехода с 4-ой версии
public $localUrl = 'css/fontawesome';
public $cdn = false; // bool, использовать CDN
public $cdnUrl = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/{version}/css';
public $async = false; // bool, использовать асинхронную загрузку
public $baseCss = 'fontawesome.css';
public $solidCss = 'solid.css';
public $regularCss = 'regular.css';
public $brandsCss = 'brands.css';
public $localUrl = 'fonts/font-awesome-{version}';
public $cdnUrl = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/{version}';
public $baseCss = 'css/fontawesome.css';
public $solidCss = 'css/solid.css';
public $regularCss = 'css/regular.css';
public $brandsCss = 'css/brands.css';
public $allCss = 'css/all.css';
public $v4shimCss = 'css/v4-shim.css';
public $tag = 'i';
@ -42,6 +49,7 @@ class FontAwesome5Component extends CApplicationComponent
public function init()
{
$this->cdnUrl = str_replace('{version}', self::VERSION, $this->cdnUrl);
$this->localUrl = str_replace('{version}', self::VERSION, $this->localUrl);
if ($this->debug === null) {
if (defined('YII_DEBUG') && YII_DEBUG === true) {
@ -50,6 +58,9 @@ class FontAwesome5Component extends CApplicationComponent
if (defined('YII_ENV') && YII_ENV == 'dev') {
$this->debug = true;
}
if (defined('APPLICATION_ENV') && APPLICATION_ENV == 'dev') {
$this->debug = true;
}
}
if ($this->debug === null) {
$this->debug = false;
@ -60,7 +71,7 @@ class FontAwesome5Component extends CApplicationComponent
public function powered()
{
return '<a href="https://fontawesome.com/download">FontAwesome</a>';
return '<a href="https://fontawesome.com/v5/download">FontAwesome</a>';
}
public function getVersion()
@ -94,17 +105,21 @@ class FontAwesome5Component extends CApplicationComponent
$this->_registerCssFile($this->brandsCss);
}
$options['class'] = $class . ' fa-' . $code . (!empty($options['class']) ? " " . $options['class'] : "");
$old = CHtml::$closeSingleTags;
CHtml::$closeSingleTags = false;
return (string) CHtml::tag($this->tag, $options, '', true);
$tag = (string) CHtml::tag($this->tag, $options, '', true);
CHtml::$closeSingleTags = $old;
return $tag;
}
protected function _getAwesomeUrl($cssFile)
protected function _getUrl($cssFile)
{
if ($this->cdn) {
$url = $this->cdnUrl;
} else {
$url = $this->localUrl;
$url = Yii::app()->getAssetManager()->publish(dirname(dirname(__DIR__)).'/public/'.$this->localUrl, false, -1);
}
if ($this->debug === false) {
@ -117,14 +132,39 @@ class FontAwesome5Component extends CApplicationComponent
return $url;
}
protected function _registerCssFile($cssFile)
protected function _registerCss($cssFile)
{
if (empty($this->_registered[$cssFile])) {
Yii::app()->clientScript->registerCssFile($this->_getAwesomeUrl($cssFile));
$options = array();
if ($this->async) {
$options['onload'] = "time.media='all'";
}
$url = $this->_getUrl($cssFile);
$cs = Yii::app()->clientScript;
/** @var CClientScript $cs */
$cs->registerLinkTag(
'stylesheet', 'text/css',
$url,
$this->async ? 'print' : null,
$options
);
$this->_registered[$cssFile] = true;
}
}
protected function _registerCssFile($cssFile)
{
if ($this->all) {
$cssFile = $this->allCss;
}
$this->_registerCss($cssFile);
if ($this->v4shim) $this->_registerCss($this->v4shimCss);
}
/** Простые alias для иконок */
@ -333,6 +373,31 @@ class FontAwesome5Component extends CApplicationComponent
return $this->icon('arrow-down', ['class' => $addclass], self::MODE_SOLID);
}
public function home($addclass='')
{
return $this->icon('home', ['class' => $addclass], self::MODE_SOLID);
}
public function rss($addclass='')
{
return $this->icon('rss-square', ['class' => $addclass], self::MODE_SOLID);
}
public function bookmark($addclass='')
{
return $this->icon('bookmark', ['class' => $addclass], self::MODE_SOLID);
}
public function book($addclass='')
{
return $this->icon('book', ['class' => $addclass], self::MODE_SOLID);
}
public function bookOpen($addclass='')
{
return $this->icon('book-open', ['class' => $addclass], self::MODE_SOLID);
}
/* ---- BRANDS ---- */
public function composer($addclass='')
@ -370,4 +435,16 @@ class FontAwesome5Component extends CApplicationComponent
return $this->icon('drupal', ['class' => $addclass], self::MODE_BRANDS);
}
/** SIMULATE */
public function redis($addclass='')
{
return $this->icon('memory', ['class' => $addclass], self::MODE_SOLID);
}
public function memcache($addclass='')
{
return $this->icon('memory', ['class' => $addclass], self::MODE_SOLID);
}
}

@ -1,5 +0,0 @@
/*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(/webfonts/fa-brands-400.eot);src:url(/webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(/webfonts/fa-brands-400.woff2) format("woff2"),url(/webfonts/fa-brands-400.woff) format("woff"),url(/webfonts/fa-brands-400.ttf) format("truetype"),url(/webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands";font-weight:400}

@ -1,5 +0,0 @@
/*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(/webfonts/fa-regular-400.eot);src:url(/webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(/webfonts/fa-regular-400.woff2) format("woff2"),url(/webfonts/fa-regular-400.woff) format("woff"),url(/webfonts/fa-regular-400.ttf) format("truetype"),url(/webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-family:"Font Awesome 5 Free";font-weight:400}

@ -1,5 +0,0 @@
/*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(/webfonts/fa-solid-900.eot);src:url(/webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(/webfonts/fa-solid-900.woff2) format("woff2"),url(/webfonts/fa-solid-900.woff) format("woff"),url(/webfonts/fa-solid-900.ttf) format("truetype"),url(/webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

@ -7,8 +7,8 @@
font-style: normal;
font-weight: 400;
font-display: block;
src: url("/webfonts/fa-brands-400.eot");
src: url("/webfonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("/webfonts/fa-brands-400.woff2") format("woff2"), url("/webfonts/fa-brands-400.woff") format("woff"), url("/webfonts/fa-brands-400.ttf") format("truetype"), url("/webfonts/fa-brands-400.svg#fontawesome") format("svg"); }
src: url("../webfonts/fa-brands-400.eot");
src: url("../webfonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-brands-400.woff2") format("woff2"), url("../webfonts/fa-brands-400.woff") format("woff"), url("../webfonts/fa-brands-400.ttf") format("truetype"), url("../webfonts/fa-brands-400.svg#fontawesome") format("svg"); }
.fab {
font-family: 'Font Awesome 5 Brands';

@ -0,0 +1,5 @@
/*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands";font-weight:400}

@ -7,8 +7,8 @@
font-style: normal;
font-weight: 400;
font-display: block;
src: url("/webfonts/fa-regular-400.eot");
src: url("/webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("/webfonts/fa-regular-400.woff2") format("woff2"), url("/webfonts/fa-regular-400.woff") format("woff"), url("/webfonts/fa-regular-400.ttf") format("truetype"), url("/webfonts/fa-regular-400.svg#fontawesome") format("svg"); }
src: url("../webfonts/fa-regular-400.eot");
src: url("../webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-regular-400.woff2") format("woff2"), url("../webfonts/fa-regular-400.woff") format("woff"), url("../webfonts/fa-regular-400.ttf") format("truetype"), url("../webfonts/fa-regular-400.svg#fontawesome") format("svg"); }
.far {
font-family: 'Font Awesome 5 Free';

@ -0,0 +1,5 @@
/*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-family:"Font Awesome 5 Free";font-weight:400}

@ -7,8 +7,8 @@
font-style: normal;
font-weight: 900;
font-display: block;
src: url("/webfonts/fa-solid-900.eot");
src: url("/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("/webfonts/fa-solid-900.woff2") format("woff2"), url("/webfonts/fa-solid-900.woff") format("woff"), url("/webfonts/fa-solid-900.ttf") format("truetype"), url("/webfonts/fa-solid-900.svg#fontawesome") format("svg"); }
src: url("../webfonts/fa-solid-900.eot");
src: url("../webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../webfonts/fa-solid-900.ttf") format("truetype"), url("../webfonts/fa-solid-900.svg#fontawesome") format("svg"); }
.fa,
.fas {

@ -0,0 +1,5 @@
/*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900}

@ -0,0 +1,371 @@
/*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
svg:not(:root).svg-inline--fa {
overflow: visible; }
.svg-inline--fa {
display: inline-block;
font-size: inherit;
height: 1em;
overflow: visible;
vertical-align: -.125em; }
.svg-inline--fa.fa-lg {
vertical-align: -.225em; }
.svg-inline--fa.fa-w-1 {
width: 0.0625em; }
.svg-inline--fa.fa-w-2 {
width: 0.125em; }
.svg-inline--fa.fa-w-3 {
width: 0.1875em; }
.svg-inline--fa.fa-w-4 {
width: 0.25em; }
.svg-inline--fa.fa-w-5 {
width: 0.3125em; }
.svg-inline--fa.fa-w-6 {
width: 0.375em; }
.svg-inline--fa.fa-w-7 {
width: 0.4375em; }
.svg-inline--fa.fa-w-8 {
width: 0.5em; }
.svg-inline--fa.fa-w-9 {
width: 0.5625em; }
.svg-inline--fa.fa-w-10 {
width: 0.625em; }
.svg-inline--fa.fa-w-11 {
width: 0.6875em; }
.svg-inline--fa.fa-w-12 {
width: 0.75em; }
.svg-inline--fa.fa-w-13 {
width: 0.8125em; }
.svg-inline--fa.fa-w-14 {
width: 0.875em; }
.svg-inline--fa.fa-w-15 {
width: 0.9375em; }
.svg-inline--fa.fa-w-16 {
width: 1em; }
.svg-inline--fa.fa-w-17 {
width: 1.0625em; }
.svg-inline--fa.fa-w-18 {
width: 1.125em; }
.svg-inline--fa.fa-w-19 {
width: 1.1875em; }
.svg-inline--fa.fa-w-20 {
width: 1.25em; }
.svg-inline--fa.fa-pull-left {
margin-right: .3em;
width: auto; }
.svg-inline--fa.fa-pull-right {
margin-left: .3em;
width: auto; }
.svg-inline--fa.fa-border {
height: 1.5em; }
.svg-inline--fa.fa-li {
width: 2em; }
.svg-inline--fa.fa-fw {
width: 1.25em; }
.fa-layers svg.svg-inline--fa {
bottom: 0;
left: 0;
margin: auto;
position: absolute;
right: 0;
top: 0; }
.fa-layers {
display: inline-block;
height: 1em;
position: relative;
text-align: center;
vertical-align: -.125em;
width: 1em; }
.fa-layers svg.svg-inline--fa {
-webkit-transform-origin: center center;
transform-origin: center center; }
.fa-layers-text, .fa-layers-counter {
display: inline-block;
position: absolute;
text-align: center; }
.fa-layers-text {
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-transform-origin: center center;
transform-origin: center center; }
.fa-layers-counter {
background-color: #ff253a;
border-radius: 1em;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #fff;
height: 1.5em;
line-height: 1;
max-width: 5em;
min-width: 1.5em;
overflow: hidden;
padding: .25em;
right: 0;
text-overflow: ellipsis;
top: 0;
-webkit-transform: scale(0.25);
transform: scale(0.25);
-webkit-transform-origin: top right;
transform-origin: top right; }
.fa-layers-bottom-right {
bottom: 0;
right: 0;
top: auto;
-webkit-transform: scale(0.25);
transform: scale(0.25);
-webkit-transform-origin: bottom right;
transform-origin: bottom right; }
.fa-layers-bottom-left {
bottom: 0;
left: 0;
right: auto;
top: auto;
-webkit-transform: scale(0.25);
transform: scale(0.25);
-webkit-transform-origin: bottom left;
transform-origin: bottom left; }
.fa-layers-top-right {
right: 0;
top: 0;
-webkit-transform: scale(0.25);
transform: scale(0.25);
-webkit-transform-origin: top right;
transform-origin: top right; }
.fa-layers-top-left {
left: 0;
right: auto;
top: 0;
-webkit-transform: scale(0.25);
transform: scale(0.25);
-webkit-transform-origin: top left;
transform-origin: top left; }
.fa-lg {
font-size: 1.33333em;
line-height: 0.75em;
vertical-align: -.0667em; }
.fa-xs {
font-size: .75em; }
.fa-sm {
font-size: .875em; }
.fa-1x {
font-size: 1em; }
.fa-2x {
font-size: 2em; }
.fa-3x {
font-size: 3em; }
.fa-4x {
font-size: 4em; }
.fa-5x {
font-size: 5em; }
.fa-6x {
font-size: 6em; }
.fa-7x {
font-size: 7em; }
.fa-8x {
font-size: 8em; }
.fa-9x {
font-size: 9em; }
.fa-10x {
font-size: 10em; }
.fa-fw {
text-align: center;
width: 1.25em; }
.fa-ul {
list-style-type: none;
margin-left: 2.5em;
padding-left: 0; }
.fa-ul > li {
position: relative; }
.fa-li {
left: -2em;
position: absolute;
text-align: center;
width: 2em;
line-height: inherit; }
.fa-border {
border: solid 0.08em #eee;
border-radius: .1em;
padding: .2em .25em .15em; }
.fa-pull-left {
float: left; }
.fa-pull-right {
float: right; }
.fa.fa-pull-left,
.fas.fa-pull-left,
.far.fa-pull-left,
.fal.fa-pull-left,
.fab.fa-pull-left {
margin-right: .3em; }
.fa.fa-pull-right,
.fas.fa-pull-right,
.far.fa-pull-right,
.fal.fa-pull-right,
.fab.fa-pull-right {
margin-left: .3em; }
.fa-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear; }
.fa-pulse {
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8); }
@-webkit-keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg); }
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg); } }
@keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg); }
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg); } }
.fa-rotate-90 {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
-webkit-transform: rotate(90deg);
transform: rotate(90deg); }
.fa-rotate-180 {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
-webkit-transform: rotate(180deg);
transform: rotate(180deg); }
.fa-rotate-270 {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
-webkit-transform: rotate(270deg);
transform: rotate(270deg); }
.fa-flip-horizontal {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
-webkit-transform: scale(-1, 1);
transform: scale(-1, 1); }
.fa-flip-vertical {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
-webkit-transform: scale(1, -1);
transform: scale(1, -1); }
.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
-webkit-transform: scale(-1, -1);
transform: scale(-1, -1); }
:root .fa-rotate-90,
:root .fa-rotate-180,
:root .fa-rotate-270,
:root .fa-flip-horizontal,
:root .fa-flip-vertical,
:root .fa-flip-both {
-webkit-filter: none;
filter: none; }
.fa-stack {
display: inline-block;
height: 2em;
position: relative;
width: 2.5em; }
.fa-stack-1x,
.fa-stack-2x {
bottom: 0;
left: 0;
margin: auto;
position: absolute;
right: 0;
top: 0; }
.svg-inline--fa.fa-stack-1x {
height: 1em;
width: 1.25em; }
.svg-inline--fa.fa-stack-2x {
height: 2em;
width: 2.5em; }
.fa-inverse {
color: #fff; }
.sr-only {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px; }
.sr-only-focusable:active, .sr-only-focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto; }
.svg-inline--fa .fa-primary {
fill: var(--fa-primary-color, currentColor);
opacity: 1;
opacity: var(--fa-primary-opacity, 1); }
.svg-inline--fa .fa-secondary {
fill: var(--fa-secondary-color, currentColor);
opacity: 0.4;
opacity: var(--fa-secondary-opacity, 0.4); }
.svg-inline--fa.fa-swap-opacity .fa-primary {
opacity: 0.4;
opacity: var(--fa-secondary-opacity, 0.4); }
.svg-inline--fa.fa-swap-opacity .fa-secondary {
opacity: 1;
opacity: var(--fa-primary-opacity, 1); }
.svg-inline--fa mask .fa-primary,
.svg-inline--fa mask .fa-secondary {
fill: black; }
.fad.fa-inverse {
color: #fff; }

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 730 KiB

After

Width:  |  Height:  |  Size: 730 KiB

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 141 KiB

Before

Width:  |  Height:  |  Size: 898 KiB

After

Width:  |  Height:  |  Size: 898 KiB

Loading…
Cancel
Save