diff --git a/assets/fosscord-login.css b/assets/fosscord-login.css
deleted file mode 100644
index 975bf908..00000000
--- a/assets/fosscord-login.css
+++ /dev/null
@@ -1,68 +0,0 @@
-/* replace tos acceptance popup */
-#app-mount > div:nth-child(7) > div > div > div.tooltipContent-bqVLWK {
- visibility: hidden;
-}
-#app-mount > div:nth-child(7) > div > div > div.tooltipContent-bqVLWK::after {
- visibility: visible;
- display: block;
- content: "You need to agree to this instance's rules to continue";
- margin-top: -32px;
-}
-/* replace login header */
-#app-mount > div.app-1q1i1E > div > div > div > div > form > div > div > div.mainLoginContainer-1ddwnR > h3 {
- visibility: hidden;
-}
-h3.title-jXR8lp.marginBottom8-AtZOdT.base-1x0h_U.size24-RIRrxO::after {
- margin-top: -32px;
- content: "Welcome to Fosscord!";
- visibility: visible;
- display: block;
-}
-
-/* Logo in top left when bg removed */
-#app-mount > div.app-1q1i1E > div > a {
- /* replace me: original dimensions: 130x36 */
- background: url(https://raw.githubusercontent.com/fosscord/fosscord/master/assets-rebrand/svg/Fosscord-Wordmark-Gradient.svg);
- width: 130px;
- height: 23px;
- background-size: contain;
-}
-
-/* replace TOS text */
-
-#app-mount
- > div.app-1q1i1E
- > div
- > div
- > div
- > form
- > div
- > div
- > div.flex-1xMQg5.flex-1O1GKY.horizontal-1ae9ci.horizontal-2EEEnY.flex-1O1GKY.directionRow-3v3tfG.justifyStart-2NDFzi.alignCenter-1dQNNs.noWrap-3jynv6.marginTop20-3TxNs6
- > label
- > div.label-cywgfr.labelClickable-11AuB8.labelForward-1wfipV
- > * {
- visibility: hidden;
-}
-
-#app-mount
- > div.app-1q1i1E
- > div
- > div
- > div
- > form
- > div
- > div
- > div.flex-1xMQg5.flex-1O1GKY.horizontal-1ae9ci.horizontal-2EEEnY.flex-1O1GKY.directionRow-3v3tfG.justifyStart-2NDFzi.alignCenter-1dQNNs.noWrap-3jynv6.marginTop20-3TxNs6
- > label
- > div.label-cywgfr.labelClickable-11AuB8.labelForward-1wfipV::after {
- visibility: visible;
- content: "I have read and agree with the rules set by this instance.";
- display: block;
- margin-top: -16px;
-}
-
-/* shrink login box to same size as register */
-.authBoxExpanded-2jqaBe {
- width: 480px !important;
-}
diff --git a/assets/fosscord.css b/assets/fosscord.css
index fa503d39..ba54b1cf 100644
--- a/assets/fosscord.css
+++ b/assets/fosscord.css
@@ -1,92 +1,4 @@
/* loading spinner */
-#app-mount > div.app-1q1i1E > div.container-16j22k.fixClipping-3qAKRb > div.content-1-zrf2 > video {
- filter: opacity(1);
- background: url("http://www.clipartbest.com/cliparts/7ca/6Rr/7ca6RrLAi.gif");
- background-size: contain;
- /* width: 64px;
- height: 64px; */
- padding-bottom: 64px;
- background-repeat: no-repeat;
-}
-
-/* home button icon */
-#app-mount
- > div.app-1q1i1E
- > div
- > div.layers-3iHuyZ.layers-3q14ss
- > div
- > div
- > nav
- > ul
- > div.scroller-1Bvpku.none-2Eo-qx.scrollerBase-289Jih
- > div.tutorialContainer-2sGCg9
- > div
- > div.listItemWrapper-KhRmzM
- > div
- > svg
- > foreignObject
- > div
- > div {
- background-image: url(https://raw.githubusercontent.com/fosscord/fosscord/master/assets-rebrand/svg/Fosscord-Icon-Rounded-Subtract.svg);
- background-size: contain;
- border-radius: 50%;
-}
-
-#app-mount
- > div.app-1q1i1E
- > div
- > div.layers-3iHuyZ.layers-3q14ss
- > div
- > div
- > nav
- > ul
- > div.scroller-1Bvpku.none-2Eo-qx.scrollerBase-289Jih
- > div.tutorialContainer-2sGCg9
- > div
- > div.listItemWrapper-KhRmzM
- > div
- > svg
- > foreignObject
- > div
- > div,
-#app-mount
- > div.app-1q1i1E
- > div
- > div.layers-3iHuyZ.layers-3q14ss
- > div
- > div
- > nav
- > ul
- > div.scroller-1Bvpku.none-2Eo-qx.scrollerBase-289Jih
- > div.tutorialContainer-2sGCg9
- > div
- > div.listItemWrapper-KhRmzM
- > div
- > svg
- > foreignObject
- > div
- > div:hover {
- background-color: white;
-}
-/* Login QR */
-#app-mount > div.app-1q1i1E > div > div > div > div > form > div > div > div.transitionGroup-aR7y1d.qrLogin-1AOZMt,
-#app-mount > div.app-1q1i1E > div > div > div > div > form > div > div > div.verticalSeparator-3huAjp,
-/* Remove login bg */
-#app-mount > div.app-1q1i1E > div > svg,
-/* Download bar */
-#app-mount > div.app-1q1i1E > div > div.layers-3iHuyZ.layers-3q14ss > div > div > div > div.notice-3bPHh-.colorDefault-22HBa0,
-/* Connection problem links */
-#app-mount > div.app-1q1i1E > div.container-16j22k.fixClipping-3qAKRb > div.problems-3mgf6w.slideIn-sCvzGz > div:nth-child(2),
-/* Downloads button */
-#app-mount > div.app-1q1i1E > div > div.layers-3iHuyZ.layers-3q14ss > div > div > nav > ul > div.scroller-1Bvpku.none-2Eo-qx.scrollerBase-289Jih > div:nth-child(7) > div.listItemWrapper-KhRmzM > div > svg > foreignObject > div,
-#app-mount > div.app-1q1i1E > div > div.layers-3iHuyZ.layers-3q14ss > div > div > nav > ul > div.scroller-1Bvpku.none-2Eo-qx.scrollerBase-289Jih > div:nth-child(6) > div,
-/* help button */
-#app-mount > div.app-1q1i1E > div > div.layers-3iHuyZ.layers-3q14ss > div > div > div > div.content-98HsJk > div.chat-3bRxxu > section > div.toolbar-1t6TWx > a,
-/* download button start of guild */
-#chat-messages-899316648933185083 > div > div > div:nth-child(5),
-/* Thread permissions etc popups */
-#app-mount > div.app-1q1i1E > div > div.layers-3iHuyZ.layers-3q14ss > div > div > div > div.content-98HsJk > div.sidebar-2K8pFh.hasNotice-1XRy4h > nav > div.container-3O_wAf,
-/* home button icon */
-#app-mount > div.app-1q1i1E > div > div.layers-3iHuyZ.layers-3q14ss > div > div > nav > ul > div.scroller-1Bvpku.none-2Eo-qx.scrollerBase-289Jih > div.tutorialContainer-2sGCg9 > div > div.listItemWrapper-KhRmzM > div > svg > foreignObject > div > div > svg {
- display: none;
-}
+:root {
+ --brand-hue: 22;
+}
\ No newline at end of file
diff --git a/assets/index.html b/assets/index.html
index 4513d0d2..0cd90c8e 100644
--- a/assets/index.html
+++ b/assets/index.html
@@ -5,7 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Discord Test Client</title>
<link rel="stylesheet" href="/assets/fosscord.css" />
- <link id="logincss" rel="stylesheet" href="/assets/fosscord-login.css" />
<link id="customcss" rel="stylesheet" href="/assets/user.css" />
<!-- inline plugin marker -->
<!-- preload plugin marker -->
@@ -28,20 +27,21 @@
INVITE_HOST: `${location.hostname}/invite`,
GUILD_TEMPLATE_HOST: "${location.host}",
GIFT_CODE_HOST: "${location.hostname}",
- RELEASE_CHANNEL: "stable",
MARKETING_ENDPOINT: "//discord.com",
BRAINTREE_KEY: "production_5st77rrc_49pp2rp4phym7387",
STRIPE_KEY: "pk_live_CUQtlpQUF0vufWpnpUmQvcdi",
NETWORKING_ENDPOINT: "//router.discordapp.net",
RTC_LATENCY_ENDPOINT: "//${location.hostname}/rtc",
ACTIVITY_APPLICATION_HOST: "discordsays.com",
- PROJECT_ENV: "production",
REMOTE_AUTH_ENDPOINT: "//localhost:3020",
SENTRY_TAGS: { buildId: "75e36d9", buildType: "normal" },
MIGRATION_SOURCE_ORIGIN: "https://${location.hostname}",
MIGRATION_DESTINATION_ORIGIN: "https://${location.hostname}",
HTML_TIMESTAMP: Date.now(),
- ALGOLIA_KEY: "aca0d7082e4e63af5ba5917d5e96bed0"
+ ALGOLIA_KEY: "aca0d7082e4e63af5ba5917d5e96bed0",
+ SENTRY_TAGS: { instance: document.location.host },
+ PROJECT_ENV: "development",
+ RELEASE_CHANNEL: "staging",
};
GLOBAL_ENV.MEDIA_PROXY_ENDPOINT = location.protocol + "//" + GLOBAL_ENV.CDN_HOST;
const localStorage = window.localStorage;
diff --git a/assets/private/icons/custom/.gitkeep b/assets/private/icons/custom/.gitkeep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/assets/private/icons/custom/.gitkeep
diff --git a/assets/private/icons/homeIcon.path b/assets/private/icons/homeIcon.path
new file mode 100644
index 00000000..b4b062ca
--- /dev/null
+++ b/assets/private/icons/homeIcon.path
@@ -0,0 +1 @@
+M 0,0 47.999993,2.7036528e-4 C 48.001796,3.3028172 47.663993,6.5968018 46.991821,9.8301938 43.116101,28.454191 28.452575,43.116441 9.8293509,46.992163 6.5960834,47.664163 3.3023222,48.001868 0,47.999992 Z m 9.8293509,28.735114 v 9.248482 C 22.673599,33.047696 32.857154,22.749268 37.63852,9.829938 H 9.8293509 v 8.679899 H 22.931288 c -3.554489,3.93617 -7.735383,7.257633 -12.373436,9.829938 -0.241031,0.133684 -0.483864,0.265492 -0.7285011,0.395339 z
\ No newline at end of file
|