theme: animate large areas on theme switch #178

This commit is contained in:
Sören Weber 2022-02-13 09:45:11 +01:00
parent 44b138a6b7
commit f5455500fa
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
4 changed files with 6 additions and 6 deletions

View file

@ -22,7 +22,7 @@
</style>
{{- partial "custom-header.html" . }}
</head>
<body class="" data-url="/">
<body class="default-animation" data-url="/">
<div id="body default-animation" style="margin-left:0px;">
<div id="overlay"></div>
<div id="chapter">

View file

@ -24,7 +24,7 @@
{{- partial "stylesheet.html" . }}
{{- partial "custom-header.html" . }}
</head>
<body class="" data-url="{{ .RelPermalink }}">
<body class="default-animation" data-url="{{ .RelPermalink }}">
{{- partial "menu.html" . }}
<div id="body" class="default-animation">
<div id="overlay"></div>

View file

@ -9,8 +9,8 @@
<nav id="sidebar" class="default-animation {{ if $.Site.Params.showVisitedLinks }}showVisitedLinks{{ end }}">
{{- $currentNode := . }}
{{- $showvisitedlinks := .Site.Params.showVisitedLinks }}
<div id="header-wrapper">
<div id="header">
<div id="header-wrapper" class="default-animation">
<div id="header" class="default-animation">
{{ partial "logo.html" . }}
</div>
{{- if not .Site.Params.disableSearch }}
@ -18,7 +18,7 @@
{{- end }}
</div>
{{- if not .Site.Params.disableLandingPageButton }}
<div id="homelinks">
<div id="homelinks" class="default-animation">
<ul>
<li>
<a class="padding" href="{{ .Site.Params.landingPageURL | default "/" | relLangURL }}">{{ .Site.Params.landingPageName | default `<i class="fas fa-home"></i> Home` | safeHTML }}</a>

View file

@ -1,4 +1,4 @@
<div class="searchbox">
<div class="searchbox default-animation">
<label for="search-by"><i class="fas fa-search"></i></label>
<input data-search-input id="search-by" type="search" placeholder="{{ T "Search-placeholder" }}">
<span data-search-clear=""><i class="fas fa-times"></i></span>