stuff
This commit is contained in:
parent
2f5cefef16
commit
d5fc098b85
|
@ -3761,7 +3761,8 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins || {}, cleanUps: BDFDB && BDFDB
|
||||||
var DiscordClassModules = {};
|
var DiscordClassModules = {};
|
||||||
DiscordClassModules.BDFDB = {
|
DiscordClassModules.BDFDB = {
|
||||||
BDFDBundefined: "BDFDB_undefined",
|
BDFDBundefined: "BDFDB_undefined",
|
||||||
cardInner: "card-inner",
|
cardInner: "BDFDB-card-inner",
|
||||||
|
cardWrapper: "BDFDB-card",
|
||||||
colorPickerSwatches: "swatches",
|
colorPickerSwatches: "swatches",
|
||||||
colorPickerSwatchesDisabled: "disabled",
|
colorPickerSwatchesDisabled: "disabled",
|
||||||
colorPickerSwatchSingle: "single-swatch",
|
colorPickerSwatchSingle: "single-swatch",
|
||||||
|
@ -4639,8 +4640,9 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins || {}, cleanUps: BDFDB && BDFDB
|
||||||
hotkeyshadowpulse: ["HotKeyRecorder", "shadowPulse"],
|
hotkeyshadowpulse: ["HotKeyRecorder", "shadowPulse"],
|
||||||
hotkeytext: ["HotKeyRecorder", "text"],
|
hotkeytext: ["HotKeyRecorder", "text"],
|
||||||
hovercard: ["HoverCard", "card"],
|
hovercard: ["HoverCard", "card"],
|
||||||
hovercardinner: ["BDFDB", "cardInner"],
|
|
||||||
hovercardbutton: ["NotFound", "hoverCardButton"],
|
hovercardbutton: ["NotFound", "hoverCardButton"],
|
||||||
|
hovercardinner: ["BDFDB", "cardInner"],
|
||||||
|
hovercardwrapper: ["BDFDB", "cardWrapper"],
|
||||||
icon: ["EmbedActions", "icon"],
|
icon: ["EmbedActions", "icon"],
|
||||||
iconactionswrapper: ["EmbedActions", "wrapper"],
|
iconactionswrapper: ["EmbedActions", "wrapper"],
|
||||||
iconexternal: ["EmbedActions", "iconExternal"],
|
iconexternal: ["EmbedActions", "iconExternal"],
|
||||||
|
@ -5409,7 +5411,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins || {}, cleanUps: BDFDB && BDFDB
|
||||||
LibraryComponents.Card = reactInitialized ? class BDFDB_Card extends LibraryModules.React.Component {
|
LibraryComponents.Card = reactInitialized ? class BDFDB_Card extends LibraryModules.React.Component {
|
||||||
render() {
|
render() {
|
||||||
return BDFDB.ReactUtils.createElement(LibraryComponents.Flex, {
|
return BDFDB.ReactUtils.createElement(LibraryComponents.Flex, {
|
||||||
className: [this.props.className, this.props.backdrop || this.props.backdrop === undefined ? BDFDB.disCN.hovercard : null].filter(n => n).join(" "),
|
className: [BDFDB.disCN.hovercardwrapper, this.props.backdrop || this.props.backdrop === undefined ? BDFDB.disCN.hovercard : null, this.props.className].filter(n => n).join(" "),
|
||||||
direction: this.props.direction,
|
direction: this.props.direction,
|
||||||
justify: this.props.justify,
|
justify: this.props.justify,
|
||||||
align: this.props.align,
|
align: this.props.align,
|
||||||
|
@ -5422,6 +5424,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins || {}, cleanUps: BDFDB && BDFDB
|
||||||
!this.props.noRemove ? BDFDB.ReactUtils.createElement(LibraryComponents.CardRemoveButton, {
|
!this.props.noRemove ? BDFDB.ReactUtils.createElement(LibraryComponents.CardRemoveButton, {
|
||||||
onClick: e => {
|
onClick: e => {
|
||||||
if (typeof this.props.onRemove == "function") this.props.onRemove(e, this);
|
if (typeof this.props.onRemove == "function") this.props.onRemove(e, this);
|
||||||
|
BDFDB.ListenerUtils.stopEvent(e);
|
||||||
}
|
}
|
||||||
}) : null
|
}) : null
|
||||||
].concat(this.props.children).filter(n => BDFDB.ReactUtils.isValidElement(n))
|
].concat(this.props.children).filter(n => BDFDB.ReactUtils.isValidElement(n))
|
||||||
|
@ -6397,6 +6400,22 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins || {}, cleanUps: BDFDB && BDFDB
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
${BDFDB.dotCNS.hovercardwrapper + BDFDB.dotCN.hovercardbutton} {
|
||||||
|
position: absolute;
|
||||||
|
top: -3px;
|
||||||
|
right: -3px;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
${BDFDB.dotCNS.hovercardwrapper + BDFDB.dotCN.hovercard + BDFDB.dotCN.hovercardbutton} {
|
||||||
|
right: -31px;
|
||||||
|
top: -12px;
|
||||||
|
}
|
||||||
|
${BDFDB.dotCN.hovercardwrapper}:hover ${BDFDB.dotCN.hovercardbutton} {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*OLD*/
|
||||||
|
|
||||||
${BDFDB.dotCNS.messagegroup + BDFDB.dotCN.messageheadercozy} {
|
${BDFDB.dotCNS.messagegroup + BDFDB.dotCN.messageheadercozy} {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue