-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BasicUI] Upgrade to last version of Material icons (#2016)
Move from the outdated official NPM module (material-design-icons) to an alternative NPM module (material-icons) providing most recent material icons. As a consequence, TTF format is no more provided, only WOFF and WOFF2 formats. All current browsers support WOFF format, so only very old browsers could be impacted by the miss of the TTF format. Also fix icon size in condensed mode (28x28). Fixes #2011 Fixes #2015 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
- Loading branch information
Showing
7 changed files
with
18 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
bundles/org.openhab.ui.basic/src/main/resources/snippets/icon_framework7.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<spam class="f7-icons">%icon_name%</spam> | ||
<span class="f7-icons">%icon_name%</span> |
2 changes: 1 addition & 1 deletion
2
bundles/org.openhab.ui.basic/src/main/resources/snippets/icon_material.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<spam class="material-icons md-oh">%icon_name%</spam> | ||
<span class="material-icons">%icon_name%</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -170,6 +170,7 @@ | |
font-size: 28px; | ||
} | ||
} | ||
.material-icons, | ||
.f7-icons { | ||
font-size: 32px; | ||
vertical-align: middle; | ||
|