updates with new SVG Grav logo

This commit is contained in:
Andy Miller
2016-03-01 16:23:55 -07:00
parent 020abedc86
commit f45e1dce24
9 changed files with 3053 additions and 11 deletions

View File

@@ -79,8 +79,6 @@ class AdminPlugin extends Plugin
'onAdminDashboard' => ['onAdminDashboard', 0],
];
}
return [];
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -280,6 +280,17 @@ tr {
#admin-logo {
background: $logo-bg;
#grav-logo {
path {
fill: rgba($logo-link, 0.9) !important;
}
&:hover {
path {
fill: $logo-link !important;
}
}
}
a {
color: shade($logo-link, 20%);
&:hover {

View File

@@ -20,6 +20,31 @@ $update-height: 3rem;
#admin-logo {
height: $topbar-height;
text-align: center;
#grav-logo {
max-width: 100%;
padding-left: 1.5rem;
height: $topbar-height;
}
a {
display: inline-block;
vertical-align: middle;
text-align: right;
padding-right: 1rem;
width: 20%;
&:first-child {
width: 70%;
padding-right: 0;
}
.fa {
display: block;
margin-top: -5px;
}
}
h3 {
text-transform: uppercase;

File diff suppressed because one or more lines are too long

View File

@@ -1,10 +1,6 @@
<nav id="admin-sidebar">
<div id="admin-logo">
{% if config.plugins["admin-pro"].custom_logo_top_left %}
<a target="_blank" href="{{ base_url_relative_frontend }}"><img src="{{ base_url_relative_frontend == '/' ? '/' : base_url_relative_frontend ~ '/'}}{{ config.plugins["admin-pro"].custom_logo_top_left }}" /></a>
{% else %}
<h3><a href="{{ base_url_relative }}">{{ "PLUGIN_ADMIN.GRAV_ADMIN"|tu }}</a> <a target="_blank" href="{{ base_url_relative_frontend }}"> <i class="fa fa-fw fa-arrow-circle-right"></i></a></h3>
{% endif %}
{% include 'partials/logo.html.twig' %}
</div>
{#{% if admin.authorize %}#}