From 6f1c594962e053a7eb404eeb7ca6b8616a2cfa90 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 28 Jun 2021 00:10:01 +0200 Subject: Update Fontello for default theme --- theme/default/rsrc/css/import/_font-awesome.scss | 65 ---- theme/default/rsrc/css/import/_fontello.scss | 119 ++++++++ theme/default/rsrc/css/import/_fonts.scss | 7 +- theme/default/rsrc/css/main.css | 360 +++++++++++++++++++++-- theme/default/rsrc/css/main.scss | 2 +- 5 files changed, 457 insertions(+), 96 deletions(-) delete mode 100644 theme/default/rsrc/css/import/_font-awesome.scss create mode 100644 theme/default/rsrc/css/import/_fontello.scss (limited to 'theme/default/rsrc/css') diff --git a/theme/default/rsrc/css/import/_font-awesome.scss b/theme/default/rsrc/css/import/_font-awesome.scss deleted file mode 100644 index 733022c..0000000 --- a/theme/default/rsrc/css/import/_font-awesome.scss +++ /dev/null @@ -1,65 +0,0 @@ -/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# FontAwesome Main -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -.fa { - display: inline-block; - font: normal normal normal 14px/1 "FontAwesome"; - font-size: inherit; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# FontAwesome Icons -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -.fa-rss:before { - content: "\f09e"; -} - -.fa-key:before { - content: "\f084"; -} - -.fa-bars:before { - content: "\f0c9"; -} - -.fa-user:before { - content: "\f007"; -} - -.fa-home:before { - content: "\f015"; -} - -.fa-search:before { - content: "\f002"; -} - -.fa-rss-square:before { - content: "\f143"; -} - -.fa-arrow-left:before { - content: "\f060"; -} - -.fa-user-secret:before { - content: "\f21b"; -} - -.fa-file-text-o:before { - content: "\f0f6"; -} - -.fa-newspaper-o:before { - content: "\f1ea"; -} - -.fa-arrow-right:before { - content: "\f061"; -} - -.fa-exclamation-triangle:before { - content: "\f071"; -} diff --git a/theme/default/rsrc/css/import/_fontello.scss b/theme/default/rsrc/css/import/_fontello.scss new file mode 100644 index 0000000..04c13c9 --- /dev/null +++ b/theme/default/rsrc/css/import/_fontello.scss @@ -0,0 +1,119 @@ +/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +# Fontello +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +.fa:before { + font-family: "Fontello"; + font-style: normal; + font-weight: normal; + speak: never; + + display: inline-block; + text-decoration: inherit; + text-align: center; + + /* For safety - reset parent styles, that can break glyph codes*/ + font-variant: normal; + text-transform: none; + + /* Font smoothing. That was taken from TWBS */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ +} + +/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +# Font Awesome icons +# ------------------ +# Copyright (C) 2016 by Dave Gandy +# Author: Dave Gandy +# License: SIL +# Homepage: http://fortawesome.github.com/Font-Awesome/ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +.fa-pencil:before { content: '\e800'; } +.fa-comment:before { content: '\e801'; } +.fa-chat:before { content: '\e802'; } +.fa-users:before { content: '\e803'; } +.fa-cancel:before { content: '\e804'; } +.fa-plus:before { content: '\e805'; } +.fa-list:before { content: '\e80b'; } +.fa-arrow-down:before { content: '\e80e'; } +.fa-arrow-up:before { content: '\e811'; } +.fa-arrows-cw:before { content: '\e813'; } +.fa-tag:before { content: '\e815'; } +.fa-tags:before { content: '\e816'; } +.fa-star:before { content: '\e817'; } +.fa-star-empty:before { content: '\e818'; } +.fa-eye:before { content: '\e81a'; } +.fa-ok:before { content: '\e81b'; } +.fa-info-circled:before { content: '\e81c'; } +.fa-home:before { content: '\e81d'; } +.fa-attach:before { content: '\e81e'; } +.fa-cog:before { content: '\e81f'; } +.fa-check:before { content: '\e821'; } +.fa-floppy:before { content: '\e822'; } +.fa-eye-off:before { content: '\e823'; } +.fa-folder-open:before { content: '\e824'; } +.fa-wrench:before { content: '\e825'; } +.fa-search:before { content: '\f002'; } +.fa-envelope-o:before { content: '\f003'; } +.fa-user:before { content: '\f007'; } +.fa-trash-o:before { content: '\f014'; } +.fa-clock-o:before { content: '\f017'; } +.fa-book:before { content: '\f02d'; } +.fa-bold:before { content: '\f032'; } +.fa-italic:before { content: '\f033'; } +.fa-picture-o:before { content: '\f03e'; } +.fa-pencil-square-o:before { content: '\f044'; } +.fa-arrow-left:before { content: '\f060'; } +.fa-arrow-right:before { content: '\f061'; } +.fa-exclamation-triangle:before { content: '\f071'; } +.fa-key:before { content: '\f084'; } +.fa-sign-out:before { content: '\f08b'; } +.fa-external-link:before { content: '\f08e'; } +.fa-sign-in:before { content: '\f090'; } +.fa-github-square:before { content: '\f092'; } +.fa-uncheck:before { content: '\f096'; } +.fa-rss:before { content: '\f09e'; } +.fa-link:before { content: '\f0c1'; } +.fa-menu:before { content: '\f0c9'; } +.fa-list-ul:before { content: '\f0ca'; } +.fa-list-ol:before { content: '\f0cb'; } +.fa-dashboard:before { content: '\f0e4'; } +.fa-comment-empty:before { content: '\f0e5'; } +.fa-chat-empty:before { content: '\f0e6'; } +.fa-file-text-o:before { content: '\f0f6'; } +.fa-quote-left:before { content: '\f10d'; } +.fa-quote-right:before { content: '\f10e'; } +.fa-smile:before { content: '\f118'; } +.fa-frown:before { content: '\f119'; } +.fa-meh:before { content: '\f11a'; } +.fa-keyboard:before { content: '\f11c'; } +.fa-code:before { content: '\f121'; } +.fa-attention-alt:before { content: '\f12a'; } +.fa-rss-squared:before { content: '\f143'; } +.fa-sort-name-up:before { content: '\f15d'; } +.fa-sort-name-down:before { content: '\f15e'; } +.fa-sort-up:before { content: '\f160'; } +.fa-sort-down:before { content: '\f161'; } +.fa-sort-number-up:before { content: '\f162'; } +.fa-sort-number-down:before { content: '\f163'; } +.fa-sun:before { content: '\f185'; } +.fa-moon:before { content: '\f186'; } +.fa-box:before { content: '\f187'; } +.fa-bug:before { content: '\f188'; } +.fa-plus-squared-alt:before { content: '\f196'; } +.fa-language:before { content: '\f1ab'; } +.fa-database:before { content: '\f1c0'; } +.fa-file-archive:before { content: '\f1c6'; } +.fa-header:before { content: '\f1dc'; } +.fa-newspaper-o:before { content: '\f1ea'; } +.fa-at:before { content: '\f1fa'; } +.fa-toggle-off:before { content: '\f204'; } +.fa-toggle-on:before { content: '\f205'; } +.fa-user-secret:before { content: '\f21b'; } +.fa-server:before { content: '\f233'; } +.fa-commenting:before { content: '\f27a'; } +.fa-commenting-o:before { content: '\f27b'; } +.fa-user-circle-o:before { content: '\f2be'; } diff --git a/theme/default/rsrc/css/import/_fonts.scss b/theme/default/rsrc/css/import/_fonts.scss index 2477120..109a541 100644 --- a/theme/default/rsrc/css/import/_fonts.scss +++ b/theme/default/rsrc/css/import/_fonts.scss @@ -1,10 +1,11 @@ /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# Font "Font Awesome" [4.7.0]: SIL Open Font License (OFL) +# Font "Font Awesome" [4.7.0] (by Fontello): SIL Open Font License (OFL) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ @font-face { - font-family: "FontAwesome"; + font-family: "Fontello"; font-weight: 400; - src: url("../font/font-awesome.woff2") format("woff2"); + font-style: normal; + src: url("../font/fontello.woff2") format("woff2"); } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ diff --git a/theme/default/rsrc/css/main.css b/theme/default/rsrc/css/main.css index 5797447..11cae12 100644 --- a/theme/default/rsrc/css/main.css +++ b/theme/default/rsrc/css/main.css @@ -456,78 +456,386 @@ thead > tr > td, th > td { } } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# FontAwesome Main +# Fontello ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -.fa { +.fa:before { + font-family: "Fontello"; + font-style: normal; + font-weight: normal; + speak: never; display: inline-block; - font: normal normal normal 14px/1 "FontAwesome"; - font-size: inherit; + text-decoration: inherit; + text-align: center; + /* For safety - reset parent styles, that can break glyph codes*/ + font-variant: normal; + text-transform: none; + /* Font smoothing. That was taken from TWBS */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# FontAwesome Icons +# Font Awesome icons +# ------------------ +# Copyright (C) 2016 by Dave Gandy +# Author: Dave Gandy +# License: SIL +# Homepage: http://fortawesome.github.com/Font-Awesome/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -.fa-rss:before { - content: ""; +.fa-pencil:before { + content: ""; } -.fa-key:before { - content: ""; +.fa-comment:before { + content: ""; } -.fa-bars:before { - content: ""; +.fa-chat:before { + content: ""; } -.fa-user:before { - content: ""; +.fa-users:before { + content: ""; +} + +.fa-cancel:before { + content: ""; +} + +.fa-plus:before { + content: ""; +} + +.fa-list:before { + content: ""; +} + +.fa-arrow-down:before { + content: ""; +} + +.fa-arrow-up:before { + content: ""; +} + +.fa-arrows-cw:before { + content: ""; +} + +.fa-tag:before { + content: ""; +} + +.fa-tags:before { + content: ""; +} + +.fa-star:before { + content: ""; +} + +.fa-star-empty:before { + content: ""; +} + +.fa-eye:before { + content: ""; +} + +.fa-ok:before { + content: ""; +} + +.fa-info-circled:before { + content: ""; } .fa-home:before { - content: ""; + content: ""; +} + +.fa-attach:before { + content: ""; +} + +.fa-cog:before { + content: ""; +} + +.fa-check:before { + content: ""; +} + +.fa-floppy:before { + content: ""; +} + +.fa-eye-off:before { + content: ""; +} + +.fa-folder-open:before { + content: ""; +} + +.fa-wrench:before { + content: ""; } .fa-search:before { content: ""; } -.fa-rss-square:before { - content: ""; +.fa-envelope-o:before { + content: ""; +} + +.fa-user:before { + content: ""; +} + +.fa-trash-o:before { + content: ""; +} + +.fa-clock-o:before { + content: ""; +} + +.fa-book:before { + content: ""; +} + +.fa-bold:before { + content: ""; +} + +.fa-italic:before { + content: ""; +} + +.fa-picture-o:before { + content: ""; +} + +.fa-pencil-square-o:before { + content: ""; } .fa-arrow-left:before { content: ""; } -.fa-user-secret:before { - content: ""; +.fa-arrow-right:before { + content: ""; +} + +.fa-exclamation-triangle:before { + content: ""; +} + +.fa-key:before { + content: ""; +} + +.fa-sign-out:before { + content: ""; +} + +.fa-external-link:before { + content: ""; +} + +.fa-sign-in:before { + content: ""; +} + +.fa-github-square:before { + content: ""; +} + +.fa-uncheck:before { + content: ""; +} + +.fa-rss:before { + content: ""; +} + +.fa-link:before { + content: ""; +} + +.fa-menu:before { + content: ""; +} + +.fa-list-ul:before { + content: ""; +} + +.fa-list-ol:before { + content: ""; +} + +.fa-dashboard:before { + content: ""; +} + +.fa-comment-empty:before { + content: ""; +} + +.fa-chat-empty:before { + content: ""; } .fa-file-text-o:before { content: ""; } +.fa-quote-left:before { + content: ""; +} + +.fa-quote-right:before { + content: ""; +} + +.fa-smile:before { + content: ""; +} + +.fa-frown:before { + content: ""; +} + +.fa-meh:before { + content: ""; +} + +.fa-keyboard:before { + content: ""; +} + +.fa-code:before { + content: ""; +} + +.fa-attention-alt:before { + content: ""; +} + +.fa-rss-squared:before { + content: ""; +} + +.fa-sort-name-up:before { + content: ""; +} + +.fa-sort-name-down:before { + content: ""; +} + +.fa-sort-up:before { + content: ""; +} + +.fa-sort-down:before { + content: ""; +} + +.fa-sort-number-up:before { + content: ""; +} + +.fa-sort-number-down:before { + content: ""; +} + +.fa-sun:before { + content: ""; +} + +.fa-moon:before { + content: ""; +} + +.fa-box:before { + content: ""; +} + +.fa-bug:before { + content: ""; +} + +.fa-plus-squared-alt:before { + content: ""; +} + +.fa-language:before { + content: ""; +} + +.fa-database:before { + content: ""; +} + +.fa-file-archive:before { + content: ""; +} + +.fa-header:before { + content: ""; +} + .fa-newspaper-o:before { content: ""; } -.fa-arrow-right:before { - content: ""; +.fa-at:before { + content: ""; } -.fa-exclamation-triangle:before { - content: ""; +.fa-toggle-off:before { + content: ""; +} + +.fa-toggle-on:before { + content: ""; +} + +.fa-user-secret:before { + content: ""; +} + +.fa-server:before { + content: ""; +} + +.fa-commenting:before { + content: ""; +} + +.fa-commenting-o:before { + content: ""; +} + +.fa-user-circle-o:before { + content: ""; } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# Font "Font Awesome" [4.7.0]: SIL Open Font License (OFL) +# Font "Font Awesome" [4.7.0] (by Fontello): SIL Open Font License (OFL) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ @font-face { - font-family: "FontAwesome"; + font-family: "Fontello"; font-weight: 400; - src: url("../font/font-awesome.woff2") format("woff2"); + font-style: normal; + src: url("../font/fontello.woff2") format("woff2"); } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Font "Ruda": SIL Open Font License (OFL) @@ -542,5 +850,3 @@ thead > tr > td, th > td { font-weight: 700; src: url("../font/ruda-n-700.woff2") format("woff2"); } - -/*# sourceMappingURL=main.css.map */ diff --git a/theme/default/rsrc/css/main.scss b/theme/default/rsrc/css/main.scss index 8215934..ba6e823 100644 --- a/theme/default/rsrc/css/main.scss +++ b/theme/default/rsrc/css/main.scss @@ -408,5 +408,5 @@ thead > tr > td, th > td { } @import "import/responsive"; -@import "import/font-awesome"; +@import "import/fontello"; @import "import/fonts"; -- cgit v1.2.3