mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-09-19 18:19:56 +08:00
Replace the Material theme by DiscordFX
This commit is contained in:
20
templates/discordfx/styles/main.js
Normal file
20
templates/discordfx/styles/main.js
Normal file
@@ -0,0 +1,20 @@
|
||||
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
function toggleMenu() {
|
||||
|
||||
var x = document.getElementById("sidebar");
|
||||
var b = document.getElementById("blackout");
|
||||
|
||||
if (x.style.left === "0px")
|
||||
{
|
||||
x.style.left = "-350px";
|
||||
b.classList.remove("showThat");
|
||||
b.classList.add("hideThat");
|
||||
}
|
||||
else
|
||||
{
|
||||
x.style.left = "0px";
|
||||
b.classList.remove("hideThat");
|
||||
b.classList.add("showThat");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user