This commit is contained in:
Mirco Wittrien 2020-03-26 01:16:30 +01:00
parent 30e68db061
commit 5eceed2f42
2 changed files with 31 additions and 11 deletions

View File

@ -6,7 +6,7 @@ var ImageGallery = (_ => {
return class ImageGallery {
getName () {return "ImageGallery";}
getVersion () {return "1.6.6";}
getVersion () {return "1.6.7";}
getAuthor () {return "DevilBro";}
@ -14,9 +14,7 @@ var ImageGallery = (_ => {
constructor () {
this.changelog = {
"added":[["Details","Added some details about the current image and amount of images, can be turned off in settings now"]],
"fixed":[["Size","Images in the gallery no longer get resized to a thumbnail size"]],
"improved":[["New Library Structure & React","Restructured my Library and switched to React rendering instead of DOM manipulation"]]
"improved":[["Positioning","Improved the position of the sibling images to be placed in the center"]]
};
this.patchedModules = {
@ -38,6 +36,9 @@ var ImageGallery = (_ => {
display: flex;
align-items: center;
position: fixed;
top: 50%;
bottom: 50%;
cursor: pointer;
z-index: -1;
}
${BDFDB.dotCN._imagegalleryprevious} {
@ -252,7 +253,7 @@ var ImageGallery = (_ => {
createImageWrapper (instance, imgRef, type, svgIcon) {
return BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCNS.imagewrapper + BDFDB.disCNS.imageclickable + BDFDB.disCNS._imagegallerysibling + BDFDB.disCN[`_imagegallery${type}`],
className: BDFDB.disCNS._imagegallerysibling + BDFDB.disCN[`_imagegallery${type}`],
onClick: _ => {this.switchImages(instance, type);},
children: [
imgRef,

View File

@ -2193,6 +2193,25 @@ body:before {
#app-mount .gemIndicatorContainer-2jdECl { /* boostsettings suggestioncard circle */
background-color: transparent;
}
#app-mount .paymentPane-3bwJ6A { /* boostsettings past transations */
background-color: rgba(var(--vtransparencycolor), 0.3);
color: rgb(var(--fontwhite1));
}
#app-mount .paginator-166-09 { /* boostsettings past transations paginator */
background: rgba(var(--vtransparencycolor), 0.3);
}
#app-mount .bottomDivider-1K9Gao { /* boostsettings past transations divider */
border-bottom-color: rgba(var(--fontwhite3), 0.5);
}
#app-mount .tab-1kx2RU { /* boostsettings past transations tab */
color: rgb(var(--fontwhite3));
}
#app-mount .appleRowHeader-241O5v { /* boostsettings past transations applerowheader */
color: rgb(var(--fontwhite2));
}
#app-mount .appleRowBody-2B5tp2 { /* boostsettings past transations applerowbody */
color: rgb(var(--fontwhite3));
}
.introHeader-4MPach { /* hypesquad header */
color: rgb(var(--fontwhite1));
@ -3677,13 +3696,13 @@ body:before {
.menu-Sp6bN1, /* contextmenu container (guildheader/status) */
.contextMenu-HLZMGh, /* contextmenu container (contextmenu) */
.container-3cGP6G { /* contextmenu container (messagemenu) */
.container-1gR2ZK { /* contextmenu container (boost) */
background: transparent;
box-shadow: 0 0 0 1px rgba(var(--vtransparencycolor), 0.3), 0 2px 10px 0 rgba(var(--vtransparencycolor), 0.3);
}
.menu-Sp6bN1,
.contextMenu-HLZMGh,
.container-3cGP6G ,
.container-1gR2ZK ,
.subMenuContext-2n_9YM {
z-index: 1;
}
@ -3693,8 +3712,8 @@ body:before {
.contextMenu-HLZMGh:not(.scroller-2FKFPG):before,
.subMenuContext-2n_9YM .scrollerWrap-2lJEkd:after,
.subMenuContext-2n_9YM .scrollerWrap-2lJEkd:before,
.container-3cGP6G:after,
.container-3cGP6G:before {
.container-1gR2ZK:after,
.container-1gR2ZK:before {
content: "";
position: absolute;
top: 0;
@ -3710,13 +3729,13 @@ body:before {
.menu-Sp6bN1:after,
.contextMenu-HLZMGh:not(.scroller-2FKFPG):after,
.subMenuContext-2n_9YM .scrollerWrap-2lJEkd:after,
.container-3cGP6G:after {
.container-1gR2ZK:after {
background-color: rgba(var(--vtransparencycolor), calc(var(--vtransparencyalpha) + 0.3));
}
.menu-Sp6bN1:before,
.contextMenu-HLZMGh:not(.scroller-2FKFPG):before,
.subMenuContext-2n_9YM .scrollerWrap-2lJEkd:before,
.container-3cGP6G:before {
.container-1gR2ZK:before {
background: var(--vpopout) center/var(--vpopoutsize);
filter: blur(var(--vpopoutblur));
background-attachment: fixed;