3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 18:35:27 +00:00

Fixed dark mode footer links

This commit is contained in:
snipe
2025-12-05 18:35:18 +00:00
parent bb5c142f52
commit 412f4c65c8
2 changed files with 22 additions and 3 deletions

View File

@ -644,7 +644,7 @@ return [
'use_cloned_image' => 'Clone image from original',
'use_cloned_image_help' => 'You may clone the original image or you can upload a new one using the upload field below.',
'use_cloned_no_image_help' => 'This item does not have an associated image and instead inherits from the model or category it belongs to. If you would like to use a specific image for this item, you can upload a new one below.',
'footer_credit' => '<a target="_blank" href="https://snipeitapp.com" rel="noopener">Snipe-IT</a> is open source software, made with <i class="fa fa-heart" aria-hidden="true" style="color: #a94442; font-size: 10px" /></i><span class="sr-only">love</span> by <a href="https://bsky.app/profile/snipeitapp.com" rel="noopener">@snipeitapp.com</a>.',
'footer_credit' => '<a target="_blank" href="https://snipeitapp.com" rel="noopener">Snipe-IT</a> is open source software, made with <i class="fa fa-heart" aria-hidden="true" style="color: #a94442; font-size: 10px" /></i><span class="sr-only">love</span> by Grokability, Inc.',
'set_password' => 'Set a Password',
'upload_deleted' => 'Upload Deleted',
'child_locations' => 'Child Locations',

View File

@ -61,7 +61,7 @@
--nav-hover-text-color: {{ $nav_link_color ?? 'light-dark(hsl(from var(--main-theme-color) h s calc(l - 10)),hsl(from var(--main-theme-color) h s calc(l - 10)))' }};
--main-footer-bg-color: light-dark(#ffffff,#3d4144);
--main-footer-top-border-color: light-dark(#d2d6de,#605e5e);
--main-footer-text-color: light-dark(##605e5e, #d2d6de);
--main-footer-text-color: light-dark(#605e5e, #d2d6de);
}
@ -149,6 +149,11 @@
color: var(--link-hover) !important;
}
.footer-links a {
color: light-dark(hsl(from var(--link-color) h s calc(l + 10)),hsl(from var(--link-color) h s calc(l - 32))) !important;
}
h2 small {
color: var(--color-fg) !important;
}
@ -1695,11 +1700,25 @@
<div class="hidden-xs pull-left">
<div class="pull-left footer-links">
{!! trans('general.footer_credit') !!}
<a target="_blank" href="https://bsky.app/profile/snipeitapp.com" rel="noopener" data-tooltip="true" data-title="Join us on Bluesky">
<i class="fa-brands fa-square-bluesky"></i>
</a>
<a target="_blank" href="https://hachyderm.io/@grokability" rel="noopener" data-tooltip="true" data-title="Join us on Github">
<i class="fa-brands fa-square-github"></i>
</a>
<a target="_blank" href="https://hachyderm.io/@grokability" rel="noopener" data-tooltip="true" data-title="Join us on Mastodon">
<i class="fa-brands fa-mastodon"></i>
</a>
<a target="_blank" href="https://discord.gg/yZFtShAcKk" rel="noopener" data-tooltip="true" data-title="Join us on Discord">
<i class="fa-brands fa-discord"></i>
</a>
</div>
<div class="pull-right">
@if ($snipeSettings->version_footer!='off')
@if (($snipeSettings->version_footer=='on') || (($snipeSettings->version_footer=='admin') && (Auth::user()->isSuperUser()=='1')))
&nbsp; <strong>{{ trans('general.version') }}</strong> {{ config('version.app_version') }} -
&nbsp; {{ trans('general.version') }} {{ config('version.app_version') }} -
{{ trans('general.build') }} {{ config('version.build_version') }} ({{ config('version.branch') }})
@endif
@endif