diff --git a/Installers/Electron/src/utils.js b/Installers/Electron/src/utils.js index e08e95e2..ec5e9583 100644 --- a/Installers/Electron/src/utils.js +++ b/Installers/Electron/src/utils.js @@ -73,8 +73,8 @@ class Utils { }); return path; }, - "darwin": () => "/Applications/Discord.app", - "linux": () => "" // TODO + "darwin": () => "/Applications/Discord.app/Contents", + "linux": () => "/usr/share/discord" }[platform](); } @@ -84,8 +84,12 @@ class Utils { "win32": () => { return `${process.env.APPDATA}/BetterDiscord/lib`; }, + "darwin": () => { + return `${process.env.HOME}/.local/share/BetterDiscord`; + }, "linux": () => { - return ""; // TODO + // FIXME: for a non-root user, a path like OSX's makes more sense + return "/usr/local/share/BetterDiscord"; } }[platform](); } diff --git a/Installers/Node/index.js b/Installers/Node/index.js index e7b6d084..5d419631 100644 --- a/Installers/Node/index.js +++ b/Installers/Node/index.js @@ -244,14 +244,10 @@ function init() { switch(alc) { case "y": - install(); - break; case "yes": install(); break; case "n": - process.exit(); - break; case "no": process.exit(); break; diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..58c3eea6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2015-present Jiiks | Jiiks.net + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Plugins/AutoPlayGifs.plugin.js b/Plugins/AutoPlayGifs.plugin.js index f7e3b8d5..ef61e8c4 100644 --- a/Plugins/AutoPlayGifs.plugin.js +++ b/Plugins/AutoPlayGifs.plugin.js @@ -2,23 +2,47 @@ var agif = function () {}; -agif.prototype.convert = function () { - $(".image canvas").each(function() { - var src = $(this).attr("src"); - if(src != undefined) { - $(this).replaceWith(''); +// Autoplay GIFs +agif.prototype.convert = function (target) { + // Handle GIF + $(target).find(".image:has(canvas)").each(function () { + var image = $(this); + var canvas = image.children("canvas").first(); + // Replace GIF preview with actual image + var src = canvas.attr("src"); + if(src !== undefined) { + image.replaceWith($("", { + src: canvas.attr("src"), + width: canvas.attr("width"), + height: canvas.attr("height"), + }).addClass("image kawaii-autogif")); } }); + + // Handle GIFV + $(target).find(".embed-thumbnail-gifv:has(video)").each(function () { + var embed = $(this); + var video = embed.children("video").first(); + // Remove the class, embed-thumbnail-gifv, to avoid the "GIF" overlay + embed.removeClass("embed-thumbnail-gifv").addClass("kawaii-autogif"); + // Prevent the default behavior of pausing the video + embed.parent().on("mouseout.autoGif", function (event) { + event.stopPropagation(); + }); + video[0].play(); + }); }; -agif.prototype.onMessage = function () { - this.convert(); -}; -agif.prototype.onSwitch = function () { - this.convert(); -}; +agif.prototype.onMessage = function () {}; + +agif.prototype.onSwitch = function () {}; + agif.prototype.start = function () { - this.convert(); + this.convert(document); +}; + +agif.prototype.observer = function (e) { + this.convert(e.target); }; agif.prototype.load = function () {}; @@ -35,8 +59,8 @@ agif.prototype.getDescription = function () { return "Autoplay gifs without having to hover."; }; agif.prototype.getVersion = function () { - return "0.1.0"; + return "1.0.0"; }; agif.prototype.getAuthor = function () { - return "Jiiks"; -}; \ No newline at end of file + return "noodlebox"; +}; diff --git a/README.md b/README.md index d80f606f..923145e0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Note that this whole branch is deprecated. all further development is going on h Better Discord App enhances the Discord desktop app with new features. -![ss](http://puu.sh/oIO58.png) +![ss](http://i.imgur.com/Gj6oD7z.png) ## Windows Universal Installer * Download the latest installer from [releases](https://github.com/Jiiks/BetterDiscordApp/releases) @@ -52,8 +52,8 @@ Minimal mode makes elements smaller and hides certain elements. Only display voice channels **Public Servers:** -A modal window for public servers [DiscordServers.com](https://www.discordservers.com/) -![ss](http://puu.sh/o9oNl.png) +Public server listing provided by: [DiscordServers.com](https://www.discordservers.com/) +![ss](http://i.imgur.com/BVUZlu9.png) **Custom CSS** BetterDiscord supports custom CSS for styling Discord to your liking. @@ -81,14 +81,14 @@ Add your server there and it will appear in the list! ## Credits * MacOS Installer by [Candunc](https://github.com/Candunc) * Emote titles by [pendo324](https://github.com/pendo324) -* Majority of FFZ emote work by [Pohky] (https://github.com/pohky) -* Majority of BTTV emote work by [EhsanKia] (https://github.com/EhsanKia) +* Majority of FFZ emote work by [Pohky](https://github.com/pohky) and [DeathStrikeV](https://github.com/DeathStrikeV) +* Majority of BTTV emote work by [EhsanKia](https://github.com/EhsanKia) ## License The MIT License (MIT) -Copyright (c) 2015-2016 Jiiks | [Jiiks.net] (https://jiiks.net) +Copyright (c) 2015-present Jiiks | [Jiiks.net](https://jiiks.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/css/main.css b/css/main.css index a0e51a4c..8d877122 100644 --- a/css/main.css +++ b/css/main.css @@ -1,5 +1,91 @@ /*CODEMIRROR*/ -.CodeMirror{font-family:monospace;height:300px;color:#000;background-color:#EBEBEB !important;}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected,.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0} +.CodeMirror{font-family:monospace;height:300px;color:#000;}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected,.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0} + +/*New loader*/ +.bd-loaderv2 { + background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FscXVlXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAwMCAyMDAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMDAwIDIwMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwYXRoIGZpbGw9IiMzRTgyRTUiIGQ9Ik0xNDAyLjIsNjMxLjdjLTkuNy0zNTMuNC0yODYuMi00OTYtNjQyLjYtNDk2SDY4LjR2NzE0LjFsNDQyLDM5OFY0OTAuN2gyNTdjMjc0LjUsMCwyNzQuNSwzNDQuOSwwLDM0NC45ICAgSDU5Ny42djMyOS41aDE2OS44YzI3NC41LDAsMjc0LjUsMzQ0LjgsMCwzNDQuOGgtNjk5djM1NC45aDY5MS4yYzM1Ni4zLDAsNjMyLjgtMTQyLjYsNjQyLjYtNDk2YzAtMTYyLjYtNDQuNS0yODQuMS0xMjIuOS0zNjguNiAgIEMxMzU3LjcsOTE1LjgsMTQwMi4yLDc5NC4zLDE0MDIuMiw2MzEuN3oiLz48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTI2Mi41LDEzNS4yTDEyNjIuNSwxMzUuMmwtNzYuOCwwYzI2LjYsMTMuMyw1MS43LDI4LjEsNzUsNDQuM2M3MC43LDQ5LjEsMTI2LjEsMTExLjUsMTY0LjYsMTg1LjMgICBjMzkuOSw3Ni42LDYxLjUsMTY1LjYsNjQuMywyNjQuNmwwLDEuMnYxLjJjMCwxNDEuMSwwLDU5Ni4xLDAsNzM3LjF2MS4ybDAsMS4yYy0yLjcsOTktMjQuMywxODgtNjQuMywyNjQuNiAgIGMtMzguNSw3My44LTkzLjgsMTM2LjItMTY0LjYsMTg1LjNjLTIyLjYsMTUuNy00Ni45LDMwLjEtNzIuNiw0My4xaDcyLjVjMzQ2LjIsMS45LDY3MS0xNzEuMiw2NzEtNTY3LjlWNzE2LjcgICBDMTkzMy41LDMxMi4yLDE2MDguNywxMzUuMiwxMjYyLjUsMTM1LjJ6Ii8+PC9nPjwvc3ZnPg==); + position: fixed; + bottom:5px; + right:5px; + z-index: 2147483647; + display: block; + width: 20px; + height: 20px; + background-size: 100% 100%; + -webkit-animation: bd-loaderv2-animation 1.5s ease-in-out infinite; +} + +@-webkit-keyframes bd-loaderv2-animation { + 0% { opacity: 0.05; } + 50% { opacity: 0.6; } + 100% { opacity: 0.05; } +} + +/*new settingspanel stuff*/ +.ui-standard-sidebar-view .bda-slist li:nth-child(odd) { + background: #292b2f; + border-top: 1px solid #2b2b2b; +} + +.ui-standard-sidebar-view .bda-slist li { + background: #26272b; + border-bottom: 1px solid #3f4146; +} + +.ui-standard-sidebar-view .bda-slist .bda-description { + border-top: 1px solid #3f4146; + color: #b0b6b9; +} + +.ui-standard-sidebar-view .bda-slist .bda-right button { + background: #7289da; + color: #FFF; + border-radius: 5px; + height: 30px; + display: block; + width: 100px; + margin: 5px; +} + +.ui-standard-sidebar-view .bd-psm { + background-color: #292b2f; + box-shadow: 0 0 12px 6px rgba(31, 31, 31, 0.32); + border: 1px solid #3f4146; + width: 60vw; + height: 80vh; + border-radius: 6px; +} + +.bd-server-card.bd-server-card-pinned { + margin-bottom: 11px; +} + +.bd-server-card.bd-server-card-pinned:after { + background: #3a71c1; + content: ""; + height: 3px; + width: 100%; + display: block; + position: absolute; + margin-top: 5px; +} + +.ui-standard-sidebar-view #bd-customcss-attach-controls button, +.bd-detached-css-editor #bd-customcss-attach-controls button { + margin: 0; + width: 100px; + background: #36393f; + color: #FFF; + height: 26px; + font-weight: 600; + margin-top: 5px; + border-radius: 3px; +} + +.ui-standard-sidebar-view #bd-customcss-attach-controls button:hover, +.bd-detached-css-editor #bd-customcss-attach-controls button:hover { + background: #3b3e44; +} .cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:#00f}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{line-height:1em;font-weight:700;color:#0aa}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{outline:grey solid 1px;color:#000!important} #custom-css-ta { @@ -8,6 +94,136 @@ font-family: "Consolas"; } +.content-region .CodeMirror, +.content-region .cm-s-material .CodeMirror-gutters, +#bd-customcss-detach-container .CodeMirror, +#bd-customcss-detach-container .cm-s-material .CodeMirror-gutters{ + background: #292b2f !important; +} + +.content-region #bd-customcss-attach-controls, +#bd-customcss-detach-container #bd-customcss-attach-controls { + background: #292b2f; + color: #FFF; + border: none; + box-shadow: 0px 1px 0px 0px #36393f inset; +} + + +.content-region #bd-customcss-pane, +.content-region #bd-customcss-innerpane, +#bd-customcss-detach-container #bd-customcss-pane, +#bd-customcss-detach-container #bd-customcss-innerpane { + min-height: calc(80vh - 165px); +} + +.content-region .CodeMirror, +.content-region .CodeMirror-scroll{ + max-height: calc(95vh - 165px); + min-height: calc(95vh - 165px); + height: auto; +} + +.content-region .CodeMirror-simplescroll-vertical, +.content-region .CodeMirror-simplescroll-horizontal, +#bd-customcss-detach-container .CodeMirror-simplescroll-vertical, +#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal { + background: transparent !important; +} +.content-region .CodeMirror-simplescroll-vertical, +#bd-customcss-detach-container .CodeMirror-simplescroll-vertical { + margin-right: 3px !important; +} +.content-region .CodeMirror-simplescroll-horizontal, +#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal { + margin-bottom: 3px !important; +} + +.content-region .CodeMirror-simplescroll-vertical div, +.content-region .CodeMirror-simplescroll-horizontal div, +#bd-customcss-detach-container .CodeMirror-simplescroll-vertical div, +#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal div { + background: #18191c !important; + border: none !important; + border-radius: 5px !important; +} + +.content-region .CodeMirror-scrollbar-filler, +#bd-customcss-detach-container .CodeMirror-scrollbar-filler { + display: none !important; +} + +.ui-standard-sidebar-view #editor-detached h3 { + color: #87909c; + font-weight: 600; + font-size: 22px; +} +.ui-standard-sidebar-view #editor-detached button { + margin: auto; + margin-left: calc(50% - 100px); + margin-top: 20px; + background: #7289da; + color: #FFF; + font-weight: 600; + border-radius: 5px; + font-size: 20px; +} + +.bd-blue .ui-standard-sidebar-view #editor-detached button { + background: #3a71c1; +} + +.ui-standard-sidebar-view .bd-versioninfo-wrapper { + bottom: 0; + left: 0; + position: fixed; + background: inherit; + right: 0; + padding: 5px; +} + +.ui-standard-sidebar-view .bd-versioninfo-wrapper span { + color: #b9bbbe; + font-weight: 600; + font-size: 11px; +} + +.ui-standard-sidebar-view .bd-versioninfo-wrapper a { + font-size: 11px; +} + +.bd-server-card .bd-server-tags { + flex: 1 1 auto; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + width: 0; + line-height: 24px; + font-size: 12px; + color: #b9bbbe; + font-weight: 700; + margin-right: 10px; +} + +.ui-card.ui-card-primary.bd-server-card:first-child { + margin-bottom: 13px; +} + +.ui-card.ui-card-primary.bd-server-card:first-child:after { + border: 3px solid #7289da; + content: ""; + display: block; + position: absolute; + left: 0; + right: 0; + margin-top: 4px; +} + +.bd-layer { + background: #36393f; + z-index: 900; +} + .spoiler { color: transparent !important; } @@ -1203,7 +1419,12 @@ width: 70%; } +.bd-detached-editor #bd-customcss-detach-container { + display: block; +} + #bd-customcss-detach-container { + display: none; position: absolute; width: 30%; top: 0; @@ -1453,9 +1674,16 @@ } .bda-slist .bda-name { - color:#87909C; + color:#87909C; font-weight:700; font-size:12px; + overflow: hidden; + display: block; + max-height: 12px; +} + +.bda-slist li div:not(.bda-right):nth-of-type(2) { + margin-top: 30px; } .bda-slist .bda-description { @@ -1661,4 +1889,229 @@ .server-description::-webkit-scrollbar-thumb { background:#202020; } -/*# sourceMappingURL=main.css.map */ + +/*BD BLUE*/ +.bd-blue .bot-tag {background: #3a71c1;} +.bd-blue .bot-tag.bot-tag-invert {color: #3a71c1!important} +.bd-blue .spinner-wandering-cubes .spinner-item {background-color: #3a71c1;} +.bd-blue .spinner-chasing-dots .spinner-item {background-color: #3a71c1;} +.bd-blue .spinner.spinner-spinning-circle .path {stroke: #3a71c1;} +.bd-blue .note textarea::-moz-selection {background: #3a71c1;} +.bd-blue .note textarea::selection {background: #3a71c1;} +.bd-blue .scroller-wrap .scrollbar .thumb:after {background-color: #3a71c1;} +.bd-blue #autocomplete-popout .empty h4 {color: #3a71c1;} +.bd-blue .user-popout .header {background: #3a71c1 url(/assets/8cd2f31a12333149b89ef3931626ab83.png);} +.bd-blue .checkbox .checkbox-inner input[type=checkbox]:checked+span {background-color: #3a71c1;border-color: #3a71c1} +.bd-blue .checkbox .checkbox-inner.alt input[type=checkbox]:checked+span:after {border-color: #3a71c1} +.bd-blue .download-apps .footer a {color: #3a71c1;} +.bd-blue .download-apps .platforms .platform.active {border-color: #3a71c1} +.bd-blue .download-apps .platforms .platform.active .download-button {background-color: #3a71c1} +.bd-blue .radio .radio-inner span:after {background: #3a71c1;} +.bd-blue .radio:hover span:after {background: #3a71c1;} +.bd-blue .radio-image .radio-inner span:after {border: 2px solid #3a71c1;} +.bd-blue .radio-image:hover span:after {border-color: #3a71c1;} +.bd-blue #overlay-wrapper .overlay .guild-panel .guild-panel-header {background-color: #3a71c1;} +.bd-blue #overlay-wrapper .overlay .guild-panel .btn-call {color: #3a71c1;} +.bd-blue .overlay-user-popout .user-popout-options .btn {background-color: #3a71c1;} +.bd-blue .clipboard-input-inner input::-moz-selection {background: #3a71c1;} +.bd-blue .clipboard-input-inner input::selection {background: #3a71c1;} +.bd-blue .btn-help:hover {background: #3a71c1} +.bd-blue .popout.popout-left header:before {border-left-color: #3a71c1;} +.bd-blue .popout.popout-right header:before {border-right-color: #3a71c1;} +.bd-blue .popout.popout-bottom header:before {border-bottom-color: #3a71c1;} +.bd-blue .popout.popout-invert:not(.popout-bottom).popout-top header:before {border-top-color: #3a71c1;} +.bd-blue .guild-channels .channel-text.selected:before {border-left: 2px solid #3a71c1;} +.bd-blue .guild-channels .channel-text:hover:not(.unread):before {border-left: 2px solid #3a71c1;} +.bd-blue .guild-channels .channel-text.unread:not(.selected):not(.channel-muted).selected:before {background-color: #3a71c1} +.bd-blue .guild-channels .channel-voice-states li.speaking .avatar-small {background-color: #3a71c1;} +.bd-blue .tooltip {background-color: #3a71c1;} +.bd-blue .tooltip.tooltip-top:after {border-top-color: #3a71c1} +.bd-blue .tooltip.tooltip-bottom:after {border-bottom-color: #3a71c1;} +.bd-blue .tooltip.tooltip-left:after {border-left-color: #3a71c1;} +.bd-blue .tooltip.tooltip-right:after {border-right-color: #3a71c1;} +.bd-blue .button {background-color: #3a71c1;} +.bd-blue .tutorial-popout .button-area .skip-tips a {color: #3a71c1;} +.bd-blue .chat .has-more button {color: #3a71c1;} +.bd-blue .chat .new-messages-bar:hover {background-color: #3a71c1} +.bd-blue .message-group .edit-message .edit-operation>a {color: #3a71c1;} +.bd-blue .message-group .edit-message .channel-textarea-inner {border-color: #3a71c1} +.bd-blue .mention {color: #3a71c1;} +.bd-blue .mention:hover {background-color: #3a71c1} +.bd-blue .mentioned .mention:hover {color: #3a71c1;} +.bd-blue .markdown-modal .markdown-modal-header b {color: #3a71c1} +.bd-blue .change-log .changelog-fixed {background-color: #3a71c1} +.bd-blue .change-log .changelog-button .cta {background-color: #3a71c1;} +.bd-blue .form .form-header {color: #3a71c1;} +.bd-blue .form header {color: #3a71c1;} +.bd-blue .form .control-group textarea:focus {border-bottom: 2px solid #3a71c1;} +.bd-blue .form .btn-primary {background-color: #3a71c1;} +.bd-blue .region-select button {color: #3a71c1;} +.bd-blue .region-select:hover button {border-color: #3a71c1} +.bd-blue .region-select:hover button {background-color: #3a71c1;} +.bd-blue .region-select-flag {background-color: #3a71c1} +.bd-blue .region-select-flag.vip:after {background: #3a71c1;} +.bd-blue .region-select-modal .region-select-modal-header {color: #3a71c1;} +.bd-blue .region-select-modal .region-select-modal-option:hover {border-color: #3a71c1;} +.bd-blue .upload-drop-modal .bgScale {background: #3a71c1} +.bd-blue .upload-modal {background-color: #3a71c1;} +.bd-blue .upload-modal .inner .file .icon.image {border: 2px solid #3a71c1;} +.bd-blue .avatar-uploader-inner {background-color: #3a71c1;} +.bd-blue .create-guild-container h5 {color: #3a71c1} +.bd-blue .create-guild-container .join-server .sample-link {color: #3a71c1;} +.bd-blue .create-guild-container .action.create .action-header {color: #3a71c1} +.bd-blue .tab-bar.TOP .tab-bar-item.selected {border-bottom: 2px solid #3a71c1;color: #3a71c1} +.bd-blue .tab-bar.SIDE .tab-bar-item:before {border-left: 4px solid #3a71c1;} +.bd-blue .color-picker-popout input:focus {border-color: #3a71c1;} +.bd-blue #settings-roles .roles li.selected:before {color: #3a71c1;background-color: #3a71c1} +.bd-blue #settings-roles .roles li.sorting:after {border: 2px solid #3a71c1;} +.bd-blue .guild-settings-modal-overview a {color: #3a71c1;} +.bd-blue .need-help-modal .header {background-color: #3a71c1;} +.bd-blue .search-popout .date-picker .date-picker-hint .hint-value {background-color: #3a71c1;} +.bd-blue .react-datepicker .react-datepicker__day:hover {background-color: #3a71c1} +.bd-blue .react-datepicker .react-datepicker__day.react-datepicker__day--today:after {background-color: #3a71c1} +.bd-blue .messages-popout-wrap .has-more button {color: #3a71c1;} +.bd-blue .btn-filled {background-color: #3a71c1;} +.bd-blue .btn-filled.white {color: #3a71c1} +.bd-blue .emoji-picker .premium-promo .btn {background-color: #3a71c1;} +.bd-blue .channel-textarea.has-results .channel-textarea-inner {border-color: #3a71c1} +.bd-blue .channel-textarea-autocomplete-inner {border: 2px solid #3a71c1;} +.bd-blue .channel-textarea-autocomplete-inner header {background-color: #3a71c1;} +.bd-blue .channel-textarea-autocomplete-inner ul.images li.active {border-color: #3a71c1} +.bd-blue .reaction.reaction-me .reaction-count {color: #3a71c1} +.bd-blue .theme-dark .reaction.reaction-me .reaction-count {color: #3a71c1} +.bd-blue .spinner-wandering-cubes .ui-spinner-item {background-color: #3a71c1;} +.bd-blue .spinner-chasing-dots .ui-spinner-item {background-color: #3a71c1;} +.bd-blue .theme-light .ui-spinner.spinner-spinning-circle .path {stroke: #3a71c1} +.bd-blue .theme-dark .ui-spinner.spinner-spinning-circle .path {stroke: #3a71c1} +.bd-blue .theme-dark .ui-spinner.spinner-spinning-circle .path-2 {stroke: #3a71c1;} +.bd-blue .ui-button.brand.filled {background-color: #3a71c1} +.bd-blue .ui-button.brand.filled:disabled {background-color: #3a71c1} +.bd-blue .ui-button.brand.inverted {color: #3a71c1;} +.bd-blue .ui-button.brand.outlined {color: #3a71c1;} +.bd-blue .ui-button.brand.outlined:active {background-color: #3a71c1;border-color: #3a71c1} +.bd-blue .ui-button.brand.outlined:disabled {color: #3a71c1;} +.bd-blue .ui-button.brand.link {color: #3a71c1} +.bd-blue .ui-button.brand.link:not(:disabled):hover .ui-button-contents {background-image: -webkit-linear-gradient(bottom, transparent, transparent 1px, #3a71c1 0, #3a71c1 2px, transparent 0);background-image: linear-gradient(to top, transparent, transparent 1px, #3a71c1 1px, #3a71c1 2px, transparent 2px)} +.bd-blue .ui-button.brand.ghost {color: #3a71c1;} +.bd-blue .ui-button.brand .ui-spinner-item {background-color: #3a71c1} +.bd-blue .theme-blurple .ui-button.primary.filled {color: #3a71c1;} +.bd-blue .theme-blurple .ui-form-title.h5 {color: #3a71c1;} +.bd-blue .btn-filled {background-color: #3a71c1;} +.bd-blue .btn-filled.white {color: #3a71c1} +.bd-blue .progress .progress-bar {background-color: #3a71c1;} +.bd-blue .radio-theme input[type=radio]:checked~label {border-color: #3a71c1;} +.bd-blue .now-playing {background: #3a71c1;} +.bd-blue .user-settings-modal-account .discord-tag {color: #3a71c1;} +.bd-blue .modal-new-user>.steps .step-3 .instant-invite input {color: #3a71c1;} +.bd-blue .modal-new-user h5 {color: #3a71c1} +.bd-blue .modal-new-user .steps-wrap .steps li.on:before {background-color: #3a71c1} +.bd-blue .modal-new-user .steps-wrap .steps li.active {background-color: #3a71c1;} +.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item.selected {background-color: #3a71c1} +.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item:active {background-color: #3a71c1} +.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item.brand {color: #3a71c1} +.bd-blue .theme-light .ui-text-input .input:focus {border-color: #3a71c1} +.bd-blue .theme-dark .ui-text-input .input:focus {border-color: #3a71c1} +.bd-blue .theme-blurple .ui-text-input .input {color: #3a71c1} +.bd-blue .theme-blurple .ui-text-input .input:hover {border-color: #3a71c1} +.bd-blue .theme-blurple .ui-select:hover .Select .Select-control {border-color: #3a71c1} +.bd-blue .theme-blurple .ui-select:hover .Select .Select-control .Select-arrow {border-color: #3a71c1 transparent transparent} +.bd-blue .theme-blurple .ui-select .Select.is-open .Select-control {border-color: #3a71c1} +.bd-blue .theme-blurple .ui-select .Select-menu-outer {border-color: #3a71c1;} +.bd-blue .theme-blurple .ui-select .Select-menu-outer .Select-option {color: #3a71c1} +.bd-blue .theme-blurple .ui-select .Select-value-label {color: #3a71c1} +.bd-blue .ui-card-brand {background: #3a71c1;border-color: #3a71c1} +.bd-blue .ui-checkbox-wrapper .ui-checkbox.checked polyline {stroke: #3a71c1} +.bd-blue .ui-checkbox-wrapper .ui-checkbox.checked.inverted {background: #3a71c1} +.bd-blue .ui-region-flag.vip:after {background: #3a71c1;} +.bd-blue .ui-scroller-wrap .scrollbar .thumb:after {background-color: #3a71c1;} +.bd-blue .ui-quick-select-popout-option .ui-icon-check-mark .ui-icon-fg {stroke: #3a71c1} +.bd-blue .ui-switch-checkbox:checked+.ui-switch {background: #3a71c1} +.bd-blue #instant-invite-modal .clipboard-input-inner input {color: #3a71c1;} +.bd-blue #instant-invite-modal .copy {background-color: #3a71c1;} +.bd-blue .color-brand {color: #3a71c1} +.bd-blue .webkhook-modal-header.ui-form-title.h5 {color: #3a71c1} +.bd-blue .ui-bot-tag {background: #3a71c1;} +.bd-blue .ui-bot-tag.invert {color: #3a71c1} +.bd-blue #user-profile-modal .btn {background-color: #3a71c1;} +.bd-blue #user-profile-modal .guilds .avatar-large {background-color: #3a71c1;} +.bd-blue .premium-payment-modal {background-color: #3a71c1;} +.bd-blue .premium-payment-modal .premium-payment-button {color: #3a71c1;} +.bd-blue .premium-payment-modal .premium-payment-button .spinner .spinner-item {background-color: #3a71c1} +.bd-blue .invite-modal .avatar-xxxlarge {background-color: #3a71c1;} +.bd-blue .ui-screenshare-modal-tile .image-container img.selected {border-color: #3a71c1} +.bd-blue .detected-platform-accounts-modal .btn-group .btn-primary {background-color: #3a71c1;} +.bd-blue .ui-new-terms-modal .title {color: #3a71c1;} +.bd-blue #oauth2-authorize .authorize-inner header {background: #3a71c1;} +.bd-blue #oauth2-authorize .authorize-inner footer button.primary {background: #3a71c1;} +.bd-blue #oauth2-authorize .select select:focus {border-color: #3a71c1;} +.bd-blue #oauth2-authorize .select.focus:after {border-top-color: #3a71c1} +.bd-blue #oauth2-authorize .scope-bot .avatar-large {background-color: #3a71c1;} +.bd-blue .invite-header .invite-guild-icon {background-color: #3a71c1} +.bd-blue .invite-marketing .invite-marketing-header {color: #3a71c1;} +.bd-blue .invite-marketing .invite-marketing-button {color: #3a71c1;border: 2px solid #3a71c1;} +.bd-blue .invite-mobile .top {background-color: #3a71c1;} +.bd-blue .invite-mobile .link.purple {background-color: #3a71c1;} +.bd-blue .verify-connected-account .btn {background-color: #3a71c1;} +.bd-blue #unsupported-browser li:hover {border-color: #3a71c1} +.bd-blue #unsupported-browser li:hover .btn {background-color: #3a71c1;border-color: #3a71c1;} +.bd-blue .ui-slider .slider-bar-fill {background: #3a71c1;} +.bd-blue .popout-menu .popout-menu-item.invite {color: #3a71c1} +.bd-blue .channel-members .invite-btn {background-color: #3a71c1} +.bd-blue .chat .welcome-message h1 {color: #3a71c1;} +.bd-blue .channel-textarea-guard button {background-color: #3a71c1} +.bd-blue .private-channel-recipients-invite .footer button {background-color: #3a71c1;} +.bd-blue .private-channel-recipients-invite .footer button:disabled:hover {background-color: #3a71c1} +.bd-blue .private-channel-recipients-invite .error-state.not-friends .btn {background: #3a71c1;} +.bd-blue .ui-call-avatar-border.voice.video.selected {box-shadow: inset 0 0 0 2px #3a71c1} +.bd-blue .ui-call-avatar-border.video.selected:not(.speaking) {box-shadow: inset 0 0 0 2px #3a71c1} +.bd-blue .invite-banner {background-color: #3a71c1;} +.bd-blue .invite-banner .instant-invite:not(.clipboard-input-copied) .clipboard-input-inner button {color: #3a71c1} +.bd-blue .invite-banner.invite-banner-1 .instant-invite .clipboard-input-inner button:before {background: -webkit-linear-gradient(left, hsla(0, 0%, 100%, 0), #3a71c1);background: linear-gradient(to right, hsla(0, 0%, 100%, 0), #3a71c1)} +.bd-blue .add-friend-input-wrapper .btn:disabled {background-color: #3a71c1;} +.bd-blue #friends .btn {background-color: #3a71c1;} +.bd-blue #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary {background-color: #3a71c1;} +.bd-blue #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary .badge {color: #3a71c1} +.bd-blue #friends .friends-table .friends-row .friends-column-guilds .avatar-small {background-color: #3a71c1;} +.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.selected .badge {background-color: #3a71c1;} +.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary {background-color: #3a71c1;} +.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary .badge {color: #3a71c1} +.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary.selected {color: #3a71c1; background-color:#fff; } +.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary.selected .badge {background-color: #3a71c1;} +.bd-blue .private-channels .search-result:hover:before {border-left: 2px solid #3a71c1;} +.bd-blue .private-channels .channel.selected .icon-friends {background-color: #3a71c1} +.bd-blue .private-channels .channel.selected:before {border-left: 2px solid #3a71c1;} +.bd-blue #rtc-debug-modal #users-section .user-list li.selected:before {color: #3a71c1;background-color: #3a71c1} +.bd-blue .notice.notice-brand {background-color: #3a71c1} +.bd-blue .notice.notice-brand .btn:hover {color: #3a71c1} +.bd-blue .theme-light .ui-text-input .input:focus {border-color: #3a71c1} +.bd-blue .theme-dark .ui-text-input .input:focus {border-color: #3a71c1} +.bd-blue .theme-blurple .ui-text-input .input {color: #3a71c1} +.bd-blue .theme-blurple .ui-text-input .input:hover {border-color: #3a71c1} +.bd-blue .onboarding-slide textarea:focus {box-shadow: 0 2px 0 #3a71c1} +.bd-blue .nuf-page .button.filled {background-color: #3a71c1;} +.bd-blue .onboarding-navigation .button {color: #3a71c1;} +.bd-blue .onboarding-navigation .step-status .step.current {background-color: #3a71c1} +.bd-blue .onboarding-slide textarea:focus {box-shadow: 0 2px 0 #3a71c1} +.bd-blue .nuf-page .button.filled {background-color: #3a71c1;} +.bd-blue .onboarding-slide textarea:focus {box-shadow: 0 2px 0 #3a71c1} +.bd-blue .nuf-page .button.filled {background-color: #3a71c1;} +.bd-blue .onboarding-slide textarea:focus {box-shadow: 0 2px 0 #3a71c1} +.bd-blue .nuf-page .button.filled {background-color: #3a71c1;} +.bd-blue .onboarding-slide textarea:focus {box-shadow: 0 2px 0 #3a71c1} +.bd-blue .nuf-page .button.filled {background-color: #3a71c1;} +.bd-blue .onboarding-slide textarea:focus {box-shadow: 0 2px 0 #3a71c1} +.bd-blue .nuf-page .button.filled {background-color: #3a71c1;} +.bd-blue .onboarding-slide textarea:focus {box-shadow: 0 2px 0 #3a71c1} +.bd-blue .nuf-page .button.filled {background-color: #3a71c1;} +.bd-blue .onboarding-slide.mic-test .content.waiting .button {color: #3a71c1;} +.bd-blue .onboarding-slide textarea:focus {box-shadow: 0 2px 0 #3a71c1} +.bd-blue .nuf-page .button.filled {background-color: #3a71c1;} +.bd-blue .onboarding-slide textarea:focus {box-shadow: 0 2px 0 #3a71c1} +.bd-blue .nuf-page .button.filled {background-color: #3a71c1;} +.bd-blue .onboarding-slide textarea:focus {box-shadow: 0 2px 0 #3a71c1} +.bd-blue .nuf-page .button.filled {background-color: #3a71c1;} +.bd-blue .ui-switch-wrapper:not(.disabled):not(.clear):hover .ui-switch-checkbox:checked+.ui-switch { background: #3f79ce; } +.bd-blue *[style*="border-color: rgb(114, 137, 218)"] { border-color: #3a71c1 !important; } +.bd-blue *[style*="background-color: rgb(114, 137, 218)"] { background-color: #3a71c1 !important; } + + diff --git a/css/main.min.css b/css/main.min.css index fa9b2d14..6e6c01bd 100644 --- a/css/main.min.css +++ b/css/main.min.css @@ -1 +1 @@ -.CodeMirror{font-family:monospace;height:300px;color:#000;background-color:#EBEBEB!important}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}#bd-psd-header a,#pubs-footer a,#rmenu ul a,.server-info a{text-decoration:none}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent}#emote-menu,#tc-settings-panel,.tc-switch{border:1px solid #000}#custom-css-ta,.spoiler:before{font-family:Consolas}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected,.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}.cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:#00f}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{line-height:1em;font-weight:700;color:#0aa}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{outline:grey solid 1px;color:#000!important}#custom-css-ta{background:#D8D8D8;height:200px}.spoiler{color:transparent!important}.spoiler img{display:none}.spoiler:before{content:"Spoiler";display:block;background:#1D1D1D;color:#ADADAD!important;min-height:30px;text-align:center;line-height:100%;padding-top:5px}.emotemenu-enabled .channel-textarea-inner textarea{margin-right:45px!important}#bdbeta{background:red}#emote-menu{background:#36393E;height:0;width:300px;position:absolute;bottom:45px;right:0;border-radius:5px 0 0;overflow:hidden;visibility:hidden;transition:all 1s;-webkit-transition:all 1s}.emotemenu-open{height:450px!important;visibility:visible!important}#emote-menu-header{width:100%;height:30px;background-color:#36393E}.emote-menu-tab{float:left;width:130px;text-align:center;padding:7px;color:#ADADAD;background-color:#424549;cursor:pointer}.emote-menu-tab:hover{background-color:#45484C}#emote-menu-inner,#emote-menu-inner-fav{height:412px}.emote-menu-tab-selected,.emote-menu-tab-selected:hover{background-color:#36393E}#emote-container{padding:10px}.emote-container{display:inline-block;padding:2px;border-radius:5px;width:30px;height:30px;position:relative}#tc-settings-panel-body ul,#tc-settings-panel-footer,.emote-icon{position:absolute;right:0;left:0}.emote-icon{max-width:100%;max-height:100%;margin:auto;top:0;bottom:0;cursor:pointer}.emote-container:hover{background:rgba(123,123,123,.37)}.emoteflip,.emotespinflip{transform:scaleX(-1)}.emotespin{animation:1s emote-spin infinite linear}.emote1spin{animation:1s emote-spin-reverse infinite linear}.emotespin2{animation:.5s emote-spin infinite linear}.emote2spin{animation:.5s emote-spin-reverse infinite linear}.emotespin3{animation:.2s emote-spin infinite linear}.emote3spin{animation:.2s emote-spin-reverse infinite linear}.emotepulse{animation:1s emote-pulse infinite linear}.emotetr{transform:translateX(-3px)}.emotebl{transform:translateY(-3px)}.emotebr{transform:translate(-3px,-3px)}.emoteshake{animation:1s emote-shake infinite linear}.emoteflap{transform:scaleY(-1)!important}.emoteshake2{animation:emote-shake2 .3s linear infinite}.emoteshake3{animation:emote-shake3 .1s linear infinite}@keyframes emote-shake2{25%{transform:translate(-1px,-1px)}50%{transform:translate(-1px,1px)}75%{transform:translate(1px,-1px)}}@keyframes emote-shake3{25%{transform:translate(-1px,-1px)}50%{transform:translate(-1px,1px)}75%{transform:translate(1px,-1px)}}@keyframes emote-spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes emote-spin-reverse{from{transform:rotate(0)}to{transform:rotate(-360deg)}}@keyframes emote-pulse{0%,100%{-webkit-transform:scale(1,1)}50%{-webkit-transform:scale(1.2,1.2)}}@keyframes emote-shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}#tc-settings-panel{position:fixed;width:50%;height:75%;background:#2e3136;display:block;z-index:9001;margin-left:25%;margin-top:5%;box-shadow:0 0 20px 0 #000;max-height:800px;min-width:750px}#tc-settings-panel-header{background:#36393e;height:60px;border-bottom:1px solid #000;box-shadow:0 1px 0 0 #4e4e4e}#tc-settings-panel-header h2{margin:0 0 0 10px;line-height:60px;color:#ADADAD;display:inline-block;float:left}#tc-settings-panel-header span{float:right;display:inline;line-height:50px;margin-right:15px;font-size:29px;font-weight:700;color:#ADADAD}#rmenu{width:auto;background:#505050;z-index:999999;box-shadow:0 0 2px #000;padding:2px}#rmenu ul a{color:#FFF;padding:3px}#tc-settings-panel-body{overflow:auto}#tc-settings-panel-body ul{overflow:auto;padding:0;margin-top:0;border-bottom:1px solid #000;bottom:40px;top:61px}#tc-settings-panel-body ul li{padding:15px;color:#ADADAD;background:#2E3136;border-bottom:1px solid #000;box-shadow:0 1px 0 #404040 inset}#tc-settings-panel-body ul li:nth-child(odd){background:#33363B}#tc-settings-panel-body ul li h2{display:inline}#tc-links a{color:#FFF}#tc-settings-panel-footer{background:#36393e;height:40px;bottom:0;border-top:1px solid #000;box-shadow:0 1px 0 #505050 inset;line-height:40px;padding-left:10px;color:#ADADAD!important}.tc-switch,.tc-switch span{display:inline-block;height:24px}#tc-links{float:right;margin-right:10px}.tc-switch{background:#2e3136;width:100px;float:right;margin:-7px;outline:#404040 solid 1px;cursor:pointer}.tc-switch.disabled{background:gray;cursor:default}.tc-switch.disabled span{background:gray!important}.tc-switch.disabled .tc-switch-on{border-left:1px gray!important}.tc-switch span{line-height:24px;width:49px;text-align:center}.bd-minimal .account .avatar-small,.bd-minimal .account .username,.bd-minimal.bd-minimal-chan .channels-wrap{display:none}.tc-switch-off{border-right:1px solid #000}.tc-switch-on{border-left:1px solid #404040}.tc-switch-on.active{background:green;border-left:1px solid #00AE08}.tc-switch-off.active{background:#860606}.bd-minimal .avatar-large{max-width:20px;max-height:20px;background-size:100%;margin-right:2px;margin-top:0;border-radius:0}.bd-minimal .comment{border-left:2px solid #EBEBEB;padding-left:2px}.bd-minimal .theme-dark .comment{border-left:2px solid #303030}.bd-minimal .user-name{font-size:small}.bd-minimal .message-group{padding:5px}.bd-minimal .embed{padding:2px}.bd-minimal .channel-members .avatar-small{max-width:15px;max-height:15px;background-size:15px 15px}.server-name span,.tipsy-inner{text-overflow:ellipsis;max-width:300px}.bd-minimal .channel-members .avatar-small .status{height:5px;width:5px}.bd-minimal .channel-members .member{padding:5px}.bd-minimal .channel-text a,.bd-minimal .guild-channels ul .channel-voice{padding:5px!important;font-size:small}.bd-minimal .channel-members-wrap{min-width:0}#bd-ps-container,#bd-psd-container{box-shadow:0 0 20px 0 #000;min-width:750px}.bd-minimal .channel-members h2{margin-top:3px}.bd-minimal .guild-channels ul .channel-text.unread:not(.selected):not(.channel-muted):before{width:10px;top:8px}.bd-minimal .guild-channels h2{padding:5px}.bd-minimal .guild-channels header spann{font-size:12px}.bd-minimal .channels-wrap{width:160px}.bd-minimal .channels-wrap .guild-channels{padding:0}.bd-minimal .guild .guild-inner,.bd-minimal .guild .guild-inner a.avatar-small,.bd-minimal .guilds .friends-icon,.bd-minimal .guilds-wrapper .guilds .guild{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds .friends-online{margin-left:-15px;font-size:7px}.bd-minimal .guilds-wrapper{width:45px}.bd-minimal .guilds-wrapper .guild-separator{margin-left:-15px}.bd-minimal .guilds-wrapper .guilds .guild.selected:before{height:20px;margin-top:-10px}.bd-minimal .guilds-add{font-size:20px;line-height:14px}.bd-minimal .guilds .audio .guild-inner:after{width:12px;height:12px;background-size:12px}.bd-minimal .guild-header header span{margin-left:-20px}#bd-psd-header span,.bd-ps-server-header span{margin-left:10px}.bd-minimal .btn-hamburger{margin-right:-30px}.emotewrapper{display:inline-block;position:relative}.emotewrapper:hover .fav{display:block}#bd-changelog{float:right;height:30px;line-height:30px;margin-right:10px;font-size:11px;font-weight:700;cursor:pointer}.fav{display:none;position:absolute;width:15px;height:15px;right:-7px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAzFBMVEUAAABQUFBMTExLS0tNTU1MTExNTU1NTU1MTExMTExNTU1LS0tEREBEREBEREBEREBJSUhLS0tLS0tEREBNTU1NTU1NTU1EREArKyhNTU1NTU0AAABMTExKSklMTExNTU1NTU1NTU1KSkpMTExKSkhNTU1KSkpISEZNTU1LS0tAQDxOTk5KSkpLS0tNTU1MTExMTEx/f39MTExMTExLS0pLS0tMTExNTU1NTU1LS0pNTU1NTU1NTU1NTU1NTU1NTUxNTU1NTU1NTUxMTEzB8C/5AAAAOnRSTlMAI8X96oWAgYSF68QBAg0PMCb9BIuLgQUD4N0Bh0mKhZSOQ4gcrKscaW8QRE6fmJyjAshASceG7cIpqQOxTQAAALVJREFUGFddx6FOA0EYAOGZvd07Qm6vVCAAgUUgQEDfX/YZMAigqaFN7iC5tsmPqGPUN/AvUVeoEbGOCElJz08Uzeixqu4AqomVVSNngOVjTqDGZSl3UFtPGV2ot2zaq96YM9p5Ddzcf/nTTAlj+/sNtNu8OcwkIsbPBtrUfMQeEhGQmHbmGIFMwLPzu6UMIwBNgToshgq8Nr2ki+Oy7ebDHp70LRPWB6OZgfWLWei7fJonOOsPCGA9kVlssOoAAAAASUVORK5CYII=) no-repeat #303030;border:none;background-size:100% 100%;border-radius:5px;top:-7px;cursor:pointer}#bd-ps-container{position:fixed;width:50%;height:75%;background:#2e3136;display:block;z-index:9001;margin-left:25%;margin-top:5%;border:1px solid #000;max-height:800px}#bd-ps-body,#bd-show-channels,.tipsy,.tipsy-arrow{position:absolute}#bd-ps-header{background:#36393e;height:60px;border-bottom:1px solid #000;box-shadow:0 1px 0 0 #4e4e4e}#bd-ps-header h2{margin:0 0 0 10px;line-height:60px;color:#ADADAD;display:inline-block;float:left}#bd-ps-header span{float:right;display:inline;line-height:50px;margin-right:15px;font-size:29px;font-weight:700;color:#ADADAD}#pubs-header h2,.bd-dropdown,.bd-ps-server-icon,.bd-ps-server-info,.servericon,.serverinfo{display:inline-block}#bd-ps-body{padding:0;margin-top:0;left:0;right:0;bottom:0;top:61px;overflow:auto}.bd-ps-server{width:100%;height:200px}.bd-ps-server-header{height:50px;width:100%;margin-top:1px;background:#202020;color:#AEAEAE;line-height:50px;font-size:20px}.bd-ps-server-body{padding:5px}.bd-ps-server-icon{width:90px;height:90px;background:#202020}.bd-ps-server-info{position:absolute;height:190px;left:100px;right:5px;color:#AEAEAE;overflow:auto}#bd-ps-body table{width:100%;margin:0;padding:0;border-color:red;border-collapse:collapse;text-align:left}#bd-ps-body table th{background-color:#202020;color:#EDEDED;height:50px;padding-left:5px}#bd-ps-body table tr{margin:0;padding:0;height:50px;background-color:#33363B;border-bottom:1px solid #000;box-shadow:0 1px 0 #404040 inset}#bd-ps-body table tr td{padding-left:5px;color:#EDEDED;min-width:100px}#bd-ps-body .description{overflow:auto;max-height:60px;word-wrap:break-word}#bd-ps-body table tr:nth-child(odd){background-color:#2E3136}#bd-show-channels{display:none;width:12px;height:18px;background:#2e3136;left:33px;top:79px;text-align:left!important;padding:0 0 0 3px!important;color:#EBEBEB;z-index:90000}.bd-minimal-chan #bd-show-channels{display:block!important}.tipsy{z-index:9000000001!important;padding:5px;display:block;visibility:visible;opacity:.8}.tipsy-arrow{width:0;height:0;border:5px solid transparent;bottom:0;right:10px;border-bottom:none;border-top-color:#000}.tipsy-inner{background-color:#000;color:#fff;padding:5px 8px 4px;text-align:center;overflow:hidden!important}#bd-psd-container,#bd-psd-table button:hover,#bd-psd-table tbody tr:nth-child(odd){background:#2E3135}#bd-psd-container{position:fixed;width:50%;height:75%;display:block;margin-left:25%;margin-top:5%;border:1px solid #25282C;min-height:800px}#bd-psd-header{width:100%;height:40px;border-bottom:1px solid #25282C;line-height:40px;color:#ADADAD}#bd-psd-body{height:100%;width:100%}#bd-psd-table{width:100%;margin:0;padding:0;text-align:left;color:#ADADAD}#bd-psd-table thead th{background:#1D1D1D;padding:5px}#bd-psd-table tbody td{padding:5px}#bd-psd-table tbody tr{background:#292C30}#bd-psd-table button{background:#292C30;border:1px solid #1D1D1D;width:60px;height:30px;color:#ADADAD;cursor:pointer}#bd-psd-header a{float:right;margin-right:10px;font-size:30px;color:#ADADAD;margin-top:-7px}.bd-g-table tbody td,.bd-g-table thead th{color:#87909c!important;padding:5px!important}.bd-g-table{text-align:left;width:520px;white-space:nowrap}.bd-g-table thead th{background:#EBEBEB!important}.bd-g-table tbody tr{background:#E0E0E0!important}.bd-g-table tbody tr:nth-child(odd){background:#ECECEC!important}.bd-g-table tbody td{font-size:small}.bd-g-table input,.bd-g-table textarea{margin:0!important;padding:0!important}.bd-g-table textarea{width:100%!important;background:#E0E0E0!important;border:none!important;resize:none!important;font-size:small!important}.bd-alert,.bd-psm{right:0;margin:auto}.message-group.compact .message .markup .message-content{text-indent:0}.bd-psb{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAG6ElEQVR4XtWZS0xTWRjHP54+H+WhQRO0GAQxxikxmhhMKBu2upLoTDKsaupmcGVYVTdjxhUrG9kMG0OYTDKSuGIzZQHGUQNEowaJ4lt8UXwBPuf7kV5ycrmXW26bVP/JlxR6zvc63+uc5n379k1+ZOTLD45CPnR2dkoWcUgpqhS2LUgoxZX+kiwgEolYBmSGlpYWsdDT0xMoLi7uaW5ulk2bNomJJ0+ehPv6+sIfP37s0z1JY893FUKt27ZtQ3n58OGDTE1NQXyWiooKqa6uFtZkN4QyhK0IHFi/fr3MzMyIelos8DkvL09Wr17Nmp/Yk4skDimdNGPbREFBAR+Cq1atki9fvogdGFBSUiLwYa0L4I2MULYNOFtWVja0e/fumIbHvyLyj1KzpLBs2TLp7u6OrFmzJrhx40b5+vWr2PH582fZsmWL6JoQa9ljoBme8EYGspApaYA+4FWFztbU1ETD4bBYGB8fl0QiQWicJkKUfg0qVLiocJmcnBQncAKvXr2Sa9euwWM8VZVI/Hb4KwuxAP/R0VG+P+a7CpnK48G3b9/ibQTJkSNHUKRdhYuuwbMCWOMG9mOgVik+B2/cuPEHCzAcPiT77OwsvCTlsKgaIRjhJ4nDGg7RxsZG+fTpk6XYfIIS6/v27RPA91QbYn8xsO7169fky4L9yWRyPvTevHmDEaKykRt9+vQpvSOx1BA6uWPHjpiS5BI3b96ETqHPUkNo/P3795LrWQkd0MVPCHXdv3//N20+oXXr1kk6IE9IUsKJMEM4IFyIcfiQA4WFiPXGixcvRHVIoIvfMhq/dOkSMSqLgdjVOJWRkREEEs8kJLUf4jP/4zvWsJY9nvlCtUKHTDpxpwqv04rXpifhKujOnTuWtz1Boj98+JBkFsaOoqIicYLKxPAOhr+sjBKUT0qcCcLk9u3b86PCUsCp3Lp1S7Zv3054iQH+zuos1FpbW4uCZkLzWe7evUvcS36+v5mQvfCgj5gOgB+95vr16wdF5HgmBkS2bt0aWL58udgr0vPnz2V6etoS7BvwgNeGDRvEAidN166srAxquEUI5XQNCChhdaNSiLmlvr4exUk6M46pEG6ex8rzSr1KA0qggUlV6Wd6j1O1oTrR4Cz+yNu7dy/Jf45mJiLDSv1KF5SSTgYc4jLC0THPwxCCGbON4X2rKzsZwKJTKTLxd4rGlGJORlB68bqZI/x9+PBhSnMI0ktRqyb3n5pzLSS33YCodZNCWZTEM8SpDbR6t9A5j/LiDr6jnP0iNrx7904CgYBZ3QgtegYFhIpFrnCzk4sXL0btBgRXrlwZZjFKs9mjRruFT694o9fBACoZjnOSBWGgWXLDAkwDVqxYYXrbq3G5GTAg3hhw4+kBDFk0idOaezglwifLgCe8UdLXnTjJxjQHN47S7bQaSFaP7Q0uPJEP+TJgWBMTCq1du9ZrFCCp3Gb/A54GsMYBdN90vE8BQV+nEIpfvnz5HDMPRmgPwCuOBlAtuNg4gDo/tkgliqXW2IFMV+9bFyqUHxuDvcTdLjQ1qVe1EFRaWhqgkdkNoTM/ePAAgVlpZMT/5s2bccqCLj00NITiSbwOpZQfdbvQjBqzBxPj7zqste/cuXNByeP95+XLl475SJmEJD3Ay6mM4m2UPyEiZ/zOQmcmJibamRipEGYYad8QSi9zSybgNOFD57UPeo8fP05ayvs1IKmMOh49etTGm479eHkupDMizA9wCt6nSdmhMvnQlbWnRfKAYzZPgcTCCC4nGLQU4HXNMXPKNSuS5ZTpTA1oVsXb6urqUNipe6IAVYn7LmOIV0elg+N1Epe9rHc8mV27dlEo2rUCcSfu82tAdM+ePXiEsdax6mAYIcAozEyPgvxNblgnxn56B5d7eHBa7HMD3+MUZA8ODkb9GhDWcfpgeXk5Cnl61jIEYAwv0SgOMMR62Ut31oIXstFBR+mwr4ctvY3FqqqqJJe4d+8e105fD1sJvcjEuODkENZDccLPuxAGdPGG43Ih53kE8iqjfvfzaoEBcXTxm8RxmChaKZfG7YkXA1p/R+qY24hXbk0er27sYT1dHMXZz0MXlY68MZWXZ8+eGc/r/l7m/ksZ0YXCPDbB+MqVK8OqyFHGjqampuOqSIkKO83c4gXW6NoT7GEvPNQhR+EJb2Qgy1t5exJ742BqyBs3OiTv+OaPEpP79+8PuJ0CJ3f16tVh3VNv7BEDrUrB1NB2IZ2fWfMlfcDwpEd7H0ZJ4GYAa8QdXchAVq5+Zu2n4XkYMPI9/8wa1yGMH+lISLvyxLXgZfbkwABP8JPQRH9//1F9Fo/qKBAySiYGDGOgrkmKD/hPYv8IG5+tG1XWQBLPG/Aj439gf0WR+WMvWwAAAABJRU5ErkJggg==);width:25px;height:25px;background-color:transparent;background-size:100%}.bd-psm{position:fixed;pointer-events:auto;width:490px;height:460px;background-color:#fff;z-index:900000;left:170px;top:-60px;bottom:0;box-shadow:0 0 10px 5px rgba(193,193,193,.75);border:1px solid #EBEBEB}.bd-alert{position:absolute;width:600px;height:200px;left:0;top:300px;background-color:#2E3136;border:1px solid #323232;box-shadow:0 0 5px 3px rgba(30,30,30,.5);color:#EBEBEB}#bd-customcss-attach-controls .checkbox-group,#bd-pane .tab-bar.TOP{margin-bottom:0}.bd-alert-header{height:25px;background:#36393E}.bd-alert-body,.bd-alert-body .scroller-wrap{height:178px}.bd-alert-header span{line-height:25px;margin-left:5px}.bd-alert-closebtn{cursor:pointer;float:right;margin-right:5px;margin-top:2px}.bd-alert-closebtn:hover{color:#ADADAD}.bd-alert-body a{color:#FFF!important}.bd-alert-body .scroller-wrap .scroller{padding:5px;word-wrap:break-word}.channel-textarea-inner textarea{margin-right:40px}.servericon{width:64px;background-size:100% auto;height:64px}#pubs-container{width:800px;position:fixed;top:50%;left:50%;margin-top:-284.5px;margin-left:-400px;background:#FFF;z-index:9000000}#pubs-container .scroller-wrap{height:500px;margin-top:75px}#pubs-header{background:#7289da;padding:5px 12px 5px 5px}#pubs-header h2{font-weight:600;color:#FFF}#pubs-header button,#pubs-header input{float:right}#pubs-sterm{outline:0!important;padding-left:3px}.bd-dropdown{position:absolute;width:150px;right:225px}.bd-dropdown button{width:150px}.bd-dropdown .bd-dropdown-list ul{height:0}.bd-dropdown.open .bd-dropdown-list ul{height:140px}.bd-dropdown-list{position:absolute;right:0;top:32px;z-index:90001;width:150px;background:#F3F3F3}.bd-dropdown-list ul{height:0;overflow-y:auto;overflow-x:hidden;transition:all .5s ease-in-out}.bd-dropdown-list ul li{padding:5px;background:#E6E6E6;cursor:pointer;color:#87909c;font-weight:600}.bd-dropdown-list ul li:nth-child(odd){background:#E2E1E1}.bd-dropdown-list ul li:hover{background:#F9F5F5}#pubs-header input{border:none;height:30px;width:150px;color:#555;background-color:#fff;-webkit-transition:width 1s ease-in-out;-moz-transition:width 1s ease-in-out;-o-transition:width 1s ease-in-out;transition:width 1s ease-in-out}.server-description,.server-name-span,.server-official,.server-tags{transition:visibility 0s,opacity .8s linear}#pubs-header button{height:32px;background-color:#f9f9f9;color:#949494}#pubs-footer{height:25px;line-height:25px;background:#7289da}#pubs-footer div{float:right;margin-right:5px;font-weight:600px;color:#FFF}#pubs-footer a{color:#FFF;font-weight:800}.server-row{padding:5px;display:flex;background-color:#FFF}.server-row:nth-child(odd){background-color:#F3F3F3}.server-icon{width:64px;height:64px;background-size:100% auto}.server-info{display:flex;flex-flow:column;line-height:64px;margin-left:20px}.server-info span{font-size:16px;color:#000;font-weight:600}.server-info a{color:#4056a2;font-weight:800;margin-left:5px}.server-info button{width:90px;height:48px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}.server-info button:hover{background-color:#697ec4}.server-information{flex-grow:1;position:relative}.server-desription,.server-name{flex-grow:100}.server-name span{overflow:hidden;white-space:nowrap}.server-description,.server-name-span{position:absolute;top:0}.server-information:hover .server-description{visibility:visible;opacity:1}.server-information:hover .server-name-span,.server-information:hover .server-official,.server-information:hover .server-tags{visibility:hidden;opacity:0}.server-official,.server-tags{position:absolute!important;visibility:visible;opacity:1}.server-tags{bottom:0!important;height:38px!important;font-size:10px!important}.server-official{top:0!important;height:20px!important;font-size:14px!important;line-height:14px!important;color:#7289DA!important;font-weight:700!important;text-shadow:0 0 4px #7289DA;padding-left:2px;padding-right:2px}.server-description{visibility:hidden;opacity:0;font-size:12px!important;line-height:12px!important;text-overflow:initial!important;white-space:inherit!important;overflow-y:auto!important;height:64px!important}.server-region{min-width:85px}.server-pinned{position:absolute;width:777px;padding-right:17px;border-bottom:2px solid #272727}#bd-customcss-attach-controls,#bd-customcss-detach-controls{background:#E8E8E8;-webkit-box-shadow:inset 0 1px 0 0 #fff;padding:5px}#server-bd-tag{position:absolute!important;bottom:0!important;height:20px!important;line-height:20px!important;font-size:13px!important;font-weight:600!important}#pubs-spinner{position:fixed;top:50%;left:50%;margin-left:-16px;margin-top:-16px}#pubs-container .scroller::-webkit-scrollbar-thumb,#pubs-container .scroller::-webkit-scrollbar-track-piece{border-radius:0}.bd-hide-bd .callout-backdrop{display:none}.bd-detached-editor .app{width:70%}#bd-customcss-detach-container{position:absolute;width:30%;top:0;right:0;bottom:0;padding-top:58px;background-color:#36393e}#bd-customcss-detach-editor{height:calc(100% - 87px)}#bd-customcss-detach-editor #bd-customcss-innerpane,#bd-customcss-detach-editor .CodeMirror{height:100%}#bd-customcss-detach-controls{border-top:1px solid #ADADAD;height:100%}#bd-customcss-detach-controls .checkbox-group li{margin-top:5px;display:inline-block}#bd-customcss-detach-controls button{width:90px;height:30px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}#bd-customcss-detach-controls-buttons{bottom:5px}#editor-detached{margin-top:50px}#editor-detached h3{text-align:center;font-size:30px}#editor-detached .btn{left:50%;margin-left:-100px;margin-top:10px;width:200px;height:60px}#bd-customcss-attach-controls{border:1px solid #FFF;border-top:1px solid #ADADAD;height:75px}#bd-customcss-attach-controls .checkbox-group li{margin-top:5px;display:inline-block}#bd-customcss-attach-controls button{margin:0;width:100px}#bd-customcss-detach-container #bd-customcss-detach-controls-buttons button{width:90px;height:30px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}.emoji-picker{box-shadow:none;border-top:none;border-radius:0 0 5px 5px}#bda-qem{border-radius:5px 5px 0 0;background:#FFF;border-bottom:1px solid rgba(0,0,0,.1)!important;height:30px;display:flex;flex-direction:row;padding-right:1px!important}#bda-qem button{border-left:1px solid #EFEFEF;background:0 0;box-shadow:#CECECE 1px 0 0 0;flex-grow:1}#bda-qem button:hover{background:#ECECEC}#bda-qem-twitch{border-radius:5px 0 0;order:2}#bda-qem-emojis{border-radius:0 5px 0 0;order:3}#bda-qem-favourite{order:3}#bda-qem button.active{background-color:#E2E2E2}#bda-qem-favourite-container,#bda-qem-twitch-container{width:346px;height:327px;background-color:#FFF;border-radius:0 0 5px 5px}#bda-qem-favourite-container .scroller-wrap,#bda-qem-twitch-container .scroller-wrap{height:100%}.emote-menu-inner{padding:5px 0 0 15px}#rmenu{left:25px;display:block!important;cursor:pointer;color:#FFF;position:fixed}.bda-qme-hidden #bda-qem-emojis{display:none}.bd-select select{width:100%;margin:0;padding:.6em 2em .5em .8em;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;background:0 0;border:1px solid transparent!important;-webkit-appearance:none;appearance:none;color:#404040;outline:0!important}.bd-select::after{content:" ";position:absolute;top:50%;right:1em;z-index:2;pointer-events:none;display:none}.bd-select select:focus{border-color:#aaa}.bd-select:focus::after{display:block}.bd-select{position:absolute;right:220px;height:32px;top:5px;display:inline-block;border:none;border-radius:0;box-shadow:0 1px 0 1px rgba(0,0,0,.04);background:#fff;outline:0!important}.bd-select:before{content:"Category";color:#FFF;position:absolute;right:100%;margin-right:5px;line-height:32px}#bd-settings-pane{margin-top:18px}.bda-slist-top{height:25px;flex-grow:1}.bda-slist-top>.btn{height:20px;line-height:20px;font-size:13px;padding:0 6px 6px;margin-left:5px!important;float:right}.bda-slist li{background:#F3F3F3;padding:5px;border-bottom:1px solid #ADADAD;min-height:116px;max-height:116px}.bda-slist li:nth-child(odd){background:#F3F3F3;border-top:1px solid #FFF}.bda-slist .bda-name{color:#87909C;font-weight:700;font-size:12px}.bda-slist .bda-description{margin-top:5px;color:#4E4E4E;width:400px;overflow-y:scroll;min-height:90px;max-height:90px;border-top:1px solid #DADADA;padding-top:5px;word-break:break-word}.bda-slist .scroller::-webkit-scrollbar-thumb,.bda-slist .scroller::-webkit-scrollbar-track-piece{border-radius:0!important;border-color:transparent}.bda-slist .bda-left{width:400px;display:inline-block}.bda-slist .bda-right{display:inline-block;float:right}.bda-slist .checkbox{margin-left:18px}.bda-slist .checkbox:before{content:"Enabled";color:#87909C;margin-right:5px;font-weight:600}.bda-slist .bda-right .btn{height:30px;width:100px;line-height:12px;margin-left:0;text-align:center;display:block}.bda-slist .bda-right .bda-plugin-reload{margin-top:35px}.bda-slist .bda-right .bda-plugin-settings{margin-top:5px}#bd-themes-pane .bda-plugin-reload{margin-top:70px}.bda-backdrop{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1000;background:rgba(0,0,0,.5)}.bd-settings{max-width:516px}.bda-dark #bda-qem{border-bottom:1px solid #464646!important;background:#353535}.bda-dark #bda-qem button{background:#353535;border-left:1px solid #242424;box-shadow:#424242 1px 0 0 0;color:#FFF}.bda-dark #bda-qem button.active{background-color:#292929}.bda-dark #bda-qem button:hover{background-color:#303030}.bda-dark #bda-qem-favourite-container,.bda-dark #bda-qem-twitch-container,.bda-dark .emoji-picker,.bda-dark .emoji-picker .category{background-color:#353535}.bda-dark .emoji-picker .header .search-bar{background-color:#2B2B2B}.bda-dark .emoji-picker .search-bar input{color:#FFF}.bda-dark .emoji-picker .search-bar input::-webkit-input-placeholder{color:#FFF}.bda-dark .emoji-picker .scroller .emoji-item.selected{background:rgba(123,123,123,.37)}.bda-dark .emoji-picker .dimmer.visible{background-color:rgba(62,62,62,.65)}.bda-dark .emoji-picker .diversity-selector .popout{background:#353535;border-color:#202020}.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar,.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-track,.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-track-piece,.bda-dark #pubs-container .scroller::-webkit-scrollbar,.bda-dark #pubs-container .scroller::-webkit-scrollbar-track,.bda-dark #pubs-container .scroller::-webkit-scrollbar-track-piece{background-color:#303030!important;border-color:#303030!important}.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-track,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-track-piece{background-color:#303030!important;border-color:#303030!important}.bda-dark .emoji-picker .scroller::-webkit-scrollbar,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-track,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-track-piece{background-color:#303030!important;border-color:#303030!important}.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-thumb,.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-thumb,.bda-dark #pubs-container .scroller::-webkit-scrollbar-thumb,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-thumb{border-color:#202020!important;background-color:#202020!important}.bda-dark .server-row{background-color:#36393E}.bda-dark #pubs-container,.bda-dark .server-row:nth-child(odd){background-color:#2E3136}.bda-dark .server-info span{color:#D6D6D6}.bda-dark #pubs-footer,.bda-dark #pubs-header{background:#202020}.bda-dark #pubs-sterm{background:#36393E;color:#FFF}.bda-dark #pubs-searchbtn{background:#2E3136}.bda-dark .bd-select{background:#36393E}.bda-dark .server-info button{background-color:#202020}.bda-dark #pubs-cat{color:#FFF}.bda-dark .bd-dropdown-select{background-color:#2E3136}.bda-dark .bd-dropdown-list ul li:nth-child(odd){background:#36393E}.bda-dark .bd-dropdown-list ul li{background:#3D4046}.bda-dark .bd-dropdown-list ul li:hover{background:#2D2F33}.bda-dark #pubs-header button{background-color:#2E3136}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar,.server-description::-webkit-scrollbar{width:12px}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar-track,.server-description::-webkit-scrollbar-track{background:#303030}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar-thumb,.server-description::-webkit-scrollbar-thumb{background:#202020} \ No newline at end of file +.CodeMirror{font-family:monospace;height:300px;color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected,.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}.bd-loaderv2{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FscXVlXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAwMCAyMDAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMDAwIDIwMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwYXRoIGZpbGw9IiMzRTgyRTUiIGQ9Ik0xNDAyLjIsNjMxLjdjLTkuNy0zNTMuNC0yODYuMi00OTYtNjQyLjYtNDk2SDY4LjR2NzE0LjFsNDQyLDM5OFY0OTAuN2gyNTdjMjc0LjUsMCwyNzQuNSwzNDQuOSwwLDM0NC45ICAgSDU5Ny42djMyOS41aDE2OS44YzI3NC41LDAsMjc0LjUsMzQ0LjgsMCwzNDQuOGgtNjk5djM1NC45aDY5MS4yYzM1Ni4zLDAsNjMyLjgtMTQyLjYsNjQyLjYtNDk2YzAtMTYyLjYtNDQuNS0yODQuMS0xMjIuOS0zNjguNiAgIEMxMzU3LjcsOTE1LjgsMTQwMi4yLDc5NC4zLDE0MDIuMiw2MzEuN3oiLz48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTI2Mi41LDEzNS4yTDEyNjIuNSwxMzUuMmwtNzYuOCwwYzI2LjYsMTMuMyw1MS43LDI4LjEsNzUsNDQuM2M3MC43LDQ5LjEsMTI2LjEsMTExLjUsMTY0LjYsMTg1LjMgICBjMzkuOSw3Ni42LDYxLjUsMTY1LjYsNjQuMywyNjQuNmwwLDEuMnYxLjJjMCwxNDEuMSwwLDU5Ni4xLDAsNzM3LjF2MS4ybDAsMS4yYy0yLjcsOTktMjQuMywxODgtNjQuMywyNjQuNiAgIGMtMzguNSw3My44LTkzLjgsMTM2LjItMTY0LjYsMTg1LjNjLTIyLjYsMTUuNy00Ni45LDMwLjEtNzIuNiw0My4xaDcyLjVjMzQ2LjIsMS45LDY3MS0xNzEuMiw2NzEtNTY3LjlWNzE2LjcgICBDMTkzMy41LDMxMi4yLDE2MDguNywxMzUuMiwxMjYyLjUsMTM1LjJ6Ii8+PC9nPjwvc3ZnPg==);position:fixed;bottom:5px;right:5px;z-index:2147483647;display:block;width:20px;height:20px;background-size:100% 100%;-webkit-animation:bd-loaderv2-animation 1.5s ease-in-out infinite}@-webkit-keyframes bd-loaderv2-animation{0%{opacity:.05}50%{opacity:.6}100%{opacity:.05}}.ui-standard-sidebar-view .bda-slist li:nth-child(odd){background:#292b2f;border-top:1px solid #2b2b2b}.ui-standard-sidebar-view .bda-slist li{background:#26272b;border-bottom:1px solid #3f4146}.ui-standard-sidebar-view .bda-slist .bda-description{border-top:1px solid #3f4146;color:#b0b6b9}.ui-standard-sidebar-view .bda-slist .bda-right button{background:#7289da;color:#FFF;border-radius:5px;height:30px;display:block;width:100px;margin:5px}.ui-standard-sidebar-view .bd-psm{background-color:#292b2f;box-shadow:0 0 12px 6px rgba(31,31,31,.32);border:1px solid #3f4146;width:60vw;height:80vh;border-radius:6px}.bd-server-card.bd-server-card-pinned{margin-bottom:11px}.bd-server-card.bd-server-card-pinned:after{background:#3a71c1;content:"";height:3px;width:100%;display:block;position:absolute;margin-top:5px}.ui-standard-sidebar-view #bd-customcss-attach-controls button,.bd-detached-css-editor #bd-customcss-attach-controls button{margin:0;width:100px;background:#36393f;color:#FFF;height:26px;font-weight:600;margin-top:5px;border-radius:3px}.ui-standard-sidebar-view #bd-customcss-attach-controls button:hover,.bd-detached-css-editor #bd-customcss-attach-controls button:hover{background:#3b3e44}.cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:#00f}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{line-height:1em;font-weight:700;color:#0aa}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{outline:grey solid 1px;color:#000!important}#custom-css-ta{background:#D8D8D8;height:200px;font-family:"Consolas"}.content-region .CodeMirror,.content-region .cm-s-material .CodeMirror-gutters,#bd-customcss-detach-container .CodeMirror,#bd-customcss-detach-container .cm-s-material .CodeMirror-gutters{background:#292b2f!important}.content-region #bd-customcss-attach-controls,#bd-customcss-detach-container #bd-customcss-attach-controls{background:#292b2f;color:#FFF;border:none;box-shadow:0 1px 0 0 #36393f inset}.content-region #bd-customcss-pane,.content-region #bd-customcss-innerpane,#bd-customcss-detach-container #bd-customcss-pane,#bd-customcss-detach-container #bd-customcss-innerpane{min-height:calc(80vh - 165px)}.content-region .CodeMirror,.content-region .CodeMirror-scroll{max-height:calc(95vh - 165px);min-height:calc(95vh - 165px);height:auto}.content-region .CodeMirror-simplescroll-vertical,.content-region .CodeMirror-simplescroll-horizontal,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal{background:transparent!important}.content-region .CodeMirror-simplescroll-vertical,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical{margin-right:3px!important}.content-region .CodeMirror-simplescroll-horizontal,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal{margin-bottom:3px!important}.content-region .CodeMirror-simplescroll-vertical div,.content-region .CodeMirror-simplescroll-horizontal div,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical div,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal div{background:#18191c!important;border:none!important;border-radius:5px!important}.content-region .CodeMirror-scrollbar-filler,#bd-customcss-detach-container .CodeMirror-scrollbar-filler{display:none!important}.ui-standard-sidebar-view #editor-detached h3{color:#87909c;font-weight:600;font-size:22px}.ui-standard-sidebar-view #editor-detached button{margin:auto;margin-left:calc(50% - 100px);margin-top:20px;background:#7289da;color:#FFF;font-weight:600;border-radius:5px;font-size:20px}.bd-blue .ui-standard-sidebar-view #editor-detached button{background:#3a71c1}.ui-standard-sidebar-view .bd-versioninfo-wrapper{bottom:0;left:0;position:fixed;background:inherit;right:0;padding:5px}.ui-standard-sidebar-view .bd-versioninfo-wrapper span{color:#b9bbbe;font-weight:600;font-size:11px}.ui-standard-sidebar-view .bd-versioninfo-wrapper a{font-size:11px}.bd-server-card .bd-server-tags{flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:0;line-height:24px;font-size:12px;color:#b9bbbe;font-weight:700;margin-right:10px}.ui-card.ui-card-primary.bd-server-card:first-child{margin-bottom:13px}.ui-card.ui-card-primary.bd-server-card:first-child:after{border:3px solid #7289da;content:"";display:block;position:absolute;left:0;right:0;margin-top:4px}.bd-layer{background:#36393f;z-index:900}.spoiler{color:transparent!important}.spoiler img{display:none}.spoiler:before{content:"Spoiler";display:block;background:#1D1D1D;color:#ADADAD!important;min-height:30px;text-align:center;line-height:100%;font-family:"Consolas";padding-top:5px}.emotemenu-enabled .channel-textarea-inner textarea{margin-right:45px!important}#bdbeta{background:red}#emote-menu{background:#36393E;height:0;width:300px;position:absolute;bottom:45px;right:0;border:1px solid #000;border-radius:5px 0 0 0;overflow:hidden;visibility:hidden;transition:all 1s;-webkit-transition:all 1s}.emotemenu-open{height:450px!important;visibility:visible!important}#emote-menu-header{width:100%;height:30px;background-color:#36393E}.emote-menu-tab{float:left;width:130px;text-align:center;padding:7px;color:#ADADAD;background-color:#424549;cursor:pointer}.emote-menu-tab:hover{background-color:#45484C}#emote-menu-inner,#emote-menu-inner-fav{height:412px}.emote-menu-tab-selected{background-color:#36393E}.emote-menu-tab-selected:hover{background-color:#36393E}#emote-container{padding:10px}.emote-container{display:inline-block;padding:2px;border-radius:5px;width:30px;height:30px;position:relative}.emote-icon{max-width:100%;max-height:100%;position:absolute;margin:auto;top:0;right:0;bottom:0;left:0;cursor:pointer}.emote-container:hover{background:rgba(123,123,123,.37)}.emoteflip,.emotespinflip{transform:scaleX(-1)}.emotespin{animation:1s emote-spin infinite linear}.emote1spin{animation:1s emote-spin-reverse infinite linear}.emotespin2{animation:0.5s emote-spin infinite linear}.emote2spin{animation:0.5s emote-spin-reverse infinite linear}.emotespin3{animation:0.2s emote-spin infinite linear}.emote3spin{animation:0.2s emote-spin-reverse infinite linear}.emotepulse{animation:1s emote-pulse infinite linear}.emotetr{transform:translateX(-3px)}.emotebl{transform:translateY(-3px)}.emotebr{transform:translate(-3px,-3px)}.emoteshake{animation:1s emote-shake infinite linear}.emoteflap{transform:scaleY(-1)!important}.emoteshake2{animation:emote-shake2 0.3s linear infinite}.emoteshake3{animation:emote-shake3 0.1s linear infinite}@keyframes emote-shake2{25%{transform:translate(-1px,-1px)}50%{transform:translate(-1px,1px)}75%{transform:translate(1px,1px)}75%{transform:translate(1px,-1px)}}@keyframes emote-shake3{25%{transform:translate(-1px,-1px)}50%{transform:translate(-1px,1px)}75%{transform:translate(1px,1px)}75%{transform:translate(1px,-1px)}}@keyframes emote-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes emote-spin-reverse{from{transform:rotate(0deg)}to{transform:rotate(-360deg)}}@keyframes emote-pulse{0%{-webkit-transform:scale(1,1)}50%{-webkit-transform:scale(1.2,1.2)}100%{-webkit-transform:scale(1,1)}}@keyframes emote-shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}#tc-settings-panel{position:fixed;width:50%;height:75%;background:#2e3136;display:block;z-index:9001;margin-left:25%;margin-top:5%;border:1px solid #000;box-shadow:0 0 20px 0 #000;max-height:800px;min-width:750px}#tc-settings-panel-header{background:#36393e;height:60px;border-bottom:1px solid #000;box-shadow:0 1px 0 0 #4e4e4e}#tc-settings-panel-header h2{margin:0;line-height:60px;margin-left:10px;color:#ADADAD;display:inline-block;float:left}#tc-settings-panel-header span{float:right;display:inline;line-height:50px;margin-right:15px;font-size:29px;font-weight:700;color:#ADADAD}#rmenu{width:auto;background:#505050;position:absolute;z-index:999999;display:none;box-shadow:0 0 2px #000;padding:2px}#rmenu ul a{text-decoration:none;color:#FFF;padding:3px}#tc-settings-panel-body{overflow:auto}#tc-settings-panel-body ul{overflow:auto;position:absolute;padding:0;margin-top:0;border-bottom:1px solid #000;left:0;right:0;bottom:40px;top:61px}#tc-settings-panel-body ul li{padding:15px;color:#ADADAD;background:#2E3136;border-bottom:1px solid #000;box-shadow:0 1px 0 #404040 inset}#tc-settings-panel-body ul li:nth-child(odd){background:#33363B}#tc-settings-panel-body ul li h2{display:inline}#tc-links a{color:#FFF}#tc-settings-panel-footer{background:#36393e;height:40px;position:absolute;bottom:0;right:0;left:0;border-top:1px solid #000;box-shadow:0 1px 0 #505050 inset;line-height:40px;padding-left:10px;color:#ADADAD!important}#tc-links{float:right;margin-right:10px}.tc-switch{background:#2e3136;width:100px;height:24px;display:inline-block;float:right;margin:-7px;border:1px solid #000;outline:1px solid #404040;cursor:pointer}.tc-switch.disabled{background:gray;cursor:default}.tc-switch.disabled span{background:gray!important}.tc-switch.disabled .tc-switch-on{border-left:1px gray!important}.tc-switch span{line-height:24px;display:inline-block;width:49px;text-align:center;height:24px}.tc-switch-off{border-right:1px solid #000}.tc-switch-on{border-left:1px solid #404040}.tc-switch-on.active{background:green;border-left:1px solid #00AE08}.tc-switch-off.active{background:#860606}.bd-minimal .avatar-large{max-width:20px;max-height:20px;background-size:100%;margin-right:2px;margin-top:0;border-radius:0}.bd-minimal .comment{border-left:2px solid #EBEBEB;padding-left:2px}.bd-minimal .theme-dark .comment{border-left:2px solid #303030}.bd-minimal .user-name{font-size:small}.bd-minimal.bd-minimal-chan .channels-wrap{display:none}.bd-minimal .message-group{padding:5px}.bd-minimal .embed{padding:2px}.bd-minimal .channel-members .avatar-small{max-width:15px;max-height:15px;background-size:15px 15px}.bd-minimal .channel-members .avatar-small .status{height:5px;width:5px}.bd-minimal .channel-members .member{padding:5px}.bd-minimal .channel-members-wrap{min-width:0}.bd-minimal .channel-members h2{margin-top:3px}.bd-minimal .account .avatar-small,.bd-minimal .account .username{display:none}.bd-minimal .channel-text a{padding:5px!important;font-size:small}.bd-minimal .guild-channels ul .channel-text.unread:not(.selected):not(.channel-muted):before{width:10px;top:8px}.bd-minimal .guild-channels ul .channel-voice{padding:5px!important;font-size:small}.bd-minimal .guild-channels h2{padding:5px}.bd-minimal .guild-channels header spann{font-size:12px}.bd-minimal .channels-wrap{width:160px}.bd-minimal .channels-wrap .guild-channels{padding:0}.bd-minimal .guilds-wrapper .guilds .guild{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guild .guild-inner a.avatar-small{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guild .guild-inner{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds .friends-icon{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds .friends-online{margin-left:-15px;font-size:7px}.bd-minimal .guilds-wrapper{width:45px}.bd-minimal .guilds-wrapper .guild-separator{margin-left:-15px}.bd-minimal .guilds-wrapper .guilds .guild.selected:before{height:20px;margin-top:-10px}.bd-minimal .guilds-add{font-size:20px;line-height:14px}.bd-minimal .guilds .audio .guild-inner:after{width:12px;height:12px;background-size:12px}.bd-minimal .guild-header header span{margin-left:-20px}.bd-minimal .btn-hamburger{margin-right:-30px}.emotewrapper{display:inline-block;position:relative}.emotewrapper:hover .fav{display:block}#bd-changelog{float:right;height:30px;line-height:30px;margin-right:10px;font-size:11px;font-weight:700;cursor:pointer}.fav{display:none;position:absolute;width:15px;height:15px;right:-7px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAzFBMVEUAAABQUFBMTExLS0tNTU1MTExNTU1NTU1MTExMTExNTU1LS0tEREBEREBEREBEREBJSUhLS0tLS0tEREBNTU1NTU1NTU1EREArKyhNTU1NTU0AAABMTExKSklMTExNTU1NTU1NTU1KSkpMTExKSkhNTU1KSkpISEZNTU1LS0tAQDxOTk5KSkpLS0tNTU1MTExMTEx/f39MTExMTExLS0pLS0tMTExNTU1NTU1LS0pNTU1NTU1NTU1NTU1NTU1NTUxNTU1NTU1NTUxMTEzB8C/5AAAAOnRSTlMAI8X96oWAgYSF68QBAg0PMCb9BIuLgQUD4N0Bh0mKhZSOQ4gcrKscaW8QRE6fmJyjAshASceG7cIpqQOxTQAAALVJREFUGFddx6FOA0EYAOGZvd07Qm6vVCAAgUUgQEDfX/YZMAigqaFN7iC5tsmPqGPUN/AvUVeoEbGOCElJz08Uzeixqu4AqomVVSNngOVjTqDGZSl3UFtPGV2ot2zaq96YM9p5Ddzcf/nTTAlj+/sNtNu8OcwkIsbPBtrUfMQeEhGQmHbmGIFMwLPzu6UMIwBNgToshgq8Nr2ki+Oy7ebDHp70LRPWB6OZgfWLWei7fJonOOsPCGA9kVlssOoAAAAASUVORK5CYII=);border:none;background-size:100% 100%;background-repeat:no-repeat;background-color:#303030;border-radius:5px;top:-7px;cursor:pointer}#bd-ps-container{position:fixed;width:50%;height:75%;background:#2e3136;display:block;z-index:9001;margin-left:25%;margin-top:5%;border:1px solid #000;box-shadow:0 0 20px 0 #000;max-height:800px;min-width:750px}#bd-ps-header{background:#36393e;height:60px;border-bottom:1px solid #000;box-shadow:0 1px 0 0 #4e4e4e}#bd-ps-header h2{margin:0;line-height:60px;margin-left:10px;color:#ADADAD;display:inline-block;float:left}#bd-ps-header span{float:right;display:inline;line-height:50px;margin-right:15px;font-size:29px;font-weight:700;color:#ADADAD}#bd-ps-body{position:absolute;padding:0;margin-top:0;left:0;right:0;bottom:0;top:61px;overflow:auto}.bd-ps-server{width:100%;height:200px}.bd-ps-server-header{height:50px;width:100%;margin-top:1px;background:#202020;color:#AEAEAE;line-height:50px;font-size:20px}.bd-ps-server-header span{margin-left:10px}.bd-ps-server-body{padding:5px}.bd-ps-server-icon{width:90px;height:90px;background:#202020;display:inline-block}.bd-ps-server-info{position:absolute;height:190px;display:inline-block;left:100px;right:5px;color:#AEAEAE;overflow:auto}#bd-ps-body table{width:100%;margin:0;padding:0;border-color:red;border-collapse:collapse;text-align:left}#bd-ps-body table th{background-color:#202020;color:#EDEDED;height:50px;padding-left:5px}#bd-ps-body table tr{margin:0;padding:0;height:50px;background-color:#33363B;border-bottom:1px solid #000;box-shadow:0 1px 0 #404040 inset}#bd-ps-body table tr td{padding-left:5px;color:#EDEDED;min-width:100px}#bd-ps-body .description{overflow:auto;max-height:60px;word-wrap:break-word}#bd-ps-body table tr:nth-child(odd){background-color:#2E3136}#bd-show-channels{display:none;width:12px;height:18px;background:#2e3136;position:absolute;left:33px;top:79px;text-align:left!important;padding:0px!important;padding-left:3px!important;color:#EBEBEB;z-index:90000}.bd-minimal-chan #bd-show-channels{display:block!important}.tipsy{z-index:9000000001!important;position:absolute;padding:5px;display:block;visibility:visible;opacity:.8}.tipsy-arrow{position:absolute;width:0;height:0;border:5px solid transparent;bottom:0;right:10px;border-bottom:none;border-top-color:black}.tipsy-inner{background-color:black;color:white;max-width:300px;padding:5px 8px 4px;text-align:center;overflow:hidden!important;text-overflow:ellipsis}#bd-psd-container{position:fixed;width:50%;height:75%;display:block;margin-left:25%;margin-top:5%;box-shadow:0 0 20px 0 #000;background:#2E3135;border:1px solid #25282C;min-width:750px;min-height:800px}#bd-psd-header{width:100%;height:40px;border-bottom:1px solid #25282C;line-height:40px;color:#ADADAD}#bd-psd-header span{margin-left:10px}#bd-psd-body{height:100%;width:100%}#bd-psd-table{width:100%;margin:0;padding:0;text-align:left;color:#ADADAD}#bd-psd-table thead th{background:#1D1D1D;padding:5px}#bd-psd-table tbody td{padding:5px}#bd-psd-table tbody tr{background:#292C30}#bd-psd-table tbody tr:nth-child(odd){background:#2E3135}#bd-psd-table button{background:#292C30;border:1px solid #1D1D1D;width:60px;height:30px;color:#ADADAD;cursor:pointer}#bd-psd-table button:hover{background:#2E3135}#bd-psd-header a{float:right;margin-right:10px;font-size:30px;color:#ADADAD;text-decoration:none;margin-top:-7px}.bd-g-table{text-align:left;width:520px;white-space:nowrap}.bd-g-table thead th{background:#EBEBEB!important;color:#87909c!important;padding:5px!important}.bd-g-table tbody tr{background:#E0E0E0!important}.bd-g-table tbody tr:nth-child(odd){background:#ECECEC!important}.bd-g-table tbody td{color:#87909c!important;padding:5px!important;font-size:small}.bd-g-table textarea{width:100%!important;background:#E0E0E0!important;border:none!important;resize:none!important;font-size:small!important;margin:0!important;padding:0!important}.bd-g-table input{margin:0!important;padding:0!important}.message-group.compact .message .markup .message-content{text-indent:0}.bd-psb{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAG6ElEQVR4XtWZS0xTWRjHP54+H+WhQRO0GAQxxikxmhhMKBu2upLoTDKsaupmcGVYVTdjxhUrG9kMG0OYTDKSuGIzZQHGUQNEowaJ4lt8UXwBPuf7kV5ycrmXW26bVP/JlxR6zvc63+uc5n379k1+ZOTLD45CPnR2dkoWcUgpqhS2LUgoxZX+kiwgEolYBmSGlpYWsdDT0xMoLi7uaW5ulk2bNomJJ0+ehPv6+sIfP37s0z1JY893FUKt27ZtQ3n58OGDTE1NQXyWiooKqa6uFtZkN4QyhK0IHFi/fr3MzMyIelos8DkvL09Wr17Nmp/Yk4skDimdNGPbREFBAR+Cq1atki9fvogdGFBSUiLwYa0L4I2MULYNOFtWVja0e/fumIbHvyLyj1KzpLBs2TLp7u6OrFmzJrhx40b5+vWr2PH582fZsmWL6JoQa9ljoBme8EYGspApaYA+4FWFztbU1ETD4bBYGB8fl0QiQWicJkKUfg0qVLiocJmcnBQncAKvXr2Sa9euwWM8VZVI/Hb4KwuxAP/R0VG+P+a7CpnK48G3b9/ibQTJkSNHUKRdhYuuwbMCWOMG9mOgVik+B2/cuPEHCzAcPiT77OwsvCTlsKgaIRjhJ4nDGg7RxsZG+fTpk6XYfIIS6/v27RPA91QbYn8xsO7169fky4L9yWRyPvTevHmDEaKykRt9+vQpvSOx1BA6uWPHjpiS5BI3b96ETqHPUkNo/P3795LrWQkd0MVPCHXdv3//N20+oXXr1kk6IE9IUsKJMEM4IFyIcfiQA4WFiPXGixcvRHVIoIvfMhq/dOkSMSqLgdjVOJWRkREEEs8kJLUf4jP/4zvWsJY9nvlCtUKHTDpxpwqv04rXpifhKujOnTuWtz1Boj98+JBkFsaOoqIicYLKxPAOhr+sjBKUT0qcCcLk9u3b86PCUsCp3Lp1S7Zv3054iQH+zuos1FpbW4uCZkLzWe7evUvcS36+v5mQvfCgj5gOgB+95vr16wdF5HgmBkS2bt0aWL58udgr0vPnz2V6etoS7BvwgNeGDRvEAidN166srAxquEUI5XQNCChhdaNSiLmlvr4exUk6M46pEG6ex8rzSr1KA0qggUlV6Wd6j1O1oTrR4Cz+yNu7dy/Jf45mJiLDSv1KF5SSTgYc4jLC0THPwxCCGbON4X2rKzsZwKJTKTLxd4rGlGJORlB68bqZI/x9+PBhSnMI0ktRqyb3n5pzLSS33YCodZNCWZTEM8SpDbR6t9A5j/LiDr6jnP0iNrx7904CgYBZ3QgtegYFhIpFrnCzk4sXL0btBgRXrlwZZjFKs9mjRruFT694o9fBACoZjnOSBWGgWXLDAkwDVqxYYXrbq3G5GTAg3hhw4+kBDFk0idOaezglwifLgCe8UdLXnTjJxjQHN47S7bQaSFaP7Q0uPJEP+TJgWBMTCq1du9ZrFCCp3Gb/A54GsMYBdN90vE8BQV+nEIpfvnz5HDMPRmgPwCuOBlAtuNg4gDo/tkgliqXW2IFMV+9bFyqUHxuDvcTdLjQ1qVe1EFRaWhqgkdkNoTM/ePAAgVlpZMT/5s2bccqCLj00NITiSbwOpZQfdbvQjBqzBxPj7zqste/cuXNByeP95+XLl475SJmEJD3Ay6mM4m2UPyEiZ/zOQmcmJibamRipEGYYad8QSi9zSybgNOFD57UPeo8fP05ayvs1IKmMOh49etTGm479eHkupDMizA9wCt6nSdmhMvnQlbWnRfKAYzZPgcTCCC4nGLQU4HXNMXPKNSuS5ZTpTA1oVsXb6urqUNipe6IAVYn7LmOIV0elg+N1Epe9rHc8mV27dlEo2rUCcSfu82tAdM+ePXiEsdax6mAYIcAozEyPgvxNblgnxn56B5d7eHBa7HMD3+MUZA8ODkb9GhDWcfpgeXk5Cnl61jIEYAwv0SgOMMR62Ut31oIXstFBR+mwr4ctvY3FqqqqJJe4d+8e105fD1sJvcjEuODkENZDccLPuxAGdPGG43Ih53kE8iqjfvfzaoEBcXTxm8RxmChaKZfG7YkXA1p/R+qY24hXbk0er27sYT1dHMXZz0MXlY68MZWXZ8+eGc/r/l7m/ksZ0YXCPDbB+MqVK8OqyFHGjqampuOqSIkKO83c4gXW6NoT7GEvPNQhR+EJb2Qgy1t5exJ742BqyBs3OiTv+OaPEpP79+8PuJ0CJ3f16tVh3VNv7BEDrUrB1NB2IZ2fWfMlfcDwpEd7H0ZJ4GYAa8QdXchAVq5+Zu2n4XkYMPI9/8wa1yGMH+lISLvyxLXgZfbkwABP8JPQRH9//1F9Fo/qKBAySiYGDGOgrkmKD/hPYv8IG5+tG1XWQBLPG/Aj439gf0WR+WMvWwAAAABJRU5ErkJggg==);width:25px;height:25px;background-color:transparent;background-size:100%}.bd-psm{position:fixed;pointer-events:auto;width:490px;height:460px;background-color:white;z-index:900000;margin:auto;right:0;left:170px;top:-60px;bottom:0;box-shadow:0 0 10px 5px rgba(193,193,193,.75);border:1px solid #EBEBEB}.bd-alert{position:absolute;width:600px;height:200px;left:0;right:0;top:300px;background-color:#2E3136;margin:auto;border:1px solid #323232;box-shadow:0 0 5px 3px rgba(30,30,30,.5);color:#EBEBEB}.bd-alert-header{height:25px;background:#36393E}.bd-alert-header span{line-height:25px;margin-left:5px}.bd-alert-closebtn{cursor:pointer;float:right;margin-right:5px;margin-top:2px}.bd-alert-closebtn:hover{color:#ADADAD}.bd-alert-body{height:178px}.bd-alert-body a{color:#FFF!important}.bd-alert-body .scroller-wrap{height:178px}.bd-alert-body .scroller-wrap .scroller{padding:5px;word-wrap:break-word}.channel-textarea-inner textarea{margin-right:40px}.servericon{width:64px;display:inline-block;background-size:100% auto;height:64px}.serverinfo{display:inline-block}#pubs-container{width:800px;position:fixed;top:50%;left:50%;margin-top:-284.5px;margin-left:-400px;background:#FFF;z-index:9000000}#pubs-container .scroller-wrap{height:500px}#pubs-header{background:#7289da;padding:5px 12px 5px 5px}#pubs-header h2{display:inline-block;font-weight:600;color:#FFF}#pubs-header input,#pubs-header button{float:right}#pubs-sterm{outline:none!important;padding-left:3px}.bd-dropdown{position:absolute;display:inline-block;width:150px;right:225px}.bd-dropdown button{width:150px}.bd-dropdown .bd-dropdown-list ul{height:0}.bd-dropdown.open .bd-dropdown-list ul{height:140px}.bd-dropdown-list{position:absolute;right:0;top:32px;z-index:90001;width:150px;background:#F3F3F3}.bd-dropdown-list ul{height:0;overflow-y:auto;overflow-x:hidden;transition:all 0.5s ease-in-out}.bd-dropdown-list ul li{padding:5px;background:#E6E6E6;cursor:pointer;color:#87909c;font-weight:600}.bd-dropdown-list ul li:nth-child(odd){background:#E2E1E1}.bd-dropdown-list ul li:hover{background:#F9F5F5}#pubs-header input{border:none;height:30px;width:150px;color:#555;background-color:#fff;-webkit-transition:width 1s ease-in-out;-moz-transition:width 1s ease-in-out;-o-transition:width 1s ease-in-out;transition:width 1s ease-in-out}#pubs-header button{height:32px;background-color:#f9f9f9;color:#949494}#pubs-footer{height:25px;line-height:25px;background:#7289da}#pubs-footer div{float:right;margin-right:5px;font-weight:600px;color:#FFF}#pubs-footer a{color:#FFF;text-decoration:none;font-weight:800}#pubs-container .scroller-wrap{margin-top:75px}.server-row{padding:5px;display:flex;background-color:#FFF}.server-row:nth-child(odd){background-color:#F3F3F3}.server-icon{width:64px;height:64px;background-size:100% auto}.server-info{display:flex;flex-flow:column;line-height:64px;margin-left:20px}.server-info span{font-size:16px;color:#000;font-weight:600}.server-info a{color:#4056a2;text-decoration:none;font-weight:800;margin-left:5px}.server-info button{width:90px;height:48px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}.server-info button:hover{background-color:#697ec4}.server-information{flex-grow:1;position:relative}.server-name,.server-desription{flex-grow:100}.server-name span{overflow:hidden;text-overflow:ellipsis;max-width:300px;white-space:nowrap}.server-name-span,.server-description{position:absolute;top:0;transition:visibility 0s,opacity 0.8s linear}.server-official,.server-tags{visibility:visible;opacity:1;transition:visibility 0s,opacity 0.8s linear}.server-information:hover .server-description{visibility:visible;opacity:1}.server-information:hover .server-name-span{visibility:hidden;opacity:0}.server-information:hover .server-tags{visibility:hidden;opacity:0}.server-information:hover .server-official{visibility:hidden;opacity:0}.server-tags{position:absolute!important;bottom:0!important;height:38px!important;font-size:10px!important;visibility:visible;opacity:1}.server-official{position:absolute!important;top:0!important;height:20px!important;font-size:14px!important;line-height:14px!important;color:#7289DA!important;font-weight:700!important;text-shadow:0 0 4px #7289DA;visibility:visible;opacity:1;padding-left:2px;padding-right:2px}.server-description{visibility:hidden;opacity:0;font-size:12px!important;line-height:12px!important;text-overflow:initial!important;white-space:inherit!important;overflow-y:auto!important;height:64px!important}.server-region{min-width:85px}.server-pinned{position:absolute;width:777px;padding-right:-10px;padding-right:17px;border-bottom:2px solid #272727}#server-bd-tag{position:absolute!important;bottom:0!important;height:20px!important;line-height:20px!important;font-size:13px!important;font-weight:600!important}#pubs-spinner{position:fixed;top:50%;left:50%;margin-left:-16px;margin-top:-16px}#pubs-container .scroller::-webkit-scrollbar-track-piece,#pubs-container .scroller::-webkit-scrollbar-thumb{border-radius:0}.bd-hide-bd .callout-backdrop{display:none}.bd-detached-editor .app{width:70%}.bd-detached-editor #bd-customcss-detach-container{display:block}#bd-customcss-detach-container{display:none;position:absolute;width:30%;top:0;right:0;bottom:0;padding-top:58px;background-color:#36393e}#bd-customcss-detach-editor{height:calc(100% - 87px)}#bd-customcss-detach-editor #bd-customcss-innerpane,#bd-customcss-detach-editor .CodeMirror{height:100%}#bd-customcss-detach-controls{background:#E8E8E8;border-top:1px solid #ADADAD;-webkit-box-shadow:inset 0 1px 0 0 white;height:100%;padding:5px}#bd-customcss-detach-controls .checkbox-group li{margin-top:5px;display:inline-block}#bd-customcss-detach-controls button{width:90px;height:30px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}#bd-customcss-detach-controls-buttons{bottom:5px}#editor-detached{margin-top:50px}#editor-detached h3{text-align:center;font-size:30px}#editor-detached .btn{left:50%;margin-left:-100px;margin-top:10px;width:200px;height:60px}#bd-customcss-attach-controls{background:#E8E8E8;border:1px solid #FFF;border-top:1px solid #ADADAD;-webkit-box-shadow:inset 0 1px 0 0 white;height:100%;padding:5px;height:75px}#bd-customcss-attach-controls .checkbox-group{margin-bottom:0}#bd-customcss-attach-controls .checkbox-group li{margin-top:5px;display:inline-block}#bd-customcss-attach-controls button{margin:0;width:100px}#bd-customcss-detach-container #bd-customcss-detach-controls-buttons button{width:90px;height:30px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}.emoji-picker{box-shadow:none;border-top:none;border-radius:0 0 5px 5px}#bda-qem{border-radius:5px 5px 0 0;background:#FFF;border-bottom:1px solid rgba(0,0,0,.1)!important;height:30px;display:flex;flex-direction:row;padding-right:1px!important}#bda-qem button{border-left:1px solid #EFEFEF;background:transparent;box-shadow:#CECECE 1px 0 0 0;flex-grow:1}#bda-qem button:hover{background:#ECECEC}#bda-qem-twitch{border-radius:5px 0 0 0;order:2}#bda-qem-emojis{border-radius:0 5px 0 0;order:3}#bda-qem-favourite{order:3}#bda-qem button.active{background-color:#E2E2E2}#bda-qem-twitch-container,#bda-qem-favourite-container{width:346px;height:327px;background-color:#FFF;border-radius:0 0 5px 5px}#bda-qem-twitch-container .scroller-wrap,#bda-qem-favourite-container .scroller-wrap{height:100%}.emote-menu-inner{padding:5px 0 0 15px}#rmenu{left:25px;display:block!important;cursor:pointer;color:#FFF;position:fixed}.bda-qme-hidden #bda-qem-emojis{display:none}.bd-select select{width:100%;margin:0;outline:none;padding:.6em .8em .5em .8em;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;padding-right:2em;background:none;border:1px solid transparent!important;-webkit-appearance:none;appearance:none;color:#404040;outline:none!important}.bd-select::after{content:" ";position:absolute;top:50%;right:1em;z-index:2;pointer-events:none;display:none}.bd-select select:focus{border-color:#aaa}.bd-select:focus::after{display:block}.bd-select{position:absolute;right:220px;height:32px;top:5px;border-radius:0;display:inline-block;border:none;border-radius:0;box-shadow:0 1px 0 1px rgba(0,0,0,.04);background:#fff;outline:none!important}.bd-select:before{content:"Category";color:#FFF;position:absolute;right:100%;margin-right:5px;line-height:32px}#bd-pane .tab-bar.TOP{margin-bottom:0}#bd-settings-pane{margin-top:18px}.bda-slist-top{height:25px;flex-grow:1}.bda-slist-top>.btn{height:20px;line-height:20px;font-size:13px;padding:6px;padding-top:0;margin-left:5px!important;float:right}.bda-slist li{background:#F3F3F3;padding:5px;border-bottom:1px solid #ADADAD;min-height:116px;max-height:116px}.bda-slist li:nth-child(odd){background:#F3F3F3;border-top:1px solid #FFF}.bda-slist .bda-name{color:#87909C;font-weight:700;font-size:12px;overflow:hidden;display:block;max-height:12px}.bda-slist li div:not(.bda-right):nth-of-type(2){margin-top:30px}.bda-slist .bda-description{margin-top:5px;color:#4E4E4E;width:400px;overflow-y:scroll;min-height:90px;max-height:90px;border-top:1px solid #DADADA;padding-top:5px;word-break:break-word}.bda-slist .scroller::-webkit-scrollbar-track-piece,.bda-slist .scroller::-webkit-scrollbar-thumb{border-radius:0!important;border-color:transparent}.bda-slist .bda-left{width:400px;display:inline-block}.bda-slist .bda-right{display:inline-block;float:right}.bda-slist .checkbox{margin-left:18px}.bda-slist .checkbox:before{content:"Enabled";color:#87909C;margin-right:5px;font-weight:600}.bda-slist .bda-right .btn{height:30px;width:100px;line-height:12px;margin-left:0;text-align:center;display:block}.bda-slist .bda-right .bda-plugin-reload{margin-top:35px}.bda-slist .bda-right .bda-plugin-settings{margin-top:5px}#bd-themes-pane .bda-plugin-reload{margin-top:70px}.bda-backdrop{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1000;background:rgba(0,0,0,.5)}.bd-settings{max-width:516px}.bda-dark #bda-qem-favourite-container,.bda-dark #bda-qem-twitch-container{background-color:#353535}.bda-dark #bda-qem{border-bottom:1px solid #464646!important;background:#353535}.bda-dark #bda-qem button{background:#353535;border-left:1px solid #242424;box-shadow:#424242 1px 0 0 0;color:#FFF}.bda-dark #bda-qem button.active{background-color:#292929}.bda-dark #bda-qem button:hover{background-color:#303030}.bda-dark #bda-qem-favourite-container,.bda-dark #bda-qem-twitch-container{background-color:#353535}.bda-dark .emoji-picker{background-color:#353535}.bda-dark .emoji-picker .category{background-color:#353535}.bda-dark .emoji-picker .header .search-bar{background-color:#2B2B2B}.bda-dark .emoji-picker .search-bar input{color:#FFF}.bda-dark .emoji-picker .search-bar input::-webkit-input-placeholder{color:#FFF}.bda-dark .emoji-picker .scroller .emoji-item.selected{background:rgba(123,123,123,.37)}.bda-dark .emoji-picker .dimmer.visible{background-color:rgba(62,62,62,.65)}.bda-dark .emoji-picker .diversity-selector .popout{background:#353535;border-color:#202020}.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar,.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-track,.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-track-piece,.bda-dark #pubs-container .scroller::-webkit-scrollbar,.bda-dark #pubs-container .scroller::-webkit-scrollbar-track,.bda-dark #pubs-container .scroller::-webkit-scrollbar-track-piece{background-color:#303030!important;border-color:#303030!important}.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-track,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-track-piece{background-color:#303030!important;border-color:#303030!important}.bda-dark .emoji-picker .scroller::-webkit-scrollbar,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-track,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-track-piece{background-color:#303030!important;border-color:#303030!important}.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-thumb,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-thumb,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-thumb,.bda-dark #pubs-container .scroller::-webkit-scrollbar-thumb{border-color:#202020!important;background-color:#202020!important}.bda-dark .server-row{background-color:#36393E}.bda-dark .server-row:nth-child(odd),.bda-dark #pubs-container{background-color:#2E3136}.bda-dark .server-info span{color:#D6D6D6}.bda-dark #pubs-header,.bda-dark #pubs-footer{background:#202020}.bda-dark #pubs-sterm{background:#36393E;color:#FFF}.bda-dark #pubs-searchbtn{background:#2E3136}.bda-dark .bd-select{background:#36393E}.bda-dark .server-info button{background-color:#202020}.bda-dark #pubs-cat{color:#FFF}.bda-dark .bd-dropdown-select{background-color:#2E3136}.bda-dark .bd-dropdown-list ul li:nth-child(odd){background:#36393E}.bda-dark .bd-dropdown-list ul li{background:#3D4046}.bda-dark .bd-dropdown-list ul li:hover{background:#2D2F33}.bda-dark #pubs-header button{background-color:#2E3136}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar,.server-description::-webkit-scrollbar{width:12px}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar-track,.server-description::-webkit-scrollbar-track{background:#303030}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar-thumb,.server-description::-webkit-scrollbar-thumb{background:#202020}.bd-blue .bot-tag{background:#3a71c1}.bd-blue .bot-tag.bot-tag-invert{color:#3a71c1!important}.bd-blue .spinner-wandering-cubes .spinner-item{background-color:#3a71c1}.bd-blue .spinner-chasing-dots .spinner-item{background-color:#3a71c1}.bd-blue .spinner.spinner-spinning-circle .path{stroke:#3a71c1}.bd-blue .note textarea::-moz-selection{background:#3a71c1}.bd-blue .note textarea::selection{background:#3a71c1}.bd-blue .scroller-wrap .scrollbar .thumb:after{background-color:#3a71c1}.bd-blue #autocomplete-popout .empty h4{color:#3a71c1}.bd-blue .user-popout .header{background:#3a71c1 url(/assets/8cd2f31a12333149b89ef3931626ab83.png)}.bd-blue .checkbox .checkbox-inner input[type=checkbox]:checked+span{background-color:#3a71c1;border-color:#3a71c1}.bd-blue .checkbox .checkbox-inner.alt input[type=checkbox]:checked+span:after{border-color:#3a71c1}.bd-blue .download-apps .footer a{color:#3a71c1}.bd-blue .download-apps .platforms .platform.active{border-color:#3a71c1}.bd-blue .download-apps .platforms .platform.active .download-button{background-color:#3a71c1}.bd-blue .radio .radio-inner span:after{background:#3a71c1}.bd-blue .radio:hover span:after{background:#3a71c1}.bd-blue .radio-image .radio-inner span:after{border:2px solid #3a71c1}.bd-blue .radio-image:hover span:after{border-color:#3a71c1}.bd-blue #overlay-wrapper .overlay .guild-panel .guild-panel-header{background-color:#3a71c1}.bd-blue #overlay-wrapper .overlay .guild-panel .btn-call{color:#3a71c1}.bd-blue .overlay-user-popout .user-popout-options .btn{background-color:#3a71c1}.bd-blue .clipboard-input-inner input::-moz-selection{background:#3a71c1}.bd-blue .clipboard-input-inner input::selection{background:#3a71c1}.bd-blue .btn-help:hover{background:#3a71c1}.bd-blue .popout.popout-left header:before{border-left-color:#3a71c1}.bd-blue .popout.popout-right header:before{border-right-color:#3a71c1}.bd-blue .popout.popout-bottom header:before{border-bottom-color:#3a71c1}.bd-blue .popout.popout-invert:not(.popout-bottom).popout-top header:before{border-top-color:#3a71c1}.bd-blue .guild-channels .channel-text.selected:before{border-left:2px solid #3a71c1}.bd-blue .guild-channels .channel-text:hover:not(.unread):before{border-left:2px solid #3a71c1}.bd-blue .guild-channels .channel-text.unread:not(.selected):not(.channel-muted).selected:before{background-color:#3a71c1}.bd-blue .guild-channels .channel-voice-states li.speaking .avatar-small{background-color:#3a71c1}.bd-blue .tooltip{background-color:#3a71c1}.bd-blue .tooltip.tooltip-top:after{border-top-color:#3a71c1}.bd-blue .tooltip.tooltip-bottom:after{border-bottom-color:#3a71c1}.bd-blue .tooltip.tooltip-left:after{border-left-color:#3a71c1}.bd-blue .tooltip.tooltip-right:after{border-right-color:#3a71c1}.bd-blue .button{background-color:#3a71c1}.bd-blue .tutorial-popout .button-area .skip-tips a{color:#3a71c1}.bd-blue .chat .has-more button{color:#3a71c1}.bd-blue .chat .new-messages-bar:hover{background-color:#3a71c1}.bd-blue .message-group .edit-message .edit-operation>a{color:#3a71c1}.bd-blue .message-group .edit-message .channel-textarea-inner{border-color:#3a71c1}.bd-blue .mention{color:#3a71c1}.bd-blue .mention:hover{background-color:#3a71c1}.bd-blue .mentioned .mention:hover{color:#3a71c1}.bd-blue .markdown-modal .markdown-modal-header b{color:#3a71c1}.bd-blue .change-log .changelog-fixed{background-color:#3a71c1}.bd-blue .change-log .changelog-button .cta{background-color:#3a71c1}.bd-blue .form .form-header{color:#3a71c1}.bd-blue .form header{color:#3a71c1}.bd-blue .form .control-group textarea:focus{border-bottom:2px solid #3a71c1}.bd-blue .form .btn-primary{background-color:#3a71c1}.bd-blue .region-select button{color:#3a71c1}.bd-blue .region-select:hover button{border-color:#3a71c1}.bd-blue .region-select:hover button{background-color:#3a71c1}.bd-blue .region-select-flag{background-color:#3a71c1}.bd-blue .region-select-flag.vip:after{background:#3a71c1}.bd-blue .region-select-modal .region-select-modal-header{color:#3a71c1}.bd-blue .region-select-modal .region-select-modal-option:hover{border-color:#3a71c1}.bd-blue .upload-drop-modal .bgScale{background:#3a71c1}.bd-blue .upload-modal{background-color:#3a71c1}.bd-blue .upload-modal .inner .file .icon.image{border:2px solid #3a71c1}.bd-blue .avatar-uploader-inner{background-color:#3a71c1}.bd-blue .create-guild-container h5{color:#3a71c1}.bd-blue .create-guild-container .join-server .sample-link{color:#3a71c1}.bd-blue .create-guild-container .action.create .action-header{color:#3a71c1}.bd-blue .tab-bar.TOP .tab-bar-item.selected{border-bottom:2px solid #3a71c1;color:#3a71c1}.bd-blue .tab-bar.SIDE .tab-bar-item:before{border-left:4px solid #3a71c1}.bd-blue .color-picker-popout input:focus{border-color:#3a71c1}.bd-blue #settings-roles .roles li.selected:before{color:#3a71c1;background-color:#3a71c1}.bd-blue #settings-roles .roles li.sorting:after{border:2px solid #3a71c1}.bd-blue .guild-settings-modal-overview a{color:#3a71c1}.bd-blue .need-help-modal .header{background-color:#3a71c1}.bd-blue .search-popout .date-picker .date-picker-hint .hint-value{background-color:#3a71c1}.bd-blue .react-datepicker .react-datepicker__day:hover{background-color:#3a71c1}.bd-blue .react-datepicker .react-datepicker__day.react-datepicker__day--today:after{background-color:#3a71c1}.bd-blue .messages-popout-wrap .has-more button{color:#3a71c1}.bd-blue .btn-filled{background-color:#3a71c1}.bd-blue .btn-filled.white{color:#3a71c1}.bd-blue .emoji-picker .premium-promo .btn{background-color:#3a71c1}.bd-blue .channel-textarea.has-results .channel-textarea-inner{border-color:#3a71c1}.bd-blue .channel-textarea-autocomplete-inner{border:2px solid #3a71c1}.bd-blue .channel-textarea-autocomplete-inner header{background-color:#3a71c1}.bd-blue .channel-textarea-autocomplete-inner ul.images li.active{border-color:#3a71c1}.bd-blue .reaction.reaction-me .reaction-count{color:#3a71c1}.bd-blue .theme-dark .reaction.reaction-me .reaction-count{color:#3a71c1}.bd-blue .spinner-wandering-cubes .ui-spinner-item{background-color:#3a71c1}.bd-blue .spinner-chasing-dots .ui-spinner-item{background-color:#3a71c1}.bd-blue .theme-light .ui-spinner.spinner-spinning-circle .path{stroke:#3a71c1}.bd-blue .theme-dark .ui-spinner.spinner-spinning-circle .path{stroke:#3a71c1}.bd-blue .theme-dark .ui-spinner.spinner-spinning-circle .path-2{stroke:#3a71c1}.bd-blue .ui-button.brand.filled{background-color:#3a71c1}.bd-blue .ui-button.brand.filled:disabled{background-color:#3a71c1}.bd-blue .ui-button.brand.inverted{color:#3a71c1}.bd-blue .ui-button.brand.outlined{color:#3a71c1}.bd-blue .ui-button.brand.outlined:active{background-color:#3a71c1;border-color:#3a71c1}.bd-blue .ui-button.brand.outlined:disabled{color:#3a71c1}.bd-blue .ui-button.brand.link{color:#3a71c1}.bd-blue .ui-button.brand.link:not(:disabled):hover .ui-button-contents{background-image:-webkit-linear-gradient(bottom,transparent,transparent 1px,#3a71c1 0,#3a71c1 2px,transparent 0);background-image:linear-gradient(to top,transparent,transparent 1px,#3a71c1 1px,#3a71c1 2px,transparent 2px)}.bd-blue .ui-button.brand.ghost{color:#3a71c1}.bd-blue .ui-button.brand .ui-spinner-item{background-color:#3a71c1}.bd-blue .theme-blurple .ui-button.primary.filled{color:#3a71c1}.bd-blue .theme-blurple .ui-form-title.h5{color:#3a71c1}.bd-blue .btn-filled{background-color:#3a71c1}.bd-blue .btn-filled.white{color:#3a71c1}.bd-blue .progress .progress-bar{background-color:#3a71c1}.bd-blue .radio-theme input[type=radio]:checked~label{border-color:#3a71c1}.bd-blue .now-playing{background:#3a71c1}.bd-blue .user-settings-modal-account .discord-tag{color:#3a71c1}.bd-blue .modal-new-user>.steps .step-3 .instant-invite input{color:#3a71c1}.bd-blue .modal-new-user h5{color:#3a71c1}.bd-blue .modal-new-user .steps-wrap .steps li.on:before{background-color:#3a71c1}.bd-blue .modal-new-user .steps-wrap .steps li.active{background-color:#3a71c1}.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item.selected{background-color:#3a71c1}.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item:active{background-color:#3a71c1}.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item.brand{color:#3a71c1}.bd-blue .theme-light .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-dark .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input{color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input:hover{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select:hover .Select .Select-control{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select:hover .Select .Select-control .Select-arrow{border-color:#3a71c1 transparent transparent}.bd-blue .theme-blurple .ui-select .Select.is-open .Select-control{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select .Select-menu-outer{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select .Select-menu-outer .Select-option{color:#3a71c1}.bd-blue .theme-blurple .ui-select .Select-value-label{color:#3a71c1}.bd-blue .ui-card-brand{background:#3a71c1;border-color:#3a71c1}.bd-blue .ui-checkbox-wrapper .ui-checkbox.checked polyline{stroke:#3a71c1}.bd-blue .ui-checkbox-wrapper .ui-checkbox.checked.inverted{background:#3a71c1}.bd-blue .ui-region-flag.vip:after{background:#3a71c1}.bd-blue .ui-scroller-wrap .scrollbar .thumb:after{background-color:#3a71c1}.bd-blue .ui-quick-select-popout-option .ui-icon-check-mark .ui-icon-fg{stroke:#3a71c1}.bd-blue .ui-switch-checkbox:checked+.ui-switch{background:#3a71c1}.bd-blue #instant-invite-modal .clipboard-input-inner input{color:#3a71c1}.bd-blue #instant-invite-modal .copy{background-color:#3a71c1}.bd-blue .color-brand{color:#3a71c1}.bd-blue .webkhook-modal-header.ui-form-title.h5{color:#3a71c1}.bd-blue .ui-bot-tag{background:#3a71c1}.bd-blue .ui-bot-tag.invert{color:#3a71c1}.bd-blue #user-profile-modal .btn{background-color:#3a71c1}.bd-blue #user-profile-modal .guilds .avatar-large{background-color:#3a71c1}.bd-blue .premium-payment-modal{background-color:#3a71c1}.bd-blue .premium-payment-modal .premium-payment-button{color:#3a71c1}.bd-blue .premium-payment-modal .premium-payment-button .spinner .spinner-item{background-color:#3a71c1}.bd-blue .invite-modal .avatar-xxxlarge{background-color:#3a71c1}.bd-blue .ui-screenshare-modal-tile .image-container img.selected{border-color:#3a71c1}.bd-blue .detected-platform-accounts-modal .btn-group .btn-primary{background-color:#3a71c1}.bd-blue .ui-new-terms-modal .title{color:#3a71c1}.bd-blue #oauth2-authorize .authorize-inner header{background:#3a71c1}.bd-blue #oauth2-authorize .authorize-inner footer button.primary{background:#3a71c1}.bd-blue #oauth2-authorize .select select:focus{border-color:#3a71c1}.bd-blue #oauth2-authorize .select.focus:after{border-top-color:#3a71c1}.bd-blue #oauth2-authorize .scope-bot .avatar-large{background-color:#3a71c1}.bd-blue .invite-header .invite-guild-icon{background-color:#3a71c1}.bd-blue .invite-marketing .invite-marketing-header{color:#3a71c1}.bd-blue .invite-marketing .invite-marketing-button{color:#3a71c1;border:2px solid #3a71c1}.bd-blue .invite-mobile .top{background-color:#3a71c1}.bd-blue .invite-mobile .link.purple{background-color:#3a71c1}.bd-blue .verify-connected-account .btn{background-color:#3a71c1}.bd-blue #unsupported-browser li:hover{border-color:#3a71c1}.bd-blue #unsupported-browser li:hover .btn{background-color:#3a71c1;border-color:#3a71c1}.bd-blue .ui-slider .slider-bar-fill{background:#3a71c1}.bd-blue .popout-menu .popout-menu-item.invite{color:#3a71c1}.bd-blue .channel-members .invite-btn{background-color:#3a71c1}.bd-blue .chat .welcome-message h1{color:#3a71c1}.bd-blue .channel-textarea-guard button{background-color:#3a71c1}.bd-blue .private-channel-recipients-invite .footer button{background-color:#3a71c1}.bd-blue .private-channel-recipients-invite .footer button:disabled:hover{background-color:#3a71c1}.bd-blue .private-channel-recipients-invite .error-state.not-friends .btn{background:#3a71c1}.bd-blue .ui-call-avatar-border.voice.video.selected{box-shadow:inset 0 0 0 2px #3a71c1}.bd-blue .ui-call-avatar-border.video.selected:not(.speaking){box-shadow:inset 0 0 0 2px #3a71c1}.bd-blue .invite-banner{background-color:#3a71c1}.bd-blue .invite-banner .instant-invite:not(.clipboard-input-copied) .clipboard-input-inner button{color:#3a71c1}.bd-blue .invite-banner.invite-banner-1 .instant-invite .clipboard-input-inner button:before{background:-webkit-linear-gradient(left,hsla(0,0%,100%,0),#3a71c1);background:linear-gradient(to right,hsla(0,0%,100%,0),#3a71c1)}.bd-blue .add-friend-input-wrapper .btn:disabled{background-color:#3a71c1}.bd-blue #friends .btn{background-color:#3a71c1}.bd-blue #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary{background-color:#3a71c1}.bd-blue #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary .badge{color:#3a71c1}.bd-blue #friends .friends-table .friends-row .friends-column-guilds .avatar-small{background-color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.selected .badge{background-color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary{background-color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary .badge{color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary.selected{color:#3a71c1;background-color:#fff}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary.selected .badge{background-color:#3a71c1}.bd-blue .private-channels .search-result:hover:before{border-left:2px solid #3a71c1}.bd-blue .private-channels .channel.selected .icon-friends{background-color:#3a71c1}.bd-blue .private-channels .channel.selected:before{border-left:2px solid #3a71c1}.bd-blue #rtc-debug-modal #users-section .user-list li.selected:before{color:#3a71c1;background-color:#3a71c1}.bd-blue .notice.notice-brand{background-color:#3a71c1}.bd-blue .notice.notice-brand .btn:hover{color:#3a71c1}.bd-blue .theme-light .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-dark .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input{color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input:hover{border-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-navigation .button{color:#3a71c1}.bd-blue .onboarding-navigation .step-status .step.current{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide.mic-test .content.waiting .button{color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .ui-switch-wrapper:not(.disabled):not(.clear):hover .ui-switch-checkbox:checked+.ui-switch{background:#3f79ce}.bd-blue *[style*="border-color: rgb(114, 137, 218)"]{border-color:#3a71c1!important}.bd-blue *[style*="background-color: rgb(114, 137, 218)"]{background-color:#3a71c1!important} diff --git a/data/emotefilter.json b/data/emotefilter.json index 8d031bc1..adacc573 100644 --- a/data/emotefilter.json +++ b/data/emotefilter.json @@ -232,6 +232,27 @@ "Ares", "Zerker", "Hiho", - "Wurst" + "Wurst", + "Dood", + "Charizard", + "Eggman", + "Resetti", + "Pineapple", + "Lonk", + "Bryce", + "Nono", + "Fennec", + "Slapstick", + "Ribombee", + "Shaymin", + "Lucarionite", + "Bryce", + "Charlotte", + "Gramps", + "MSPaint", + "Excalibur", + "Abaddon", + "Moddb", + "Hai!" ] } diff --git a/issues b/issues new file mode 100644 index 00000000..4c92c769 --- /dev/null +++ b/issues @@ -0,0 +1 @@ +Reopening issues now that I'm actively developing this again. Feel free to reopen your issue if it's still relevant. diff --git a/js/main.js b/js/main.js index 7c6ef1ae..112c4254 100644 --- a/js/main.js +++ b/js/main.js @@ -1,6 +1,6 @@ /* BetterDiscordApp Core JavaScript - * Version: 1.53 + * Version: 1.78 * Author: Jiiks | http://jiiks.net * Date: 27/08/2015 - 16:36 * Last Update: 01/05/2016 @@ -57,6 +57,13 @@ })(); +(() => { + let v2Loader = document.createElement('div'); + v2Loader.className = "bd-loaderv2"; + v2Loader.title = "BetterDiscord is loading..."; + document.body.appendChild(v2Loader); +})(); + window.bdStorage = {}; window.bdStorage.get = function(i) { return betterDiscordIPC.sendSync('synchronous-message', { 'arg': 'storage', 'cmd': 'get', 'var': i }); @@ -78,7 +85,7 @@ betterDiscordIPC.on('asynchronous-reply', (event, arg) => { }); var settingsPanel, emoteModule, utils, quickEmoteMenu, opublicServers, voiceMode, pluginModule, themeModule, customCssEditor, dMode; -var jsVersion = 1.77; +var jsVersion = 1.79; var supportedVersion = "0.2.81"; var mainObserver; @@ -105,6 +112,7 @@ var settings = { "Custom css auto udpate": { "id": "bda-css-1", "info": "", "implemented": true, "hidden": true, "cat": "core"}, "24 Hour Timestamps": { "id": "bda-gs-6", "info": "Replace 12hr timestamps with proper ones", "implemented": true, "hidden": false, "cat": "core"}, "Coloured Text": { "id": "bda-gs-7", "info": "Make text colour the same as role colour", "implemented": true, "hidden": false, "cat": "core"}, + "BetterDiscord Blue": { "id": "bda-gs-b", "info": "Replace Discord blue with BD Blue", "implemented": true, "hidden": false, "cat": "core"}, "Developer Mode": { "id": "bda-gs-8", "info": "Developer Mode", "implemented": true, "hidden": false, "cat": "core"}, "Twitch Emotes": { "id": "bda-es-7", "info": "Show Twitch emotes", "implemented": true, "hidden": false, "cat": "emote"}, @@ -143,6 +151,7 @@ var defaultCookie = { "bda-es-5": true, "bda-es-6": true, "bda-es-7": true, + "bda-gs-b": true, "bda-es-8": true, "bda-jd": true, "bda-es-8": true, @@ -155,25 +164,35 @@ var defaultCookie = { var bdchangelog = { "changes": { "0a": { - "title": "1.77 : Local storage proxy", - "text": "Implemented a local storage proxy for old plugin support. Do not use it for new plugins! use the bdPluginStorage.get and bdPluginStorage.set", + "title": "1.78 : Temp support for new settingspanel", + "text": "Added temp support for Discord's new settingspanel until v2.", "img": "" }, "0b": { - "title": "1.76 : Alternate Storage", - "text": "https://gist.github.com/Jiiks/267113ecb1685f39f4dc4646f9380d55", + "title": "1.78 : Public Servers", + "text": "New look and flow for public servers", + "img": "" + }, + "0c": { + "title": "1.78 : New loading icon", + "text": "New loading icon will now display in bottom right when BD is loading.", + "img": "" + }, + "0d": { + "title": "1.78 : New CustomCSS editor look", + "text": "Updated CustomCSS editor with dark theme", + "img": "" + }, + "0e": { + "title": "1.78 : BetterDiscord Blue", + "text": "Replace Discord blue with BetterDiscord blue!", "img": "" } }, "fixes": { "0a": { - "title": "1.77 : Custom css and favourite emote loading", - "text": "Fixed custom css and favourite emote loading when they are not present", - "img": "" - }, - "0b": { - "title": "1.76 : Alternate Storage", - "text": "Both BetterDiscord and plugins now use alternate storage", + "title": "1.79 : Settings Saving", + "text": "Fixed settings not saving with new settings panel", "img": "" } } @@ -273,7 +292,7 @@ Core.prototype.init = function () { $("head").append(""); $("head").append(''); - + document.getElementsByClassName("bd-loaderv2")[0].remove(); } else { setTimeout(gwDefer, 100); } @@ -643,7 +662,7 @@ EmoteModule.prototype.injectEmote = function(node) { if ($.inArray(sw, bemotes) == -1) { - if(typeof emotesTwitch !== 'undefind' && settingsCookie["bda-es-7"]) { + if(typeof emotesTwitch !== 'undefined' && settingsCookie["bda-es-7"]) { if(emotesTwitch.emotes.hasOwnProperty(sw) && sw.length >= 4) { if(text != null) { contents.splice(i + splice++, 0, document.createTextNode(text)); text = null;} var url = twitchEmoteUrlStart + emotesTwitch.emotes[sw].image_id + twitchEmoteUrlEnd; @@ -768,424 +787,477 @@ EmoteModule.prototype.capitalize = function (value) { * https://github.com/Jiiks/BetterDiscordApp */ -function PublicServers() { +class PublicServers { + + constructor() { + this.v2p = new V2_PublicServers(); + } + + get endPoint() { + return 'https://search.discordservers.com'; + } + + get button() { + let self = this; + let btn = $("
", { + class: 'guild', + id: 'bd-pub-li', + css: { + 'height': '20px', + 'display': settingsCookie['bda-gs-1'] ? "" : "none" + } + }).append($("
", { + class: 'guild-inner', + css: { + 'height': '20px', + 'border-radius': '4px' + } + }).append($("", { + + }).append($("
", { + text: 'public', + id: 'bd-pub-button', + css: { + 'line-height': '20px', + 'font-size': '12px' + }, + click: () => { self.v2p.render(); } + })))); + + return btn; + } + + init() { + let self = this; + + let guilds = $(".guilds>:first-child"); + guilds.after(self.button); + + } + + get layer() { + let self = this; + let layer = ``; + + layer = $(layer); + + layer.on("blur", e => { + if(e.relatedTarget.id === 'bd-pubs-search') return; + layer.focus(); + console.log("blur:"); + console.log(e); + }); + + layer.on("keydown", e => { + if(e.which === 13 && e.target.id === 'bd-pubs-search') { + let category = $("#bd-pubs-layer .ui-tab-bar-item.selected").text(); + if(category === 'All') category = ''; + self.search(self.query({'term': e.target.value, 'category': category}), true); + return; + } + if(e.which !== 27) return; + self.hide(); + }); + + layer.find('.btn-close').on('click', e => { self.hide(); }); + + layer.find('.ui-tab-bar.SIDE .ui-tab-bar-item').on('click', e => { + let category = e.target.textContent; + if(category === 'All') category = ''; + self.search(self.query({'term': $("#bd-pubs-search").val(), 'category': category}), true); + }); + + return layer; + } + + serverCard(serverInfo) { + return `
+
+
+
+
+
+
+
+
${serverInfo.name}
+
+
+
${serverInfo.online}/${serverInfo.members} Members
+
+
+
+
+
+
+ ${serverInfo.description} +
+
+
+
+
+
${serverInfo.categories.join(" ,")}
+ +
+
+
+
`; + } + + get bdServerCard() { + + let serverInfo = { + 'name': 'BetterDiscord', + 'icon': 'https://cdn.discordapp.com/icons/86004744966914048/c8d49dc02248e1f55caeb897c3e1a26e.webp', + 'online': '7500+', + 'members': '20000+', + 'description': 'Official BetterDiscord support server' + }; + + return `
+
+
+
+
+
+
+
+
${serverInfo.name}
+
+
+
Too many members
+
+
+
+
+
+
+ ${serverInfo.description} +
+
+
+
+
+
+ +
+
+
+
`; + } + + + getPanel() { + console.log("pubs get panel"); + return '
'; + } + + getPinnedServer() { + console.log("pubs get pinned server"); + return '
'; + } + + hidePinnedServer() { + console.log("pubs hide pinned server"); + } + + showPinnedServer() { + console.log("pubs show pinned server"); + } + + show() { + let self = this; + $(".layers").append(self.layer); + //self.search("", true); + } + + hide() { + $("#bd-pubs-layer").remove(); + } + + loadServers(dataset, search, clear) { + console.log("pubs load servers"); + } + + search(query, clear) { + + let self = this; + let $list = $("#bd-pubs-listing"); + if(clear) { + $list.empty(); + $("#bd-pubs-listing-container").hide(); + $("#bd-pubs-bg-spinner").show(); + } + $.ajax({ + method: 'GET', + url: `${self.endPoint}?${query}`, + success: data => { + $list.append(self.bdServerCard); + data.results.map(server => { + $list.append(self.serverCard(server)); + }); + $("#bd-pubs-listing-container").show(); + $("#bd-pubs-bg-spinner").hide(); + self.setSearchText(1, $(".bd-server-card").size(), data.total, null, $("#bd-pubs-search").val()); + } + }); + } + + setSearchText(start, end, total, category, term) { + if(!category) category = $("#bd-pubs-layer .ui-tab-bar-item.selected").text(); + let text = `Showing ${start}-${end} of ${total} results in ${category}`; + if(term && term.length) text += ` for: ${term}`; + $("#bd-pubs-results").text(text); + } + + get next() { + let self = this; + if(!self.next) return null; + } + + joinServer(code) { + console.log("pubs join"); + } + + joinServerDirect(code) { + console.log("pubs join direct"); + } + + escape(unsafe) { + console.log("pubs escape"); + } + + query(params) { + return require('querystring').stringify(params); + } } -PublicServers.prototype.getPanel = function () { - return this.container; -}; - -PublicServers.prototype.init = function () { - this.filtered = ["134680912691462144", "86004744966914048"]; - this.bdServer = null; - this.loadingServers = false; - var self = this; - - var guilds = $(".guilds>:first-child"); - - guilds.after($("
", { - class: "guild", - id: "bd-pub-li", - css: { - "height": "20px", - "display": settingsCookie["bda-gs-1"] == true ? "" : "none" - } - }).append($("
", { - class: "guild-inner", - css: { - "height": "20px", - "border-radius": "4px" - } - }).append($("").append($("
", { - css: { - "line-height": "20px", - "font-size": "12px" - }, - text: "public", - id: "bd-pub-button" - }))))); - - $("#bd-pub-button").on("click", function () { - self.show(); - }); - var panelBase = '\ -
\ -
\ - \ - \ - \ - \ - \ - \ -
\ -
\ -

Public Servers

\ - \ - \ -
\ - \ -
\ -
    \ -
  • All
  • \ -
  • FPS Games
  • \ -
  • MMO Games
  • \ -
  • MOBA Games
  • \ -
  • Strategy Games
  • \ -
  • Sports Games
  • \ -
  • Puzzle Games
  • \ -
  • Retro Games
  • \ -
  • Party Games
  • \ -
  • Tabletop Games
  • \ -
  • Sandbox Games
  • \ -
  • Simulation Games
  • \ -
  • Community
  • \ -
  • Language
  • \ -
  • Programming
  • \ -
  • Other
  • \ -
\ -
\ -
\ -
\ - \ -
\ -
\ -
\ -
\ - \ -
\ -
\ -
\ - '; - - this.container = panelBase; - - if($("#bd-pub-li").length < 1) { - setTimeout(function() { - self.init(); - }, 250); - } -}; - -PublicServers.prototype.getPinnedServer = function() { - var self = this; - var dataset = { - "sort": [{"online": "desc"}], - "size": 1, - "query": { - "query_string": { - "default_operator": "AND", - "query": "BetterDiscord" - } - } - }; - - $.ajax({ - type: "POST", - dataType: "json", - url: "https://69ccb59e91f99116aae036ddceae21b3.us-east-1.aws.found.io:9243/_search", - crossDomain: true, - data: JSON.stringify(dataset), - success: function(data) { - try { - var s = data.hits.hits[0]._source; - if(s.identifier == "86004744966914048") { - self.bdServer = s; - self.showPinnedServer(); - } - }catch(err) { - self.bdServer = null; - } - } - }); -}; - -PublicServers.prototype.hidePinnedServer = function() { - $("#pubs-container .scroller-wrap").css({"margin-top": "0", "height": "500px"}); - $(".server-pinned").hide(); -}; - -PublicServers.prototype.showPinnedServer = function() { - $(".server-pinned .server-icon").css("background-image", "url("+this.bdServer.icon+")"); - $(".server-pinned .server-members span").text(this.bdServer.online + "/"+this.bdServer.members+" Members"); - $(".server-pinned .server-region span").text(this.bdServer.region); - $(".server-pinned .server-info button").data("server-invite-code", this.bdServer.invite_code); - $("#pubs-container .scroller-wrap").css({"margin-top": "75px", "height": "425px"}); - $(".server-pinned").show(); -}; - -PublicServers.prototype.show = function () { - var self = this; - this.hidePinnedServer(); - $("#pubs-cat-select").text("All"); - this.selectedCategory = "all"; - $("#pubs-container .scroller-wrap").css({"margin-top": "0", "height": "500px"}); - $(".server-pinned").hide(); - - $(".app").append(this.getPanel()); - - if(this.bdServer == null) { - this.getPinnedServer(); - } else { - this.showPinnedServer(); - } - - self.search(0, true); - - $("#pubs-searchbtn").off("click").on("click", function() { - self.search(); - }); - $("#pubs-sterm").off("keyup").on("keyup", function(e) { - if (e.keyCode == 13) { - self.search(0, true); - } - }); - $("#pubs-cat-select").off("click").on("click", function() { - $("#pubs-select-dropdown").addClass("open"); - }); - $(".pubs-cat-select-li").off("click").on("click", function() { - $("#pubs-select-dropdown").removeClass("open"); - $("#pubs-cat-select").text($(this).text()); - if(self.selectedCategory != $(this).data("val")) { - self.selectedCategory = $(this).data("val"); - self.search(0, true); - } - }); - $("#pubs-container").off("mouseup").on("mouseup", function() { - $("#pubs-select-dropdown").removeClass("open"); - }); - - var self = this; - $(document).on("mouseup.bdps",function(e) { - if(!$("#bd-pub-button").is(e.target) && !$("#pubs-container").is(e.target) && $("#pubs-container").has(e.target).length === 0) { - self.hide(); - } - }); - - $("#pubs-scroller").off("scroll.pubs").on("scroll.pubs", function() { - if(self.loadingServers) return; - var list = $("#pubs-list"); - if($(this).scrollTop() + 550 < list.height()) return; - if(list.children().length % 20 != 0) return; - - self.loadingServers = true; - $("#pubs-spinner-bottom").show(); - self.search(list.children().length, false); - }); - - $("button[data-server-invite-code=0Tmfo5ZbORCRqbAd]").off("click").on("click", function(){ - self.joinServerDirect("0Tmfo5ZbORCRqbAd"); - }); -}; - -PublicServers.prototype.hide = function() { - $("#pubs-container").remove(); - $(document).off("mouseup.bdps"); -}; -PublicServers.prototype.loadServers = function(dataset, search, clear) { - this.loadingServers = true; - var self = this; - $("#pubs-searchbtn").prop("disabled", true); - $("#pubs-sterm").prop("disabled", true); - if(clear) $("#pubs-list").empty(); - $("#pubs-spinner").show(); - $.ajax({ - type: "POST", - dataType: "json", - url: "https://69ccb59e91f99116aae036ddceae21b3.us-east-1.aws.found.io:9243/_search", - crossDomain: true, - data: JSON.stringify(dataset), - success: function(data) { - var hits = data.hits.hits; - - if(search) { - $("#pubs-header-title").text("Public Servers - Search Results: " + hits.length); - } else { - $("#pubs-header-title").text("Public Servers"); - } - - hits.forEach(function(hit) { - var source = hit._source; - // if(source.invite_code === undefined) return; - // var icode = source.invite_code.replace(/ /g,''); - // icode = self.escape(icode).replace(/[^A-z0-9]/g,''); - var icode = source.identifier; - var html = '
'; - html += '
'; - html += '
'; - html += '
'; - - if(source.is_official) { - html += 'Official!'; - } - - html += '' + self.escape(source.name) + ''; - - var tags = []; - source.tags.forEach(function(tag) { - tags.push(self.escape(tag.name)); - }); - - var desc = - - html += ''+tags.join(", ")+''; - html += ''+(source.description == undefined ? "No Description" : self.escape(source.description)) +''; - html += '
'; - html += '
'; - html += '
'; - html += '' + source.online + '/' + source.members + ' Members'; - html += '
'; - html += '
'; - html += '' + source.region + ''; - html += '
'; - html += '
'; - html += ''; - html += '
'; - html += '
'; - $("#pubs-list").append(html); - $("button[data-server-invite-code="+icode+"]").on("click", function(){ - self.joinServer(icode); - }); - }); - - if(search) { - $("#pubs-header-title").text("Public Servers - Search Results: " + $("#pubs-list").children().length); - } - }, - done: function() { - $("#pubs-spinner").hide(); - $("#pubs-spinner-bottom").hide(); - $("#pubs-searchbtn").prop("disabled", false); - $("#pubs-sterm").prop("disabled", false); - self.loadingServers = false; - }, - always: function() { - $("#pubs-spinner").hide(); - $("#pubs-spinner-bottom").hide(); - $("#pubs-searchbtn").prop("disabled", false); - $("#pubs-sterm").prop("disabled", false); - self.loadingServers = false; - }, - error: function() { - $("#pubs-spinner").hide(); - $("#pubs-spinner-bottom").hide(); - $("#pubs-searchbtn").prop("disabled", false); - $("#pubs-sterm").prop("disabled", false); - self.loadingServers = false; - }, - complete: function() { - $("#pubs-spinner").hide(); - $("#pubs-spinner-bottom").hide(); - $("#pubs-searchbtn").prop("disabled", false); - $("#pubs-sterm").prop("disabled", false); - self.loadingServers = false; - } - }); -}; - -PublicServers.prototype.search = function(start, clear) { - var sterm = $("#pubs-sterm").val(); - - /*var dataset = { - "sort": [{ "online": "desc" }], - "from": start, - "size": 20, - "query": { - "filtered": { - "query": { - "query_string": { - "default_operator": "AND", - "query": sterm ? sterm : "*" - } - }, - "filter": { - "bool": { - "must_not": [{ - "terms": { - "identifier": this.filtered - } - }] - } - } - } - } - };*/ - - var dataset = { - "sort": [{ "online": "desc" }], - "from": start, - "size": 20, - "query": { - "bool": { - "must": [ - {"query_string": { - "default_operator": "AND", - "query": sterm ? sterm : "*" - }} - ], - "must_not": [ - {"terms": { "identifier": this.filtered }} - ] - } - } - }; - if(this.selectedCategory != "all") { - dataset.query.bool.must.push({ "match_phrase": { "categories": this.selectedCategory } }); - } - - this.loadServers(dataset, true, clear); -}; -//Workaround for joining a server -PublicServers.prototype.joinServer = function (code) { - require('electron').shell.openExternal("https://www.discordservers.com/join/" + code); - this.hide(); -}; -PublicServers.prototype.joinServerDirect = function(code) { - $(".guilds-add").click(); - $(".action.join .btn").click(); - $(".create-guild-container input").val(code); - $(".form.join-server .btn-primary").click(); - this.hide(); -}; -PublicServers.prototype.escape = function(unsafe) { - if(unsafe === undefined) return ""; - return unsafe - .replace(/&/g, "&") - .replace(//g, ">") - .replace(/"/g, """) - .replace(/'/g, "'"); -}; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /* BetterDiscordApp QuickEmoteMenu JavaScript * Version: 1.3 * Author: Jiiks | http://jiiks.net @@ -1379,7 +1451,8 @@ self.editor = CodeMirror.fromTextArea(document.getElementById("bd-custom-css-ta" lineNumbers: true, mode: 'css', indentUnit: 4, - theme: 'neat' + theme: 'material', + scrollbarStyle: 'simple' }); self.editor.on("change", function (cm) { @@ -1481,13 +1554,17 @@ var settingsButton = null; var panel = null; function SettingsPanel() { - utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.9.0/codemirror.min.js"); - utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.9.0/mode/css/css.min.js"); + utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/codemirror.min.js"); + utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/mode/css/css.min.js"); + utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/addon/scroll/simplescrollbars.min.js"); + utils.injectCss("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/addon/scroll/simplescrollbars.min.css"); + utils.injectCss("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/theme/material.min.css"); utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.4.2/Sortable.min.js"); } SettingsPanel.prototype.init = function () { var self = this; + self.v2SettingsPanel = new V2_SettingsPanel(); self.construct(); var body = $("body"); @@ -1539,6 +1616,12 @@ SettingsPanel.prototype.init = function () { } else { dMode.disable(); } + + if(settingsCookie["bda-gs-b"]) { + $("body").addClass("bd-blue"); + } else { + $("body").removeClass("bd-blue"); + } }; var customCssInitialized = false; @@ -1599,6 +1682,7 @@ SettingsPanel.prototype.updateSetting = function (checkbox) { mainCore.alert("Developer Mode Enabled", "Use F8 to break/resume execution
More coming soon") } + settingsCookie[id] = enabled; this.updateSettings(); @@ -1611,6 +1695,12 @@ SettingsPanel.prototype.updateSettings = function() { $("#twitchcord-button-container").hide(); } + if(settingsCookie["bda-gs-b"]) { + $("body").addClass("bd-blue"); + } else { + $("body").removeClass("bd-blue"); + } + if (settingsCookie["bda-gs-2"]) { $("body").addClass("bd-minimal"); } else { @@ -1910,6 +2000,7 @@ SettingsPanel.prototype.construct = function () { }; SettingsPanel.prototype.inject = function(mutation) { + if(this.injectNew(mutation)) return; if(mutation.type != "childList") return; if(mutation.addedNodes.length <= 0) return; if($(mutation.addedNodes[0]).find(".user-settings-modal").length <= 0) return; @@ -1928,6 +2019,382 @@ SettingsPanel.prototype.inject = function(mutation) { $(".form .settings-right .settings-inner").last().after(self.panel); $("#bd-settings-new").removeClass("selected"); }; + +/*New settingspanel temp until v2*/ + +SettingsPanel.prototype.injectNew = function(mutation) { + let self = this; + if(!mutation.target.classList.contains("layers")) return; + if($(".guild-settings-base-section").length) { + try { + mutation.addedNodes[0].setAttribute('layer-id', 'server-settings'); + }catch(err) {} + } + if(!$(".user-settings-account").length) return; + try { + mutation.addedNodes[0].setAttribute('layer-id', 'user-settings'); + }catch(err) {} + + // if(!$(".ui-tab-bar-header:contains('App Settings')").length) return; + if($("#bd-settings-sidebar").length) return; + self.v2SettingsPanel.renderSidebar(); + /*$(".ui-tab-bar-item").off("click.bd").on("click.bd", e => { + $(".ui-tab-bar-item").removeClass("selected"); + $(e.target).addClass("selected"); + self.hideBdSettingsPane(); + }); + let changeLogBtn = $(".ui-tab-bar-item:contains('Change Log')"); + let bdBtn = $("
", { + class: 'ui-tab-bar-item', + text: 'BetterDiscord', + click: function() { + $(".ui-tab-bar-item").removeClass("selected"); + $(this).addClass("selected"); + self.showBdSettingsPane(); + } + }); + let separator = $("
", { + class: 'ui-tab-bar-separator margin-top-8 margin-bottom-8' + }); + separator.insertBefore(changeLogBtn.prev()); + bdBtn.insertBefore(changeLogBtn.prev()); + + $(".ui-standard-sidebar-view").last().append(self.settingsPaneNew()); + $(".bd-pane").hide(); + $(".bd-pane").first().show(); + $(".bd-tab").removeClass("selected"); + $("#bd-core").addClass("selected"); + $("#bd-settingspane").hide(); + + $(".ui-standard-sidebar-view>.sidebar-region").append(self.versionInfo());*/ + + return true; +}; + +SettingsPanel.prototype.versionInfo = function() { + let self = this; + let element = $("
", { + class: 'bd-versioninfo-wrapper' + }).append($("", { + text: `BetterDiscord v${(typeof(version) === "undefined" ? bdVersion : version)}:${jsVersion} by ` + })).append($("", { + text: 'Jiiks', + href: 'https://google.com', + target: '_blank' + })); + return element; +} + +SettingsPanel.prototype.tabBarNew = function() { + let self = this; + let _tabBar = $("
", { + class: 'tab-bar TOP', + style: 'border-bottom:none' + }); + + let items = [ + { 'id': 'bd-core', 'text': 'Core' }, + { 'id': 'bd-emotes', 'text': 'Emotes' }, + { 'id': 'bd-customcss', 'text': 'Custom CSS' }, + { 'id': 'bd-plugins', 'text': 'Plugins' }, + { 'id': 'bd-themes', 'text': 'Themes' } + ]; + + items.map(value => { + _tabBar.append($("
", { + class: 'tab-bar-item bd-tab', + text: value.text, + id: value.id, + click: () => self.changeTabNew(value.id) + })); + }); + + return _tabBar; +} + +SettingsPanel.prototype.changeTabNew = function(id) { + $(".bd-tab").removeClass("selected"); + $(`#${id}`).addClass("selected"); + $(".bd-pane").hide(); + $(`#${id}-pane`).show(); + + if(id === 'bd-customcss') { + if (!customCssInitialized) { + customCssEditor.init(); + customCssInitialized = true; + } + } + +} + +SettingsPanel.prototype.updateSettingNew = function (id, checked) { + + if(id == "bda-css-2") { + $("#app-mount").removeClass("bd-hide-bd"); + customCssEditor.hideBackdrop = checked; + if(checked) { + $("#app-mount").addClass("bd-hide-bd") + } + } + if(id == "bda-gs-8" && checked) { + mainCore.alert("Developer Mode Enabled", "Use F8 to break/resume execution
More coming soon") + } + + settingsCookie[id] = checked; + + this.updateSettings(); +}; + +SettingsPanel.prototype.settingsSwitch = function(key) { + let self = this; + let setting = settings[key]; + return $("
", { + class: 'ui-flex flex-vertical flex-justify-start flex-align-stretch flex-nowrap ui-switch-item' + }).append($("
", { + class: 'ui-flex flex-horizontal flex-justify-start flex-align-stretch flex-nowrap' + }).append($("

", { + class: 'ui-form-title h3 margin-reset margin-reset ui-flex-child', + text: key + })).append($("
", { + class: 'ui-switch' + })))).append($("
", { + class: 'ui-form-text style-description margin-top-4', + style: 'flex: 1 1 auto', + text: setting.info + })); +} + +SettingsPanel.prototype.corePaneNew = function() { + let self = this; + let _pane = $("
", { + class: 'ui-form-item bd-pane', + id: 'bd-core-pane', + style: 'display:none' + }); + + Object.keys(settings).map(value => { + let setting = settings[value]; + if(setting.cat !== 'core' || !setting.implemented || setting.hidden) return false; + + _pane.append(self.settingsSwitch(value)) + }); + + return _pane; +} +SettingsPanel.prototype.emotesPaneNew = function() { + let self = this; + let _pane = $("
", { + class: 'ui-form-item bd-pane', + id: 'bd-emotes-pane', + style: 'display:none' + }); + + Object.keys(settings).map(value => { + let setting = settings[value]; + if(setting.cat !== 'emote' || !setting.implemented || setting.hidden) return false; + + _pane.append(self.settingsSwitch(value)) + }); + + return _pane; +} +SettingsPanel.prototype.customCssPaneNew = function() { + let self = this; + let _pane = $("
", { + class: 'ui-form-item bd-pane', + id: 'bd-customcss-pane', + style: 'display:none' + }); + + let attachBtn = $("
", { + id: 'editor-detached', + style: 'display:none' + }).append($("

", { + text: 'Editor Detached' + })).append($("

";settingsInner+='
    ';$.each(bdplugins,function(){var plugin=this["plugin"];var hasSettings=false;if(typeof plugin.getSettingsPanel=="function"){hasSettings=plugin.getSettingsPanel()!=null&&plugin.getSettingsPanel()!=""}settingsInner+='
  • '+plugin.getName()+" v"+plugin.getVersion()+" by "+plugin.getAuthor()+'
    '+plugin.getDescription()+'
  • "});settingsInner+="
";settingsInner+=' ";settingsInner+='
BetterDiscord v'+(typeof version=="undefined"?bdVersion:version)+"(JSv"+jsVersion+') by Jiiks BetterDiscord.net changelog
';function showSettings(){$(".tab-bar-item").removeClass("selected");settingsButton.addClass("selected");$(".form .settings-right .settings-inner").first().hide();panel.show();if(lastTab==""){self.changeTab("bd-settings-tab")}else{self.changeTab(lastTab)}}settingsButton=$("
",{class:"tab-bar-item",text:"BetterDiscord",id:"bd-settings-new",click:showSettings});panel.html(settingsInner);this.panel=panel};SettingsPanel.prototype.inject=function(mutation){if(mutation.type!="childList")return;if(mutation.addedNodes.length<=0)return;if($(mutation.addedNodes[0]).find(".user-settings-modal").length<=0)return;var self=this;this.panel.hide();var tabBar=$(".tab-bar.SIDE").first();$(".tab-bar.SIDE .tab-bar-item").click(function(){$(".form .settings-right .settings-inner").first().show();$("#bd-settings-new").removeClass("selected");self.panel.hide()});tabBar.append(settingsButton);$(".form .settings-right .settings-inner").last().after(self.panel);$("#bd-settings-new").removeClass("selected")};var _hash;function Utils(){}Utils.prototype.getTextArea=function(){return $(".channel-textarea-inner textarea")};Utils.prototype.jqDefer=function(fnc){if(window.jQuery){fnc()}else{setTimeout(function(){this.jqDefer(fnc)},100)}};Utils.prototype.getHash=function(){$.getJSON("https://api.github.com/repos/Jiiks/BetterDiscordApp/commits/master",function(data){_hash=data.sha;emoteModule.getBlacklist()})};Utils.prototype.loadHtml=function(html,callback){var container=$("
",{class:"bd-container"}).appendTo("body");html="//cdn.rawgit.com/Jiiks/BetterDiscordApp/"+_hash+"/html/"+html+".html";container.load(html,callback())};Utils.prototype.injectJs=function(uri){$("