2019-09-20 22:32:52 +02:00
//META{"name":"DisplayServersAsChannels","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/DisplayServersAsChannels","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/DisplayServersAsChannels/DisplayServersAsChannels.plugin.js"}*//
2018-10-11 10:21:26 +02:00
class DisplayServersAsChannels {
2019-01-17 18:24:37 +01:00
getName ( ) { return "DisplayServersAsChannels" ; }
2019-10-08 21:51:59 +02:00
getVersion ( ) { return "1.3.1" ; }
2019-01-17 18:24:37 +01:00
getAuthor ( ) { return "DevilBro" ; }
getDescription ( ) { return "Display servers in a similar way as channels." ; }
2019-01-26 22:45:19 +01:00
2019-09-04 12:34:02 +02:00
constructor ( ) {
2019-03-11 16:14:27 +01:00
this . changelog = {
2019-10-08 21:51:59 +02:00
"fixed" : [ [ "Server Unclickable" , "Severs can now be clicked again to switch servers ... oof" ] , [ "Folder Styling" , "Fixed some styling issues with native folders created by the new ServerFolders update" ] ]
2019-03-27 11:38:16 +01:00
} ;
2019-09-04 12:34:02 +02:00
2019-11-14 17:56:26 +01:00
this . patchedModules = {
after : {
"Guilds" : "componentDidMount" ,
"Guild" : [ "componentDidMount" , "componentDidUpdate" ] ,
"GuildFolder" : [ "componentDidMount" , "componentDidUpdate" ] ,
"StandardSidebarView" : "componentWillUnmount"
}
2019-03-11 16:14:27 +01:00
} ;
2019-09-04 12:34:02 +02:00
}
initConstructor ( ) {
2018-10-11 10:21:26 +02:00
this . verificationBadgeMarkup =
` <svg class="DSAC-verification-badge" name="Verified" width="24" height="24" viewBox="0 0 20 20">
< g fill = "none" fill - rule = "evenodd" >
< path fill = "transparent" d = "M10,19.9894372 C10.1068171,19.9973388 10.2078869,20.000809 10.3011305,19.9998419 C11.2600164,19.8604167 12.3546966,19.5885332 12.8510541,19.0579196 C13.25685,18.6241176 13.617476,18.0901301 13.7559228,17.5412583 C14.9847338,18.4452692 17.0357846,18.1120142 18.1240732,16.9486174 C19.1632035,15.8377715 18.521192,14.1691402 18.1240732,13.1586037 C18.4557396,12.9959068 18.8016154,12.6966801 19.0750308,12.4043949 C19.7126372,11.7227841 20.0201294,10.9139249 19.9989792,10.0282152 C20.0201294,9.14250542 19.7126372,8.3336462 19.0750308,7.65203538 C18.8016154,7.35975019 18.4557396,7.06052352 18.1240732,6.89782664 C18.521192,5.88729007 19.1632035,4.21865882 18.1240732,3.10781287 C17.0357846,1.94441607 14.9847338,1.61116112 13.7559228,2.51517206 C13.617476,1.96630024 13.25685,1.4323127 12.8510541,0.998510722 C12.3546966,0.467897141 11.2584098,0.139640848 10.2995239,0.036840309 C10.2065991,-0.000647660524 10.1059015,0.00279555358 9.99948865,0.0106399384 C9.87772075,0.00268415336 9.76807998,-0.00081194858 9.67455589,0.000158000197 C8.88885259,0.157529668 7.63153446,0.482616331 7.14894593,0.998510722 C6.74314998,1.4323127 6.382524,1.96630024 6.24407717,2.51517206 C5.01526618,1.61116112 2.96421535,1.94441607 1.87592682,3.10781287 C0.836796482,4.21865882 1.47880798,5.88729007 1.87592682,6.89782664 C1.54426039,7.06052352 1.19838464,7.35975019 0.924969216,7.65203538 C0.287362828,8.3336462 -0.0201294289,9.14250542 0.00102081603,10.0282151 C-0.0201294289,10.9139249 0.287362828,11.7227841 0.924969216,12.4043949 C1.19838464,12.6966801 1.54426039,12.9959068 1.87592682,13.1586037 C1.47880798,14.1691402 0.836796482,15.8377715 1.87592682,16.9486174 C2.96421535,18.1120142 5.01526618,18.4452692 6.24407717,17.5412583 C6.382524,18.0901301 6.74314998,18.6241176 7.14894593,19.0579196 C7.63153446,19.573814 8.89045919,19.8426283 9.6761625,19.9541287 C9.7694061,20.000809 9.87866986,19.9973388 10,19.9894372 Z" / >
2019-03-13 10:39:14 +01:00
< path fill = "#7289da" d = "M10.0004091,17.9551224 C10.0858672,17.9614327 10.1667272,17.964204 10.2413259,17.9634317 C11.0084737,17.8520863 11.8842627,17.6349594 12.281369,17.2112099 C12.6060224,16.8647745 12.8945379,16.4383305 13.005301,16 C13.9884001,16.7219456 15.6293247,16.4558073 16.5,15.5267154 C17.3313468,14.6395908 16.8177113,13.3070173 16.5,12.5 C16.7653467,12.3700698 17.0420615,12.1311066 17.260805,11.8976868 C17.7709162,11.3533505 18.0169226,10.7073933 18.0000015,10.0000632 C18.0169226,9.29273289 17.7709162,8.64677569 17.260805,8.10243942 C17.0420615,7.86901966 16.7653467,7.63005642 16.5,7.50012624 C16.8177113,6.69310896 17.3313468,5.36053545 16.5,4.47341082 C15.6293247,3.54431894 13.9884001,3.27818062 13.005301,4.00012624 C12.8945379,3.5617957 12.6060224,3.13535178 12.281369,2.78891632 C11.8842627,2.36516686 11.0071884,2.10302048 10.2400405,2.02092369 C10.1656968,1.99098569 10.0851346,1.99373545 10,2 C9.9025807,1.99364649 9.8148636,1.99085449 9.7400405,1.9916291 C9.11144571,2.11730654 8.10553978,2.37692165 7.71944921,2.78891632 C7.39479585,3.13535178 7.10628031,3.5617957 6.99551718,4.00012624 C6.01241812,3.27818062 4.37149355,3.54431894 3.5008182,4.47341082 C2.66947142,5.36053545 3.18310688,6.69310896 3.5008182,7.50012624 C3.23547149,7.63005642 2.95875674,7.86901966 2.74001321,8.10243942 C2.22990202,8.64677569 1.98389563,9.29273289 2.00081669,10.0000631 C1.98389563,10.7073933 2.22990202,11.3533505 2.74001321,11.8976868 C2.95875674,12.1311066 3.23547149,12.3700698 3.5008182,12.5 C3.18310688,13.3070173 2.66947142,14.6395908 3.5008182,15.5267154 C4.37149355,16.4558073 6.01241812,16.7219456 6.99551718,16 C7.10628031,16.4383305 7.39479585,16.8647745 7.71944921,17.2112099 C8.10553978,17.6232046 9.11273107,17.8378805 9.74132585,17.926925 C9.81592455,17.964204 9.90334002,17.9614327 10.0004091,17.9551224 Z" / >
2018-10-11 10:21:26 +02:00
< path fill = "#ffffff" d = "M8.84273967,12.8167603 L13.8643,7.7952 C14.0513,7.6072 14.0513,7.3042 13.8643,7.1172 C13.6773,6.9312 13.3743,6.9312 13.1863,7.1172 L8.52303089,11.78139 L6.8883,10.1475 C6.6843,9.9445 6.3553,9.9445 6.1523,10.1475 C5.9493,10.3515 5.9493,10.6805 6.1523,10.8835 L8.08381122,12.8160053 C8.09561409,12.8309877 8.10844368,12.8454178 8.1223,12.8592 C8.3093,13.0472 8.6123,13.0472 8.8003,12.8592 L8.82157566,12.8379243 C8.82518839,12.8345112 8.82876362,12.8310364 8.8323,12.8275 C8.83584168,12.8239583 8.83932157,12.820378 8.84273967,12.8167603 Z" / >
< / g >
< / s v g > ` ;
2019-01-26 22:45:19 +01:00
2019-06-16 20:15:09 +02:00
this . defaults = {
amounts : {
serverListWidth : { value : 240 , min : 45 , description : "Server list width in px:" }
}
} ;
}
getSettingsPanel ( ) {
if ( ! global . BDFDB || typeof BDFDB != "object" || ! BDFDB . loaded || ! this . started ) return ;
2019-10-22 19:49:57 +02:00
var amounts = BDFDB . DataUtils . get ( this , "amounts" ) ;
2019-10-09 14:18:28 +02:00
var settingshtml = ` <div class=" ${ this . name } -settings BDFDB-settings"><div class=" ${ BDFDB . disCNS . titledefault + BDFDB . disCNS . titlesize18 + BDFDB . disCNS . height24 + BDFDB . disCNS . weightnormal + BDFDB . disCN . marginbottom8 } "> ${ this . name } </div><div class="BDFDB-settings-inner"> ` ;
2019-06-16 20:15:09 +02:00
for ( let key in amounts ) {
2019-10-09 14:18:28 +02:00
settingshtml += ` <div class=" ${ BDFDB . disCNS . flex + BDFDB . disCNS . horizontal + BDFDB . disCNS . justifystart + BDFDB . disCNS . aligncenter + BDFDB . disCNS . nowrap + BDFDB . disCN . marginbottom8 } " style="flex: 1 1 auto;"><h3 class=" ${ BDFDB . disCNS . titledefault + BDFDB . disCNS . weightmedium + BDFDB . disCNS . titlesize16 + BDFDB . disCN . flexchild } " style="flex: 0 0 50%;"> ${ this . defaults . amounts [ key ] . description } </h3><div class=" ${ BDFDB . disCN . inputwrapper } inputNumberWrapper ${ BDFDB . disCNS . vertical } " style="flex: 1 1 auto;"><span class="numberinput-buttons-zone"><span class="numberinput-button-up"></span><span class="numberinput-button-down"></span></span><input type="number" ${ ( ! isNaN ( this . defaults . amounts [ key ] . min ) && this . defaults . amounts [ key ] . min !== null ? ' min="' + this . defaults . amounts [ key ] . min + '"' : '' ) + ( ! isNaN ( this . defaults . amounts [ key ] . max ) && this . defaults . amounts [ key ] . max !== null ? ' max="' + this . defaults . amounts [ key ] . max + '"' : '' ) } option=" ${ key } " value=" ${ amounts [ key ] } " class=" ${ BDFDB . disCNS . inputdefault + BDFDB . disCNS . input + BDFDB . disCN . titlesize16 } amount-input"></div></div> ` ;
2019-06-16 20:15:09 +02:00
}
settingshtml += ` </div> ` ;
settingshtml += ` </div></div> ` ;
2019-10-23 11:10:01 +02:00
let settingspanel = BDFDB . DOMUtils . create ( settingshtml ) ;
2019-06-16 20:15:09 +02:00
BDFDB . initElements ( settingspanel , this ) ;
return settingspanel ;
}
//legacy
load ( ) { }
start ( ) {
if ( ! global . BDFDB ) global . BDFDB = { myPlugins : { } } ;
if ( global . BDFDB && global . BDFDB . myPlugins && typeof global . BDFDB . myPlugins == "object" ) global . BDFDB . myPlugins [ this . getName ( ) ] = this ;
var libraryScript = document . querySelector ( 'head script#BDFDBLibraryScript' ) ;
if ( ! libraryScript || ( performance . now ( ) - libraryScript . getAttribute ( "date" ) ) > 600000 ) {
if ( libraryScript ) libraryScript . remove ( ) ;
libraryScript = document . createElement ( "script" ) ;
libraryScript . setAttribute ( "id" , "BDFDBLibraryScript" ) ;
libraryScript . setAttribute ( "type" , "text/javascript" ) ;
2019-10-18 10:56:41 +02:00
libraryScript . setAttribute ( "src" , "https://mwittrien.github.io/BetterDiscordAddons/Plugins/BDFDB.min.js" ) ;
2019-06-16 20:15:09 +02:00
libraryScript . setAttribute ( "date" , performance . now ( ) ) ;
libraryScript . addEventListener ( "load" , ( ) => { this . initialize ( ) ; } ) ;
document . head . appendChild ( libraryScript ) ;
}
else if ( global . BDFDB && typeof BDFDB === "object" && BDFDB . loaded ) this . initialize ( ) ;
2019-11-01 10:27:07 +01:00
this . startTimeout = setTimeout ( ( ) => {
try { return this . initialize ( ) ; }
catch ( err ) { console . error ( ` %c[ ${ this . getName ( ) } ]%c ` , "color: #3a71c1; font-weight: 700;" , "" , "Fatal Error: Could not initiate plugin! " + err ) ; }
} , 30000 ) ;
2019-06-16 20:15:09 +02:00
}
initialize ( ) {
if ( global . BDFDB && typeof BDFDB === "object" && BDFDB . loaded ) {
if ( this . started ) return ;
2019-10-22 18:55:25 +02:00
BDFDB . PluginUtils . init ( this ) ;
2019-09-04 12:34:02 +02:00
2019-10-23 11:10:01 +02:00
BDFDB . DOMUtils . addClass ( document . body , "DSAC-styled" ) ;
2019-09-04 12:34:02 +02:00
2019-06-16 20:15:09 +02:00
this . addCSS ( ) ;
2019-10-22 18:55:25 +02:00
BDFDB . ModuleUtils . forceAllUpdates ( this ) ;
2019-09-04 12:34:02 +02:00
2019-10-22 18:55:25 +02:00
BDFDB . ListenerUtils . add ( this , document , "mouseenter" , BDFDB . dotCN . guildouter , e => {
2019-10-23 11:10:01 +02:00
if ( e . currentTarget . querySelector ( BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill + "+ *" ) ) BDFDB . DOMUtils . appendLocalStyle ( "HideAllToolTips" + this . name , ` ${ BDFDB . dotCN . tooltip } {display: none !important;} ` ) ;
2019-06-16 20:15:09 +02:00
} ) ;
2019-10-22 18:55:25 +02:00
BDFDB . ListenerUtils . add ( this , document , "mouseleave" , BDFDB . dotCN . guildouter , e => {
2019-10-23 11:10:01 +02:00
if ( e . currentTarget . querySelector ( BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill + "+ *" ) && ! document . querySelector ( BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill + "+ *:hover" ) ) BDFDB . DOMUtils . removeLocalStyle ( "HideAllToolTips" + this . name ) ;
2019-06-16 20:15:09 +02:00
} ) ;
}
2019-11-01 10:14:50 +01:00
else console . error ( ` %c[ ${ this . getName ( ) } ]%c ` , "color: #3a71c1; font-weight: 700;" , "" , "Fatal Error: Could not load BD functions!" ) ;
2019-06-16 20:15:09 +02:00
}
stop ( ) {
if ( global . BDFDB && typeof BDFDB === "object" && BDFDB . loaded ) {
2019-10-22 11:37:23 +02:00
this . stopping = true ;
2019-10-23 11:10:01 +02:00
BDFDB . DOMUtils . removeClassFromDOM ( "DSAC-styled" ) ;
BDFDB . DOMUtils . remove ( ".DSAC-verification-badge, .DSAC-name, .DSAC-icon" ) ;
2019-09-04 12:34:02 +02:00
2019-10-23 11:10:01 +02:00
BDFDB . DOMUtils . removeLocalStyle ( "HideAllToolTips" + this . name ) ;
2019-09-04 12:34:02 +02:00
2019-10-23 11:10:01 +02:00
BDFDB . DOMUtils . removeLocalStyle ( "DSACStyle" + this . name ) ;
2019-09-04 12:34:02 +02:00
2019-06-16 20:15:09 +02:00
for ( let changedSVG of document . querySelectorAll ( BDFDB . dotCN . guildsvg + "[DSAC-oldViewBox" ) ) {
changedSVG . setAttribute ( "viewBox" , changedSVG . getAttribute ( "DSAC-oldViewBox" ) ) ;
changedSVG . removeAttribute ( "DSAC-oldViewBox" ) ;
}
2019-10-22 18:55:25 +02:00
BDFDB . PluginUtils . clear ( this ) ;
2019-06-16 20:15:09 +02:00
}
}
// begin of own functions
2019-09-04 12:34:02 +02:00
2019-09-26 20:09:46 +02:00
processGuilds ( instance , wrapper , returnvalue ) {
2019-06-16 20:15:09 +02:00
var observer = new MutationObserver ( ( changes , _ ) => { changes . forEach ( ( change , i ) => { if ( change . addedNodes ) { change . addedNodes . forEach ( ( node ) => {
2019-10-23 11:10:01 +02:00
if ( node && BDFDB . DOMUtils . containsClass ( node , BDFDB . disCN . guildouter ) && ! node . querySelector ( BDFDB . dotCN . guildserror ) ) {
2019-10-22 18:55:25 +02:00
this . changeServer ( BDFDB . GuildUtils . getData ( node ) ) ;
2019-06-16 20:15:09 +02:00
}
if ( node && node . tagName && ( node = node . querySelector ( BDFDB . dotCN . guildbuttoncontainer ) ) != null ) {
this . changeButton ( node ) ;
}
if ( node && node . tagName && ( node = node . querySelector ( BDFDB . dotCN . guildserror ) ) != null ) {
this . changeError ( node ) ;
}
} ) ; } } ) ; } ) ;
2019-10-22 18:55:25 +02:00
BDFDB . ObserverUtils . connect ( this , BDFDB . dotCN . guilds , { name : "serverListObserver" , instance : observer } , { childList : true , subtree : true , attributes : true , attributeFilter : [ "class" , "draggable" ] , attributeOldValue : true } ) ;
2019-06-16 20:15:09 +02:00
2019-10-22 18:55:25 +02:00
BDFDB . GuildUtils . getAll ( ) . forEach ( info => { this . changeServer ( info ) ; } ) ;
2019-06-16 20:15:09 +02:00
document . querySelectorAll ( BDFDB . dotCN . homebuttonpill + " + *" ) . forEach ( homebuttoncontainer => { this . changeHome ( homebuttoncontainer ) ; } ) ;
document . querySelectorAll ( BDFDB . dotCN . guildbuttonpill + " + *" ) . forEach ( guildbuttoncontainer => { this . changeButton ( guildbuttoncontainer ) ; } ) ;
document . querySelectorAll ( BDFDB . dotCN . guildserror ) . forEach ( guildserror => { this . changeError ( guildserror ) ; } ) ;
}
2019-09-26 20:09:46 +02:00
processGuild ( instance , wrapper , returnvalue ) {
if ( instance && wrapper ) this . changeServer ( Object . assign ( { div : wrapper } , instance . props . guild ) ) ;
}
processGuildFolder ( instance , wrapper , returnvalue ) {
if ( instance && wrapper ) this . changeFolder ( Object . assign ( { div : wrapper } , instance . props ) ) ;
}
2019-06-16 20:15:09 +02:00
2019-09-26 20:09:46 +02:00
processStandardSidebarView ( instance , wrapper , returnvalue ) {
2019-06-16 20:15:09 +02:00
if ( this . SettingsUpdated ) {
delete this . SettingsUpdated ;
this . addCSS ( ) ;
}
}
2019-09-26 20:09:46 +02:00
changeFolder ( info ) {
if ( ! info || ! info . div ) return ;
var guildfoldericonwrapper = info . div . querySelector ( BDFDB . dotCNC . guildfoldericonwrapperexpanded + BDFDB . dotCN . guildfoldericonwrapperclosed ) ;
if ( guildfoldericonwrapper ) {
2019-10-23 11:10:01 +02:00
BDFDB . DOMUtils . remove ( guildfoldericonwrapper . parentElement . querySelectorAll ( ".DSAC-name" ) ) ;
guildfoldericonwrapper . parentElement . insertBefore ( BDFDB . DOMUtils . create ( ` <div class="DSAC-name"> ${ BDFDB . StringUtils . htmlEscape ( info . folderName || BDFDB . LanguageUtils . LanguageStrings . GUILD _FOLDER _NAME ) } </div> ` ) , guildfoldericonwrapper ) ;
2019-09-26 20:09:46 +02:00
}
this . changeSVG ( info . div ) ;
}
2019-06-16 20:15:09 +02:00
changeServer ( info ) {
if ( ! info || ! info . div ) return ;
2019-09-26 20:09:46 +02:00
var guildsvg = info . div . querySelector ( BDFDB . dotCN . guildsvg ) ;
if ( guildsvg ) {
2019-10-23 11:10:01 +02:00
BDFDB . DOMUtils . remove ( guildsvg . parentElement . querySelectorAll ( ".DSAC-verification-badge, .DSAC-name" ) ) ;
2019-06-16 20:15:09 +02:00
if ( info . features && info . features . has ( "VERIFIED" ) ) {
2019-10-23 11:10:01 +02:00
guildsvg . parentElement . insertBefore ( BDFDB . DOMUtils . create ( this . verificationBadgeMarkup ) , guildsvg ) ;
2019-06-16 20:15:09 +02:00
}
2019-10-23 11:10:01 +02:00
guildsvg . parentElement . insertBefore ( BDFDB . DOMUtils . create ( ` <div class="DSAC-name"> ${ BDFDB . StringUtils . htmlEscape ( info . name || "" ) } </div> ` ) , guildsvg ) ;
2019-06-16 20:15:09 +02:00
}
this . changeSVG ( info . div ) ;
}
changeHome ( div ) {
if ( ! div ) return ;
2019-09-26 20:09:46 +02:00
var homebutton = div . querySelector ( BDFDB . dotCN . guildiconchildwrapper ) ;
2019-06-16 20:15:09 +02:00
if ( homebutton ) {
2019-10-23 11:10:01 +02:00
BDFDB . DOMUtils . remove ( homebutton . querySelectorAll ( ".DSAC-name" ) ) ;
homebutton . insertBefore ( BDFDB . DOMUtils . create ( ` <div class="DSAC-name"> ${ BDFDB . StringUtils . htmlEscape ( BDFDB . LanguageUtils . LanguageStrings . HOME ) } </div> ` ) , homebutton . firstElementChild ) ;
2019-06-16 20:15:09 +02:00
}
this . changeSVG ( div ) ;
}
2019-09-04 12:34:02 +02:00
2019-06-16 20:15:09 +02:00
changeButton ( div ) {
if ( ! div ) return ;
var guildbuttoninner = div . querySelector ( BDFDB . dotCN . guildbuttoninner ) ;
if ( guildbuttoninner ) {
2019-10-23 11:10:01 +02:00
BDFDB . DOMUtils . remove ( guildbuttoninner . querySelectorAll ( ".DSAC-name" ) ) ;
guildbuttoninner . insertBefore ( BDFDB . DOMUtils . create ( ` <div class="DSAC-name"> ${ BDFDB . StringUtils . htmlEscape ( BDFDB . ReactUtils . findValue ( div , "text" , { up : true } ) || "")}</div> ` ) , guildbuttoninner . firstElementChild ) ;
2019-06-16 20:15:09 +02:00
}
this . changeSVG ( div ) ;
}
2019-09-04 12:34:02 +02:00
2019-06-16 20:15:09 +02:00
changeSVG ( div ) {
var guildsvg = div . querySelector ( BDFDB . dotCN . guildsvg ) ;
if ( guildsvg && ! guildsvg . getAttribute ( "DSAC-oldViewBox" ) ) {
guildsvg . setAttribute ( "DSAC-oldViewBox" , guildsvg . getAttribute ( "viewBox" ) ) ;
guildsvg . removeAttribute ( "viewBox" ) ;
}
}
2019-09-04 12:34:02 +02:00
2019-06-16 20:15:09 +02:00
changeError ( div ) {
if ( ! div ) return ;
2019-10-23 11:10:01 +02:00
BDFDB . DOMUtils . remove ( div . querySelectorAll ( ".DSAC-name, .DSAC-icon" ) ) ;
div . insertBefore ( BDFDB . DOMUtils . create ( ` <div class="DSAC-name">Server Outage</div> ` ) , div . firstChild ) ;
div . appendChild ( BDFDB . DOMUtils . create ( ` <div class="DSAC-icon">!</div> ` ) ) ;
2019-06-16 20:15:09 +02:00
}
addCSS ( ) {
2019-10-22 20:16:05 +02:00
var listwidth = BDFDB . DataUtils . get ( this , "amounts" , "serverListWidth" ) ;
2019-10-23 11:10:01 +02:00
BDFDB . DOMUtils . appendLocalStyle ( "DSACStyle" + this . name , `
2018-10-25 09:48:10 +02:00
. DSAC - styled $ { BDFDB . dotCN . guildswrapper } ,
2019-03-27 11:38:16 +01:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildsscrollerwrap } ,
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guilds } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildswrapperunreadmentionsindicatortop } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildswrapperunreadmentionsindicatorbottom } {
2019-06-16 20:15:09 +02:00
width : $ { listwidth } px ! important ;
2018-10-11 10:21:26 +02:00
}
2019-03-27 11:38:16 +01:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guilds + BDFDB . dotCN . scroller } : : - webkit - scrollbar - thumb {
2019-03-11 16:14:27 +01:00
background - color : rgb ( 22 , 24 , 27 ) ;
2018-10-11 10:21:26 +02:00
}
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildfolder } {
background - color : transparent ! important ;
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildfolderwrapper } ,
2019-06-08 16:13:54 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter } {
box - sizing : border - box ;
padding - left : 5 px ;
align - items : center ;
justify - content : flex - start ;
width : auto ! important ;
height : auto ! important ;
min - height : 16 px ! important ;
margin : 2 px 0 ! important ;
}
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildfolderexpandedguilds } {
height : auto ! important ;
}
2019-10-02 11:43:58 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildfolderexpandendbackground } {
2019-09-26 20:09:46 +02:00
top : 0 ! important ;
2019-10-02 11:43:58 +02:00
right : 2 px ! important ;
2019-09-26 20:09:46 +02:00
bottom : 0 ! important ;
left : 8 px ! important ;
width : unset ! important ;
border - radius : 3 px ;
}
2019-10-02 11:43:58 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildouter } {
margin : 2 px 0 2 px 3 px ! important ;
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildfolderexpandendbackground + BDFDB . dotCN . guildfolderexpandendbackgroundcollapsed } ~ $ { BDFDB . dotCN . guildouter } {
2019-09-26 20:09:46 +02:00
padding - left : 0 ! important ;
margin - left : 0 ! important ;
}
2019-10-02 11:43:58 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildfolderexpandendbackground + BDFDB . notCN . guildfolderexpandendbackgroundcollapsed } ~ $ { BDFDB . dotCN . guildouter } {
padding - left : 0 ! important ;
margin - bottom : 0 ! important ;
2019-09-26 20:09:46 +02:00
}
2019-10-02 11:43:58 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildfolderexpandendbackground + BDFDB . notCN . guildfolderexpandendbackgroundcollapsed } ~ $ { BDFDB . dotCN . guildouter } > div {
margin - left : 0 ! important
2019-09-26 20:09:46 +02:00
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfoldericonwrapper } {
display : flex ! important ;
2019-10-02 11:43:58 +02:00
border - radius : 3 px ;
2019-09-26 20:09:46 +02:00
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfoldericonwrapperexpanded } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfoldericonwrapperclosed } {
display : flex ! important ;
width : unset ! important ;
flex : 0 1 auto ! important ;
}
2019-10-02 11:43:58 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfoldericonwrapperexpanded } {
margin - right : 3 px ! important ;
}
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfoldericonwrapper } . DSAC - name {
width : unset ! important ;
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCNS . guildfoldericonwrapperclosed + BDFDB . dotCN . guildfolderguildicon } {
margin : 0 2 px ! important ;
}
2019-10-08 20:15:11 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfolderexpandendbackground } {
display : block ! important ;
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfolder } [ style *= "background-image" ] {
background - size : contain ! important ;
background - position : right ! important ;
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfolder } [ style *= "background-image" ] $ { BDFDB . dotCN . guildfoldericonwrapper } {
background : none ! important ;
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfolder } [ style *= "background-image" ] $ { BDFDB . dotCN . guildfoldericonwrapperclosed } {
display : none ! important ;
}
2019-10-02 11:43:58 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildfolderexpandendbackground + BDFDB . dotCN . guildfolderexpandendbackgroundcollapsed } ,
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCNS . guildcontainer + BDFDB . dotCN . guildicon } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCNS . guildcontainer + BDFDB . dotCN . guildiconacronym } {
2019-05-07 15:27:32 +02:00
display : none ! important ;
2018-12-29 21:43:33 +01:00
}
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildsscroller } > div [ style *= "height" ] : not ( [ class ] ) {
2019-05-07 15:27:32 +02:00
margin - top : 8 px ;
2018-12-29 21:43:33 +01:00
}
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildsscroller } > div [ style *= "height" ] : not ( [ class ] ) + div [ style *= "height" ] : not ( [ class ] ) {
2019-05-07 15:27:32 +02:00
margin - top : 0 px ;
2018-10-11 10:21:26 +02:00
}
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . dmpill } + * {
2019-05-07 15:27:32 +02:00
margin - left : 5 px ;
2019-03-11 16:14:27 +01:00
}
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildcontainer } ,
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + $ { BDFDB . dotCN . guildinner } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildinner } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildiconwrapper } ,
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfolder } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfoldericonwrapper } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfoldericonwrapperexpanded } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildfoldericonwrapperclosed } ,
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildbuttoninner } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildserror } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildplaceholder } {
height : 32 px ! important ;
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildseparator } {
2019-06-16 20:15:09 +02:00
width : $ { listwidth - 10 } px ! important ;
2019-05-07 15:27:32 +02:00
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCNS . guildcontainer } ,
2019-10-08 20:15:11 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildinner } ,
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildsvg } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildiconwrapper } ,
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * foreignObject ,
2019-10-08 20:15:11 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } ~ * $ { BDFDB . dotCN . guildfolder } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } ~ * $ { BDFDB . dotCN . guildfoldericonwrapper } ,
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildbuttoninner } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildplaceholder } {
2019-10-08 20:15:11 +02:00
width : 100 % ! important ;
2019-05-07 15:27:32 +02:00
}
2019-10-08 20:15:11 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildfolderexpandendbackground } ~ $ { BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } ~ $ { BDFDB . dotCN . guildinner } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildfolderexpandendbackground } ~ $ { BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } ~ * $ { BDFDB . dotCN . guildinner } ,
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + $ { BDFDB . dotCN . guildinner } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildinner } ,
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildserror } {
2019-06-16 20:15:09 +02:00
width : $ { listwidth - 18 } px ! important ;
2019-05-07 15:27:32 +02:00
display : flex ! important ;
}
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + $ { BDFDB . dotCN . guildinner } ,
2019-10-02 11:43:58 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildinner } {
2019-09-26 20:09:46 +02:00
width : $ { listwidth - 28 } px ! important ;
}
2019-10-08 21:51:59 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildfolderexpandendbackground } ~ $ { BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildsvg } {
2019-10-08 20:15:11 +02:00
position : static ! important ;
flex : 1 1 auto ! important ;
}
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildsvg } ,
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * foreignObject {
2019-10-08 20:15:11 +02:00
mask : none ! important ;
- webkit - mask : none ! important ;
}
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } {
2019-05-07 15:27:32 +02:00
top : - 8 px ;
transform : scaleY ( calc ( 32 / 50 ) ) ;
}
2019-10-02 11:43:58 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildfolderexpandendbackground } ~ $ { BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper } {
left : - 5 px ;
}
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCNS . dmpill + BDFDB . dotCN . guildpillitem } {
2019-05-07 15:27:32 +02:00
min - height : calc ( 8 px * ( 50 / 32 ) ) ;
}
2019-06-08 16:13:54 +02:00
. DSAC - styled # bd - pub - button ,
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter } . RANbutton ,
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * {
2019-05-07 15:27:32 +02:00
margin - left : 3 px ;
}
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildiconchildwrapper } ,
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildbuttoninner } {
display : flex ;
justify - content : flex - start ;
align - items : center ;
padding - right : 5 px ;
2018-10-25 09:48:10 +02:00
}
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildbuttoninner } svg {
margin - right : 3 px ;
2018-10-11 10:21:26 +02:00
}
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildiconchildwrapper } svg {
position : absolute ;
top : 6 px ;
right : 8 px ;
2019-03-11 16:14:27 +01:00
}
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildserror } {
border - radius : 3 px ;
margin - left : 3 px ;
font - size : 0 ;
2018-10-25 22:18:03 +02:00
}
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpill } + * $ { BDFDB . dotCN . guildlowerbadge } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpill } + * $ { BDFDB . dotCN . guildupperbadge } {
2019-05-07 15:27:32 +02:00
position : static ;
margin - top : 7 px ;
margin - right : 3 px ;
2018-10-11 10:21:26 +02:00
}
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter } . DSAC - verification - badge {
margin - top : 3 px ;
2019-03-11 16:14:27 +01:00
}
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter } . DSAC - name {
flex : 1 1 ;
2019-06-16 20:15:09 +02:00
width : $ { listwidth - 25 } px ;
2019-05-07 15:27:32 +02:00
margin : 0 5 px ;
font - size : 16 px ;
font - weight : 400 ;
line - height : 32 px ;
color : white ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
pointer - events : none ;
2019-03-11 16:14:27 +01:00
}
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter } . DSAC - icon {
font - size : 20 px ;
margin - right : 13 px ;
2018-12-29 21:43:33 +01:00
}
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildserror } . DSAC - name {
margin - left : 4 px ;
2018-10-11 10:21:26 +02:00
}
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildiconchildwrapper } . DSAC - name ,
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildbuttoninner } . DSAC - name {
color : currentColor ;
2018-10-11 10:21:26 +02:00
}
2019-06-08 16:13:54 +02:00
. DSAC - styled # bd - pub - li ,
. DSAC - styled # bd - pub - button ,
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildiconchildwrapper } ,
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter } . RANbutton - frame ,
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter } . RANbutton - inner ,
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter } . RANbutton {
2019-06-16 20:15:09 +02:00
width : $ { listwidth - 10 } px ! important ;
2019-05-07 15:27:32 +02:00
height : 32 px ! important ;
2018-10-11 10:21:26 +02:00
}
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter } . RANbutton - inner {
width : $ { listwidth - 15 } px ! important ;
}
2019-06-08 16:13:54 +02:00
. DSAC - styled # bd - pub - button ,
2019-09-26 20:09:46 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildiconchildwrapper + BDFDB . notCN . guildiconacronym } ,
2019-05-07 15:27:32 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter } . RANbutton {
2019-05-22 11:07:02 +02:00
border - radius : 3 px ! important ;
2019-05-07 15:27:32 +02:00
display : block ! important ;
color : white ! important ;
font - weight : 400 ! important ;
font - size : 16 px ! important ;
line - height : 32 px ! important ;
padding - left : 5 px ! important ;
text - transform : capitalize ! important ;
2019-05-22 11:07:02 +02:00
text - align : left ! important ;
2018-10-11 10:21:26 +02:00
}
2019-10-08 20:15:11 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildfolderwrapper + BDFDB . dotCN . guildfolderexpandendbackground + BDFDB . notCN . guildfolderexpandendbackgroundcollapsed } ~ $ { BDFDB . dotCN . guildouter } . DSAC - name {
2019-05-07 15:27:32 +02:00
text - decoration : underline ;
2018-10-11 10:21:26 +02:00
}
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + $ { BDFDB . dotCN . guildinner } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildinner } {
2019-05-07 15:27:32 +02:00
background - color : transparent ;
border - radius : 3 px ;
overflow : hidden ;
2018-10-11 10:21:26 +02:00
}
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpillwrapper + BDFDB . notCN . dmpill } + * $ { BDFDB . dotCN . guildinner } : hover {
2019-05-07 15:27:32 +02:00
background - color : rgba ( 79 , 84 , 92 , . 3 ) ;
2018-10-11 10:21:26 +02:00
}
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter + BDFDB . dotCNS . _bdguildselected + BDFDB . dotCN . guildinner } ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter + BDFDB . dotCNS . _bdguildselected + BDFDB . dotCN . guildinner } : hover {
2019-05-07 15:27:32 +02:00
background - color : rgba ( 79 , 84 , 92 , . 6 ) ;
2018-10-11 10:21:26 +02:00
}
2019-06-08 16:13:54 +02:00
. DSAC - styled # bd - pub - button {
2019-05-22 11:07:02 +02:00
transition : background - color . 15 s ease - out , color . 15 s ease - out ;
}
2019-06-08 16:13:54 +02:00
. DSAC - styled bd - pub - button : hover {
2019-05-22 11:07:02 +02:00
background - color : rgb ( 114 , 137 , 218 ) ;
}
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpill } + * $ { BDFDB . dotCN . guildinner } . DSAC - name {
2019-05-07 15:27:32 +02:00
opacity : 0.4 ;
2018-10-11 10:21:26 +02:00
}
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCNS . guildouter + BDFDB . dotCN . guildpill } + * $ { BDFDB . dotCN . guildinner } : hover . DSAC - name {
2019-05-07 15:27:32 +02:00
opacity : 0.9 ;
2018-10-11 10:21:26 +02:00
}
2019-06-06 18:25:53 +02:00
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter + BDFDB . dotCNS . _bdguildselected + BDFDB . dotCN . guildinner } . DSAC - name ,
. DSAC - styled $ { BDFDB . dotCNS . guildswrapper + BDFDB . dotCN . guildouter + BDFDB . dotCNS . _bdguildselected + BDFDB . dotCN . guildinner } : hover . DSAC - name {
2019-05-07 15:27:32 +02:00
opacity : 1 ;
2018-10-11 10:21:26 +02:00
}
2019-05-07 15:27:32 +02:00
. DSAC - styled . serverfolders - dragpreview . DSAC - name {
color : white ;
font - size : 16 px ;
font - weight : 400 ;
2019-06-16 20:15:09 +02:00
width : $ { listwidth - 20 } px ;
2019-05-07 15:27:32 +02:00
height : 32 px ;
2018-10-11 10:21:26 +02:00
line - height : 32 px ;
2019-05-07 15:27:32 +02:00
margin - top : 9 px ;
padding - left : 5 px ;
text - overflow : ellipsis ;
overflow : hidden ;
background - color : rgba ( 79 , 84 , 92 , . 6 ) ;
border - radius : 3 px ;
}
. DSAC - styled . serverfolders - dragpreview $ { BDFDB . dotCN . guildiconacronym } ,
. DSAC - styled . serverfolders - dragpreview $ { BDFDB . dotCN . guildicon } {
display : none ;
2019-09-26 20:09:46 +02:00
}
. DSAC - styled $ { BDFDB . dotCN . appcontainer } {
display : flex ! important ;
}
. DSAC - styled $ { BDFDB . dotCN . guildswrapper } {
position : static ! important ;
contain : unset ! important ;
}
. DSAC - styled $ { BDFDB . dotCN . chatbase } {
position : static ! important ;
contain : unset ! important ;
width : 100 % ! important ;
2019-06-16 20:15:09 +02:00
} ` );
2018-10-25 09:48:10 +02:00
}
2018-10-11 10:21:26 +02:00
}