summaryrefslogtreecommitdiff
path: root/resources/assets
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-10-05 17:09:06 +0200
committermsquare <msquare@notrademark.de>2018-10-30 22:50:22 +0100
commit0aa5f079258afd5276917c1aff565ec1c6411821 (patch)
tree04b3ae3cc9be469f195db503bdf1f0b64b6487f3 /resources/assets
parent689ad7d5d598fd83ab467662cba2a6f5c7a48859 (diff)
Replaced angel icons with svg
Diffstat (limited to 'resources/assets')
-rw-r--r--resources/assets/angelFont/angelFont.css28
-rw-r--r--resources/assets/angelFont/angelFont.eotbin1300 -> 0 bytes
-rw-r--r--resources/assets/angelFont/angelFont.svg11
-rw-r--r--resources/assets/angelFont/angelFont.ttfbin1136 -> 0 bytes
-rw-r--r--resources/assets/angelFont/angelFont.woffbin1172 -> 0 bytes
-rw-r--r--resources/assets/icons/angel.svg5
-rw-r--r--resources/assets/themes/base.less30
7 files changed, 34 insertions, 40 deletions
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
--- a/resources/assets/angelFont/angelFont.eot
+++ /dev/null
Binary files 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 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
-<svg xmlns="http://www.w3.org/2000/svg">
-<metadata>Generated by IcoMoon</metadata>
-<defs>
-<font id="icomoon" horiz-adv-x="512">
-<font-face units-per-em="512" ascent="480" descent="-32" />
-<missing-glyph horiz-adv-x="512" />
-<glyph unicode="&#x20;" d="" horiz-adv-x="256" />
-<glyph unicode="&#xe600;" d="M262.158 408.627c-70.507 0-127.664-66.46-127.664-148.443 0-45.996 17.956-87.059 46.202-114.287v-34.156l-179.946-52.779v-94.564l510.657-4.399v94.563l-165.356 59.377h-2.432v31.957c28.247 27.228 46.202 68.291 46.202 114.287 0 81.983-57.157 148.443-127.664 148.443zM262.158 479c-124.226 0-224.932-40.861-224.932-91.265s100.706-91.265 224.932-91.265c124.226 0 224.932 40.861 224.932 91.265s-100.706 91.265-224.932 91.265zM262.158 432.818c102.738 0 186.025-28.553 186.025-63.775s-83.286-63.776-186.025-63.776c-102.738 0-186.025 28.553-186.025 63.776s83.286 63.775 186.025 63.775z" />
-</font></defs></svg> \ 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
--- a/resources/assets/angelFont/angelFont.ttf
+++ /dev/null
Binary files differ
diff --git a/resources/assets/angelFont/angelFont.woff b/resources/assets/angelFont/angelFont.woff
deleted file mode 100644
index c7107a54..00000000
--- a/resources/assets/angelFont/angelFont.woff
+++ /dev/null
Binary files 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 @@
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full" width="135mm" height="135mm">
+ <g transform="rotate(180 255.7 239.5)">
+ <path d="m262.16 408.63c-70.507 0-127.66-66.46-127.66-148.44 0-45.996 17.956-87.059 46.202-114.29v-34.156l-179.95-52.779v-100.51l510.58-0.01416 0.0743 96.124-165.36 59.377h-2.432v31.957c28.247 27.228 46.202 68.291 46.202 114.29 0 81.983-57.157 148.44-127.66 148.44zm0 70.373c-124.23 0-224.93-40.861-224.93-91.265s100.71-91.265 224.93-91.265 224.93 40.861 224.93 91.265-100.71 91.265-224.93 91.265zm0-46.182c102.74 0 186.02-28.553 186.02-63.775s-83.286-63.776-186.02-63.776c-102.74 0-186.02 28.553-186.02 63.776s83.286 63.775 186.02 63.775z"/>
+ </g>
+</svg>
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);