UX: Enhance splash screen styles

This commit is contained in:
Michael Mayer 2022-05-21 20:08:31 +02:00
parent da866a98d4
commit c1d06f5d2b
2 changed files with 5 additions and 5 deletions

View file

@ -1,10 +1,10 @@
<div id="photoprism" class="container{{if .config.SiteCaption}} theme-{{ .config.Settings.UI.Theme }}{{end}}">
<noscript>
<div id="noscript-info" class="elevation-1 splash-info">
<div id="noscript-info" class="splash-info">
<a href="https://enable-javascript.com/" target="_blank">Need help enabling JavaScript?</a>
</div>
</noscript>
<div id="splash-info" class="elevation-1 has-js splash-info">
<div id="splash-info" class="has-js splash-info">
{{if .config.Imprint}}
{{if .config.ImprintUrl}}<a href="{{ .config.ImprintUrl }}" target="_blank" class="imprint">{{ .config.Imprint }}</a>
{{else}}<span class="imprint">{{ .config.Imprint }}</span>{{end}}

View file

@ -189,12 +189,12 @@
#splash-info {
display: none;
font-weight: 600;
font-weight: bold;
}
#noscript-info {
display: block;
font-weight: 600;
font-weight: bold;
}
#loading-info {
@ -208,7 +208,7 @@
#photoprism .splash-info a {
text-align: center;
text-decoration: none;
font-size: 16px;
font-size: 15px;
color: #101010;
width: auto;
padding: 0;