mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Add comment style
This commit is contained in:
parent
8c11642d67
commit
68f2bb93e8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -80,6 +80,7 @@
|
||||
autoPlay: false,
|
||||
showDeadVideoTitle: false,
|
||||
useBiliplusRedirect: false,
|
||||
useCommentStyle: true,
|
||||
toastInternalError: false,
|
||||
cache: {},
|
||||
};
|
||||
@ -650,7 +651,31 @@
|
||||
displayNames: {
|
||||
autoPlay: "自动播放视频",
|
||||
}
|
||||
}
|
||||
},
|
||||
useCommentStyle: {
|
||||
path: "min/comment.min.js",
|
||||
styles: [
|
||||
{
|
||||
key: "commentStyle",
|
||||
important: true,
|
||||
condition: () => true,
|
||||
},
|
||||
{
|
||||
key: "commentDarkStyle",
|
||||
important: true,
|
||||
condition: () => settings.useDarkStyle,
|
||||
},
|
||||
],
|
||||
displayNames: {
|
||||
useCommentStyle: "简洁化评论区",
|
||||
},
|
||||
},
|
||||
commentStyle: {
|
||||
path: "min/comment.min.css"
|
||||
},
|
||||
commentDarkStyle: {
|
||||
path: "min/comment-dark.min.css"
|
||||
},
|
||||
};
|
||||
Resource.root = "https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/";
|
||||
Resource.all = {};
|
||||
|
||||
@ -80,6 +80,7 @@
|
||||
autoPlay: false,
|
||||
showDeadVideoTitle: false,
|
||||
useBiliplusRedirect: false,
|
||||
useCommentStyle: true,
|
||||
toastInternalError: false,
|
||||
cache: {},
|
||||
};
|
||||
@ -650,7 +651,31 @@
|
||||
displayNames: {
|
||||
autoPlay: "自动播放视频",
|
||||
}
|
||||
}
|
||||
},
|
||||
useCommentStyle: {
|
||||
path: "min/comment.min.js",
|
||||
styles: [
|
||||
{
|
||||
key: "commentStyle",
|
||||
important: true,
|
||||
condition: () => true,
|
||||
},
|
||||
{
|
||||
key: "commentDarkStyle",
|
||||
important: true,
|
||||
condition: () => settings.useDarkStyle,
|
||||
},
|
||||
],
|
||||
displayNames: {
|
||||
useCommentStyle: "简洁化评论区",
|
||||
},
|
||||
},
|
||||
commentStyle: {
|
||||
path: "min/comment.min.css"
|
||||
},
|
||||
commentDarkStyle: {
|
||||
path: "min/comment-dark.min.css"
|
||||
},
|
||||
};
|
||||
Resource.root = "https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/";
|
||||
Resource.all = {};
|
||||
|
||||
@ -106,8 +106,8 @@ namespace BilibiliEvolved.Build
|
||||
public override Predicate<FileInfo> FileFilter { get; } = file =>
|
||||
{
|
||||
return !file.FullName.Contains(".min")
|
||||
&& !file.FullName.Contains("dark.css")
|
||||
&& !file.FullName.Contains("dark-template")
|
||||
&& file.Name != "dark.css"
|
||||
&& file.Name != "dark-template.css"
|
||||
&& (file.Extension == ".css");
|
||||
};
|
||||
|
||||
|
||||
Binary file not shown.
1
min/comment-dark.min.css
vendored
Normal file
1
min/comment-dark.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.bb-comment .comment-list .list-item .info .hate.hated>i,.bb-comment .comment-list .list-item .info .hate>i,.bb-comment .comment-list .list-item .info .like.liked>i,.bb-comment .comment-list .list-item .info .like>i,.bb-comment .comment-list .list-item .info .operation .spot,.bb-comment .comment-list .list-item>.con>.info>.floor,.bb-comment .comment-list .list-item>.con>.info>.time,.bb-comment .comment-list .reply-con>.info>.time{filter:brightness(0) invert(1)!important}.bb-comment .comment-list .list-item .info .hate.hated span,.bb-comment .comment-list .list-item .info .hate:hover span,.bb-comment .comment-list .list-item .info .like.liked span,.bb-comment .comment-list .list-item .info .like:hover span{color:#eee!important}
|
||||
1
min/comment.min.css
vendored
Normal file
1
min/comment.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
min/comment.min.js
vendored
Normal file
1
min/comment.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(()=>{return(r,e)=>{}})();
|
||||
@ -1 +1 @@
|
||||
<div class=gui-settings-mask></div><div class="gui-settings-widgets-box icons-enabled"><div class=gui-settings-header><i class=icon-widgets></i><span class=gui-settings-title>附加功能</span></div><div class=widgets-container></div></div><div class="gui-settings-box icons-enabled"><div class=gui-settings-header><i class=icon-settings></i><span class=gui-settings-title>设置</span><div style="flex: 1 0 auto"></div><i class=icon-search style="transform: scale(0.9); margin-right: 0"></i><input class=gui-settings-search placeholder=搜索设置项 type=text></div><div class=gui-settings-content><ul><category icon=video>视频</category><checkbox indent=0 key=useDefaultPlayerLayout dependencies=""></checkbox><dropdown indent=1 key=defaultPlayerLayout dependencies=useDefaultPlayerLayout></dropdown><dropdown indent=1 key=defaultBangumiLayout dependencies=useDefaultPlayerLayout></dropdown><checkbox indent=0 key=useDefaultPlayerMode dependencies=""></checkbox><dropdown indent=1 key=defaultPlayerMode dependencies=useDefaultPlayerMode></dropdown><checkbox indent=1 key=applyPlayerModeOnPlay dependencies=useDefaultPlayerMode></checkbox><checkbox indent=0 key=useDefaultVideoQuality dependencies=""></checkbox><dropdown indent=1 key=defaultVideoQuality dependencies=useDefaultVideoQuality></dropdown><checkbox indent=0 key=useDefaultDanmakuSettings dependencies=""></checkbox><checkbox indent=1 key=enableDanmaku dependencies=useDefaultDanmakuSettings></checkbox><checkbox indent=1 key=rememberDanmakuBlock dependencies="useDefaultDanmakuSettings enableDanmaku"></checkbox><checkbox indent=0 key=autoLightOff dependencies=""></checkbox><checkbox indent=0 key=expandDanmakuList dependencies=""></checkbox><checkbox indent=0 key=expandDescription dependencies=""></checkbox><checkbox indent=0 key=autoContinue dependencies=""></checkbox><checkbox indent=0 key=autoPlay dependencies=""></checkbox><checkbox indent=0 key=skipChargeList dependencies=""></checkbox><category icon=style>样式</category><li class=indent-0><label class=gui-settings-textbox-container><span>主题颜色</span><div class=custom-color-preview><div class="predefined-colors popup"><div class=predefined-colors-grid></div></div></div><input key=customStyleColor dependencies=""spellcheck=false type=text></label></li><checkbox indent=0 key=useNewStyle dependencies=""></checkbox><textbox indent=1 key=blurBackgroundOpacity dependencies=useNewStyle></textbox><checkbox indent=0 key=useDarkStyle dependencies=""></checkbox><checkbox indent=0 key=darkSchedule dependencies=""></checkbox><textbox indent=1 key=darkScheduleStart dependencies=darkSchedule></textbox><textbox indent=1 key=darkScheduleEnd dependencies=darkSchedule></textbox><checkbox indent=0 key=compactLayout dependencies=""></checkbox><checkbox indent=0 key=overrideNavBar dependencies=""></checkbox><checkbox indent=1 key=showBanner dependencies=overrideNavBar></checkbox><checkbox indent=1 key=preserveRank dependencies=overrideNavBar></checkbox><checkbox indent=0 key=blurVideoControl dependencies=""></checkbox><checkbox indent=0 key=customControlBackground dependencies=""></checkbox><textbox indent=1 key=customControlBackgroundOpacity dependencies=customControlBackground></textbox><checkbox indent=0 key=harunaScale dependencies=""></checkbox><checkbox indent=0 key=removeLiveWatermark dependencies=""></checkbox><checkbox indent=0 key=removeVideoTopMask dependencies=""></checkbox><category icon=tool>工具</category><checkbox indent=0 key=removeAds dependencies=""></checkbox><checkbox indent=0 key=watchLaterRedirect dependencies=""></checkbox><checkbox indent=0 key=hideTopSearch dependencies=""></checkbox><checkbox indent=0 key=fullTweetsTitle dependencies=""></checkbox><checkbox indent=0 key=showDeadVideoTitle dependencies=""></checkbox><checkbox indent=1 key=useBiliplusRedirect dependencies=showDeadVideoTitle></checkbox><category icon=touch>触摸</category><checkbox indent=0 key=touchNavBar dependencies=""></checkbox><checkbox indent=0 key=comboLike dependencies=""></checkbox><checkbox indent=0 key=touchVideoPlayer dependencies=""></checkbox><checkbox indent=1 key=touchVideoPlayerAnimation dependencies=touchVideoPlayer></checkbox><checkbox indent=1 key=touchVideoPlayerDoubleTapControl dependencies=touchVideoPlayer></checkbox><category icon=other>其他</category><checkbox indent=0 key=toast dependencies=""></checkbox><checkbox indent=1 key=toastInternalError dependencies=toast></checkbox><checkbox indent=0 key=useCache dependencies=""></checkbox></ul></div><div class=gui-settings-tooltip></div></div>
|
||||
<div class=gui-settings-mask></div><div class="gui-settings-widgets-box icons-enabled"><div class=gui-settings-header><i class=icon-widgets></i><span class=gui-settings-title>附加功能</span></div><div class=widgets-container></div></div><div class="gui-settings-box icons-enabled"><div class=gui-settings-header><i class=icon-settings></i><span class=gui-settings-title>设置</span><div style="flex: 1 0 auto"></div><i class=icon-search style="transform: scale(0.9); margin-right: 0"></i><input class=gui-settings-search placeholder=搜索设置项 type=text></div><div class=gui-settings-content><ul><category icon=video>视频</category><checkbox indent=0 key=useDefaultPlayerLayout dependencies=""></checkbox><dropdown indent=1 key=defaultPlayerLayout dependencies=useDefaultPlayerLayout></dropdown><dropdown indent=1 key=defaultBangumiLayout dependencies=useDefaultPlayerLayout></dropdown><checkbox indent=0 key=useDefaultPlayerMode dependencies=""></checkbox><dropdown indent=1 key=defaultPlayerMode dependencies=useDefaultPlayerMode></dropdown><checkbox indent=1 key=applyPlayerModeOnPlay dependencies=useDefaultPlayerMode></checkbox><checkbox indent=0 key=useDefaultVideoQuality dependencies=""></checkbox><dropdown indent=1 key=defaultVideoQuality dependencies=useDefaultVideoQuality></dropdown><checkbox indent=0 key=useDefaultDanmakuSettings dependencies=""></checkbox><checkbox indent=1 key=enableDanmaku dependencies=useDefaultDanmakuSettings></checkbox><checkbox indent=1 key=rememberDanmakuBlock dependencies="useDefaultDanmakuSettings enableDanmaku"></checkbox><checkbox indent=0 key=autoLightOff dependencies=""></checkbox><checkbox indent=0 key=expandDanmakuList dependencies=""></checkbox><checkbox indent=0 key=expandDescription dependencies=""></checkbox><checkbox indent=0 key=autoContinue dependencies=""></checkbox><checkbox indent=0 key=autoPlay dependencies=""></checkbox><checkbox indent=0 key=skipChargeList dependencies=""></checkbox><category icon=style>样式</category><li class=indent-0><label class=gui-settings-textbox-container><span>主题颜色</span><div class=custom-color-preview><div class="predefined-colors popup"><div class=predefined-colors-grid></div></div></div><input key=customStyleColor dependencies=""spellcheck=false type=text></label></li><checkbox indent=0 key=useNewStyle dependencies=""></checkbox><textbox indent=1 key=blurBackgroundOpacity dependencies=useNewStyle></textbox><checkbox indent=0 key=useDarkStyle dependencies=""></checkbox><checkbox indent=0 key=darkSchedule dependencies=""></checkbox><textbox indent=1 key=darkScheduleStart dependencies=darkSchedule></textbox><textbox indent=1 key=darkScheduleEnd dependencies=darkSchedule></textbox><checkbox indent=0 key=compactLayout dependencies=""></checkbox><checkbox indent=0 key=useCommentStyle dependencies=""></checkbox><checkbox indent=0 key=overrideNavBar dependencies=""></checkbox><checkbox indent=1 key=showBanner dependencies=overrideNavBar></checkbox><checkbox indent=1 key=preserveRank dependencies=overrideNavBar></checkbox><checkbox indent=0 key=blurVideoControl dependencies=""></checkbox><checkbox indent=0 key=customControlBackground dependencies=""></checkbox><textbox indent=1 key=customControlBackgroundOpacity dependencies=customControlBackground></textbox><checkbox indent=0 key=harunaScale dependencies=""></checkbox><checkbox indent=0 key=removeLiveWatermark dependencies=""></checkbox><checkbox indent=0 key=removeVideoTopMask dependencies=""></checkbox><category icon=tool>工具</category><checkbox indent=0 key=removeAds dependencies=""></checkbox><checkbox indent=0 key=watchLaterRedirect dependencies=""></checkbox><checkbox indent=0 key=hideTopSearch dependencies=""></checkbox><checkbox indent=0 key=fullTweetsTitle dependencies=""></checkbox><checkbox indent=0 key=showDeadVideoTitle dependencies=""></checkbox><checkbox indent=1 key=useBiliplusRedirect dependencies=showDeadVideoTitle></checkbox><category icon=touch>触摸</category><checkbox indent=0 key=touchNavBar dependencies=""></checkbox><checkbox indent=0 key=comboLike dependencies=""></checkbox><checkbox indent=0 key=touchVideoPlayer dependencies=""></checkbox><checkbox indent=1 key=touchVideoPlayerAnimation dependencies=touchVideoPlayer></checkbox><checkbox indent=1 key=touchVideoPlayerDoubleTapControl dependencies=touchVideoPlayer></checkbox><category icon=other>其他</category><checkbox indent=0 key=toast dependencies=""></checkbox><checkbox indent=1 key=toastInternalError dependencies=toast></checkbox><checkbox indent=0 key=useCache dependencies=""></checkbox></ul></div><div class=gui-settings-tooltip></div></div>
|
||||
18
style/comment/comment-dark.css
Normal file
18
style/comment/comment-dark.css
Normal file
@ -0,0 +1,18 @@
|
||||
.bb-comment .comment-list .list-item>.con>.info>.time,
|
||||
.bb-comment .comment-list .reply-con>.info>.time,
|
||||
.bb-comment .comment-list .list-item>.con>.info>.floor,
|
||||
.bb-comment .comment-list .list-item .info .like>i,
|
||||
.bb-comment .comment-list .list-item .info .hate>i,
|
||||
.bb-comment .comment-list .list-item .info .like.liked>i,
|
||||
.bb-comment .comment-list .list-item .info .hate.hated>i,
|
||||
.bb-comment .comment-list .list-item .info .operation .spot
|
||||
{
|
||||
filter: brightness(0) invert(1) !important;
|
||||
}
|
||||
.bb-comment .comment-list .list-item .info .like.liked span,
|
||||
.bb-comment .comment-list .list-item .info .hate.hated span,
|
||||
.bb-comment .comment-list .list-item .info .like:hover span,
|
||||
.bb-comment .comment-list .list-item .info .hate:hover span
|
||||
{
|
||||
color: #eee !important;
|
||||
}
|
||||
170
style/comment/comment.css
Normal file
170
style/comment/comment.css
Normal file
@ -0,0 +1,170 @@
|
||||
.comment-list .list-item
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
.bb-comment .comment-list .list-item>.con>.reply-box
|
||||
{
|
||||
transform: translateX(0%);
|
||||
}
|
||||
|
||||
.bb-comment .comment-list .list-item>.con>.info
|
||||
{
|
||||
margin-top: 4px;
|
||||
}
|
||||
.bb-comment .comment-list .list-item>.con>.info>.time
|
||||
{
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 24px;
|
||||
margin: 0;
|
||||
line-height: normal;
|
||||
color: black;
|
||||
}
|
||||
/* .bb-comment .comment-list .list-item>.con>.info>.floor
|
||||
{
|
||||
opacity: 0.5;
|
||||
position: absolute;
|
||||
right: 50%;
|
||||
top: 24px;
|
||||
transform: translateX(50%);
|
||||
margin: 0;
|
||||
line-height: normal;
|
||||
color: black;
|
||||
} */
|
||||
.bb-comment .comment-list .list-item>.con>.info>.plad,
|
||||
.bb-comment .nameplate,
|
||||
.bb-comment .comment-list .list-item .user-face .hot-follow,
|
||||
.bb-comment .comment-header .tabs-order li.on:after
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
.bb-comment .comment-list .reply-con
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
.bb-comment .comment-list .reply-con>.info>.time
|
||||
{
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 0px;
|
||||
margin: 0;
|
||||
opacity: 0.5;
|
||||
line-height: normal;
|
||||
color: black;
|
||||
}
|
||||
.bb-comment .comment-list .list-item .user
|
||||
{
|
||||
margin-right: 120px;
|
||||
}
|
||||
.bb-comment .comment-list .list-item .user .level
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.bb-comment .comment-list .list-item .info .like>*,
|
||||
.bb-comment .comment-list .list-item .info .hate>*,
|
||||
.bb-comment .comment-list .list-item .info .operation .spot,
|
||||
.bb-comment .comment-send .comment-emoji>*
|
||||
{
|
||||
transition: all .2s ease-out;
|
||||
}
|
||||
.bb-comment .comment-list .list-item .info .like i,
|
||||
.bb-comment .comment-list .list-item .info .hate i,
|
||||
.bb-comment .comment-list .list-item .info .operation .spot,
|
||||
.bb-comment .comment-send .comment-emoji .face
|
||||
{
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
background-position: center !important;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.bb-comment .comment-list .list-item .info .like.liked span,
|
||||
.bb-comment .comment-list .list-item .info .hate.hated span,
|
||||
.bb-comment .comment-list .list-item .info .like:hover span,
|
||||
.bb-comment .comment-list .list-item .info .hate:hover span
|
||||
{
|
||||
color: black;
|
||||
}
|
||||
.bb-comment .comment-send .comment-emoji.open .face,
|
||||
.bb-comment .comment-send .comment-emoji .face
|
||||
{
|
||||
opacity: 0.7;
|
||||
}
|
||||
.bb-comment .comment-list .list-item .info .like:hover i,
|
||||
.bb-comment .comment-list .list-item .info .hate:hover i,
|
||||
.bb-comment .comment-list .list-item .info .like.liked:hover i,
|
||||
.bb-comment .comment-list .list-item .info .like.liked i,
|
||||
.bb-comment .comment-list .list-item .info .like.hated:hover i,
|
||||
.bb-comment .comment-list .list-item .info .like.hated i,
|
||||
.bb-comment .comment-list .list-item .info .operation .spot:hover
|
||||
{
|
||||
opacity: 0.7;
|
||||
}
|
||||
.bb-comment .comment-list .list-item .info .like i
|
||||
{
|
||||
background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="16" height="16" viewBox="0 0 24 24"><path fill="black" d="M5,9V21H1V9H5M9,21A2,2 0 0,1 7,19V9C7,8.45 7.22,7.95 7.59,7.59L14.17,1L15.23,2.06C15.5,2.33 15.67,2.7 15.67,3.11L15.64,3.43L14.69,8H21C22.11,8 23,8.9 23,10V12C23,12.26 22.95,12.5 22.86,12.73L19.84,19.78C19.54,20.5 18.83,21 18,21H9M9,19H18.03L21,12V10H12.21L13.34,4.68L9,9.03V19Z" /></svg>');
|
||||
}
|
||||
.bb-comment .comment-list .list-item .info .like.liked:hover i,
|
||||
.bb-comment .comment-list .list-item .info .like.liked i
|
||||
{
|
||||
background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="16" height="16" viewBox="0 0 24 24"><path fill="black" d="M23,10C23,8.89 22.1,8 21,8H14.68L15.64,3.43C15.66,3.33 15.67,3.22 15.67,3.11C15.67,2.7 15.5,2.32 15.23,2.05L14.17,1L7.59,7.58C7.22,7.95 7,8.45 7,9V19A2,2 0 0,0 9,21H18C18.83,21 19.54,20.5 19.84,19.78L22.86,12.73C22.95,12.5 23,12.26 23,12V10M1,21H5V9H1V21Z" /></svg>');
|
||||
}
|
||||
.bb-comment .comment-list .list-item .info .hate i
|
||||
{
|
||||
background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="16" height="16" viewBox="0 0 24 24"><path fill="black" d="M19,15V3H23V15H19M15,3A2,2 0 0,1 17,5V15C17,15.55 16.78,16.05 16.41,16.41L9.83,23L8.77,21.94C8.5,21.67 8.33,21.3 8.33,20.88L8.36,20.57L9.31,16H3C1.89,16 1,15.1 1,14V12C1,11.74 1.05,11.5 1.14,11.27L4.16,4.22C4.46,3.5 5.17,3 6,3H15M15,5H5.97L3,12V14H11.78L10.65,19.32L15,14.97V5Z" /></svg>');
|
||||
}
|
||||
.bb-comment .comment-list .list-item .info .hate.hated:hover i,
|
||||
.bb-comment .comment-list .list-item .info .hate.hated i
|
||||
{
|
||||
background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="16" height="16" viewBox="0 0 24 24"><path fill="black" d="M19,15H23V3H19M15,3H6C5.17,3 4.46,3.5 4.16,4.22L1.14,11.27C1.05,11.5 1,11.74 1,12V14A2,2 0 0,0 3,16H9.31L8.36,20.57C8.34,20.67 8.33,20.77 8.33,20.88C8.33,21.3 8.5,21.67 8.77,21.94L9.83,23L16.41,16.41C16.78,16.05 17,15.55 17,15V5C17,3.89 16.1,3 15,3Z" /></svg>');
|
||||
}
|
||||
.bb-comment .comment-list .list-item .info .operation .spot
|
||||
{
|
||||
background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="16" height="16" viewBox="0 0 24 24"><path fill="black" d="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z" /></svg>');
|
||||
}
|
||||
.bb-comment .comment-send .comment-emoji .face
|
||||
{
|
||||
background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="16" height="16" viewBox="0 0 24 24"><path fill="black" d="M12,17.5C14.33,17.5 16.3,16.04 17.11,14H6.89C7.69,16.04 9.67,17.5 12,17.5M8.5,11A1.5,1.5 0 0,0 10,9.5A1.5,1.5 0 0,0 8.5,8A1.5,1.5 0 0,0 7,9.5A1.5,1.5 0 0,0 8.5,11M15.5,11A1.5,1.5 0 0,0 17,9.5A1.5,1.5 0 0,0 15.5,8A1.5,1.5 0 0,0 14,9.5A1.5,1.5 0 0,0 15.5,11M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" /></svg>');
|
||||
}
|
||||
.bb-comment .reply-notice .notice-item
|
||||
{
|
||||
background-color: #0001;
|
||||
border: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px 14px;
|
||||
}
|
||||
.bb-comment .reply-notice .notice-item .icon-notice
|
||||
{
|
||||
order: 0;
|
||||
position: static;
|
||||
margin-right: 12px;
|
||||
}
|
||||
.bb-comment .reply-notice .notice-item a
|
||||
{
|
||||
order: 1;
|
||||
flex-grow: 1;
|
||||
color: black;
|
||||
}
|
||||
.bb-comment .reply-notice .notice-item .icon-close-notice
|
||||
{
|
||||
order: 2;
|
||||
position: static;
|
||||
}
|
||||
.bb-comment .reply-notice .notice-item .icon-notice,
|
||||
.bb-comment .reply-notice .notice-item .icon-close-notice
|
||||
{
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
background-position: center !important;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.bb-comment .reply-notice .notice-item .icon-notice
|
||||
{
|
||||
background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="18" height="18" viewBox="0 0 24 24"><path fill="black" d="M20,11H4V8H20M20,15H13V13H20M20,19H13V17H20M11,19H4V13H11M20.33,4.67L18.67,3L17,4.67L15.33,3L13.67,4.67L12,3L10.33,4.67L8.67,3L7,4.67L5.33,3L3.67,4.67L2,3V19A2,2 0 0,0 4,21H20A2,2 0 0,0 22,19V3L20.33,4.67Z" /></svg>');
|
||||
}
|
||||
.bb-comment .reply-notice .notice-item .icon-close-notice
|
||||
{
|
||||
background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="18" height="18" viewBox="0 0 24 24"><path fill="black" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg>');
|
||||
}
|
||||
7
style/comment/comment.js
Normal file
7
style/comment/comment.js
Normal file
@ -0,0 +1,7 @@
|
||||
(() =>
|
||||
{
|
||||
return (settings, resources) =>
|
||||
{
|
||||
|
||||
};
|
||||
})();
|
||||
@ -53,6 +53,7 @@
|
||||
<textbox indent="1" key="darkScheduleStart" dependencies="darkSchedule"></textbox>
|
||||
<textbox indent="1" key="darkScheduleEnd" dependencies="darkSchedule"></textbox>
|
||||
<checkbox indent="0" key="compactLayout" dependencies=""></checkbox>
|
||||
<checkbox indent="0" key="useCommentStyle" dependencies=""></checkbox>
|
||||
<checkbox indent="0" key="overrideNavBar" dependencies=""></checkbox>
|
||||
<checkbox indent="1" key="showBanner" dependencies="overrideNavBar"></checkbox>
|
||||
<checkbox indent="1" key="preserveRank" dependencies="overrideNavBar"></checkbox>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user