aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/rsrc/css
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-26 00:34:34 +0200
committerThomas Lange <code@nerdmind.de>2021-06-26 00:37:46 +0200
commitd581ae0cfc6c4c3210cbdd9680739a74211cde67 (patch)
tree38f1572337c91075f45bf347662268fa403b6e3e /theme/admin/rsrc/css
parent2777d36d5e5271ea70f8ee7d4c403e4309812de8 (diff)
downloadblog-d581ae0cfc6c4c3210cbdd9680739a74211cde67.tar.gz
blog-d581ae0cfc6c4c3210cbdd9680739a74211cde67.tar.xz
blog-d581ae0cfc6c4c3210cbdd9680739a74211cde67.zip
Add and change some Fontello icons for admin theme
Diffstat (limited to 'theme/admin/rsrc/css')
-rw-r--r--theme/admin/rsrc/css/import/_font-awesome.scss138
-rw-r--r--theme/admin/rsrc/css/import/_fontello.scss116
-rw-r--r--theme/admin/rsrc/css/import/_fonts.scss5
-rw-r--r--theme/admin/rsrc/css/main.css337
-rw-r--r--theme/admin/rsrc/css/main.scss4
5 files changed, 401 insertions, 199 deletions
diff --git a/theme/admin/rsrc/css/import/_font-awesome.scss b/theme/admin/rsrc/css/import/_font-awesome.scss
deleted file mode 100644
index 448491f..0000000
--- a/theme/admin/rsrc/css/import/_font-awesome.scss
+++ /dev/null
@@ -1,138 +0,0 @@
-/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-# FontAwesome Main
-++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
-.fa {
- font: normal normal normal 14px/1 "FontAwesome";
- font-size: inherit;
- speak: none;
- display: inline-block;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale
-}
-
-/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-# FontAwesome Icons
-++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
-.fa-bug:before {
- content: "\f188";
-}
-
-.fa-key:before {
- content: "\f084";
-}
-
-.fa-link:before {
- content: "\f0c1";
-}
-
-.fa-bold:before {
- content: "\f032";
-}
-
-.fa-code:before {
- content: "\f121";
-}
-
-.fa-user:before {
- content: "\f007";
-}
-
-.fa-book:before {
- content: "\f02d";
-}
-
-.fa-italic:before {
- content: "\f033";
-}
-
-.fa-header:before {
- content: "\f1dc";
-}
-
-.fa-search:before {
- content: "\f002";
-}
-
-.fa-trash-o:before {
- content: "\f014";
-}
-
-.fa-sign-in:before {
- content: "\f090";
-}
-
-.fa-clock-o:before {
- content: "\f017";
-}
-
-.fa-list-ul:before {
- content: "\f0ca";
-}
-
-.fa-list-ol:before {
- content: "\f0cb";
-}
-
-.fa-database:before {
- content: "\f1c0";
-}
-
-.fa-language:before {
- content: "\f1ab";
-}
-
-.fa-sign-out:before {
- content: "\f08b";
-}
-
-.fa-dashboard:before {
- content: "\f0e4";
-}
-
-.fa-picture-o:before {
- content: "\f03e";
-}
-
-.fa-envelope-o:before {
- content: "\f003";
-}
-
-.fa-arrow-left:before {
- content: "\f060";
-}
-
-.fa-quote-right:before {
- content: "\f10e";
-}
-
-.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-external-link:before {
- content: "\f08e";
-}
-
-.fa-github-square:before {
- content: "\f092";
-}
-
-.fa-pencil-square-o:before {
- content: "\f044";
-}
-
-.fa-exclamation-triangle:before {
- content: "\f071";
-}
diff --git a/theme/admin/rsrc/css/import/_fontello.scss b/theme/admin/rsrc/css/import/_fontello.scss
new file mode 100644
index 0000000..7c2e964
--- /dev/null
+++ b/theme/admin/rsrc/css/import/_fontello.scss
@@ -0,0 +1,116 @@
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# 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-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-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-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/admin/rsrc/css/import/_fonts.scss b/theme/admin/rsrc/css/import/_fonts.scss
index 2145065..4431bec 100644
--- a/theme/admin/rsrc/css/import/_fonts.scss
+++ b/theme/admin/rsrc/css/import/_fonts.scss
@@ -2,9 +2,10 @@
# 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-fontello.woff2") format("woff2");
+ font-style: normal;
+ src: url("../font/fontello.woff2") format("woff2");
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
diff --git a/theme/admin/rsrc/css/main.css b/theme/admin/rsrc/css/main.css
index 7d93d94..d227c31 100644
--- a/theme/admin/rsrc/css/main.css
+++ b/theme/admin/rsrc/css/main.css
@@ -588,7 +588,7 @@ table, td {
.button-list.markdown > li {
float: left;
- padding: 0.5rem;
+ padding: 0.25rem;
cursor: pointer;
width: 1.75rem;
box-sizing: border-box;
@@ -793,151 +793,374 @@ label:after {
}
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-# FontAwesome Main
+# Fontello
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
-.fa {
- font: normal normal normal 14px/1 "FontAwesome";
- font-size: inherit;
- speak: none;
+.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); */
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-# FontAwesome Icons
+# Font Awesome icons
+# ------------------
+# Copyright (C) 2016 by Dave Gandy
+# Author: Dave Gandy
+# License: SIL
+# Homepage: http://fortawesome.github.com/Font-Awesome/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
-.fa-bug:before {
- content: "";
+.fa-pencil:before {
+ content: "";
}
-.fa-key:before {
- content: "";
+.fa-comment:before {
+ content: "";
}
-.fa-link:before {
- content: "";
+.fa-chat:before {
+ content: "";
}
-.fa-bold:before {
- content: "";
+.fa-users:before {
+ content: "";
}
-.fa-code: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: "";
+}
+
+.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-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-header:before {
- content: "";
+.fa-picture-o:before {
+ content: "";
}
-.fa-search:before {
- content: "";
+.fa-pencil-square-o:before {
+ content: "";
}
-.fa-trash-o:before {
- content: "";
+.fa-arrow-left: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-clock-o:before {
- content: "";
+.fa-github-square:before {
+ content: "";
}
-.fa-list-ul:before {
- content: "";
+.fa-uncheck:before {
+ content: "";
}
-.fa-list-ol:before {
- content: "";
+.fa-link:before {
+ content: "";
}
-.fa-database:before {
- content: "";
+.fa-menu:before {
+ content: "";
}
-.fa-language:before {
- content: "";
+.fa-list-ul:before {
+ content: "";
}
-.fa-sign-out:before {
- content: "";
+.fa-list-ol:before {
+ content: "";
}
.fa-dashboard:before {
content: "";
}
-.fa-picture-o:before {
- content: "";
+.fa-comment-empty:before {
+ content: "";
}
-.fa-envelope-o:before {
- content: "";
+.fa-chat-empty:before {
+ content: "";
}
-.fa-arrow-left:before {
- content: "";
+.fa-file-text-o:before {
+ content: "";
+}
+
+.fa-quote-left:before {
+ content: "";
}
.fa-quote-right:before {
content: "";
}
-.fa-user-secret:before {
- content: "";
+.fa-smile:before {
+ content: "";
}
-.fa-file-text-o:before {
- content: "";
+.fa-frown:before {
+ content: "";
+}
+
+.fa-meh:before {
+ content: "";
+}
+
+.fa-keyboard:before {
+ content: "";
+}
+
+.fa-code:before {
+ content: "";
+}
+
+.fa-attention-alt: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-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-external-link:before {
- content: "";
+.fa-toggle-off:before {
+ content: "";
}
-.fa-github-square:before {
- content: "";
+.fa-toggle-on:before {
+ content: "";
}
-.fa-pencil-square-o:before {
- content: "";
+.fa-user-secret:before {
+ content: "";
}
-.fa-exclamation-triangle: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] (by Fontello): SIL Open Font License (OFL)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
@font-face {
- font-family: "FontAwesome";
+ font-family: "Fontello";
font-weight: 400;
- src: url("../font/font-awesome-fontello.woff2") format("woff2");
+ font-style: normal;
+ src: url("../font/fontello.woff2") format("woff2");
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Font "Kadwa": SIL Open Font License (OFL)
diff --git a/theme/admin/rsrc/css/main.scss b/theme/admin/rsrc/css/main.scss
index cc9bbb1..9eff371 100644
--- a/theme/admin/rsrc/css/main.scss
+++ b/theme/admin/rsrc/css/main.scss
@@ -656,7 +656,7 @@ table, td {
.button-list.markdown > li {
float: left;
- padding: 0.5rem;
+ padding: 0.25rem;
cursor: pointer;
width: 1.75rem;
box-sizing: border-box;
@@ -788,5 +788,5 @@ label {
}
@import "import/responsive";
-@import "import/font-awesome";
+@import "import/fontello";
@import "import/fonts";