vrifox/gitea-theme
Archived
1
0
Fork 0
This commit is contained in:
Vrifox 2020-11-17 19:48:02 +01:00
parent 454964518f
commit 4f35a2d72b
3 changed files with 11 additions and 3 deletions

View file

@ -2,11 +2,15 @@
/* DON'T EDIT THIS FILE; EDIT THE SCSS/SASS INSTEAD */ /* DON'T EDIT THIS FILE; EDIT THE SCSS/SASS INSTEAD */
/* ------------------------------------------------ */ /* ------------------------------------------------ */
/* ------------------------------------------------ */
/* FOR DEBUGGING REASONS : DYNAMIC */
/* ------------------------------------------------ */
// //
// Settings // Settings
// //
$type: backend; $type: dynamic;
$singleuser: false; // disables functions, that are not necessary if you are the only user (or at least as »frontend«) $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) $nojavascript: false; // disables or corrects functions, that would not work with disabled javascript (e.g. throught content security policy)

View file

@ -47,7 +47,7 @@
padding: 22px; padding: 22px;
} }
.right.stackable.menu { .right.stackable.menu {
@if $singleuser == true { @if $type == static {
display: none; display: none;
} }
.dropdown.item { .dropdown.item {

View file

@ -2,11 +2,15 @@
/* DON'T EDIT THIS FILE; EDIT THE SCSS/SASS INSTEAD */ /* DON'T EDIT THIS FILE; EDIT THE SCSS/SASS INSTEAD */
/* ------------------------------------------------ */ /* ------------------------------------------------ */
/* ------------------------------------------------ */
/* FOR DEBUGGING REASONS : STATIC */
/* ------------------------------------------------ */
// //
// Settings // Settings
// //
$type: frontend; $type: static;
$singleuser: true; // disables functions, that are not necessary if you are the only user (or at least as »frontend«) $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) $nojavascript: true; // disables or corrects functions, that would not work with disabled javascript (e.g. throught content security policy)