From 0aa5f079258afd5276917c1aff565ec1c6411821 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 5 Oct 2018 17:09:06 +0200 Subject: Replaced angel icons with svg --- resources/assets/angelFont/angelFont.css | 28 ---------------------------- resources/assets/angelFont/angelFont.eot | Bin 1300 -> 0 bytes resources/assets/angelFont/angelFont.svg | 11 ----------- resources/assets/angelFont/angelFont.ttf | Bin 1136 -> 0 bytes resources/assets/angelFont/angelFont.woff | Bin 1172 -> 0 bytes resources/assets/icons/angel.svg | 5 +++++ resources/assets/themes/base.less | 30 +++++++++++++++++++++++++++++- 7 files changed, 34 insertions(+), 40 deletions(-) delete mode 100644 resources/assets/angelFont/angelFont.css delete mode 100644 resources/assets/angelFont/angelFont.eot delete mode 100644 resources/assets/angelFont/angelFont.svg delete mode 100644 resources/assets/angelFont/angelFont.ttf delete mode 100644 resources/assets/angelFont/angelFont.woff create mode 100644 resources/assets/icons/angel.svg (limited to 'resources/assets') diff --git a/resources/assets/angelFont/angelFont.css b/resources/assets/angelFont/angelFont.css deleted file mode 100644 index 01551ecd..00000000 --- a/resources/assets/angelFont/angelFont.css +++ /dev/null @@ -1,28 +0,0 @@ -@font-face { - font-family: 'angelFont'; - src:url('./angelFont.eot?-kja6ux'); - src:url('./angelFont.eot?#iefix-kja6ux') format('embedded-opentype'), - url('./angelFont.woff?-kja6ux') format('woff'), - url('./angelFont.ttf?-kja6ux') format('truetype'), - url('./angelFont.svg?-kja6ux#icomoon') format('svg'); - font-weight: normal; - font-style: normal; -} - -[class^="icon-"], [class*=" icon-"] { - font-family: 'angelFont'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - - /* Better Font Rendering =========== */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.icon-icon_angel:before { - content: "\e600"; -} diff --git a/resources/assets/angelFont/angelFont.eot b/resources/assets/angelFont/angelFont.eot deleted file mode 100644 index 9b08a347..00000000 Binary files a/resources/assets/angelFont/angelFont.eot and /dev/null differ diff --git a/resources/assets/angelFont/angelFont.svg b/resources/assets/angelFont/angelFont.svg deleted file mode 100644 index e5fdf45a..00000000 --- a/resources/assets/angelFont/angelFont.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - -Generated by IcoMoon - - - - - - - \ No newline at end of file diff --git a/resources/assets/angelFont/angelFont.ttf b/resources/assets/angelFont/angelFont.ttf deleted file mode 100644 index ac4f0a45..00000000 Binary files a/resources/assets/angelFont/angelFont.ttf and /dev/null differ diff --git a/resources/assets/angelFont/angelFont.woff b/resources/assets/angelFont/angelFont.woff deleted file mode 100644 index c7107a54..00000000 Binary files a/resources/assets/angelFont/angelFont.woff and /dev/null differ diff --git a/resources/assets/icons/angel.svg b/resources/assets/icons/angel.svg new file mode 100644 index 00000000..677eda71 --- /dev/null +++ b/resources/assets/icons/angel.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/assets/themes/base.less b/resources/assets/themes/base.less index 4ae6930e..50789c33 100644 --- a/resources/assets/themes/base.less +++ b/resources/assets/themes/base.less @@ -1,5 +1,4 @@ @import "../../../node_modules/bootstrap/less/bootstrap"; -@import "../angelFont/angelFont.css"; body { padding-top: 50px; @@ -21,6 +20,35 @@ body { margin: 0px; } +.icon-icon_angel { + background-color: @text-color; + + display: inline-block; + width: 1em; + height: 1em; + + -webkit-mask: url(../icons/angel.svg) no-repeat 50% 50%; + mask: url(../icons/angel.svg) no-repeat 50% 50%; + -webkit-mask-size: cover; + mask-size: cover; +} + +a .icon-icon_angel { + background-color: @link-color; +} + +.navbar .icon-icon_angel { + background-color: @navbar-default-link-disabled-color; +} + +.navbar-brand .icon-icon_angel { + background-color: @navbar-default-brand-color; +} + +table a > .icon-icon_angel { + background-color: @text-color; +} + .stats { .make-md-column(3); .make-xs-column(6); -- cgit v1.2.3-54-g00ecf