stuff
This commit is contained in:
parent
354a32b3be
commit
2941f5330d
|
@ -1341,6 +1341,12 @@
|
||||||
"userPopoutNote": "note-6O4w9y",
|
"userPopoutNote": "note-6O4w9y",
|
||||||
"voiceDraggable": "draggable-1KoBzC"
|
"voiceDraggable": "draggable-1KoBzC"
|
||||||
},
|
},
|
||||||
|
"ModalCarousel": {
|
||||||
|
"carouselModal": "carouselModal-1eUFoq",
|
||||||
|
"nav": "nav-3QIE8_",
|
||||||
|
"navNext": "navNext-1mR5ku nav-3QIE8_",
|
||||||
|
"navPrev": "navPrev-1L-o1J nav-3QIE8_"
|
||||||
|
},
|
||||||
"Toast": {
|
"Toast": {
|
||||||
"avatar": "avatar-3xmbmC",
|
"avatar": "avatar-3xmbmC",
|
||||||
"bar": "bar-95Sdw1",
|
"bar": "bar-95Sdw1",
|
||||||
|
@ -1479,7 +1485,6 @@
|
||||||
"IconDirection": {"props": ["directionDown", "directionUp"]},
|
"IconDirection": {"props": ["directionDown", "directionUp"]},
|
||||||
"ImageAssets": {"props": ["pngImage", "stickerAsset"]},
|
"ImageAssets": {"props": ["pngImage", "stickerAsset"]},
|
||||||
"ImageModal": {"props": ["image", "modal"], "length": 4, "smaller": true},
|
"ImageModal": {"props": ["image", "modal"], "length": 4, "smaller": true},
|
||||||
"ImageModalNavigation": {"props": ["nav", "navPrev", "navNext"]},
|
|
||||||
"ImageMosaic": {"props": ["lazyImg", "oneByOneGridSingle"]},
|
"ImageMosaic": {"props": ["lazyImg", "oneByOneGridSingle"]},
|
||||||
"ImageWrapper": {"props": ["clickable", "imageWrapperBackground"]},
|
"ImageWrapper": {"props": ["clickable", "imageWrapperBackground"]},
|
||||||
"Input": {"props": ["inputMini", "inputDefault"]},
|
"Input": {"props": ["inputMini", "inputDefault"]},
|
||||||
|
@ -1526,7 +1531,6 @@
|
||||||
"MessageToolbar": {"props": ["container", "icon", "isHeader"]},
|
"MessageToolbar": {"props": ["container", "icon", "isHeader"]},
|
||||||
"MessageToolbarItems": {"props": ["wrapper", "button", "separator"]},
|
"MessageToolbarItems": {"props": ["wrapper", "button", "separator"]},
|
||||||
"Modal": {"props": ["root", "small", "medium"]},
|
"Modal": {"props": ["root", "small", "medium"]},
|
||||||
"ModalCarousel": {"props": ["carouselModal", "carousel"]},
|
|
||||||
"ModalCarouselWrapper": {"props": ["modalCarouselWrapper", "zoomedCarouselModalRoot"]},
|
"ModalCarouselWrapper": {"props": ["modalCarouselWrapper", "zoomedCarouselModalRoot"]},
|
||||||
"ModalDivider": {"props": ["divider"], "length": 1},
|
"ModalDivider": {"props": ["divider"], "length": 1},
|
||||||
"ModalItems": {"props": ["guildName", "checkboxContainer"]},
|
"ModalItems": {"props": ["guildName", "checkboxContainer"]},
|
||||||
|
@ -2529,9 +2533,9 @@
|
||||||
"imageplaceholderoverlay": ["ImageWrapper", "imagePlaceholderOverlay"],
|
"imageplaceholderoverlay": ["ImageWrapper", "imagePlaceholderOverlay"],
|
||||||
"imagemodal": ["ImageModal", "modal"],
|
"imagemodal": ["ImageModal", "modal"],
|
||||||
"imagemodalimage": ["ImageModal", "image"],
|
"imagemodalimage": ["ImageModal", "image"],
|
||||||
"imagemodalnavbutton": ["ImageModalNavigation", "nav"],
|
"imagemodalnavbutton": ["ModalCarousel", "nav"],
|
||||||
"imagemodalnavbuttonprev": ["ImageModalNavigation", "navPrev"],
|
"imagemodalnavbuttonprev": ["ModalCarousel", "navPrev"],
|
||||||
"imagemodalnavbuttonnext": ["ImageModalNavigation", "navNext"],
|
"imagemodalnavbuttonnext": ["ModalCarousel", "navNext"],
|
||||||
"imagemosaicattachmentscontainer": ["ImageMosaic", "mediaAttachmentsContainer"],
|
"imagemosaicattachmentscontainer": ["ImageMosaic", "mediaAttachmentsContainer"],
|
||||||
"imagemosaiconebyonegridsingle": ["ImageMosaic", "oneByOneGridSingle"],
|
"imagemosaiconebyonegridsingle": ["ImageMosaic", "oneByOneGridSingle"],
|
||||||
"imagesticker": ["ImageAssets", "stickerAsset"],
|
"imagesticker": ["ImageAssets", "stickerAsset"],
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @name ImageUtilities
|
* @name ImageUtilities
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 5.1.5
|
* @version 5.1.6
|
||||||
* @description Adds several Utilities for Images/Videos (Gallery, Download, Reverse Search, Zoom, Copy, etc.)
|
* @description Adds several Utilities for Images/Videos (Gallery, Download, Reverse Search, Zoom, Copy, etc.)
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -316,12 +316,15 @@ module.exports = (_ => {
|
||||||
${BDFDB.dotCN._imageutilitiesimagedetails} > span {
|
${BDFDB.dotCN._imageutilitiesimagedetails} > span {
|
||||||
max-width: 100px;
|
max-width: 100px;
|
||||||
}
|
}
|
||||||
${BDFDB.dotCN._imageutilitiesgallery},
|
${BDFDB.dotCNS._imageutilitiesgallery + BDFDB.dotCN.modal},
|
||||||
${BDFDB.dotCN._imageutilitiesdetailsadded} {
|
${BDFDB.dotCNS._imageutilitiesdetailsadded + BDFDB.dotCN.modal} {
|
||||||
transform: unset !important;
|
transform: unset !important;
|
||||||
filter: unset !important;
|
filter: unset !important;
|
||||||
backdrop-filter: unset !important;
|
backdrop-filter: unset !important;
|
||||||
}
|
}
|
||||||
|
${BDFDB.dotCN._imageutilitiesgallery} ~ ${BDFDB.dotCN.imagemodalnavbutton} {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
${BDFDB.dotCNS.imagemodal + BDFDB.notCN._imageutilitiessibling} > ${BDFDB.dotCN.imagewrapper} {
|
${BDFDB.dotCNS.imagemodal + BDFDB.notCN._imageutilitiessibling} > ${BDFDB.dotCN.imagewrapper} {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -1205,7 +1208,7 @@ module.exports = (_ => {
|
||||||
BDFDB.TimeUtils.clear(viewedImageTimeout);
|
BDFDB.TimeUtils.clear(viewedImageTimeout);
|
||||||
let modal = BDFDB.DOMUtils.getParent(BDFDB.dotCN.modal, e.node);
|
let modal = BDFDB.DOMUtils.getParent(BDFDB.dotCN.modal, e.node);
|
||||||
if (modal) {
|
if (modal) {
|
||||||
modal.className = BDFDB.DOMUtils.formatClassName(modal.className, this.settings.viewerSettings.galleryMode && BDFDB.disCN._imageutilitiesgallery, this.settings.viewerSettings.details && BDFDB.disCN._imageutilitiesdetailsadded);
|
modal.parentElement.className = BDFDB.DOMUtils.formatClassName(modal.parentElement.className, this.settings.viewerSettings.galleryMode && BDFDB.disCN._imageutilitiesgallery, this.settings.viewerSettings.details && BDFDB.disCN._imageutilitiesdetailsadded);
|
||||||
if (this.settings.viewerSettings.galleryMode) {
|
if (this.settings.viewerSettings.galleryMode) {
|
||||||
BDFDB.DOMUtils.addClass(modal, BDFDB.disCN.imagemodal);
|
BDFDB.DOMUtils.addClass(modal, BDFDB.disCN.imagemodal);
|
||||||
BDFDB.DOMUtils.removeClass(modal, BDFDB.disCN.modalcarouselmodal, BDFDB.disCN.modalcarouselmodalzoomed);
|
BDFDB.DOMUtils.removeClass(modal, BDFDB.disCN.modalcarouselmodal, BDFDB.disCN.modalcarouselmodalzoomed);
|
||||||
|
|
Loading…
Reference in New Issue