You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
403 lines
8.0 KiB
403 lines
8.0 KiB
.main-video {
|
|
background: var(--color-white);
|
|
}
|
|
|
|
.v-page {
|
|
padding-top: calc(var(--header-h) + 2.75rem + 2.5rem);
|
|
padding-bottom: 6.25rem;
|
|
}
|
|
|
|
.v-head {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding-bottom: 2.5rem;
|
|
border-bottom: 1px solid rgb(223, 224, 226);
|
|
}
|
|
.v-head__title {
|
|
margin: 0;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-48);
|
|
font-weight: 400;
|
|
line-height: var(--font-64);
|
|
}
|
|
.v-head__desc {
|
|
margin: 0;
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
}
|
|
|
|
.v-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1.5rem;
|
|
margin-top: 2.75rem;
|
|
margin-bottom: 2.75rem;
|
|
}
|
|
|
|
.v-filter__group {
|
|
position: relative;
|
|
}
|
|
|
|
.v-filter {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
min-height: 3rem;
|
|
padding: 0.75rem 2rem;
|
|
border: 1px solid rgb(223, 224, 226);
|
|
border-radius: 6.25rem;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
cursor: pointer;
|
|
transition: border-color 0.25s ease, color 0.25s ease;
|
|
}
|
|
.v-filter:hover, .v-filter.is-open, .v-filter.is-selected {
|
|
border-color: var(--color-primary);
|
|
color: var(--color-primary);
|
|
}
|
|
.v-filter.is-open .v-filter__chevron {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.v-filter__chevron {
|
|
display: block;
|
|
width: 0.6875rem;
|
|
height: auto;
|
|
transition: transform var(--duration-fast) var(--easing);
|
|
}
|
|
|
|
.v-filter__dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 0.5rem);
|
|
left: 0;
|
|
z-index: 30;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
min-width: 12.5rem;
|
|
padding: 1rem;
|
|
border-radius: 1rem;
|
|
background: var(--color-white);
|
|
box-shadow: 0 0.5rem 1.5rem rgba(46, 53, 58, 0.14);
|
|
}
|
|
.v-filter__dropdown[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.v-filter__dropdown-item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0.625rem 1.25rem;
|
|
border: 0;
|
|
border-radius: 6.25rem;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 400;
|
|
line-height: var(--font-22);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: background 0.25s ease, color 0.25s ease;
|
|
}
|
|
.v-filter__dropdown-item:hover {
|
|
background: rgba(175, 181, 185, 0.12);
|
|
}
|
|
.v-filter__dropdown-item.is-active {
|
|
background: var(--color-primary);
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.v-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 2.5rem;
|
|
margin-bottom: 5rem;
|
|
}
|
|
|
|
.v-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.25rem;
|
|
width: 100%;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
}
|
|
.v-card__media {
|
|
position: relative;
|
|
overflow: hidden;
|
|
aspect-ratio: 16/9;
|
|
border-radius: 1rem;
|
|
background: rgba(175, 181, 185, 0.15);
|
|
}
|
|
.v-card__cover {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform var(--duration-normal) var(--easing);
|
|
}
|
|
.v-card__duration {
|
|
position: absolute;
|
|
left: 1.25rem;
|
|
bottom: 1.25rem;
|
|
z-index: 2;
|
|
padding: 0.375rem 0.5rem 0.375rem 0.5rem;
|
|
border-radius: 0.5rem;
|
|
background: rgba(46, 53, 58, 0.2);
|
|
color: var(--color-white);
|
|
font-family: "D-DIN-PRO", "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-14);
|
|
font-weight: 400;
|
|
line-height: var(--font-18);
|
|
backdrop-filter: blur(0.25rem);
|
|
}
|
|
.v-card__play {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
backdrop-filter: blur(0.375rem);
|
|
opacity: 0;
|
|
transform: translate(-50%, -50%) scale(0.92);
|
|
transition: opacity 0.25s ease, transform 0.25s ease;
|
|
}
|
|
.v-card__play img {
|
|
display: block;
|
|
width: 1rem;
|
|
height: auto;
|
|
margin-left: 0.125rem;
|
|
}
|
|
.v-card__title {
|
|
margin: 0;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-20);
|
|
font-weight: 400;
|
|
line-height: var(--font-28);
|
|
min-height: 3.5rem;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}
|
|
.v-card__date {
|
|
color: var(--color-text-muted);
|
|
font-family: "D-DIN-PRO", "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 400;
|
|
line-height: var(--font-22);
|
|
}
|
|
.v-card:hover .v-card__cover {
|
|
transform: scale(1.04);
|
|
}
|
|
.v-card:hover .v-card__play {
|
|
opacity: 1;
|
|
transform: translate(-50%, -50%) scale(1);
|
|
}
|
|
.v-card:hover .v-card__title {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.v-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 2000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 1.5rem;
|
|
}
|
|
.v-modal[hidden] {
|
|
display: none;
|
|
}
|
|
.v-modal__backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(46, 53, 58, 0.72);
|
|
}
|
|
.v-modal__dialog {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: min(60rem, 100%);
|
|
overflow: hidden;
|
|
border-radius: 1rem;
|
|
background: #000;
|
|
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
|
|
}
|
|
.v-modal__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 1rem 1.25rem;
|
|
background: rgba(0, 0, 0, 0.88);
|
|
}
|
|
.v-modal__title {
|
|
margin: 0;
|
|
min-width: 0;
|
|
color: var(--color-white);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.v-modal__close {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 2.25rem;
|
|
height: 2.25rem;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0.5rem;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
cursor: pointer;
|
|
transition: background var(--duration-fast) var(--easing);
|
|
}
|
|
.v-modal__close img {
|
|
display: block;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}
|
|
.v-modal__close:hover {
|
|
background: rgba(255, 255, 255, 0.22);
|
|
}
|
|
.v-modal__body {
|
|
aspect-ratio: 16/9;
|
|
background: #000;
|
|
}
|
|
.v-modal__video {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
background: #000;
|
|
}
|
|
|
|
@media (max-width: 1439px) {
|
|
.v-page {
|
|
padding-top: calc(var(--header-h) + 40Px);
|
|
padding-bottom: 72Px;
|
|
}
|
|
.v-head {
|
|
gap: 12Px;
|
|
padding-bottom: 28Px;
|
|
}
|
|
.v-head__title {
|
|
font-size: 36Px;
|
|
line-height: 48Px;
|
|
}
|
|
.v-head__desc {
|
|
font-size: 16Px;
|
|
}
|
|
.v-toolbar {
|
|
flex-wrap: wrap;
|
|
gap: 16Px;
|
|
margin-top: 32Px;
|
|
margin-bottom: 32Px;
|
|
}
|
|
.v-filter {
|
|
min-height: 44Px;
|
|
padding: 10Px 24Px;
|
|
font-size: 16Px;
|
|
}
|
|
.v-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 28Px 16Px;
|
|
margin-bottom: 40Px;
|
|
}
|
|
.v-card {
|
|
gap: 12Px;
|
|
}
|
|
.v-card__title {
|
|
font-size: 18Px;
|
|
line-height: 26Px;
|
|
}
|
|
}
|
|
@media (max-width: 992px) {
|
|
.v-toolbar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
.v-filter {
|
|
width: fit-content;
|
|
}
|
|
.v-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
@media (max-width: 576px) {
|
|
.v-page {
|
|
padding-top: calc(var(--header-h) + 24Px);
|
|
padding-bottom: 48Px;
|
|
}
|
|
.v-head {
|
|
gap: 10Px;
|
|
padding-bottom: 20Px;
|
|
}
|
|
.v-head__title {
|
|
font-size: 28Px;
|
|
line-height: 38Px;
|
|
}
|
|
.v-head__desc {
|
|
font-size: 14Px;
|
|
line-height: 22Px;
|
|
}
|
|
.v-toolbar {
|
|
margin-top: 24Px;
|
|
margin-bottom: 24Px;
|
|
}
|
|
.v-filter {
|
|
min-height: 40Px;
|
|
padding: 8Px 16Px;
|
|
font-size: 14Px;
|
|
}
|
|
.v-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 24Px;
|
|
margin-bottom: 32Px;
|
|
}
|
|
.v-card__media {
|
|
border-radius: 12Px;
|
|
}
|
|
.v-card__play {
|
|
width: 48Px;
|
|
height: 48Px;
|
|
}
|
|
.v-card__title {
|
|
font-size: 16Px;
|
|
line-height: 24Px;
|
|
}
|
|
.v-card__date {
|
|
font-size: 14Px;
|
|
}
|
|
}
|