直播间样式调整
bilibili 直播间调整 by mscststs
Details
Authormscststs
LicenseNo License
Categoryuserstyles
Created
Updated
Size5.7 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name bilibili 直播间调整
@namespace USO Archive
@author mscststs
@description `更改包裹样式 - 大包裹、小道具更改顶栏样式 - 固定顶栏,防止滚动时顶栏弹出占据页面更改台标 - 可以切换显示或者不显示bilibili台标礼物图标灰化 - 氪金礼物闪瞎眼,将礼物图标灰化增长关注列表 - 在直播间右侧的关注展开的列表过短,该样式可以展开该列表`
@version 20181220.14.2
@license NO-REDISTRIBUTION
@preprocessor uso
@advanced dropdown type "包裹样式类型" {
big "大包裹*" <<<EOT #gift-package-item-box > section .item-box {
width:766px !important;
}
#gift-package-item-box > section > div.item-box > div{
margin-left:0 !important;
} EOT;
small "迷你道具" <<<EOT #gift-package-item-box .gift-item-wrap{
margin:0 !important;
}
#gift-package-item-box .expiration{
transform:scale(0.8);
background-color:#e16b99 !important;
}
#gift-package-item-box .num,
#gift-package-item-box .price{
margin-top:0 !important;
}
#gift-package-item-box > section > div.item-box > div> div.gift-item.dp-i-block.p-relative.v-top.pointer.bg-cover.package {
width:0px !important;
height:39px !important;
padding:0 0px;
margin:0 0 ;
background-size:26px;
background-position-y:12px;
}
#gift-package-item-box > section > div.item-box > div{
width:37px;
} EOT;
big-small "大包裹+迷你道具" <<<EOT #gift-package-item-box > section .item-box {
width:766px !important;
}
#gift-package-item-box > section > div.item-box > div{
margin-left:0 !important;
}
#gift-package-item-box .gift-item-wrap{
margin:0 !important;
}
#gift-package-item-box .expiration{
transform:scale(0.8);
background-color:#e16b99 !important;
}
#gift-package-item-box .num,
#gift-package-item-box .price{
margin-top:0 !important;
}
#gift-package-item-box > section > div.item-box > div> div.gift-item.dp-i-block.p-relative.v-top.pointer.bg-cover.package {
width:0px !important;
height:39px !important;
padding:0 0px;
margin:0 0 ;
background-size:26px;
background-position-y:12px;
}
#gift-package-item-box > section > div.item-box > div{
width:37px;
} EOT;
default "原版-原网页默认" <<<EOT EOT;
}
@advanced dropdown logo "去台标" {
remove "去除*" <<<EOT div.bilibili-live-player-video-logo{
/*去台标*\/
display:none !important;
} EOT;
notremove "不去除-原网页默认" <<<EOT EOT;
}
@advanced dropdown header "顶栏固定" {
relative "固定*" <<<EOT
.link-navbar-ctnr{
transform:none !important;
}
.link-navbar-wrap{
display:block !important;
position:absolute !important;
left:0px;
width:100%;
height:0;
}
.player-ctnr{
padding-top:0px !important;
} EOT;
fixed "浮动-原网页默认" <<<EOT EOT;
}
@advanced dropdown grayGift "氪金道具处理" {
gray "灰化*" <<<EOT div.gift-item{
opacity:0.9;
filter:brightness(0.9) grayscale(100%);
transition:filter 0.5s;
}
div.gift-item:hover{
filter:brightness(1) grayscale(0%);
}
.expiration + div.gift-item{
filter:brightness(1) grayscale(0%);
}
.gift-item .a-move-in-top{
display:none !important;
} EOT;
shine "闪亮-原网页默认" <<<EOT EOT;
remove "移除氪金道具" <<<EOT #gift-control-vm ,.gift-control-panel{
height:80px !important;
}
.treasure-box,.draw-box{
padding-top:5px !important;
}
div.treasure-box.p-relative.gift-left-part > div.count-down.m-auto.t-center.b-box.none-select,
div.draw-box.p-relative.gift-left-part > div.count-down.m-auto.t-center.b-box.none-select{
margin-top:-5px;
}
.supporting-info{
margin-top:-60px;
}
.gift-list{
display:none !important;
}
EOT;
}
@advanced dropdown longList "关注列表优化" {
long "拉长*" <<<EOT .section-content-cntr{
height:350px !important;
} EOT;
thin "列表项瘦身" <<<EOT .user-row{
padding:5px 3px !important;
padding-right:15px;
transition:background-color 0.25s;
height:43px !important;
}
.user-row .user-info-room-name{
margin-top:5px;
}
.user-row:hover{
background-color:rgba(64, 167, 226,0.2)
} EOT;
both "拉长+列表项瘦身" <<<EOT .section-content-cntr{
height:350px !important;
}
.user-row{
padding:5px 3px !important;
padding-right:15px;
transition:background-color 0.25s;
height:43px !important;
}
.user-row .user-info-room-name{
margin-top:5px;
}
.user-row:hover{
background-color:rgba(64, 167, 226,0.2)
} EOT;
default "原版-原网页默认" <<<EOT EOT;
}
@advanced dropdown removeVideoWrap "移除竖版视频的自适应模糊背景" {
remove "移除*" <<<EOT #live-player > div[style*='base64']{
display:none;
}
EOT;
default "保留-原网页默认" <<<EOT EOT;
}
==/UserStyle== */
@-moz-document regexp("https?:\\/\\/live\\.bilibili\\.com/.+") {
/**************包裹类型***************************************/
/*[[type]]*/
/**************包裹去动画***************************************/
/*[[animation]]*/
/**************去台标***************************************/
/*[[logo]]*/
/**************顶栏固定***************************************/
/*[[header]]*/
/**************氪金道具处理***************************************/
/*[[grayGift]]*/
/**************关注列表拉长***************************************/
/*[[longList]]*/
/**************移除竖版视频背景********************************************/
/*[[removeVideoWrap]]*/
/**************弹幕设置菜单调整***************************************/
.border-box.z-chat-control-panel-dialog.dialog-ctnr.common-popup-wrap.top-right{
min-width:280px;
}
}