全新popiart网站 react项目重构
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.
 
 
 

1694 lines
30 KiB

.folderPanel {
padding: 0;
box-sizing: border-box;
}
.folderPanel__breadcrumb {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
height: 20px;
margin: 0 0 10px;
min-width: 0;
}
.folderPanel__breadcrumbBack {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 20px;
height: 20px;
margin: 0;
padding: 0;
border: none;
background: transparent;
cursor: pointer;
box-sizing: border-box;
}
.folderPanel__breadcrumbBack:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 2px;
}
.folderPanel__breadcrumbBackIcon {
display: block;
width: 20px;
height: 20px;
object-fit: contain;
}
.folderPanel__breadcrumbTrail {
display: flex;
align-items: center;
flex: 1 1 auto;
min-width: 0;
height: 20px;
padding: 0;
overflow: hidden;
font-size: 14px;
font-weight: 400;
line-height: normal;
}
.folderPanel__breadcrumbSegment {
display: inline-flex;
align-items: center;
min-width: 0;
max-width: 100%;
}
.folderPanel__breadcrumbLink {
margin: 0;
padding: 0;
border: none;
background: transparent;
color: #333333;
font-size: 14px;
font-weight: 400;
line-height: normal;
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.folderPanel__breadcrumbLink:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 1px;
border-radius: 2px;
}
.folderPanel__breadcrumbSep {
flex-shrink: 0;
color: #999999;
font-weight: 400;
}
.folderPanel__breadcrumbCurrent {
color: #999999;
font-weight: 400;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.folderPanel__toolbar {
width: auto;
min-width: 0;
max-width: 100%;
align-items: center;
gap: 16px;
flex-shrink: 1;
flex-wrap: nowrap;
justify-content: flex-end;
margin-left: auto;
}
.folderPanel__state {
margin: 48px auto 0;
max-width: 480px;
text-align: center;
color: rgba(0, 0, 0, 0.45);
font-size: 14px;
line-height: 22px;
}
.folderPanel__state_error {
color: #f53f3f;
}
.folderPanel__search {
flex: 0 0 220px;
min-width: 0;
width: 220px;
max-width: 220px;
position: relative;
height: 36px;
box-sizing: border-box;
background: #ffffff;
border: none;
border-radius: 18px;
}
.folderPanel__searchIcon {
position: absolute;
left: 9px;
top: 50%;
transform: translateY(-50%);
width: 20px;
height: 20px;
display: block;
object-fit: contain;
pointer-events: none;
}
.folderPanel__searchInput {
width: 100%;
height: 100%;
box-sizing: border-box;
border: none;
background: transparent;
padding: 4px 20px 4px 33px;
font-size: 14px;
font-weight: 400;
line-height: normal;
color: #333333;
border-radius: 18px;
outline: none;
}
.folderPanel__searchInput::placeholder {
color: #999999;
}
.folderPanel__toolbarActions {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
margin-left: auto;
}
.folderPanel__batchBtn {
width: 99px;
height: 36px;
margin: 0;
padding: 4px;
border: none;
border-radius: 18px;
background: #ffffff;
color: #333333;
font-size: 14px;
font-weight: 400;
line-height: normal;
cursor: pointer;
box-sizing: border-box;
flex-shrink: 0;
}
.folderPanel__batchBtn:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 2px;
}
.folderPanel__batchActions {
width: auto;
min-width: 0;
}
.folderPanel__newTrigger {
flex-shrink: 0;
}
.folderPanel__newBtn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 3px;
width: 99px;
min-width: 99px;
height: 36px;
margin: 0;
padding: 4px 15px;
border: 1px dashed #6f47f5;
border-radius: 18px;
background: #fbf0ff;
color: #333333;
font-size: 14px;
font-weight: 400;
line-height: normal;
cursor: pointer;
box-sizing: border-box;
}
.folderPanel__newBtn:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 2px;
}
.folderPanel__newBtnIcon {
width: 25px;
height: 25px;
display: block;
object-fit: contain;
flex-shrink: 0;
}
.folderPanel__menu {
width: 144px;
padding: 5px;
box-sizing: border-box;
background: #ffffff;
border-radius: 9px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.folderPanel__menuItem {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
height: 37px;
margin: 0;
padding: 0 12px;
border: none;
border-radius: 5px;
background: transparent;
color: #666666;
font-size: 14px;
font-weight: 400;
line-height: normal;
text-align: left;
cursor: pointer;
box-sizing: border-box;
}
.folderPanel__menuItem:hover {
background: #f9f9f9;
}
.folderPanel__newMenu {
width: 221px;
padding: 10px;
border: 0;
border-radius: 26px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.folderPanel__newMenu .folderPanel__menuItem {
width: 100%;
height: 39px;
padding: 5px 20px;
border-radius: 19.5px;
color: #333333;
font-weight: 400;
line-height: 29px;
}
.folderPanel__newMenu .folderPanel__menuItem:hover {
background: #fbf0ff;
color: #6f47f5;
}
.folderPanel__newMenu .folderPanel__menuItem:focus-visible {
outline: 2px solid rgba(111, 71, 245, 0.45);
outline-offset: 2px;
}
.folderPanel__newMenu .folderPanel__menuItem:disabled,
.folderPanel__newMenu .folderPanel__menuItem_disabled {
color: #cccccc;
}
.folderPanel__newMenu .folderPanel__menuItem:disabled:hover,
.folderPanel__newMenu .folderPanel__menuItem_disabled:hover {
background: #ffffff;
color: #cccccc;
}
.folderPanel__menuItem:disabled,
.folderPanel__menuItem_disabled {
color: #cccccc;
cursor: not-allowed;
}
.folderPanel__menuItem:disabled:hover,
.folderPanel__menuItem_disabled:hover {
background: transparent;
}
.folderPanel__menuItem_withArrow {
position: relative;
}
.folderPanel__menuItem_withArrow::after {
content: none;
}
.folderPanel__menuItem_delete {
color: #cc4646;
}
.folderPanel__menuItemArrow {
width: 20px;
height: 20px;
margin-left: auto;
display: block;
object-fit: contain;
flex-shrink: 0;
transform: rotate(-90deg);
}
.folderPanel__menuItemCascade {
position: relative;
}
.folderPanel__cardMenu {
width: 171px;
height: 155px;
padding: 10px;
border-radius: 26px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
gap: 5px;
}
.folderPanel__cardMenu .folderPanel__menuItem {
gap: 5px;
height: 29px;
padding: 5px;
border-radius: 100px;
color: #333333;
}
.folderPanel__cardMenu .folderPanel__menuItem:hover {
background: #fbf0ff;
color: #6f47f5;
}
.folderPanel__cardMenu .folderPanel__menuItem:disabled:hover,
.folderPanel__cardMenu .folderPanel__menuItem_disabled:hover {
background: transparent;
}
.folderPanel__cardMenu .folderPanel__menuItem_delete {
color: #cc4646;
}
.folderPanel__cardMenu .folderPanel__menuItemIcon {
width: 20px;
height: 20px;
}
.folderPanel__menuItemIcon {
width: 17px;
height: 17px;
display: block;
object-fit: contain;
flex-shrink: 0;
}
.folderPanel__grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 219px));
gap: 15px;
margin: 0;
padding: 0;
list-style: none;
}
.folderPanel__card {
width: 219px;
height: 219px;
margin: 0;
padding: 0;
cursor: pointer;
border-radius: 26px;
overflow: hidden;
box-sizing: border-box;
}
.folderPanel__cardFrame {
box-sizing: border-box;
width: 219px;
height: 219px;
border-radius: 9px;
}
.folderPanel__card_folder {
position: relative;
padding: 10px;
background: linear-gradient(45deg, #e8e8e8 0%, #e1d8ed 58.22%, #cbd9eb 100%);
}
.folderPanel__cardCoverWrap {
width: 199px;
height: 142px;
border-radius: 24px;
background: rgba(255, 255, 255, 0.5);
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.folderPanel__cardCover {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.folderPanel__card_assets {
background: #f5f5f5;
padding: 0;
position: relative;
border-radius: 26px;
.folderPanel__assetTile {
width: 100%;
height: 100%;
margin-bottom: 0;
border-radius: 26px;
}
.folderPanel__assetTile .assetGalleryTile__thumb,
.folderPanel__assetTile .assetGalleryTile__poster,
.folderPanel__assetTile .assetGalleryTile__voiceCover {
border-radius: 26px;
}
.folderPanel__cardCheckbox {
position: absolute;
top: 10px;
right: 10px;
z-index: 3;
width: 25px;
height: 25px;
display: block;
object-fit: contain;
pointer-events: none;
}
.folderPanel__image {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
}
.folderPanel__assetVideo {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
}
.folderPanel__assetVideoOverlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 56px;
height: 56px;
transition: opacity 0.2s ease;
pointer-events: none;
}
.folderPanel__assetAudioCover {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: block;
object-fit: cover;
object-position: center;
pointer-events: none;
}
.folderPanel__assetAudioWrap {
position: relative;
width: 100%;
height: 100%;
}
.folderPanel__assetAudioScrim {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.2);
pointer-events: none;
}
.folderPanel__assetAudio {
display: none;
}
.folderPanel__assetAudioCaption {
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: 2;
display: flex;
align-items: center;
gap: 5px;
height: 42px;
padding: 0 13px;
box-sizing: border-box;
border-radius: 0 0 26px 26px;
background: linear-gradient(270deg, #f0f0f0 0%, #d6ceef 100%);
cursor: pointer;
}
.folderPanel__assetAudioCaptionIcon {
flex-shrink: 0;
width: 20px;
height: 20px;
display: block;
object-fit: contain;
}
.folderPanel__assetAudioCaptionIcon_speaker {
display: none;
}
.folderPanel__assetAudioCaptionText {
flex: 1;
min-width: 0;
margin: 0;
overflow: hidden;
color: #666666;
font-size: 14px;
font-weight: 500;
line-height: normal;
text-overflow: ellipsis;
white-space: nowrap;
word-break: break-word;
}
.folderPanel__assetAudioWrap_playing {
.folderPanel__assetAudioCaptionIcon_play {
display: none;
}
.folderPanel__assetAudioCaptionIcon_speaker {
display: block;
}
}
}
.folderPanel__card_assets.folderPanel__card_assets_batch:focus-visible {
outline: none;
box-shadow:
0 0 0 2px #ffffff,
0 0 0 4px #5c3bc7;
}
.folderPanel__card_assets:hover .folderPanel__assetVideoOverlay {
opacity: 0;
}
.folderPanel__cardCover_default {
width: 42px;
height: 42px;
object-fit: contain;
}
.folderPanel__cardFooter {
position: relative;
margin-top: 10px;
min-height: 37px;
padding: 0 24px 0 14px;
box-sizing: border-box;
}
.folderPanel__cardTitle {
margin: 0;
color: #333333;
font-size: 12px;
font-weight: 400;
line-height: normal;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.folderPanel__cardDate {
margin: 1px 0 0;
color: #4f4f4f;
font-size: 10px;
font-weight: 400;
line-height: normal;
}
.folderPanel__cardMoreTrigger {
position: absolute;
right: 4px;
bottom: 5px;
}
.folderPanel__cardMoreBtn {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
margin: 0;
padding: 0;
border: none;
border-radius: 0;
background: transparent;
cursor: pointer;
box-sizing: border-box;
}
.folderPanel__cardMoreBtn:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 2px;
}
.folderPanel__cardMoreIcon {
width: 20px;
height: 20px;
display: block;
object-fit: contain;
}
.folderPanel__createModal {
position: fixed;
inset: 0;
z-index: 3200;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
box-sizing: border-box;
}
.folderPanel__createModalMask {
position: absolute;
inset: 0;
margin: 0;
padding: 0;
border: none;
background: rgba(151, 151, 151, 0.25);
cursor: pointer;
}
.folderPanel__createModalDialog {
position: relative;
width: 670px;
max-width: 100%;
padding: 30px;
box-sizing: border-box;
border-radius: 26px;
background: #ffffff;
}
.folderPanel__createModalClose {
position: absolute;
top: 10px;
right: 10px;
display: flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
margin: 0;
padding: 0;
border: none;
background: transparent;
cursor: pointer;
box-sizing: border-box;
}
.folderPanel__createModalClose img {
display: block;
width: 20px;
height: 20px;
object-fit: contain;
}
.folderPanel__createModalClose:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 2px;
}
.folderPanel__createModalTitle {
margin: 0;
font-size: 24px;
font-weight: 400;
line-height: 22px;
color: #333333;
}
.folderPanel__createModalField {
position: relative;
margin-top: 19px;
width: 100%;
height: 51px;
box-sizing: border-box;
border-radius: 100px;
background: #f0f4f9;
}
.folderPanel__createModalInput {
width: 100%;
height: 100%;
box-sizing: border-box;
border: none;
border-radius: 100px;
background: transparent;
padding: 13px 76px 13px 20px;
font-size: 16px;
font-weight: 400;
line-height: normal;
color: #333333;
outline: none;
}
.folderPanel__createModalInput::placeholder {
color: #999999;
font-weight: 400;
}
.folderPanel__createModalCounter {
position: absolute;
top: 50%;
right: 20px;
transform: translateY(-50%);
font-size: 16px;
font-weight: 400;
line-height: normal;
color: #999999;
pointer-events: none;
}
.folderPanel__createModalActions {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 10px;
margin-top: 20px;
}
.folderPanel__createModalBtn {
width: 109px;
height: 37px;
margin: 0;
padding: 0;
border: 1px solid #999999;
border-radius: 100px;
background: #ffffff;
font-size: 16px;
font-weight: 400;
line-height: normal;
cursor: pointer;
box-sizing: border-box;
color: #999999;
}
.folderPanel__createModalBtn:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 2px;
}
.folderPanel__createModalBtn_cancel {
background: #ffffff;
color: #999999;
}
.folderPanel__createModalBtn_confirm {
border-color: #6f47f5;
background: #6f47f5;
color: #ffffff;
}
.folderPanel__createModalBtn_confirm:disabled {
border-color: #999999;
background: #999999;
cursor: not-allowed;
}
.folderPanel__uploadModal {
position: fixed;
inset: 0;
z-index: 3000;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
box-sizing: border-box;
}
.folderPanel__uploadModalMask {
position: absolute;
inset: 0;
margin: 0;
padding: 0;
border: none;
background: rgba(151, 151, 151, 0.25);
cursor: pointer;
}
.folderPanel__uploadModalDialog {
position: relative;
width: 792px;
max-width: 100%;
padding: 30px;
box-sizing: border-box;
border-radius: 26px;
background: #ffffff;
}
.folderPanel__uploadModalClose {
position: absolute;
top: 10px;
right: 10px;
display: flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
margin: 0;
padding: 0;
border: none;
background: transparent;
cursor: pointer;
box-sizing: border-box;
}
.folderPanel__uploadModalClose img {
display: block;
width: 20px;
height: 20px;
object-fit: contain;
}
.folderPanel__uploadModalClose:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 2px;
}
.folderPanel__uploadModalTitle {
margin: 0;
font-size: 24px;
font-weight: 400;
line-height: 22px;
color: #333333;
}
.folderPanel__uploadModalLocation {
margin-top: 19px;
}
.folderPanel__uploadModalLocationTrigger {
position: relative;
width: 100%;
}
.folderPanel__uploadModalLocationBtn {
display: flex;
align-items: center;
width: 100%;
height: 51px;
margin: 0;
padding: 13px 20px;
border: none;
border-radius: 100px;
background: #f0f4f9;
cursor: pointer;
box-sizing: border-box;
}
.folderPanel__uploadModalLocationBtn:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 2px;
}
.folderPanel__uploadModalLocationText {
flex: 1 1 auto;
min-width: 0;
font-size: 16px;
font-weight: 400;
line-height: normal;
color: #333333;
text-align: left;
}
.folderPanel__uploadModalLocationText_placeholder {
color: #999999;
}
.folderPanel__uploadModalLocationArrow {
width: 24px;
height: 24px;
flex-shrink: 0;
display: block;
object-fit: contain;
transform: rotate(0deg);
}
.folderPanel__uploadModalLocationMenu {
display: flex;
flex-direction: column;
gap: 5px;
width: 310px;
height: 155px;
overflow-x: hidden;
overflow-y: auto;
padding: 10px;
box-sizing: border-box;
background: #ffffff;
border-radius: 26px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.folderPanel__uploadModalLocationMenu::-webkit-scrollbar {
width: 0;
height: 0;
}
.folderPanel__uploadModalLocationCreateBtn {
display: flex;
align-items: center;
gap: 5px;
flex-shrink: 0;
width: 290px;
height: 29px;
margin: 0;
padding: 5px 10px;
box-sizing: border-box;
border: none;
border-radius: 100px;
background: #ffffff;
color: #333333;
cursor: pointer;
}
.folderPanel__uploadModalLocationCreateBtn:hover {
background: #fbf0ff;
}
.folderPanel__uploadModalLocationCreateBtn:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 1px;
}
.folderPanel__uploadModalLocationCreateBtn_disabled {
color: #c1c1c1;
cursor: not-allowed;
}
.folderPanel__uploadModalLocationCreateBtn_disabled:hover {
background: #ffffff;
}
.folderPanel__uploadModalLocationCreateIcon {
display: block;
flex-shrink: 0;
width: 20px;
height: 20px;
object-fit: contain;
}
.folderPanel__uploadModalLocationCreateBtn_disabled .folderPanel__uploadModalLocationCreateIcon {
opacity: 0.45;
}
.folderPanel__uploadModalLocationCreateText {
min-width: 0;
height: 20px;
color: currentColor;
font-size: 14px;
font-weight: 400;
line-height: normal;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.folderPanel__uploadModalLocationTree {
display: flex;
flex-direction: column;
gap: 5px;
flex-shrink: 0;
overflow-x: hidden;
}
.folderPanel__uploadModalLocationTreeNode {
display: block;
}
.folderPanel__uploadModalLocationTreeRow {
display: flex;
align-items: center;
gap: 5px;
width: 290px;
height: 29px;
padding: 5px 10px;
border-radius: 100px;
box-sizing: border-box;
}
.folderPanel__uploadModalLocationTreeRow:hover,
.folderPanel__uploadModalLocationTreeRow_active {
background: #fbf0ff;
}
.folderPanel__uploadModalLocationTreeRow:hover .folderPanel__uploadModalLocationTreeLabel,
.folderPanel__uploadModalLocationTreeRow_active .folderPanel__uploadModalLocationTreeLabel {
color: #6f47f5;
}
.folderPanel__uploadModalLocationTreeExpand {
flex-shrink: 0;
width: 20px;
height: 20px;
margin: 0;
padding: 0;
border: none;
border-radius: 4px;
background-color: transparent;
background-image: url("/src/assets/images/create/folders/ic_folder_move_panel_arrow.png");
background-repeat: no-repeat;
background-position: center;
background-size: 20px 20px;
cursor: pointer;
transition: transform 0.15s ease;
transform: rotate(-90deg);
}
.folderPanel__uploadModalLocationTreeExpand_expanded {
transform: rotate(0deg);
}
.folderPanel__uploadModalLocationTreeExpand:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 1px;
}
.folderPanel__uploadModalLocationTreeExpand_placeholder {
display: none;
}
.folderPanel__uploadModalLocationTreeLabel {
flex: 1 1 auto;
min-width: 0;
height: 20px;
margin: 0;
padding: 0;
border: none;
background: transparent;
font-size: 14px;
font-weight: 400;
line-height: normal;
color: #999999;
text-align: left;
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.folderPanel__uploadModalLocationTreeLabel:focus-visible {
outline: none;
}
.folderPanel__uploadModalLocationTreeRow:focus-within .folderPanel__uploadModalLocationTreeLabel {
color: #6f47f5;
}
.folderPanel__uploadModalLocationTreeChildren {
display: flex;
flex-direction: column;
gap: 5px;
margin-top: 5px;
}
.folderPanel__uploadModalLocationEmpty {
margin: 0;
width: 290px;
height: 29px;
padding: 5px 10px;
box-sizing: border-box;
font-size: 14px;
font-weight: 400;
line-height: normal;
color: #999999;
text-align: left;
}
.folderPanel__uploadModalLocationItem {
display: block;
width: 100%;
height: 37px;
margin: 0;
padding: 0 12px;
border: none;
border-radius: 5px;
background: transparent;
color: #666666;
font-size: 14px;
font-weight: 400;
line-height: 37px;
text-align: left;
cursor: pointer;
box-sizing: border-box;
}
.folderPanel__uploadModalLocationItem_active,
.folderPanel__uploadModalLocationItem:hover {
background: #f9f9f9;
}
.folderPanel__uploadModalDropzone {
position: relative;
margin-top: 10px;
width: 100%;
height: 495px;
padding: 20px;
box-sizing: border-box;
border-radius: 24px;
background: #ffffff;
}
.folderPanel__uploadModalInput {
position: absolute;
width: 0;
height: 0;
opacity: 0;
pointer-events: none;
}
.folderPanel__coverInput {
display: none;
}
.folderPanel__uploadModalGrid {
display: grid;
grid-template-columns: repeat(6, 107px);
gap: 9px 10px;
margin: 0;
padding: 0;
list-style: none;
}
.folderPanel__uploadModalGridItem {
width: 107px;
height: 107px;
margin: 0;
padding: 0;
}
.folderPanel__uploadModalAddBtn {
position: relative;
width: 107px;
height: 107px;
padding: 0;
border: 1px dashed #6f47f5;
border-radius: 20px;
background: #fbf0ff;
cursor: pointer;
box-sizing: border-box;
}
.folderPanel__uploadModalAddBtn:disabled {
cursor: not-allowed;
opacity: 0.6;
}
.folderPanel__uploadModalAddBtn:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 2px;
}
.folderPanel__uploadModalAddSlot {
display: block;
width: 107px;
height: 107px;
object-fit: cover;
border-radius: 20px;
}
.folderPanel__uploadModalAddIcon {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 25px;
height: 25px;
display: block;
object-fit: contain;
pointer-events: none;
}
.folderPanel__uploadModalThumb {
position: relative;
width: 107px;
height: 107px;
border-radius: 20px;
overflow: hidden;
background: #ffffff;
}
.folderPanel__uploadModalDeleteBtn {
position: absolute;
top: 10px;
right: 10px;
z-index: 2;
width: 25px;
height: 25px;
border: none;
background: transparent;
padding: 0;
display: inline-flex;
cursor: pointer;
opacity: 0;
pointer-events: none;
img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
}
.folderPanel__uploadModalThumb:hover .folderPanel__uploadModalDeleteBtn,
.folderPanel__uploadModalUploading:hover .folderPanel__uploadModalDeleteBtn {
opacity: 1;
pointer-events: auto;
}
.folderPanel__uploadModalDeleteBtn:focus-visible {
opacity: 1;
pointer-events: auto;
outline: 2px solid #5c3bc7;
outline-offset: 1px;
}
.folderPanel__uploadModalThumbImage {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.folderPanel__uploadModalThumbImage_audio {
object-fit: contain;
padding: 26px;
box-sizing: border-box;
background: #ffffff;
}
.folderPanel__uploadModalUploading {
position: relative;
display: block;
width: 107px;
height: 107px;
padding: 0;
box-sizing: border-box;
border-radius: 20px;
border: none;
background: transparent;
overflow: hidden;
}
.folderPanel__uploadModalUploadingImage {
width: 107px;
height: 107px;
display: block;
border-radius: 20px;
object-fit: cover;
}
.folderPanel__uploadModalUploadingIcon {
position: absolute;
top: 10px;
right: 10px;
width: 25px;
height: 25px;
display: block;
object-fit: contain;
}
.folderPanel__uploadModalUploadingLabel {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
border: 0;
}
.folderPanel__uploadModalFooter {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-top: 20px;
}
.folderPanel__uploadModalHints {
flex: 1 1 auto;
min-width: 0;
p {
margin: 0;
font-size: 14px;
font-weight: 400;
line-height: 22px;
color: #999999;
}
}
.folderPanel__uploadModalActions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
flex-shrink: 0;
padding-top: 4px;
}
.folderPanel__uploadModalBtn {
width: 109px;
height: 37px;
margin: 0;
padding: 0;
border: 1px solid #999999;
border-radius: 100px;
font-size: 16px;
font-weight: 400;
line-height: normal;
cursor: pointer;
box-sizing: border-box;
}
.folderPanel__uploadModalBtn:focus-visible {
outline: 2px solid #5c3bc7;
outline-offset: 2px;
}
.folderPanel__uploadModalBtn_cancel {
background: #ffffff;
color: #999999;
}
.folderPanel__uploadModalBtn_confirm {
border-color: #6f47f5;
background: #6f47f5;
color: #ffffff;
}
.folderPanel__uploadModalBtn_confirm:disabled {
border-color: #999999;
background: #999999;
cursor: not-allowed;
}
.folderPanel__moveModal {
position: fixed;
inset: 0;
z-index: 3100;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
box-sizing: border-box;
}
.folderPanel__moveModalMask {
position: absolute;
inset: 0;
border: none;
background: rgba(0, 0, 0, 0.35);
cursor: pointer;
}
.folderPanel__moveModalDialog {
position: relative;
width: min(560px, 100%);
max-height: min(680px, calc(100vh - 48px));
overflow-y: auto;
padding: 28px 32px 24px;
box-sizing: border-box;
border-radius: 24px;
background: #ffffff;
}
.folderPanel__moveModalClose {
position: absolute;
top: 18px;
right: 18px;
width: 24px;
height: 24px;
margin: 0;
padding: 0;
border: none;
background: transparent;
cursor: pointer;
}
.folderPanel__moveModalClose img {
display: block;
width: 24px;
height: 24px;
}
.folderPanel__moveModalTitle {
margin: 0;
font-size: 28px;
font-weight: 500;
line-height: 1.4;
color: #333333;
}
.folderPanel__moveModalLabel {
margin: 14px 0 10px;
font-size: 16px;
line-height: 22px;
color: #666666;
}
.folderPanel__moveModalTree {
min-height: 220px;
max-height: 360px;
overflow-y: auto;
border-radius: 12px;
background: #f9f9f9;
padding: 8px 0;
}
.folderPanel__moveModalRootBtn {
display: block;
width: calc(100% - 16px);
height: 37px;
margin: 0 8px 4px;
padding: 0 12px;
border: none;
border-radius: 6px;
background: transparent;
color: #666666;
text-align: left;
cursor: pointer;
}
.folderPanel__moveModalRootBtn:hover,
.folderPanel__moveModalRootBtn_active {
background: #f9f9f9;
color: #666666;
}
.folderPanel__moveModalRootBtn:disabled {
color: #c1c1c1;
cursor: not-allowed;
}
.folderPanel__moveModalTreeNode {
display: block;
}
.folderPanel__moveModalTreeRow {
display: flex;
align-items: center;
gap: 4px;
min-height: 37px;
padding-right: 12px;
}
.folderPanel__moveModalTreeRow:hover,
.folderPanel__moveModalTreeRow_active {
background: #f9f9f9;
}
.folderPanel__moveModalTreeRow_disabled {
opacity: 0.5;
}
.folderPanel__moveModalTreeExpand {
flex-shrink: 0;
width: 20px;
height: 20px;
margin: 0;
padding: 0;
border: none;
border-radius: 4px;
background-color: transparent;
background-image: url("/src/assets/images/create/folders/upload-location-arrow.png");
background-repeat: no-repeat;
background-position: center;
background-size: 14px 14px;
cursor: pointer;
transition: transform 0.15s ease;
transform: rotate(-90deg);
}
.folderPanel__moveModalTreeExpand_expanded {
transform: rotate(0deg);
}
.folderPanel__moveModalTreeExpand_placeholder {
visibility: hidden;
pointer-events: none;
}
.folderPanel__moveModalTreeLabel {
flex: 1 1 auto;
min-width: 0;
margin: 0;
padding: 0;
border: none;
background: transparent;
color: #666666;
text-align: left;
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.folderPanel__moveModalTreeLabel:disabled {
cursor: not-allowed;
}
.folderPanel__moveModalTreeChildren {
display: block;
}
.folderPanel__moveModalEmpty {
margin: 0;
padding: 16px;
text-align: center;
color: #999999;
}
.folderPanel__moveModalError {
margin: 10px 0 0;
color: #f53f3f;
font-size: 13px;
line-height: 20px;
}
.folderPanel__moveModalActions {
display: flex;
justify-content: flex-end;
gap: 10px;
margin-top: 16px;
}
.folderPanel__moveModalBtn {
width: 109px;
height: 37px;
border: none;
border-radius: 9px;
cursor: pointer;
}
.folderPanel__moveModalBtn_cancel {
background: #f0f0f0;
color: #666666;
}
.folderPanel__moveModalBtn_confirm {
background: linear-gradient(90deg, #8a7fae 0%, #5c3bc7 100%);
color: #ffffff;
}
.folderPanel__moveModalBtn_confirm:disabled {
background: #999999;
cursor: not-allowed;
}
@media (max-width: 520px) {
.folderPanel {
padding: 0;
}
.folderPanel__toolbar {
width: 100%;
flex-direction: column;
align-items: stretch;
margin-left: 0;
}
.folderPanel__search {
flex-basis: auto;
width: 100%;
max-width: none;
}
.folderPanel__toolbarActions {
margin-left: 0;
justify-content: flex-end;
}
.folderPanel__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
justify-content: center;
}
.folderPanel__card,
.folderPanel__cardFrame {
width: 100%;
height: auto;
aspect-ratio: 1 / 1;
}
.folderPanel__cardCoverWrap {
width: 100%;
height: calc(100% - 57px);
}
.folderPanel__createModal {
padding: 16px;
}
.folderPanel__createModalDialog {
padding: 24px 20px;
}
.folderPanel__uploadModal {
padding: 16px;
}
.folderPanel__uploadModalDialog {
padding: 24px 20px;
}
.folderPanel__uploadModalGrid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 9px;
}
.folderPanel__uploadModalGridItem,
.folderPanel__uploadModalAddBtn,
.folderPanel__uploadModalAddSlot,
.folderPanel__uploadModalThumb,
.folderPanel__uploadModalUploading,
.folderPanel__uploadModalUploadingImage {
width: 100%;
height: auto;
aspect-ratio: 1 / 1;
}
.folderPanel__uploadModalFooter {
flex-direction: column;
align-items: stretch;
}
.folderPanel__uploadModalActions {
justify-content: flex-end;
}
}