mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-03 20:05:53 +01:00
updates with new SVG Grav logo
This commit is contained in:
@@ -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
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
12
themes/grav/templates/partials/logo.html.twig
Normal file
12
themes/grav/templates/partials/logo.html.twig
Normal file
File diff suppressed because one or more lines are too long
@@ -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 %}#}
|
||||
|
||||
Reference in New Issue
Block a user