mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1166,11 +1166,10 @@
|
||||
}
|
||||
}
|
||||
.thumbnail {
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
width: 210px;
|
||||
height: 140px;
|
||||
min-width: 210px;
|
||||
min-height: 140px;
|
||||
margin-right: 15px;
|
||||
overflow: hidden;
|
||||
img {
|
||||
@@ -1308,11 +1307,10 @@
|
||||
border-bottom: none;
|
||||
}
|
||||
.thumbnail {
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
width: 210px;
|
||||
height: 140px;
|
||||
min-width: 210px;
|
||||
min-height: 140px;
|
||||
margin-right: 15px;
|
||||
background: var(--classD);
|
||||
animation: list_thumbnail_loading 0.5s infinite alternate;
|
||||
@@ -1500,7 +1498,7 @@
|
||||
color: var(--main);
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 18px;
|
||||
position: relative;
|
||||
}
|
||||
h1 {
|
||||
@@ -1585,15 +1583,15 @@
|
||||
border: none;
|
||||
height: 1px;
|
||||
background-color: var(--classB);
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
p {
|
||||
line-height: 26px;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
blockquote {
|
||||
line-height: 26px;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 18px;
|
||||
background: #ecf8ff;
|
||||
border-left: 5px solid #50bfff;
|
||||
color: #50bfff;
|
||||
@@ -1649,17 +1647,19 @@
|
||||
}
|
||||
pre[class*='language-'] {
|
||||
position: relative;
|
||||
margin: 0 0 15px;
|
||||
margin: 0 0 18px;
|
||||
padding: 30px 0 0;
|
||||
border-radius: var(--radius-inner);
|
||||
font-size: 14px;
|
||||
overflow: hidden !important;
|
||||
border-radius: var(--radius-inner);
|
||||
overflow: hidden;
|
||||
code[class*='language-'] {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
overflow: auto;
|
||||
max-height: 500px;
|
||||
overflow-y: auto;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
padding: 0 15px 12px;
|
||||
border-radius: var(--radius-inner);
|
||||
}
|
||||
&::after {
|
||||
content: '';
|
||||
@@ -1715,8 +1715,8 @@
|
||||
}
|
||||
ol,
|
||||
ul {
|
||||
margin-bottom: 15px;
|
||||
padding: 0 30px;
|
||||
margin-bottom: 18px;
|
||||
padding-left: 36px;
|
||||
li {
|
||||
line-height: 26px;
|
||||
}
|
||||
@@ -1732,7 +1732,7 @@
|
||||
max-width: 100%;
|
||||
table-layout: fixed;
|
||||
color: var(--minor);
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 18px;
|
||||
font-size: 13px;
|
||||
border-top: 1px solid var(--classC);
|
||||
border-left: 1px solid var(--classC);
|
||||
@@ -1783,7 +1783,7 @@
|
||||
justify-content: center;
|
||||
background: repeating-linear-gradient(145deg, var(--classB), var(--classB) 15px, var(--background) 0, var(--background) 30px);
|
||||
padding: 20px 0;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 18px;
|
||||
.contain {
|
||||
position: relative;
|
||||
box-shadow: var(--box-shadow);
|
||||
@@ -2050,7 +2050,7 @@
|
||||
user-select: none;
|
||||
}
|
||||
&-video {
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 18px;
|
||||
.play,
|
||||
.episodes {
|
||||
position: relative;
|
||||
@@ -2133,17 +2133,16 @@
|
||||
max-width: 450px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.plyr--audio{
|
||||
.plyr--audio {
|
||||
box-shadow: var(--box-shadow);
|
||||
background: var(--classD);
|
||||
border-radius: 26px;
|
||||
padding: 0 5px;
|
||||
--plyr-audio-control-color: var(--routine);
|
||||
.plyr__controls{
|
||||
.plyr__controls {
|
||||
background: var(--classD);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
&__agree {
|
||||
@@ -2194,20 +2193,18 @@
|
||||
padding: 15px;
|
||||
border-radius: var(--radius-inner);
|
||||
.item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--minor);
|
||||
white-space: nowrap;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 5px;
|
||||
word-break: break-all;
|
||||
line-height: 22px;
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
min-width: 20px;
|
||||
min-height: 20px;
|
||||
margin-right: 5px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 3px;
|
||||
vertical-align: -4px;
|
||||
}
|
||||
.link {
|
||||
color: var(--minor);
|
||||
@@ -2215,11 +2212,6 @@
|
||||
color: var(--theme);
|
||||
}
|
||||
}
|
||||
.text {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
html{--theme: #409eff;--background: #fff;--main: #303133;--routine: #606266;--minor: #909399;--seat: #c0c4cc;--classA: #dcdfe6;--classB: #e4e7ed;--classC: #ebeef5;--classD: #f2f6fc;--radius-wrap: 8px;--radius-inner: 4px;--text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);--box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.22)}html[data-night='night'] body{--theme: #54b5db;--background: #333;--main: #717273;--routine: #696969;--minor: #606060;--seat: #666;--classA: #515253;--classB: #454545;--classC: #414243;--classD: #404040;--text-shadow: none;--box-shadow: none}html[data-night='night'] body::before{background:#121212;z-index:-500}html[data-night='night'] .joe_header__above-logo img{display:none}html[data-night='night'] .joe_header__above-logo svg{display:block}
|
||||
html{--theme: #409eff;--background: #fff;--main: #303133;--routine: #606266;--minor: #909399;--seat: #c0c4cc;--classA: #dcdfe6;--classB: #e4e7ed;--classC: #ebeef5;--classD: #f2f6fc;--radius-wrap: 8px;--radius-inner: 4px;--text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);--box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.22)}html[data-night='night'] body{--theme: #54b5db;--background: #232323;--main: #999;--routine: #888;--minor: #777;--seat: #666;--classA: #515253;--classB: #454545;--classC: #414243;--classD: #303030;--text-shadow: none;--box-shadow: none}html[data-night='night'] body::before{background:#121212;z-index:-500}html[data-night='night'] .joe_header__above-logo img{display:none}html[data-night='night'] .joe_header__above-logo svg{display:block}html[data-night='night'] .joe_detail__article-video .episodes .box .item:not(.active){background:var(--classC)}html[data-night='night'] .joe_detail__article blockquote{background:var(--classD);color:var(--routine);border-color:var(--classA)}html[data-night='night'] .joe_detail__article code{background:#fdf0ec38;color:#a6aba8}html[data-night='night'] .joe_detail__article pre code{background:none;color:unset}html[data-night='night'] .joe_detail__article-anote{color:#ffffff9c}html[data-night='night'] .joe_detail__article-abtn{color:#ffffff9c}
|
||||
|
||||
@@ -20,15 +20,15 @@ html {
|
||||
/* 黑夜模式的配色方案 */
|
||||
html[data-night='night'] body {
|
||||
--theme: #54b5db;
|
||||
--background: #333;
|
||||
--main: #717273;
|
||||
--routine: #696969;
|
||||
--minor: #606060;
|
||||
--background: #232323;
|
||||
--main: #999;
|
||||
--routine: #888;
|
||||
--minor: #777;
|
||||
--seat: #666;
|
||||
--classA: #515253;
|
||||
--classB: #454545;
|
||||
--classC: #414243;
|
||||
--classD: #404040;
|
||||
--classD: #303030;
|
||||
--text-shadow: none;
|
||||
--box-shadow: none;
|
||||
}
|
||||
@@ -47,4 +47,26 @@ html[data-night='night'] {
|
||||
display: block;
|
||||
}
|
||||
/* 自定义的样式,写在这个下面 */
|
||||
.joe_detail__article-video .episodes .box .item:not(.active) {
|
||||
background: var(--classC);
|
||||
}
|
||||
.joe_detail__article blockquote {
|
||||
background: var(--classD);
|
||||
color: var(--routine);
|
||||
border-color: var(--classA);
|
||||
}
|
||||
.joe_detail__article code {
|
||||
background: #fdf0ec38;
|
||||
color: #a6aba8;
|
||||
}
|
||||
.joe_detail__article pre code {
|
||||
background: none;
|
||||
color: unset;
|
||||
}
|
||||
.joe_detail__article-anote {
|
||||
color: #ffffff9c;
|
||||
}
|
||||
.joe_detail__article-abtn {
|
||||
color: #ffffff9c;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,354 +1,351 @@
|
||||
.joe_video {
|
||||
&__contain {
|
||||
position: relative;
|
||||
background: var(--background);
|
||||
border-radius: var(--radius-wrap);
|
||||
box-shadow: var(--box-shadow);
|
||||
padding: 60px 15px 15px;
|
||||
&-title {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: -10px;
|
||||
background: var(--theme);
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
box-shadow: 2px 5px 10px rgba(49, 58, 70, 0.15);
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
padding: 0 12px;
|
||||
border-radius: 2px 2px 2px 0;
|
||||
user-select: none;
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
left: -10px;
|
||||
border-style: solid;
|
||||
border-width: 10px;
|
||||
border-color: var(--theme) transparent transparent;
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
&__type {
|
||||
margin-bottom: 15px;
|
||||
&-list {
|
||||
display: grid;
|
||||
gap: 15px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
||||
border-top: 1px solid var(--classC);
|
||||
padding-top: 15px;
|
||||
.item {
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
background: var(--classD);
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
border-radius: 14px;
|
||||
cursor: pointer;
|
||||
color: var(--routine);
|
||||
font-size: 12px;
|
||||
padding: 0 15px;
|
||||
text-align: center;
|
||||
transition: color 0.35s, background 0.35s, box-shadow 0.35s, transform 0.35s;
|
||||
&.active {
|
||||
transform: translateY(-2px);
|
||||
color: #fff;
|
||||
background: var(--theme);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
}
|
||||
.error {
|
||||
text-align: center;
|
||||
color: var(--routine);
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
&__list {
|
||||
&-item {
|
||||
display: grid;
|
||||
gap: 15px;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
border-top: 1px solid var(--classC);
|
||||
padding-top: 15px;
|
||||
.item {
|
||||
position: relative;
|
||||
&__contain {
|
||||
position: relative;
|
||||
background: var(--background);
|
||||
border-radius: var(--radius-wrap);
|
||||
box-shadow: var(--box-shadow);
|
||||
padding: 60px 15px 15px;
|
||||
&-title {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: -10px;
|
||||
background: var(--theme);
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
box-shadow: 2px 5px 10px rgba(49, 58, 70, 0.15);
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
padding: 0 12px;
|
||||
border-radius: 2px 2px 2px 0;
|
||||
user-select: none;
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
left: -10px;
|
||||
border-style: solid;
|
||||
border-width: 10px;
|
||||
border-color: var(--theme) transparent transparent;
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
&__type {
|
||||
margin-bottom: 15px;
|
||||
&-list {
|
||||
display: grid;
|
||||
gap: 15px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
||||
border-top: 1px solid var(--classC);
|
||||
padding-top: 15px;
|
||||
.item {
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
background: var(--classD);
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
border-radius: 14px;
|
||||
cursor: pointer;
|
||||
color: var(--routine);
|
||||
font-size: 12px;
|
||||
padding: 0 15px;
|
||||
text-align: center;
|
||||
transition: color 0.35s, background 0.35s, box-shadow 0.35s, transform 0.35s;
|
||||
&.active {
|
||||
transform: translateY(-2px);
|
||||
color: #fff;
|
||||
background: var(--theme);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
}
|
||||
.error {
|
||||
text-align: center;
|
||||
color: var(--routine);
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
&__list {
|
||||
&-item {
|
||||
display: grid;
|
||||
gap: 15px;
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
border-top: 1px solid var(--classC);
|
||||
padding-top: 15px;
|
||||
.item {
|
||||
position: relative;
|
||||
border-radius: var(--radius-inner);
|
||||
overflow: hidden;
|
||||
.year {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
padding: 2px 5px;
|
||||
border-radius: 2px;
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
background: #ff6800;
|
||||
color: #fff;
|
||||
z-index: 3;
|
||||
}
|
||||
.thumb {
|
||||
position: relative;
|
||||
height: 260px;
|
||||
.pic {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
transition: background 0.3s ease-out;
|
||||
z-index: 2;
|
||||
}
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin: -25px 0 0 -25px;
|
||||
opacity: 0;
|
||||
background: url(../img/play.png) no-repeat;
|
||||
transform: scale(2);
|
||||
transition: transform 0.25s ease-out, opacity 0.25s ease-out;
|
||||
z-index: 3;
|
||||
}
|
||||
&:hover {
|
||||
&::before {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
&::after {
|
||||
opacity: 0.8;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
.title {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
padding: 0 10px;
|
||||
text-align: center;
|
||||
color: var(--routine);
|
||||
background: var(--classD);
|
||||
height: 38px;
|
||||
line-height: 38px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
.error {
|
||||
text-align: center;
|
||||
color: var(--minor);
|
||||
}
|
||||
&:empty {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 180px;
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTciIGhlaWdodD0iNTciIHZpZXdCb3g9IjAgMCA1NyA1NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiM0MDllZmYiPg0KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMSkiIHN0cm9rZS13aWR0aD0iMiI+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSI1IiBjeT0iNTAiIHI9IjUiPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN5Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICB2YWx1ZXM9IjUwOzU7NTA7NTAiDQogICAgICAgICAgICAgICAgICAgICBjYWxjTW9kZT0ibGluZWFyIg0KICAgICAgICAgICAgICAgICAgICAgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIC8+DQogICAgICAgICAgICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iY3giDQogICAgICAgICAgICAgICAgICAgICBiZWdpbj0iMHMiIGR1cj0iMi4ycyINCiAgICAgICAgICAgICAgICAgICAgIHZhbHVlcz0iNTsyNzs0OTs1Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSIyNyIgY3k9IjUiIHI9IjUiPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN5Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICBmcm9tPSI1IiB0bz0iNSINCiAgICAgICAgICAgICAgICAgICAgIHZhbHVlcz0iNTs1MDs1MDs1Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN4Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICBmcm9tPSIyNyIgdG89IjI3Ig0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSIyNzs0OTs1OzI3Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSI0OSIgY3k9IjUwIiByPSI1Ij4NCiAgICAgICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJjeSINCiAgICAgICAgICAgICAgICAgICAgIGJlZ2luPSIwcyIgZHVyPSIyLjJzIg0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSI1MDs1MDs1OzUwIg0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN4Ig0KICAgICAgICAgICAgICAgICAgICAgZnJvbT0iNDkiIHRvPSI0OSINCiAgICAgICAgICAgICAgICAgICAgIGJlZ2luPSIwcyIgZHVyPSIyLjJzIg0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSI0OTs1OzI3OzQ5Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
&-search {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.input {
|
||||
width: 180px;
|
||||
height: 30px;
|
||||
padding: 0 12px;
|
||||
color: var(--routine);
|
||||
background: var(--background);
|
||||
border: 1px solid var(--theme);
|
||||
font-size: 12px;
|
||||
}
|
||||
.button {
|
||||
height: 30px;
|
||||
border: none;
|
||||
background: var(--theme);
|
||||
color: #fff;
|
||||
padding: 0 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
&__pagination {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
padding-top: 15px;
|
||||
&-item {
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
margin-left: 5px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
padding: 0 15px;
|
||||
background: var(--background);
|
||||
color: var(--main);
|
||||
border-radius: 2px;
|
||||
transition: background 0.35s, color 0.35s;
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
svg {
|
||||
fill: var(--routine);
|
||||
transition: fill 0.35s;
|
||||
}
|
||||
.next {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
&.active,
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background: var(--theme);
|
||||
svg {
|
||||
fill: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&__detail {
|
||||
margin-bottom: 15px;
|
||||
&-info {
|
||||
display: flex;
|
||||
border-top: 1px solid var(--classC);
|
||||
padding-top: 15px;
|
||||
.thumbnail {
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
width: 180px;
|
||||
height: 240px;
|
||||
margin-right: 15px;
|
||||
border-radius: var(--radius-inner);
|
||||
overflow: hidden;
|
||||
.year {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
padding: 2px 5px;
|
||||
border-radius: 2px;
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
background: #ff6800;
|
||||
color: #fff;
|
||||
z-index: 3;
|
||||
}
|
||||
.thumb {
|
||||
position: relative;
|
||||
height: 220px;
|
||||
.pic {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
transition: background 0.3s ease-out;
|
||||
z-index: 2;
|
||||
}
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin: -25px 0 0 -25px;
|
||||
opacity: 0;
|
||||
background: url(../img/play.png) no-repeat;
|
||||
transform: scale(2);
|
||||
transition: transform 0.25s ease-out, opacity 0.25s ease-out;
|
||||
z-index: 3;
|
||||
}
|
||||
&:hover {
|
||||
&::before {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
&::after {
|
||||
opacity: 0.8;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
.title {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
padding: 0 10px;
|
||||
text-align: center;
|
||||
color: var(--routine);
|
||||
background: var(--classD);
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
.error {
|
||||
text-align: center;
|
||||
color: var(--minor);
|
||||
}
|
||||
&:empty {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 180px;
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTciIGhlaWdodD0iNTciIHZpZXdCb3g9IjAgMCA1NyA1NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiM0MDllZmYiPg0KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMSkiIHN0cm9rZS13aWR0aD0iMiI+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSI1IiBjeT0iNTAiIHI9IjUiPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN5Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICB2YWx1ZXM9IjUwOzU7NTA7NTAiDQogICAgICAgICAgICAgICAgICAgICBjYWxjTW9kZT0ibGluZWFyIg0KICAgICAgICAgICAgICAgICAgICAgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIC8+DQogICAgICAgICAgICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iY3giDQogICAgICAgICAgICAgICAgICAgICBiZWdpbj0iMHMiIGR1cj0iMi4ycyINCiAgICAgICAgICAgICAgICAgICAgIHZhbHVlcz0iNTsyNzs0OTs1Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSIyNyIgY3k9IjUiIHI9IjUiPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN5Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICBmcm9tPSI1IiB0bz0iNSINCiAgICAgICAgICAgICAgICAgICAgIHZhbHVlcz0iNTs1MDs1MDs1Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN4Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICBmcm9tPSIyNyIgdG89IjI3Ig0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSIyNzs0OTs1OzI3Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSI0OSIgY3k9IjUwIiByPSI1Ij4NCiAgICAgICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJjeSINCiAgICAgICAgICAgICAgICAgICAgIGJlZ2luPSIwcyIgZHVyPSIyLjJzIg0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSI1MDs1MDs1OzUwIg0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN4Ig0KICAgICAgICAgICAgICAgICAgICAgZnJvbT0iNDkiIHRvPSI0OSINCiAgICAgICAgICAgICAgICAgICAgIGJlZ2luPSIwcyIgZHVyPSIyLjJzIg0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSI0OTs1OzI3OzQ5Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
&-search {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.input {
|
||||
width: 180px;
|
||||
height: 30px;
|
||||
padding: 0 12px;
|
||||
color: var(--routine);
|
||||
background: var(--background);
|
||||
border: 1px solid var(--theme);
|
||||
font-size: 12px;
|
||||
}
|
||||
.button {
|
||||
height: 30px;
|
||||
border: none;
|
||||
background: var(--theme);
|
||||
color: #fff;
|
||||
padding: 0 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
&__pagination {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
padding-top: 15px;
|
||||
&-item {
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
margin-left: 5px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
padding: 0 15px;
|
||||
background: var(--background);
|
||||
color: var(--main);
|
||||
border-radius: 2px;
|
||||
transition: background 0.35s, color 0.35s;
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
svg {
|
||||
fill: var(--routine);
|
||||
transition: fill 0.35s;
|
||||
}
|
||||
.next {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
&.active,
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background: var(--theme);
|
||||
svg {
|
||||
fill: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&__detail {
|
||||
margin-bottom: 15px;
|
||||
&-info {
|
||||
display: flex;
|
||||
border-top: 1px solid var(--classC);
|
||||
padding-top: 15px;
|
||||
.thumbnail {
|
||||
position: relative;
|
||||
width: 180px;
|
||||
height: 250px;
|
||||
min-width: 180px;
|
||||
min-height: 180px;
|
||||
margin-right: 15px;
|
||||
.pic {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.year {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
padding: 2px 5px;
|
||||
border-radius: 2px;
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
background: #ff6800;
|
||||
color: #fff;
|
||||
z-index: 3;
|
||||
}
|
||||
}
|
||||
.description {
|
||||
overflow: hidden;
|
||||
dt {
|
||||
font-size: 22px;
|
||||
color: var(--main);
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
dd {
|
||||
position: relative;
|
||||
padding-left: 45px;
|
||||
line-height: 24px;
|
||||
margin-bottom: 5px;
|
||||
.muted {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: var(--minor);
|
||||
}
|
||||
.text {
|
||||
word-break: break-all;
|
||||
color: var(--routine);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
/*! autoprefixer: off */
|
||||
-webkit-box-orient: vertical;
|
||||
/* autoprefixer: on */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-height: 48px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.error {
|
||||
color: var(--minor);
|
||||
margin: 0 auto;
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
&__player {
|
||||
margin-bottom: 15px;
|
||||
&-play {
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
background: #000;
|
||||
}
|
||||
}
|
||||
&__source {
|
||||
margin-bottom: 15px;
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
&-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 15px;
|
||||
border-top: 1px solid var(--classC);
|
||||
padding-top: 15px;
|
||||
.item {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border-radius: 15px;
|
||||
background: var(--classD);
|
||||
color: var(--routine);
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
transition: transform 0.35s, box-shadow 0.35s, background 0.35s, color 0.35s;
|
||||
padding: 0 10px;
|
||||
&.active {
|
||||
transform: translateY(-2px);
|
||||
color: #fff;
|
||||
background: var(--theme);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.pic {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.year {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
padding: 2px 5px;
|
||||
border-radius: 2px;
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
background: #ff6800;
|
||||
color: #fff;
|
||||
z-index: 3;
|
||||
}
|
||||
}
|
||||
.description {
|
||||
overflow: hidden;
|
||||
dt {
|
||||
font-size: 22px;
|
||||
color: var(--main);
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
dd {
|
||||
margin-bottom: 5px;
|
||||
word-break: break-all;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
/*! autoprefixer: off */
|
||||
-webkit-box-orient: vertical;
|
||||
/* autoprefixer: on */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
line-height: 22px;
|
||||
max-height: 44px;
|
||||
.muted {
|
||||
color: var(--minor);
|
||||
}
|
||||
.text {
|
||||
color: var(--routine);
|
||||
}
|
||||
}
|
||||
}
|
||||
.error {
|
||||
color: var(--minor);
|
||||
margin: 0 auto;
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
&__player {
|
||||
margin-bottom: 15px;
|
||||
&-play {
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
background: #000;
|
||||
}
|
||||
}
|
||||
&__source {
|
||||
margin-bottom: 15px;
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
&-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 15px;
|
||||
border-top: 1px solid var(--classC);
|
||||
padding-top: 15px;
|
||||
.item {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border-radius: 15px;
|
||||
background: var(--classD);
|
||||
color: var(--routine);
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
transition: transform 0.35s, box-shadow 0.35s, background 0.35s, color 0.35s;
|
||||
padding: 0 10px;
|
||||
&.active {
|
||||
transform: translateY(-2px);
|
||||
color: #fff;
|
||||
background: var(--theme);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user