Improve styles

This commit is contained in:
the1812 2019-04-18 15:33:19 +08:00
parent 9037297e21
commit 49e4107aa0
6 changed files with 9 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -447,7 +447,7 @@ li.nav-item[report-id='playpage_dynamic'] .i-frame,
}
.custom-navbar .video-list li:not(.more)
{
border-left: 2px solid var(--theme-color);
border-left: 2px solid var(--theme-color-30);
}
.custom-navbar .video-list li:not(.more) a
{
@ -463,6 +463,7 @@ li.nav-item[report-id='playpage_dynamic'] .i-frame,
{
background: rgba(0,0,0,0.1);
/* border-left-width: 8px; */
border-color: var(--theme-color);
}
.custom-navbar .video-list li.more
{

View File

@ -427,7 +427,7 @@ class VideoList extends NavbarComponent
}
const videoList = listMap(json).join("");
videoListElement.insertAdjacentHTML("beforeend", videoList + /*html*/`
<li class="more"><a href="${mainUrl}">查看更多</a></li>
<li class="more"><a target="_blank" href="${mainUrl}">查看更多</a></li>
`);
videoListElement.classList.add("loaded");
};