Gallery Expander

ICQ,Telegram Gallery Expander

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name           Gallery Expander
@namespace      greasyfork.org/en/users/781396-yad
@version        1.0.1
@description    ICQ,Telegram Gallery Expander
@author         YAD
@advanced dropdown time "Time/Label" {
	1 "ON*" <<<EOT 1 EOT;
2 "OFF" <<<EOT 0 EOT;
}
@var range trans "Thumbnail Size" [96,40,496,1,"px"]
==/UserStyle== */

@-moz-document domain("web.icq.com") {
	
	.im-gallery {
    position: fixed;
	}
	.im-gallery-preview__info {
		opacity: /*[[time]]*/
	}
	
	.im-gallery-preview {
    width: var(--hoysize);
    height:var(--hoysize);
	}
	
	:root {
	--hoysize:/*[[trans]]*/!important;
	}
	
}
@-moz-document domain("telegram.org") {
	
	.Media .video-duration,
	.search-super-content-media .video-time {
		opacity: /*[[time]]*/
	}

 .search-super-content-media .search-super-month-items {
    grid-template-columns: [linename1 linename2] var(--hoysize)
                       repeat(auto-fit, [linename1] var(--hoysize)) [linename3];
}
	
	
	[class="media-photo grid-item-media"] {
    width: var(--hoysize)!important;
    height:var(--hoysize)!important;
	}
	 
	body.is-right-column-shown:not(.is-left-column-shown) #column-right {
    width: 100%!important;
}
	
	
	/*-----------Z------------*/
	
	.Media {
    width: 150px;
    height: 150px;
    overflow: hidden;
		padding: 1px!important;
		margin: auto;
}
	
	.shared-media .content.media-list {
		position: absolute!important;
    display:flex!important;
    flex-direction: row!important;
    flex-wrap: wrap!important;
    align-items: flex-start;
		grid-template-columns: unset!important;
		grid-auto-rows: unset!important;
    grid-gap: unset!important;
}
	.Media img {
    position: absolute;
     width: 150px;
    height: 150px;
}

	
	#RightColumn {
    width: 75%!important;
		overflow: visible!important;
		display: inline-block
}
	.ProfileInfo {
    aspect-ratio: 0/0;
		bottom: 90px
}
	
	:root {
	--hoysize:/*[[trans]]*/!important;
	}
	
}