.muxvideo-assets-page { .muxvideo-container { .inner-container { margin-top: 0; @media screen and (max-width: $asset-list-table-breakpoint) { padding: 0 0 1rem 0; } } } .header-container { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; border-bottom: 0; padding: 0 1rem 0 0; background: $white; @media screen and (max-width: $laptop-large-breakpoint) { grid-template-columns: 100%; margin-right: 0; } &.inner-container{ @media screen and (max-width: $asset-list-table-breakpoint) { padding: 0 1rem 0 0; overflow-x: scroll; } } .tabs-nav { padding-right: 5px; } &__actions{ display: flex; align-items: center; gap: 1rem; &__refresh{ display: flex; opacity: 0.6; cursor: pointer; &:hover{ opacity: 1; } img{ width: 33px; height: 33px; } } } } .btn-primary { font-size: 13px; height: 35px; padding: 0.5rem 1.5rem; min-width: 96px; display: flex; align-items: center; justify-content: center; } .add-captions-button { padding: 6.4px 12px; width: 96px; font-size: 11.2px; height: 32px; font-weight: 400; } } .assets-list { width: 100%; height: 100%; padding-bottom: 3rem; .muxvideo-asset-upload { width: 100%; } &__header { border-bottom: 1px solid #EDEDED; } .header-container { padding: 0 2rem; } &__no-items { display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: $font-size-m; padding: 2rem 0; gap: 1rem; &__img{ width: 80px; height: auto; } } &__item { margin: 0; padding: 0 1rem; height: max-content; border-bottom: 1px solid $putty; opacity: 0; transition: opacity 0.5s ease-in-out; .col.asset-title { word-wrap: break-word; width: 72px; max-width: 72px; white-space: nowrap; text-overflow: ellipsis; field-sizing: content; overflow: hidden; p { word-wrap: break-word; width: 72px; max-width: 72px; white-space: nowrap; text-overflow: ellipsis; field-sizing: content; overflow: hidden; } } .thumbnail-container { transition: all 0.2s ease-in-out; } &:hover { background-color: $grey50; .thumbnail-container { -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -o-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1); } } &.active { height: auto; border: 1px solid $putty; border-top: 0; position: relative; // z-index: 99999; // position: unset; } &.asset-deleted { opacity: 0.45 !important; filter: grayscale(1); pointer-events: none; } &__details { display: grid; grid-template-columns: 49% 49%; max-height: 0; transition: all 0.3s; opacity: 0; // position: relative; &.active { opacity: 1; // max-height: 240px; max-height: 100%; z-index: 999999 !important; } >.col { height: fit-content; &:nth-child(odd) { height: fit-content; border-right: 1px solid $putty; padding-right: 25px; } } >.col-right { padding-left: 15px; height: 92%; } &__title { font-weight: bold; color: #8E8E8E; display: flex; align-items: center; gap: 10px; p { color: $black; margin: 0.5rem 0; font-size: 16px; font-weight: 400; } } &__title-captions { margin-top: 24px; } &__title, &__content { } &__grid { display: grid; grid-template-columns: 40% 60%; margin-bottom: 0.5rem; align-items: center; .col-key { color: #24262B; font-size: 12px; font-weight: 400; } .col-value { word-wrap: break-word; color: #828C97; font-size: 12px; font-weight: 400; input { word-wrap: break-word; color: #828C97 !important; font-size: 12px; font-weight: 400; border: 0; padding: 0; box-shadow: none; width: fit-content; max-width: 180px; text-overflow: ellipsis; field-sizing: content; &::placeholder { color: #828C97; } &:not(:disabled) { background-color: #F0F0F1; color: black !important; caret-color: #0032DB; max-width: 180px; padding: 0 4px; } } .undefined { width: 60px; &::placeholder { font-style: italic; } &.has-value { &::placeholder { font-style: normal; } } &:not(:disabled) { &::placeholder { font-style: normal; } font-style: normal; width: fit-content; max-width: 180px; text-overflow: ellipsis; field-sizing: content; } } .edit-title { &.disabled { display: none; } vertical-align: middle; } .save-title, .skip-title { &.disabled { display: none; } img { width: 16px; height: 16px; } vertical-align: middle; } .edit-title, .save-title, .skip-title { background-color: transparent; border: none; &:hover { cursor: pointer; } } } } &__streamurl { position: relative; display: inline-flex; gap: 10px; margin: 1rem 0; border-radius: 5px; cursor: pointer; width: -webkit-fill-available; p { margin: 0; color: $blue; font-size: 13px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; width: inherit; overflow: hidden; } } } .preview-container { position: relative; border-radius: 5px; display: flex; justify-content: center; align-items: center; mux-player { width: 129px; height: 80px; } .image, svg { display: block; width: 129px; height: 80px; } .overlay { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 129px; opacity: 0; transition: .5s ease; background-color: rgba(0, 0, 0, 0.35); i { color: $white; } } &:hover .overlay { cursor: pointer; opacity: 1; } .text { color: $white; font-size: 20px; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; } } .action-container { display: flex !important; justify-content: end; position: relative; padding-right: 0 !important; .open-actions { margin: 0 6px; padding: 2px; cursor: pointer; border: 0.5px solid $white; display: flex; align-items: center; &:hover { border-color: $grey; } &.active { border-color: $grey; background: $white; } } .btn-details-container { height: 100%; display: flex; align-items: center; padding-left: 15px; border-left: 1px solid $putty; cursor: pointer; transition: transform .5s; a { color: $grey300; transform: rotate(-90deg); transition: all 0.3s; display: flex; align-items: center; &.active { transform: rotate(0deg); } i { font-size: 20px; } } } .action-buttons { cursor: pointer; position: absolute; right: 54px; font-family: 'Inter'; bottom: -53px; display: none; background: $white; box-shadow: 2px 4px 9px rgba(0, 0, 0, 0.06); border: 0.5px solid $grey; z-index: 9999; &.active { display: block; } button { position: relative; z-index: 9999999; width: 100%; color: $characoal; font-size: $font-size-xs; cursor: inherit; padding: 0.5rem; display: inline-flex; align-items: center; gap: 0.5rem; &.delete-asset { color: $red; img { width: 16px; height: 16px; } } &:hover { background: $grey100; } } } img { border-radius: 0; cursor: pointer; } i { color: $grey; cursor: pointer; transition: transform .5s; } .loading-container__asset-list-delete { width: 20%; margin: 0; div { height: 5px; width: 5px; } } } .assets-list__item__details__streamurl { padding-right: 30px; .copied { right: 0; top: -38px; } } .copied { display: inline-flex; gap: 5px; position: absolute; color: rgb(142, 142, 142); opacity: 0; padding: 5px 10px; background: #F1F1F1; transition: opacity 0.3s; border-radius: 50px; top: -23px; width: max-content; right: 0; i { font-size: 16px; display: flex; align-items: center; color: #CACACA; } } } @media screen and (max-width: $asset-list-table-breakpoint) { &__item, &__header{ width: 900px !important; } } .copy-shortcode-container { position: relative; display: inline-flex; align-items: center; gap: 25px; .btn-tertiary { color: $characoal; display: flex; gap: 4px; font-family: 'Inter'; &:hover { background: #F4F4F4; } } .copy-btn { cursor: pointer; &:hover { text-decoration: underline; i { text-decoration: none; } } } } i { font-size: 18px; color: $grey; } img { border-radius: 5px; overflow: visible; } mux-player { overflow: hidden; } &.container { .row { display: grid; grid-template-columns: repeat(7, auto); position: relative; padding: 1rem 0; .col-duration { padding-right: 25px !important; } .col-created { margin: 0 auto !important; padding-right: 0 !important; @media(max-width: 800px) { padding-right: 32px !important; } } .col { padding: 0 15px; display: flex; align-items: center; color: #24262B; font-weight: 400; margin: 0 auto; &.thumbnail-container { overflow: hidden; padding: 0; } .split-datetime { display: grid; text-align: center; grid-template-columns: 1fr; width: 80px; } &.asset-id { overflow: scroll; -ms-overflow-style: none; scrollbar-width: none; &::-webkit-scrollbar { display: none; } p { color: $black; text-overflow: ellipsis; white-space: nowrap; width: 59px; overflow: hidden; font-family: 'Inter'; } } &.asset-status { padding-left: 1rem; } &.status { color: $green; } } &.assets-list__header { display: grid; grid-template-columns: repeat(7, auto); padding-bottom: 10px; gap: 0; margin-left: 1rem; .col { margin: 0 auto } } } } .asset-disabled { .copy-shortcode-container .btn-tertiary { opacity: 0.45; pointer-events: none; } .assets-list__item__details__streamurl { opacity: 0.6; pointer-events: none; } } .captions-loading { .loading-container { margin: 0; width: 68px; } } .loading-container { justify-content: center; margin: 4rem 0 2rem 0; div { height: 12px; width: 12px; } } } #load-more { display: flex; justify-content: center; width: 130px; height: 40px; margin: -1rem auto 0 auto; padding: 0; align-items: center; position: relative; z-index: 9; &:focus{ background-color:$blue; } } .btn-action { margin: 20px 0; } .btn-action a { margin: 10px 0 !important; font-size: 17px !important; } /* Tab content */ .tabs-content { border-top: 1px solid #34495E; padding: 10px; background: #FFF; margin-top: -1px; overflow: hidden; } .rotate-element{ animation: rotation 2s infinite linear; } @keyframes rotation { from { transform: rotate(0deg); } to { transform: rotate(359deg); } } // Captions Container Styles .captions-container { margin: 16px 0; width: 100%; .captions-header { display: flex; justify-content: space-between; font-weight: 400; margin-bottom: 8px; .captions-header-item { color: #24262B; font-size: $font-size-xs; text-transform: uppercase; letter-spacing: 0.5px; &.cc-col { text-align: center; } } } .captions-row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid $grey50; &:first-child { padding-top: 0; } &:last-child { border-bottom: none; } .captions-row-item { color: $grey300; font-size: 12px; font-weight: 400; } } .name-col { min-width: 80px; color: #24262B !important; } .status-col { min-width: 120px; text-align: center; } .language-col { min-width: 100px; text-align: center; } .cc-col { width: 40px; text-align: center; } .options-col { width: 70px; text-align: right; } .caption-status { display: inline-block; border-radius: 3px; font-size: $font-size-xs; &.auto-generated, &.uploaded { background-color: $grey50; color: $grey300; } } .caption-cc { display: flex; justify-content: center; padding-left: 5px; img { width: 16px; height: 16px; &:hover { opacity: 0.8; } } } // For empty state .assets-list__item__details__grid { margin-top: 10px; .col-value { color: $grey200; font-style: italic; } } .test-caption { display: none; } .caption-actions { display: flex; justify-content: flex-end; } .caption-action-link { background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 3px; text-decoration: none; &.copy-caption { img { position: relative; top: 1px; } } &.delete-caption { img { width: 30px; height: 12px; } } &:not([onclick]) { img { width: 30px; height: 12px; } } &:hover { background-color: $grey50; opacity: 0.8; } img { cursor: pointer; width: 30px; height: 12px; } } } .captions-header-actions { display: flex; align-items: center; justify-content: end; gap: 10px; width: 100%; } .captions-pagination { display: flex; justify-content: center; align-items: center; margin-top: 20px; .pagination-arrow, .pagination-page { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; margin: 0 5px; color: $grey800; text-decoration: none; transition: background-color 0.3s; &:hover { background-color: $grey100; } &.active { background-color: $blue; color: $white; } } } // Make captions responsive @media screen and (max-width: $asset-list-table-breakpoint) { .captions-container { .captions-header, .captions-row { width: 100%; } .name-col { min-width: 70px; } .status-col { min-width: 90px; text-align: center; } .language-col { min-width: 90px; text-align: center; } .cc-col, .options-col { min-width: auto; text-align: center; } } } .assets-list-mp4-modal-box { display: none; &.active { display: block; position: absolute; z-index: 10000; top: 0; left: 0; width: 100%; height: 100%; .modal-overlay { position: fixed; z-index: 10; top: 0; left: 0; width: 100%; height: 100%; background: hsla(0, 0%, 0%, 0.25); } .assets-list-mp4-modal { background-color: white; left: 0; margin: 0 auto; padding: 40px; position: absolute; right: 0; top: 250px; width: 395px; z-index: 999; text-align: center; .assets-list-mp4-modal-title { font-size: 24px; font-weight: 400; } .assets-list-mp4-modal-info { font-size: 16px; font-weight: 400; padding: 0 44px; } .mp4-options { display: flex; justify-content: space-around; align-items: center; } .muxmodal-btns { margin-top: 20px; text-align: center; .cancel { border: 1px solid $grey; border-radius: 20px; background-color: transparent; padding: 8px 15px; width: 135px; margin-right: 10px; &:hover { cursor: pointer; } } .enable { border: 1px solid $lightBlue; border-radius: 20px; background-color: $lightBlue; color: white; padding: 8px 15px; width: 135px; margin-left: 10px; &:hover { cursor: pointer; } } } } } } .no-scroll { overflow: hidden; } .check-assets { color: $green; font-weight: 700; text-decoration: underline; &:hover { color: $green; } } .mp4-generation-box { display: flex; align-items: center; justify-content: space-between; } .mp4-generation-status-box { &.inactive { visibility: hidden; height: 0; } display: flex; align-items: end; justify-content: space-between; visibility: visible; margin-bottom: 14px; } .mp4-options-status-box { display: flex; align-items: center; justify-content: space-between; } .mp4-processing-status { color: $grey; font-weight: 400; font-size: 12px; &.failed { color: $red; font-weight: 400; font-size: 12px; } .processing { color: $yellow; font-weight: 400; font-size: 12px; } .ready { color: $grey; font-weight: 400; font-size: 12px; } .failed { color: $red; font-weight: 400; font-size: 12px; } } .mp4-option-text { font-size: 12px; font-weight: 400; color: $grey; } .details-separator { width: 106%; @media(min-width: 1600px) { width: 105%; } } .mp4-status-title { color: #24262B; font-size: 12px; font-weight: 400; text-transform: uppercase; margin-bottom: 8px; } .mp4-options { &.disabled { pointer-events: none; span { color: #D3D3D3 !important; } &::after { filter: invert(82%) sepia(3%) saturate(43%) hue-rotate(4deg) brightness(103%) contrast(95%); } } } .mp4-copy-capped { &.disabled { display: none; } &.processing { pointer-events: none; filter: invert(82%) sepia(3%) saturate(43%) hue-rotate(4deg) brightness(103%) contrast(95%); } } .mp4-copy-audio { &.disabled { display: none; } &.processing { pointer-events: none; filter: invert(82%) sepia(3%) saturate(43%) hue-rotate(4deg) brightness(103%) contrast(95%); } } .mp4-type { h5, div { color: #24262B; font-size: 12px; font-weight: 400; } } .copy-url { img { width: 30px; height: 12px; } &:focus { color: unset; box-shadow: none; } } .assets-list { @media(max-width: 1125px) { width: 100%; overflow-x: auto; overflow-y: hidden; } } .muxvideo-container #load-more { @media(max-width: 1125px) { margin: 1rem auto 0 auto; } } #assets-list { font-family: 'Inter'; p { font-family: 'Inter'; } button { font-family: 'Inter'; } } .load-more-text { font-family: 'Inter'; } .assets-list__header__search { position: relative; &::after { content: ''; background-image: url("../images/search-icon.svg"); background-repeat: no-repeat; height: 16px; width: 16px; position: absolute; right: 20px; bottom: 14px; } } .fst-italic { font-style: italic; }