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

View file

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

View file

@ -9,8 +9,8 @@
<nav id="sidebar" class="default-animation {{ if $.Site.Params.showVisitedLinks }}showVisitedLinks{{ end }}"> <nav id="sidebar" class="default-animation {{ if $.Site.Params.showVisitedLinks }}showVisitedLinks{{ end }}">
{{- $currentNode := . }} {{- $currentNode := . }}
{{- $showvisitedlinks := .Site.Params.showVisitedLinks }} {{- $showvisitedlinks := .Site.Params.showVisitedLinks }}
<div id="header-wrapper"> <div id="header-wrapper" class="default-animation">
<div id="header"> <div id="header" class="default-animation">
{{ partial "logo.html" . }} {{ partial "logo.html" . }}
</div> </div>
{{- if not .Site.Params.disableSearch }} {{- if not .Site.Params.disableSearch }}
@ -18,7 +18,7 @@
{{- end }} {{- end }}
</div> </div>
{{- if not .Site.Params.disableLandingPageButton }} {{- if not .Site.Params.disableLandingPageButton }}
<div id="homelinks"> <div id="homelinks" class="default-animation">
<ul> <ul>
<li> <li>
<a class="padding" href="{{ .Site.Params.landingPageURL | default "/" | relLangURL }}">{{ .Site.Params.landingPageName | default `<i class="fas fa-home"></i> Home` | safeHTML }}</a> <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> <label for="search-by"><i class="fas fa-search"></i></label>
<input data-search-input id="search-by" type="search" placeholder="{{ T "Search-placeholder" }}"> <input data-search-input id="search-by" type="search" placeholder="{{ T "Search-placeholder" }}">
<span data-search-clear=""><i class="fas fa-times"></i></span> <span data-search-clear=""><i class="fas fa-times"></i></span>