This commit is contained in:
Mirco Wittrien 2020-08-29 10:14:16 +02:00
parent e09e38ab29
commit fc9486dfd7
3 changed files with 31 additions and 24 deletions

View File

@ -4201,6 +4201,7 @@
favButtonContainer: "favbutton-8Fzu45",
guild: "guild-r3yAE_",
guildLowerLeftBadge: "lowerLeftBadge-zr4T_9",
guildsLabel: "label-2wRs_g",
guildSummaryClickableIcon: "clickableIcon-7I6aVc",
guildSummaryContainer: "container-5VyO4t",
guildSummaryEmptyGuild: "emptyGuild-Am9XfC",
@ -4435,6 +4436,9 @@
frame: "frame-oXWS21",
innerFrame: "innerFrame-8Hg64E"
};
DiscordClassModules.ServerCounter = {
serverCount: "serverCount-FsTTs1"
};
DiscordClassModules.ServerFolders = {
dragPreview: "dragPreview-nXiByA",
guildPlaceholder: "placeholder-7bhR5s",
@ -4826,6 +4830,7 @@
_readallnotificationsbuttonbutton: ["ReadAllNotificationsButton", "button"],
_readallnotificationsbuttonframe: ["ReadAllNotificationsButton", "frame"],
_readallnotificationsbuttoninner: ["ReadAllNotificationsButton", "innerFrame"],
_servercounterservercount: ["ServerCounter", "ServerCounter"],
_serverfoldersdragpreview: ["ServerFolders", "dragPreview"],
_serverfoldersfoldercontent: ["ServerFolders", "folderContent"],
_serverfoldersfoldercontentclosed: ["ServerFolders", "folderContentClosed"],
@ -5420,6 +5425,7 @@
guildsettingsmembername: ["GuildSettingsMember", "name"],
guildsettingsmembernametag: ["GuildSettingsMember", "nameTag"],
guildsettingsrolesbuttonwrapper: ["GuildSettingsRoles", "buttonWrapper"],
guildslabel: ["BDFDB", "guildsLabel"],
guildsscroller: ["GuildsWrapper", "scroller"],
guildsummaryclickableicon: ["BDFDB", "guildSummaryClickableIcon"],
guildsummarycontainer: ["BDFDB", "guildSummaryContainer"],
@ -9919,6 +9925,25 @@
filter: grayscale(100%) brightness(50%);
}
${BDFDB.dotCN.guildslabel} {
color: var(--text-muted);
text-align: center;
text-transform: uppercase;
font-size: 10px;
font-weight: 500;
line-height: 1.3;
width: 70px;
word-wrap: normal;
white-space: nowrap;
cursor: pointer;
}
${BDFDB.dotCN.guildslabel}:hover {
color: var(--header-secondary);
}
${BDFDB.dotCN.guildslabel}:active {
color: var(--header-primary);
}
${BDFDB.dotCN.searchbarwrapper} {
padding: 10px;
}

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@ var FriendNotifications = (_ => {
return BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.guildouter,
children: BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN._friendnotificationsfriendsonline,
className: BDFDB.disCNS.guildslabel + BDFDB.disCN._friendnotificationsfriendsonline,
children: BDFDB.LanguageUtils.LanguageStringsFormat("FRIENDS_ONLINE_HEADER", this.props.amount),
onClick: _ => {
_this.showTimeLog();
@ -53,38 +53,20 @@ var FriendNotifications = (_ => {
friendCounter = null;
this.css = `
.${this.name}-Log-modal ${BDFDB.dotCN._friendnotificationslogtime} {
${BDFDB.dotCN._friendnotificationslogtime} {
width: 160px;
}
.${this.name}-Log-modal ${BDFDB.dotCN._friendnotificationslogavatar} {
${BDFDB.dotCN._friendnotificationslogavatar} {
margin: 0 10px;
}
.${this.name}-Log-modal ${BDFDB.dotCN._friendnotificationslogcontent} {
${BDFDB.dotCN._friendnotificationslogcontent} {
max-width: 600px;
}
.${this.name}-settings ${BDFDB.dotCN._friendnotificationstypelabel} {
${BDFDB.dotCN._friendnotificationstypelabel} {
border-radius: 3px;
padding: 0 3px;
margin: 0 6px;
}
${BDFDB.dotCN._friendnotificationsfriendsonline} {
color: var(--text-muted);
text-align: center;
text-transform: uppercase;
font-size: 10px;
font-weight: 500;
line-height: 1.3;
width: 70px;
word-wrap: normal;
white-space: nowrap;
cursor: pointer;
}
${BDFDB.dotCN._friendnotificationsfriendsonline}:hover {
color: var(--header-secondary);
}
${BDFDB.dotCN._friendnotificationsfriendsonline}:active {
color: var(--header-primary);
}
`;
this.defaults = {