From 4f35a2d72b81376589aaf7f4286621ddaa0db1fd Mon Sep 17 00:00:00 2001 From: Vrifox Date: Tue, 17 Nov 2020 19:48:02 +0100 Subject: [PATCH] update --- scss/dynamic.scss | 6 +++++- scss/import/_nav.scss | 2 +- scss/static.scss | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/scss/dynamic.scss b/scss/dynamic.scss index 2c3ed6d..2fc61d8 100644 --- a/scss/dynamic.scss +++ b/scss/dynamic.scss @@ -2,11 +2,15 @@ /* DON'T EDIT THIS FILE; EDIT THE SCSS/SASS INSTEAD */ /* ------------------------------------------------ */ +/* ------------------------------------------------ */ +/* FOR DEBUGGING REASONS : DYNAMIC */ +/* ------------------------------------------------ */ + // // Settings // -$type: backend; +$type: dynamic; $singleuser: false; // disables functions, that are not necessary if you are the only user (or at least as »frontend«) $nojavascript: false; // disables or corrects functions, that would not work with disabled javascript (e.g. throught content security policy) diff --git a/scss/import/_nav.scss b/scss/import/_nav.scss index 2fa8a02..66cd429 100644 --- a/scss/import/_nav.scss +++ b/scss/import/_nav.scss @@ -47,7 +47,7 @@ padding: 22px; } .right.stackable.menu { - @if $singleuser == true { + @if $type == static { display: none; } .dropdown.item { diff --git a/scss/static.scss b/scss/static.scss index a755b92..e679321 100644 --- a/scss/static.scss +++ b/scss/static.scss @@ -2,11 +2,15 @@ /* DON'T EDIT THIS FILE; EDIT THE SCSS/SASS INSTEAD */ /* ------------------------------------------------ */ +/* ------------------------------------------------ */ +/* FOR DEBUGGING REASONS : STATIC */ +/* ------------------------------------------------ */ + // // Settings // -$type: frontend; +$type: static; $singleuser: true; // disables functions, that are not necessary if you are the only user (or at least as »frontend«) $nojavascript: true; // disables or corrects functions, that would not work with disabled javascript (e.g. throught content security policy)