diff --git a/apps/gnous_eu/static/stylesheets/sass/uikit_fix.scss b/apps/gnous_eu/static/stylesheets/sass/uikit_fix.scss index 057408b..a9475a2 100644 --- a/apps/gnous_eu/static/stylesheets/sass/uikit_fix.scss +++ b/apps/gnous_eu/static/stylesheets/sass/uikit_fix.scss @@ -109,15 +109,15 @@ &:before { content: ''; - background-color: #fff; - position: absolute; - width: 20px; - height: 20px; - left: 2px; - bottom: 2px; - border-radius: 50%; - transition-property: transform, box-shadow; - transition-duration: .05s; + background-color: #fff; + position: absolute; + width: 20px; + height: 20px; + left: 2px; + bottom: 2px; + border-radius: 50%; + transition-property: transform, box-shadow; + transition-duration: .05s; } } diff --git a/apps/gnous_eu/templates/layouts/foot.html b/apps/gnous_eu/templates/layouts/foot.html index cd07969..063b55b 100644 --- a/apps/gnous_eu/templates/layouts/foot.html +++ b/apps/gnous_eu/templates/layouts/foot.html @@ -12,9 +12,18 @@ Don't judge me @@ -54,7 +59,10 @@ Don't judge me theme_session = window.sessionStorage.getItem('theme') if (theme_session !== null) { applyTheme(theme_session); - window.theme.checked = theme_session === 'dark' + + themeCheckboxes.forEach(checkbox => { + document.querySelector(`input[name=${checkbox}]`).checked = theme_session === 'dark' + }) } diff --git a/apps/gnous_eu/templates/layouts/footer.html b/apps/gnous_eu/templates/layouts/footer.html index 4b1201b..ddd56e9 100644 --- a/apps/gnous_eu/templates/layouts/footer.html +++ b/apps/gnous_eu/templates/layouts/footer.html @@ -17,7 +17,7 @@ | Version: {% version 'short' %} -
+