Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from fontawesome webfonts to SVG + JS #1619

Merged
merged 1 commit into from
Dec 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}

.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.