From 0cf714099077aaf368bf35579efc3a80471ed926 Mon Sep 17 00:00:00 2001 From: repat Date: Wed, 29 Jun 2016 22:29:27 +0200 Subject: exchanged paper-plane icon for sent icon, fixes #717 --- web-ui/app/fonts/icomoon.ttf | Bin 0 -> 1272 bytes web-ui/app/fonts/icomoon.woff | Bin 0 -> 1348 bytes web-ui/app/images/fa-sent.svg | 15 +++++++++++++++ web-ui/app/scss/base/_fonts.scss | 8 ++++++++ web-ui/app/scss/style.scss | 1 + web-ui/app/scss/vendor/_customfont.scss | 9 +++++++++ web-ui/app/scss/views/_navigation.scss | 3 ++- 7 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 web-ui/app/fonts/icomoon.ttf create mode 100644 web-ui/app/fonts/icomoon.woff create mode 100644 web-ui/app/images/fa-sent.svg create mode 100644 web-ui/app/scss/vendor/_customfont.scss diff --git a/web-ui/app/fonts/icomoon.ttf b/web-ui/app/fonts/icomoon.ttf new file mode 100644 index 00000000..61315d04 Binary files /dev/null and b/web-ui/app/fonts/icomoon.ttf differ diff --git a/web-ui/app/fonts/icomoon.woff b/web-ui/app/fonts/icomoon.woff new file mode 100644 index 00000000..82f11748 Binary files /dev/null and b/web-ui/app/fonts/icomoon.woff differ diff --git a/web-ui/app/images/fa-sent.svg b/web-ui/app/images/fa-sent.svg new file mode 100644 index 00000000..a4b4bea4 --- /dev/null +++ b/web-ui/app/images/fa-sent.svg @@ -0,0 +1,15 @@ + + + + fa-sent + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/web-ui/app/scss/base/_fonts.scss b/web-ui/app/scss/base/_fonts.scss index ada6a025..dfc56dd8 100644 --- a/web-ui/app/scss/base/_fonts.scss +++ b/web-ui/app/scss/base/_fonts.scss @@ -58,3 +58,11 @@ font-weight: 800; src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url('/assets/fonts/OpenSans-ExtraboldItalic.woff') format('woff'); } + +@font-face { + font-family: 'icomoon'; + font-style: normal; + font-weight: 400; + src: url('/assets/fonts/icomoon.woff') format('woff'), url('/assets/fonts/icomoon.ttf') format('truetype'), ; +} + diff --git a/web-ui/app/scss/style.scss b/web-ui/app/scss/style.scss index 659a0631..e99ab194 100644 --- a/web-ui/app/scss/style.scss +++ b/web-ui/app/scss/style.scss @@ -3,6 +3,7 @@ @import "vendor/scut"; @import "compass/css3"; @import "vendor/foundation"; +@import "vendor/customfont"; // basic configuration @import "base/fonts"; diff --git a/web-ui/app/scss/vendor/_customfont.scss b/web-ui/app/scss/vendor/_customfont.scss new file mode 100644 index 00000000..d72cca0f --- /dev/null +++ b/web-ui/app/scss/vendor/_customfont.scss @@ -0,0 +1,9 @@ +[class^="icon-"], [class*=" icon-"] { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'icomoon' !important; + line-height: 1; +} + +.icon-px-sent:before { + content: "\e900"; +} diff --git a/web-ui/app/scss/views/_navigation.scss b/web-ui/app/scss/views/_navigation.scss index 5c8d1bd7..eaf188d6 100644 --- a/web-ui/app/scss/views/_navigation.scss +++ b/web-ui/app/scss/views/_navigation.scss @@ -412,7 +412,8 @@ div.side-nav-bottom { &:nth-child(2) { &:before { - content: "\f1d8"; + font-family: "icomoon"; + content: "\e900"; margin-left: -5px; } } -- cgit v1.2.3 From 438d5375e8e099540496b28d6c277406363c37bd Mon Sep 17 00:00:00 2001 From: repat Date: Thu, 30 Jun 2016 00:30:35 +0200 Subject: typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c5eb407..6e8d464c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Pixelated User Agent The Pixelated User Agent is the mail client of the Pixelated ecosystem. It is composed of two parts, a web interface written in JavaScript ([FlightJS](https://flightjs.github.io/)) and a Python API that interacts with a LEAP Provider, the e-mail platform that Pixelated is built on. -Here's a [podcast](https://soundcloud.com/thoughtworks/pixelated-why-secure-communication-is-essential) that explains the projectt. +Here's a [podcast](https://soundcloud.com/thoughtworks/pixelated-why-secure-communication-is-essential) that explains the project. **Pixelated is still in early development state!** -- cgit v1.2.3