mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-28 16:00:45 +02:00
Toggleable icon sets + logo text overlay fix #1334
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
# v1.7.0-rc.4
|
||||
## mm/dd/2018
|
||||
|
||||
1. [](#improved)
|
||||
* Added option to toggle between `line-awesome` and `font-awesome` icon sets [#1334](https://github.com/getgrav/grav-plugin-admin/issues/1334)
|
||||
1. [](#bugfix)
|
||||
* Fixed issue with custom logo text overlpapping the sidebar toggle [#1334](https://github.com/getgrav/grav-plugin-admin/issues/1334)
|
||||
|
||||
# v1.7.0-rc.3
|
||||
## 02/15/2018
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ frontend_pages_target: _blank
|
||||
show_github_msg: true
|
||||
pages_list_display_field: title
|
||||
google_fonts: false
|
||||
admin_icons: line-awesome
|
||||
enable_auto_updates_check: true
|
||||
notifications:
|
||||
feed: true
|
||||
|
||||
@@ -176,6 +176,15 @@ form:
|
||||
type: bool
|
||||
help: Use Google custom fonts. Disable this to use Helvetica. Useful when using Cyrillic and other languages with unsupported characters.
|
||||
|
||||
admin_icons:
|
||||
type: select
|
||||
size: medium
|
||||
label: Icon Style
|
||||
default: line-awesome
|
||||
options:
|
||||
line-awesome: Lighter Line Icons (LineAwesome)
|
||||
font-awesome: Darker Solid Icons (FontAwesome)
|
||||
|
||||
show_beta_msg:
|
||||
type: hidden
|
||||
|
||||
|
||||
2
themes/grav/css-compiled/template.css
vendored
2
themes/grav/css-compiled/template.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
themes/grav/css/font-awesome.min.css
vendored
Normal file
4
themes/grav/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
themes/grav/fonts/fontawesome-webfont.eot
Normal file
BIN
themes/grav/fonts/fontawesome-webfont.eot
Normal file
Binary file not shown.
2671
themes/grav/fonts/fontawesome-webfont.svg
Normal file
2671
themes/grav/fonts/fontawesome-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 434 KiB |
BIN
themes/grav/fonts/fontawesome-webfont.ttf
Normal file
BIN
themes/grav/fonts/fontawesome-webfont.ttf
Normal file
Binary file not shown.
BIN
themes/grav/fonts/fontawesome-webfont.woff
Normal file
BIN
themes/grav/fonts/fontawesome-webfont.woff
Normal file
Binary file not shown.
BIN
themes/grav/fonts/fontawesome-webfont.woff2
Normal file
BIN
themes/grav/fonts/fontawesome-webfont.woff2
Normal file
Binary file not shown.
@@ -282,7 +282,7 @@ $content-padding: 1.5rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
margin: 0 15px 0 0;
|
||||
@extend %vertical-align;
|
||||
text-align: center;
|
||||
font-size: 1.5rem;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{% if uri.extension() == 'json' %}{% include 'default.json.twig' %}{% else %}
|
||||
{% set icon_style = config.plugins.admin.admin_icons %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
{% else %}
|
||||
{% do assets.addCss(theme_url~'/css-compiled/simple-fonts.css') %}
|
||||
{% endif %}
|
||||
{% do assets.addCss(theme_url~'/css/line-awesome.min.css') %}
|
||||
{% do assets.addCss(theme_url~'/css/'~icon_style~'.min.css') %}
|
||||
{% do assets.addCss(theme_url~'/css/chartist.min.css') %}
|
||||
{% do assets.addCss(theme_url~'/css/selectize.min.css') %}
|
||||
{% do assets.addCss(theme_url~'/css/hint.base.min.css') %}
|
||||
|
||||
Reference in New Issue
Block a user