Skip to content

Commit

Permalink
Switch from fontawesome webfonts to SVG + JS
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Nov 5, 2020
1 parent 274c196 commit 0bc8efc
Show file tree
Hide file tree
Showing 19 changed files with 66 additions and 9,354 deletions.
77 changes: 39 additions & 38 deletions scripts/pi-hole/php/header.php

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions style/pi-hole.css
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,25 @@
.select2-container--default .select2-results > .select2-results__options {
max-height: 400px;
}

/* Work around code that expects icon fonts rather than SVG.
Newer versions of AdminLTE have support for SVG icons,
https://github.com/ColorlibHQ/AdminLTE/pull/2920
so this code will only be needed temporarily. */

.sidebar-menu li > a > .fa-angle-left, .sidebar-menu li > a > .pull-right-container > .fa-angle-left {
height: 1em;
}

.sidebar-toggle-svg {
color: #fff;
float: left;
background: none;
padding: 15px 15px;
}

.sidebar-toggle-svg:hover {
color: #f6f6f6;
background: #367fa9;
}

5 changes: 0 additions & 5 deletions style/vendor/font-awesome/css/all.min.css

This file was deleted.

5 changes: 5 additions & 0 deletions style/vendor/font-awesome/js/all.min.js

Large diffs are not rendered by default.

Binary file not shown.
3,570 changes: 0 additions & 3,570 deletions style/vendor/font-awesome/webfonts/fa-brands-400.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
803 changes: 0 additions & 803 deletions style/vendor/font-awesome/webfonts/fa-regular-400.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed style/vendor/font-awesome/webfonts/fa-solid-900.eot
Binary file not shown.
4,938 changes: 0 additions & 4,938 deletions style/vendor/font-awesome/webfonts/fa-solid-900.svg

This file was deleted.

Binary file removed style/vendor/font-awesome/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 0bc8efc

Please sign in to comment.