diff --git a/WindowsInstaller/BetterDiscordWI/BetterDiscord-icon.ico b/WindowsInstaller/BetterDiscordWI/BetterDiscord-icon.ico new file mode 100644 index 0000000..5dc7d06 Binary files /dev/null and b/WindowsInstaller/BetterDiscordWI/BetterDiscord-icon.ico differ diff --git a/WindowsInstaller/BetterDiscordWI/BetterDiscordWI.csproj b/WindowsInstaller/BetterDiscordWI/BetterDiscordWI.csproj index 478c8ae..bf72273 100644 --- a/WindowsInstaller/BetterDiscordWI/BetterDiscordWI.csproj +++ b/WindowsInstaller/BetterDiscordWI/BetterDiscordWI.csproj @@ -144,6 +144,7 @@ + diff --git a/WindowsInstaller/BetterDiscordWI/Properties/AssemblyInfo.cs b/WindowsInstaller/BetterDiscordWI/Properties/AssemblyInfo.cs index f3d4774..929d7cf 100644 --- a/WindowsInstaller/BetterDiscordWI/Properties/AssemblyInfo.cs +++ b/WindowsInstaller/BetterDiscordWI/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.2.6.0")] -[assembly: AssemblyFileVersion("0.2.6.0")] +[assembly: AssemblyVersion("0.2.8.0")] +[assembly: AssemblyFileVersion("0.2.8.0")] diff --git a/css/main.css b/css/main.css index 7a6a529..ed56464 100644 --- a/css/main.css +++ b/css/main.css @@ -1202,6 +1202,138 @@ display: none; } +#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; +} + +.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; +} + +.chat .title-wrap, .guild-header header { + background: rgba(25, 62, 90, 0.91) !important; +} + +.guilds-wrapper:before { + background: rgba(25, 62, 90, 0.91) !important; + min-height:48px !important; + width:60px; + content: " "; + display:block; +} + +.guilds-wrapper ul { + padding-top:5px; +} + +.bda-backdrop { + position:absolute; + top:0; + left:0; + right:0; + bottom:0; + z-index:1000; + background:rgba(0,0,0,0.5); +} + +.bd-settings { + max-width:516px; +} + .bda-dark #bda-qem-favourite-container, .bda-dark #bda-qem-twitch-container { background-color: #353535; } diff --git a/css/main.min.css b/css/main.min.css index 11f92f7..8364c4b 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:0;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:0!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}.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}.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;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:.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)}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-voice{padding:5px!important;font-size:small}.bd-minimal .guild-channels h2{padding:2px}.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 li{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds li .avatar-small{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds li .guild-inner{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds li .guild-inner a{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-wrapper{width:45px}.bd-minimal .guilds li.active .guild-inner:before{height:20px;margin-top:-10px}.bd-minimal .guilds-add{font-size:20px;line-height:14px}.bd-minimal .guilds li.audio .guild-inner:after{width:12px;height:12px;background-size:12px}.emotewrapper{display:inline-block;position:relative}.emotewrapper:hover .fav{display:block}.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:0;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:0!important;padding-left:3px!important;color:#EBEBEB}.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:0;border-top-color:#000}.tipsy-inner{background-color:#000;color:#fff;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:0!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,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);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;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-header input{border:0;height:30px;width:100px;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 input:focus{width:300px}#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}.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-name{flex-grow:100}.server-name span{overflow:hidden;text-overflow:ellipsis;max-width:300px;white-space:nowrap}.server-region{min-width:85px}#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-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{background:#E8E8E8;border-top:1px solid #ADADAD;-webkit-box-shadow:inset 0 1px 0 0 #fff;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 #fff;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:0;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;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}.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{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{border-color:#202020!important;background-color:#202020!important} \ No newline at end of file +.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}#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:1px solid #000;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}#bd-ps-body,#bd-show-channels,#tc-settings-panel-footer,.bd-ps-server-info,.emote-icon,.fav,.tipsy,.tipsy-arrow{position:absolute}.emote-icon{max-width:100%;max-height:100%;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:.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%;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 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;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;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-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;border:1px solid #000;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-members-wrap{min-width:0}.bd-minimal .channel-members h2{margin-top:3px}.bd-minimal .channel-text a,.bd-minimal .guild-channels ul .channel-voice{padding:5px!important;font-size:small}.bd-minimal .guild-channels h2{padding:2px}.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 .friends-icon,.bd-minimal .guilds li,.bd-minimal .guilds li .avatar-small,.bd-minimal .guilds li .guild-inner,.bd-minimal .guilds li .guild-inner a{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds-wrapper{width:45px}.bd-minimal .guilds li.active .guild-inner:before{height:20px;margin-top:-10px}.bd-minimal .guilds-add{font-size:20px;line-height:14px}.bd-minimal .guilds li.audio .guild-inner:after{width:12px;height:12px;background-size:12px}.emotewrapper{display:inline-block;position:relative}.emotewrapper:hover .fav{display:block}.fav{display:none;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;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 0 0 10px;line-height:60px;color:#ADADAD;display:inline-block;float:left}#bd-psd-header span,.bd-ps-server-header span{margin-left:10px}#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-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{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}.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%;box-shadow:0 0 20px 0 #000;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-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}.message-group.compact .message .markup .message-content{text-indent:0}.bd-psb{background-image:url(data:image/png;base64,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);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;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}#pubs-container,#pubs-spinner{top:50%;left:50%;position:fixed}#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;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{font-weight:600;color:#FFF}#pubs-header button,#pubs-header input{float:right}#pubs-header input{border:none;height:30px;width:100px;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 input:focus{width:300px}#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}#bd-customcss-attach-controls,#bd-customcss-detach-controls{background:#E8E8E8;-webkit-box-shadow:inset 0 1px 0 0 #fff;padding:5px}.server-name{flex-grow:100}.server-name span{overflow:hidden;white-space:nowrap}.server-region{min-width:85px}#pubs-spinner{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-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}.chat .title-wrap,.guild-header header,.guilds-wrapper:before{background:rgba(25,62,90,.91)!important}.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}.guilds-wrapper:before{min-height:48px!important;width:60px;content:" ";display:block}.guilds-wrapper ul{padding-top:5px}.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{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 .emoji-picker .scroller::-webkit-scrollbar-thumb{border-color:#202020!important;background-color:#202020!important} \ No newline at end of file diff --git a/js/main.js b/js/main.js index c03d82c..f3a310c 100644 --- a/js/main.js +++ b/js/main.js @@ -1477,7 +1477,7 @@ SettingsPanel.prototype.construct = function () { \
Themes\
\ -
\ +
\ \ \
\ @@ -1594,7 +1594,7 @@ SettingsPanel.prototype.construct = function () {
\
\
\ - \ + \ \
\ \ @@ -1637,9 +1637,9 @@ SettingsPanel.prototype.construct = function () {
\
\
\ -
\ +
\
\ - \ + \ \
\ \ @@ -1812,12 +1812,61 @@ Utils.prototype.importSettings = function() { } localStorage["bdcustomcss"] = obj.customCss; var ccss = atob(localStorage.getItem("bdcustomcss")); + if (!customCssInitialized) { + customCssEditor.init(); + customCssInitialized = true; + } customCssEditor.applyCustomCss(ccss, settingsCookie["bda-css-0"], false); customCssEditor.editor.setValue(ccss); }catch(err) { mainCore.alert("Invalid Data", err); return false; } + + try { + $.each(obj.plugins, function(plugin) { + var enabled = obj.plugins[plugin]; + if(bdplugins.hasOwnProperty(plugin)) { + pluginCookie[plugin] = enabled; + var cb = $("#"+plugin.replace(" ", "__")); + if(cb.is(":checked") && !enabled) { + bdplugins[plugin]["plugin"].stop(); + cb.prop("checked", false); + } + if(!cb.is(":checked") && enabled) { + bdplugins[plugin]["plugin"].start(); + cb.prop("checked", true); + } + } + }); + pluginModule.savePluginData(); + }catch(err) { + mainCore.alert("Failed to load plugin data", err); + return false; + } + + try { + themeCookie = obj.themes; + $.each(themeCookie, function(theme) { + var enabled = themeCookie[theme]; + var id = "#ti" + theme; + if(bdthemes.hasOwnProperty(theme)) { + if($(id).is(":checked") && !enabled) { + $(id).prop("checked", false); + $("#"+theme).remove(); + } + if(!$(id).is(":checked") && enabled) { + $(id).prop("checked", true); + $("head").append(''); + } + } + }); + themeModule.saveThemeData(); + }catch(err) { + mainCore.alert("Failed to load theme data", err); + return false; + } + return false; }); }; @@ -1826,7 +1875,7 @@ Utils.prototype.exportSettings = function() { var obj = { settings: settingsCookie, customCss: localStorage["bdcustomcss"], - plugins: bdplugins, + plugins: pluginCookie, themes: themeCookie, favEmotes: window.localStorage["bdfavemotes"] }; @@ -1928,7 +1977,7 @@ PluginModule.prototype.handlePlugin = function (checkbox) { var cb = $(checkbox).children().find('input[type="checkbox"]'); var enabled = !cb.is(":checked"); - var id = cb.attr("id"); + var id = cb.attr("id").replace("__", " "); cb.prop("checked", enabled); if (enabled) { diff --git a/js/main.min.js b/js/main.min.js index e5fa679..5edad32 100644 --- a/js/main.min.js +++ b/js/main.min.js @@ -1,2 +1,94 @@ -function Core(){}function EmoteModule(){}function PublicServers(){}function QuickEmoteMenu(){}function CustomCssEditor(){}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/Sortable/1.4.2/Sortable.min.js")}function Utils(){}function VoiceMode(){}function PluginModule(){}function ThemeModule(){}function BdWSocket(){bdws=this}function BdApi(){}var settingsPanel,emoteModule,utils,quickEmoteMenu,opublicServers,voiceMode,pluginModule,themeModule,customCssEditor,jsVersion=1.63,supportedVersion="0.2.5",mainObserver,twitchEmoteUrlStart="https://static-cdn.jtvnw.net/emoticons/v1/",twitchEmoteUrlEnd="/1.0",ffzEmoteUrlStart="https://cdn.frankerfacez.com/emoticon/",ffzEmoteUrlEnd="/1",bttvEmoteUrlStart="https://cdn.betterttv.net/emote/",bttvEmoteUrlEnd="/1x",mainCore,settings={"Save logs locally":{id:"bda-gs-0",info:"Saves chat logs locally",implemented:!1,hidden:!1,cat:"core"},"Public Servers":{id:"bda-gs-1",info:"Display public servers button",implemented:!0,hidden:!1,cat:"core"},"Minimal Mode":{id:"bda-gs-2",info:"Hide elements and reduce the size of elements.",implemented:!0,hidden:!1,cat:"core"},"Voice Mode":{id:"bda-gs-4",info:"Only show voice chat",implemented:!0,hidden:!1,cat:"core"},"Hide Channels":{id:"bda-gs-3",info:"Hide channels in minimal mode",implemented:!0,hidden:!1,cat:"core"},"Dark Mode":{id:"bda-gs-5",info:"Make certain elements dark by default(wip)",implemented:!0,hidden:!1,cat:"core"},"Override Default Emotes":{id:"bda-es-5",info:"Override default emotes",implemented:!1,hidden:!1,cat:"core"},"Voice Disconnect":{id:"bda-dc-0",info:"Disconnect from voice server when closing Discord",implemented:!0,hidden:!1,cat:"core"},"Custom css live update":{id:"bda-css-0",info:"",implemented:!0,hidden:!0,cat:"core"},"Custom css auto udpate":{id:"bda-css-1",info:"",implemented:!0,hidden:!0,cat:"core"},"Show Emotes":{id:"bda-es-7",info:"Show any emotes",implemented:!0,hidden:!1,cat:"emote"},"FrankerFaceZ Emotes":{id:"bda-es-1",info:"Show FrankerFaceZ Emotes",implemented:!0,hidden:!1,cat:"emote"},"BetterTTV Emotes":{id:"bda-es-2",info:"Show BetterTTV Emotes",implemented:!0,hidden:!1,cat:"emote"},"Emote Menu":{id:"bda-es-0",info:"Show Twitch/Favourite emotes in emote menu",implemented:!0,hidden:!1,cat:"emote"},"Emoji Menu":{id:"bda-es-9",info:"Show Discord emoji menu",implemented:!0,hidden:!1,cat:"emote"},"Emote Autocomplete":{id:"bda-es-3",info:"Autocomplete emote commands",implemented:!1,hidden:!1,cat:"emote"},"Emote Auto Capitalization":{id:"bda-es-4",info:"Autocapitalize emote commands",implemented:!0,hidden:!1,cat:"emote"},"Show Names":{id:"bda-es-6",info:"Show emote names on hover",implemented:!0,hidden:!1,cat:"emote"},"Show emote modifiers":{id:"bda-es-8",info:"Enable emote mods",implemented:!0,hidden:!1,cat:"emote"}},links={"Jiiks.net":{text:"Jiiks.net",href:"http://jiiks.net",target:"_blank"},twitter:{text:"Twitter",href:"http://twitter.com/jiiksi",target:"_blank"},github:{text:"Github",href:"http://github.com/jiiks",target:"_blank"}},defaultCookie={version:jsVersion,"bda-gs-0":!1,"bda-gs-1":!0,"bda-gs-2":!1,"bda-gs-3":!1,"bda-gs-4":!1,"bda-gs-5":!0,"bda-es-0":!0,"bda-es-1":!0,"bda-es-2":!0,"bda-es-3":!1,"bda-es-4":!1,"bda-es-5":!0,"bda-es-6":!0,"bda-es-7":!0,"bda-es-8":!0,"bda-jd":!0,"bda-es-8":!0,"bda-dc-0":!1,"bda-css-0":!1,"bda-css-1":!1,"bda-es-9":!0},bdchangelog={changes:{darkmode:{title:"v1.63 : Dark Mode",text:"Dark mode makes certain elements dark by default(currently only applies to emote menu)",img:""},emotemenu:{title:"v1.62 : Brand new emote menu that fits in Discord emoji menu!",text:"The emote menu has been replaced by a new one that injects itself in the Discord emoji menu!",img:""},cccss:{title:"v1.61 : New custom CSS editor",text:"The custom CSS editor now has options and can be detached!",img:""},vdc:{title:"v1.61 : Voice Disconnect",text:"Disconnect from voice server when closing Discord!",img:""},pslist:{title:"v1.60 : New public server list!",text:'New and shiny public server list powered by DiscordServers.com!',img:""},api:{title:"v1.59 : New plugin api callback",text:"Use the `observer(e)` callback instead of creating your own MutationObserver",img:""},emotemods:{title:"v1.59 : New emote mods!",text:"The following emote mods have been added: :shake2, :shake3, :flap",img:""},minmode:{title:"v1.59: Minimal mode",text:"Minimal mode embed fixed size has been removed",img:""}},fixes:{modal:{title:"v1.62 : Fixed modals",text:"Fixed broken modal introduced by 0.0.287",imt:""},emotes:{title:"v1.59 : Native sub emote mods",text:"Emote mods now work with native sub emotes!",img:""},emotes2:{title:"v1.59 : Emote mods and custom emotes",text:"Emote mods will no longer interfere with custom emotes using :",img:""}}},settingsCookie={};Core.prototype.init=function(){function e(){if(console.log((new Date).getTime()+" Defer"),$(".guilds-wrapper .guilds").children().length>0){console.log((new Date).getTime()+" Defer Loaded");var i=($(".guilds>li:first-child"),$("
';if(null!=bdchangelog.changes){e+='

New Stuff

    ';for(var t in bdchangelog.changes)t=bdchangelog.changes[t],e+="
  • "+t.title+"
    "+t.text+"
  • ";e+="
"}if(null!=bdchangelog.fixes){e+='

Fixed

    ';for(var i in bdchangelog.fixes)i=bdchangelog.fixes[i],e+="
  • "+i.title+"
    "+i.text+"
  • ";e+="
"}if(null!=bdchangelog.upcoming){e+='

Coming Soon

    ';for(var s in bdchangelog.upcoming)s=bdchangelog.upcoming[s],e+="
  • "+s.title+"
    "+s.text+"
  • ";e+="
"}return e+='
'},Core.prototype.alert=function(e,t){$("body").append('
'+e+'
×
'+t+"
")};var emotesFfz={},emotesBTTV={},emotesTwitch={emotes:{emote:{image_id:0}}},subEmotesTwitch={};EmoteModule.prototype.init=function(){},EmoteModule.prototype.getBlacklist=function(){$.getJSON("https://cdn.rawgit.com/Jiiks/betterDiscordApp/"+_hash+"/data/emotefilter.json",function(e){bemotes=e.blacklist})},EmoteModule.prototype.obsCallback=function(e){var t=this;if(settingsCookie["bda-es-7"]){$(".emoji").each(function(){var e=$(this);if(-1!=e.attr("src").indexOf(".png")){var t=e.next(),i=e.attr("alt");t.size()>0&&"SPAN"==t.prop("tagName")&&(i+=t.text(),t.remove()),"SPAN"!=e.parent().prop("tagName")?e.replaceWith(""+i+""):e.replaceWith(i)}});for(var i=0;i-1)return;return s.addClass("spoiler"),void s.on("click",function(){$(this).removeClass("spoiler"),spoilered.push($(this).attr("data-reactid"))})}if(!(t.length<4)){if("ClauZ"==t)return void(e=e.replace("ClauZ",''));var n=!1,a=t,d="",r=["emoteflip","emotespin","emotepulse","emotespin2","emotespin3","emote1spin","emote2spin","emote3spin","emotetr","emotebl","emotebr","emoteshake","emoteshake2","emoteshake3","emoteflap"];if(t.indexOf(":")>-1){var c=t.split(/:(?!.*:)/);""!=c[0]&&""!=c[1]&&(userEmoteCss=!0,a=c[0],"bttv"==c[1]&&(n=!0),settingsCookie["bda-es-8"]&&(d="emote"+c[1],r.indexOf(d)<0&&(d="")))}if(-1==$.inArray(a,bemotes)){if(emotesTwitch.emotes.hasOwnProperty(a)){var l=Math.round(a.length/4),p=a.substr(0,l)+"ï·™"+a.substr(l,l)+"ï·™"+a.substr(2*l,l)+"ï·™"+a.substr(3*l),u=twitchEmoteUrlStart+emotesTwitch.emotes[a].image_id+twitchEmoteUrlEnd;return void(e=e.replace(t,'
'+p+'
'))}if(subEmotesTwitch.hasOwnProperty(a)){var l=Math.round(a.length/4),p=a.substr(0,l)+"ï·™"+a.substr(l,l)+"ï·™"+a.substr(2*l,l)+"ï·™"+a.substr(3*l),u=twitchEmoteUrlStart+subEmotesTwitch[a]+twitchEmoteUrlEnd;return void(e=e.replace(t,'
'+p+'
'))}if("undefined"!=typeof emotesBTTV&&settingsCookie["bda-es-2"]&&emotesBTTV.hasOwnProperty(a)){var l=Math.round(a.length/4),p=a.substr(0,l)+"ï·™"+a.substr(l,l)+"ï·™"+a.substr(2*l,l)+"ï·™"+a.substr(3*l),u=emotesBTTV[a];return void(e=e.replace(t,'
'+p+'
'))}if("undefined"!=typeof emotesFfz&&settingsCookie["bda-es-1"]&&(!n||!emotesBTTV2.hasOwnProperty(a))&&emotesFfz.hasOwnProperty(a)){var l=Math.round(a.length/4),p=a.substr(0,l)+"ï·™"+a.substr(l,l)+"ï·™"+a.substr(2*l,l)+"ï·™"+a.substr(3*l),u=ffzEmoteUrlStart+emotesFfz[a]+ffzEmoteUrlEnd;return void(e=e.replace(t,'
'+p+'
'))}if("undefined"!=typeof emotesBTTV2&&settingsCookie["bda-es-2"]&&emotesBTTV2.hasOwnProperty(a)){var l=Math.round(a.length/4),p=a.substr(0,l)+"ï·™"+a.substr(l,l)+"ï·™"+a.substr(2*l,l)+"ï·™"+a.substr(3*l);n&&(p=t.substr(0,l)+"ï·™"+t.substr(l,l)+"ï·™"+t.substr(2*l,l)+"ï·™"+t.substr(3*l));var u=bttvEmoteUrlStart+emotesBTTV2[a]+bttvEmoteUrlEnd;return void(e=e.replace(t,'
'+p+'
'))}}}}),null!=i.parentElement)){var s=i.parentElement.offsetHeight;i.innerHTML=e.replace(new RegExp("ï·™","g"),"");var o=i.parentElement.offsetHeight,n=$(".scroller.messages").first();n.scrollTop(n.scrollTop()+(o-s))}}if("undefined"!=typeof emotesTwitch&&e.parentElement){var i=e.parentElement;if("SPAN"==i.tagName&&($(i.parentElement).hasClass("markup")||$(i.parentElement).hasClass("message-content"))){var s=!1;$(i.parentElement).hasClass("edited")&&(i=i.parentElement.parentElement.firstChild,s=!0),s?setTimeout(t,250):t()}}},EmoteModule.prototype.autoCapitalize=function(){var e=this;$("body").delegate($(".channel-textarea-inner textarea"),"keyup change paste",function(){if(settingsCookie["bda-es-4"]){var t=$(".channel-textarea-inner textarea").val();if(void 0!=t){var i=t.split(" ").pop();if(i.length>3){if("danSgame"==i)return;var s=e.capitalize(i.toLowerCase());null!==s&&void 0!==s&&$(".channel-textarea-inner textarea").val(t.replace(i,s))}}}})},EmoteModule.prototype.capitalize=function(e){var t=emotesTwitch.emotes;for(var i in t)if(t.hasOwnProperty(i)&&e==(i+"").toLowerCase())return i},PublicServers.prototype.getPanel=function(){return this.container},PublicServers.prototype.init=function(){var e=this,t=$(".guilds>li:first-child");t.after($("
  • ",{id:"bd-pub-li",css:{height:"20px",display:1==settingsCookie["bda-gs-1"]?"":"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(){e.show()});var i="";i+='",this.container=i,$("#bd-pub-li").length<1&&setTimeout(function(){e.init()},250)},PublicServers.prototype.show=function(){var e=this;$("body").append(this.getPanel());var t={sort:[{online:"desc"}],from:0,size:20,query:{filtered:{query:{match_all:{}}}}};$("#sbtn").on("click",function(){e.search()}),$("#sterm").on("keyup",function(t){13==t.keyCode&&e.search()}),this.loadServers(t,!1);var e=this;$(document).on("mouseup.bdps",function(t){$("#bd-pub-button").is(t.target)||$("#pubs-container").is(t.target)||0!==$("#pubs-container").has(t.target).length||e.hide()})},PublicServers.prototype.hide=function(){$("#pubs-container").remove(),$(document).off("mouseup.bdps")},PublicServers.prototype.loadServers=function(e,t){var i=this;$("#sbtn").prop("disabled",!0),$("#sterm").prop("disabled",!0),$("#slist").empty(),$("#pubs-spinner").show(),$.ajax({type:"POST",dataType:"json",url:"https://search-discordservers-izrtub5nprzrl76ugyy6hdooe4.us-west-1.es.amazonaws.com/app/_search",crossDomain:!0,data:JSON.stringify(e),success:function(e){var s=e.hits.hits;t?$("#pubs-header-title").text("Public Servers - Search Results: "+s.length):$("#pubs-header-title").text("Public Servers"),s.forEach(function(e){var t=e._source,s=t.invite_code,o='
    ';o+='
    ',o+='
    ',o+=""+t.name+" by "+t.owner.name+"",o+="
    ",o+='
    ',o+=""+t.online+"/"+t.members+" Members",o+="
    ",o+='
    ',o+=""+t.region+"",o+="
    ",o+='
    ',o+="",o+="
    ",o+="
    ",$("#slist").append(o),$("button[data-server-invite-code="+s+"]").on("click",function(){i.joinServer(s)})})},done:function(){$("#pubs-spinner").hide(),$("#sbtn").prop("disabled",!1),$("#sterm").prop("disabled",!1)},always:function(){$("#pubs-spinner").hide(),$("#sbtn").prop("disabled",!1),$("#sterm").prop("disabled",!1)},error:function(){$("#pubs-spinner").hide(),$("#sbtn").prop("disabled",!1),$("#sterm").prop("disabled",!1)},complete:function(){$("#pubs-spinner").hide(),$("#sbtn").prop("disabled",!1),$("#sterm").prop("disabled",!1)}})},PublicServers.prototype.search=function(){var e={sort:[{online:"desc"}],from:0,size:20,query:{filtered:{query:{match_all:{}}}}},t={filter:{and:[{query:{match_phrase_prefix:{name:$("#sterm").val()}}}]}};$("#sterm").val()&&$.extend(e,t),this.loadServers(e,!0)},PublicServers.prototype.joinServer=function(e){$(".guilds-add").click(),$(".action.join .btn").click(),$(".create-guild-container input").val(e),$(".form.join-server .btn-primary").click()},QuickEmoteMenu.prototype.init=function(){$(document).on("mousedown",function(e){"rmenu"!=e.target.id&&$("#rmenu").remove()}),this.favoriteEmotes={};var e=localStorage.bdfavemotes;void 0!=e&&(this.favoriteEmotes=JSON.parse(atob(e)));var t="";t+='
    ',t+=' ',t+=" ",t+="
    ",this.qmeHeader=t;var i="";i+='
    ',i+='
    ',i+='
    ',i+='
    ';for(var s in emotesTwitch.emotes)if(emotesTwitch.emotes.hasOwnProperty(s)){var o=emotesTwitch.emotes[s].image_id;i+='
    ',i+=' ',i+=" ",i+="
    "}i+="
    ",i+="
    ",i+="
    ",i+="
    ",this.teContainer=i;var n="";n+='
    ',n+='
    ',n+='
    ',n+='
    ';for(var s in this.favoriteEmotes){var a=this.favoriteEmotes[s];n+='
    ',n+=' ",n+=" ",n+="
    "}n+="
    ",n+="
    ",n+="
    ",n+="
    ",this.faContainer=n},QuickEmoteMenu.prototype.favContext=function(e,t){e.stopPropagation();var i=$("
    ",{id:"rmenu","data-emoteid":$(t).prop("title"),text:"Remove"});return i.css({top:e.pageY-$("#bda-qem-favourite-container").offset().top,left:e.pageX-$("#bda-qem-favourite-container").offset().left}),$(t).parent().append(i),i.on("click",function(e){return e.preventDefault(),e.stopPropagation(),$(this).remove(),console.log($(this).data("emoteid")),delete quickEmoteMenu.favoriteEmotes[$(this).data("emoteid")],quickEmoteMenu.updateFavorites(),!1}),!1},QuickEmoteMenu.prototype.switchHandler=function(e){this.switchQem($(e).attr("id"))},QuickEmoteMenu.prototype.switchQem=function(e){var t=$("#bda-qem-twitch"),i=$("#bda-qem-favourite"),s=$("#bda-qem-emojis");switch(t.removeClass("active"),i.removeClass("active"),s.removeClass("active"),$(".emoji-picker").hide(),$("#bda-qem-favourite-container").hide(),$("#bda-qem-twitch-container").hide(),e){case"bda-qem-twitch":t.addClass("active"),$("#bda-qem-twitch-container").show();break;case"bda-qem-favourite":i.addClass("active"),$("#bda-qem-favourite-container").show();break;case"bda-qem-emojis":s.addClass("active"),$(".emoji-picker").show()}this.lastTab=e;var o=$(".emote-icon");o.off(),o.on("click",function(){var e=$(this).attr("title"),t=$(".channel-textarea-inner textarea");t.val(" "==t.val().slice(-1)?t.val()+e:t.val()+" "+e)})},QuickEmoteMenu.prototype.obsCallback=function(e){if(settingsCookie["bda-es-9"]?e.removeClass("bda-qme-hidden"):e.addClass("bda-qme-hidden"),settingsCookie["bda-es-0"]){e.prepend(this.qmeHeader),e.append(this.teContainer),e.append(this.faContainer),void 0==this.lastTab&&(this.lastTab="bda-qem-favourite"),this.switchQem(this.lastTab)}},QuickEmoteMenu.prototype.favorite=function(e,t){this.favoriteEmotes.hasOwnProperty(e)||(this.favoriteEmotes[e]=t),this.updateFavorites()},QuickEmoteMenu.prototype.updateFavorites=function(){var e="";e+='
    ',e+='
    ',e+='
    ',e+='
    ';for(var t in this.favoriteEmotes){var i=this.favoriteEmotes[t];e+='
    ',e+=' ",e+=" ",e+="
    "}e+="
    ",e+="
    ",e+="
    ",e+="
    ",this.faContainer=e,$("#bda-qem-favourite-container").replaceWith(e),window.localStorage.bdfavemotes=btoa(JSON.stringify(this.favoriteEmotes))},CustomCssEditor.prototype.init=function(){var e=this;e.hideBackdrop=!1,e.editor=CodeMirror.fromTextArea(document.getElementById("bd-custom-css-ta"),{lineNumbers:!0,mode:"css",indentUnit:4,theme:"neat"}),e.editor.on("change",function(t){var i=t.getValue();e.applyCustomCss(i,!1,!1)});var t="";t+='
    ',t+='
      ',t+="
    • ",t+='
      ',t+='
      ",t+=' Live Update',t+="
      ",t+="
    • ",t+="
    • ",t+='
      ',t+='
      ",t+=' Autosave',t+="
      ",t+="
    • ",t+="
    • ",t+='
      ',t+='
      ",t+=' Hide Backdrop',t+="
      ",t+="
    • ",t+="
    ",t+='
    ',t+=' ',t+=' ',t+=' ',t+="
    ",t+="
    ",this.attachEditor=t,$("#bd-customcss-innerpane").append(t),$("#bd-customcss-detached-update").on("click",function(){return e.applyCustomCss(e.editor.getValue(),!0,!1),!1}),$("#bd-customcss-detached-save").on("click",function(){return e.applyCustomCss(e.editor.getValue(),!1,!0),!1});var i="";i+='
    ',i+='
    ',i+="
    ",i+="
    ",this.detachedEditor=i},CustomCssEditor.prototype.attach=function(){$("#editor-detached").hide(),$("#app-mount").removeClass("bd-detached-editor"),$("#bd-customcss-pane").append($("#bd-customcss-innerpane")),$("#bd-customcss-detached-detach").show(),$("#bd-customcss-detach-container").remove()},CustomCssEditor.prototype.detach=function(){this.attach(),$("#editor-detached").show(),$("#bd-customcss-detached-detach").hide(),$("#app-mount").addClass("bd-detached-editor"),$(".app").parent().append(this.detachedEditor),$("#bd-customcss-detach-editor").append($("#bd-customcss-innerpane"))},CustomCssEditor.prototype.applyCustomCss=function(e,t,i){0==$("#customcss").length&&$("head").append(''),(t||settingsCookie["bda-css-0"])&&$("#customcss").html(e),(i||settingsCookie["bda-css-1"])&&localStorage.setItem("bdcustomcss",btoa(e))};var settingsButton=null,panel=null;SettingsPanel.prototype.init=function(){var e=this;e.construct();var t=$("body");settingsCookie["bda-es-0"]?$("#twitchcord-button-container").show():$("#twitchcord-button-container").hide(),settingsCookie["bda-gs-2"]?t.addClass("bd-minimal"):t.removeClass("bd-minimal"),settingsCookie["bda-gs-3"]?t.addClass("bd-minimal-chan"):t.removeClass("bd-minimal-chan"),settingsCookie["bda-gs-4"]&&voiceMode.enable(),settingsCookie["bda-gs-5"]&&$("#app-mount").addClass("bda-dark"),settingsCookie["bda-es-6"]?(emoteNamePopup=$("
    "),$(document).on("mouseover",".emote",function(){var e=$(this).offset(),t=$(this).attr("alt");$(emoteNamePopup).find(".tipsy-inner").text(t),$(emoteNamePopup).css("left",e.left-25),$(emoteNamePopup).css("top",e.top-32),$("div[data-reactid='.0.1.1']").append($(emoteNamePopup))}),$(document).on("mouseleave",".emote",function(){$(".tipsy").remove()})):$(document).off("mouseover",".emote")};var customCssInitialized=!1,lastTab="";SettingsPanel.prototype.changeTab=function(e){lastTab=e;$("#bd-control-groups");switch($(".bd-tab").removeClass("selected"),$(".bd-pane").hide(),$("#"+e).addClass("selected"),$("#"+e.replace("tab","pane")).show(),e){case"bd-settings-tab":break;case"bd-customcss-tab":customCssInitialized||(customCssEditor.init(),customCssInitialized=!0)}},SettingsPanel.prototype.updateSetting=function(e){var t=$(e).children().find('input[type="checkbox"]'),i=!t.is(":checked"),s=t.attr("id");t.prop("checked",i),"bda-css-2"==s&&($("#app-mount").removeClass("bd-hide-bd"),customCssEditor.hideBackdrop=i,i&&$("#app-mount").addClass("bd-hide-bd")),settingsCookie[s]=i,settingsCookie["bda-es-0"]?$("#twitchcord-button-container").show():$("#twitchcord-button-container").hide(),settingsCookie["bda-gs-2"]?$("body").addClass("bd-minimal"):$("body").removeClass("bd-minimal"),settingsCookie["bda-gs-3"]?$("body").addClass("bd-minimal-chan"):$("body").removeClass("bd-minimal-chan"),settingsCookie["bda-gs-1"]?$("#bd-pub-li").show():$("#bd-pub-li").hide(),settingsCookie["bda-gs-4"]?voiceMode.enable():voiceMode.disable(),$("#app-mount").removeClass("bda-dark"),settingsCookie["bda-gs-5"]&&$("#app-mount").addClass("bda-dark"),settingsCookie["bda-es-6"]?(emoteNamePopup=$("
    "),$(document).on("mouseover",".emote",function(){var e=$(this).offset(),t=$(this).attr("alt");$(emoteNamePopup).find(".tipsy-inner").text(t),$(emoteNamePopup).css("left",e.left-25),$(emoteNamePopup).css("top",e.top-32),$("div[data-reactid='.0.1.1']").append($(emoteNamePopup))}),$(document).on("mouseleave",".emote",function(){$(".tipsy").remove()})):$(document).off("mouseover",".emote"),mainCore.saveSettings()},SettingsPanel.prototype.construct=function(){function e(){$(".tab-bar-item").removeClass("selected"),settingsButton.addClass("selected"),$(".form .settings-right .settings-inner").first().hide(),panel.show(),""==lastTab?i.changeTab("bd-settings-tab"):i.changeTab(lastTab)}function t(){$(".btn.btn-settings").length<1?setTimeout(t,100):$(".btn.btn-settings").first().on("click",function(){function e(){if($(".modal-inner").first().is(":visible")){panel.hide();var t=$(".tab-bar.SIDE").first();$(".tab-bar.SIDE .tab-bar-item").click(function(){$(".form .settings-right .settings-inner").first().show(),$("#bd-settings-new").removeClass("selected"),panel.hide()}),t.append(settingsButton),$(".form .settings-right .settings-inner").last().after(panel),$("#bd-settings-new").removeClass("selected")}else setTimeout(e,100)}e()})}var i=this;panel=$("
    ",{id:"bd-pane","class":"settings-inner",css:{display:"none"}});var s='
    Core
    Emotes
    Custom CSS
    Plugins
    Themes
    ",s+='";var d=atob(localStorage.getItem("bdcustomcss"));customCssEditor.applyCustomCss(d,!0,!1),s+='
    BetterDiscord v'+version+"(JSv"+jsVersion+') by Jiiks BetterDiscord.net
    ',settingsButton=$("
    ",{"class":"tab-bar-item",text:"BetterDiscord",id:"bd-settings-new",click:e}),panel.html(s),t()};var _hash;Utils.prototype.getTextArea=function(){return $(".channel-textarea-inner textarea")},Utils.prototype.jqDefer=function(e){window.jQuery?e():setTimeout(function(){this.jqDefer(e)},100)},Utils.prototype.getHash=function(){$.getJSON("https://api.github.com/repos/Jiiks/BetterDiscordApp/commits/master",function(e){_hash=e.sha,emoteModule.getBlacklist()})},Utils.prototype.loadHtml=function(e,t){var i=$("
    ",{"class":"bd-container"}).appendTo("body");e="//cdn.rawgit.com/Jiiks/BetterDiscordApp/"+_hash+"/html/"+e+".html",i.load(e,t())},Utils.prototype.injectJs=function(e){$("