Files
unicut/src/pages/editor/components/sources/ai/quickvideo.module.less
T

314 lines
4.8 KiB
Plaintext

.head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.desc {
font-size: 12px;
color: #fff;
line-height: 1.6;
}
.imgGrid {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 12px 0;
}
.imgItem {
position: relative;
width: 104px;
height: 78px;
border-radius: 6px;
overflow: hidden;
border: 1px solid #fff;
background: rgba(255, 255, 255, 0.06);
img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.imgBar {
position: absolute;
left: 0;
right: 0;
bottom: 0;
display: flex;
justify-content: space-between;
padding: 2px 4px;
background: rgba(0, 0, 0, 0.55);
opacity: 0;
transition: opacity 0.15s;
}
&:hover .imgBar {
opacity: 1;
}
.imgAct {
color: #fff;
font-size: 12px;
cursor: pointer;
padding: 0 3px;
}
.imgIdx {
position: absolute;
top: 2px;
left: 2px;
min-width: 16px;
height: 16px;
border-radius: 3px;
background: rgba(0, 0, 0, 0.6);
color: #fff;
font-size: 11px;
line-height: 16px;
text-align: center;
padding: 0 3px;
}
}
.addBox {
width: 104px;
height: 78px;
border: 1px dashed #fff;
border-radius: 6px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #fff;
font-size: 12px;
cursor: pointer;
&:hover {
border-color: #4d7cfe;
color: #4d7cfe;
}
}
.segList {
display: flex;
flex-direction: column;
gap: 8px;
max-height: 320px;
overflow: auto;
padding-right: 4px;
}
.segRow {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 8px;
border: 1px solid #fff;
border-radius: 6px;
background: rgba(255, 255, 255, 0.06);
.segIdx {
flex: 0 0 auto;
width: 22px;
height: 22px;
border-radius: 50%;
background: #4d7cfe;
color: #fff;
font-size: 12px;
line-height: 22px;
text-align: center;
margin-top: 4px;
}
.segBody {
flex: 1;
min-width: 0;
}
.segMeta {
display: flex;
align-items: center;
gap: 8px;
margin-top: 6px;
font-size: 12px;
color: #fff;
}
.segAct {
display: flex;
flex-direction: column;
gap: 4px;
flex: 0 0 auto;
}
}
.formRow {
display: flex;
gap: 16px;
align-items: center;
flex-wrap: wrap;
margin-bottom: 12px;
.label {
font-size: 13px;
color: #fff;
flex: 0 0 auto;
}
}
.summary {
border: 1px solid #fff;
border-radius: 8px;
padding: 12px 14px;
background: rgba(255, 255, 255, 0.06);
font-size: 13px;
line-height: 2;
}
.footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 16px;
}
.total {
font-size: 13px;
color: #fff;
}
/* 画面效果面板(一键出片 第 4 步) */
.fxBox {
border: 1px solid #fff;
border-radius: 8px;
padding: 10px 14px 4px;
margin-bottom: 12px;
background: rgba(255, 255, 255, 0.06);
}
.fxTitle {
font-size: 13px;
font-weight: 600;
color: #fff;
margin-bottom: 10px;
& + .fxTitle {
margin-top: 4px;
}
}
.fxRow {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
margin-bottom: 10px;
.label {
font-size: 13px;
color: #fff;
flex: 0 0 auto;
}
}
.fxTip {
font-size: 12px;
color: #fff;
line-height: 1.7;
margin: 2px 0 8px;
}
/* 素材来源切换 + 文档 / 网址导入(AI 一键出片 第 1 步) */
.modeRow {
display: flex;
align-items: center;
gap: 10px;
margin: 10px 0 12px;
}
.urlRow {
display: flex;
gap: 8px;
align-items: center;
margin-bottom: 12px;
}
.srcBox {
border: 1px dashed #fff;
border-radius: 8px;
padding: 16px 14px;
text-align: center;
color: #fff;
font-size: 13px;
cursor: pointer;
margin-bottom: 12px;
&:hover {
border-color: #4d7cfe;
color: #4d7cfe;
}
}
.srcCard {
border: 1px solid #fff;
border-radius: 8px;
background: rgba(255, 255, 255, 0.06);
padding: 10px 12px;
margin-bottom: 12px;
.srcHead {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
}
.srcName {
flex: 1;
min-width: 0;
font-weight: 600;
color: #fff;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.srcDel {
flex: 0 0 auto;
font-size: 12px;
color: #d4380d;
cursor: pointer;
}
.srcPreview {
margin-top: 6px;
font-size: 12px;
color: #fff;
line-height: 1.6;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
}
/* ===== 作用域限定:仅本弹窗内的 Semi 输入框/下拉/单选 → 白色边框线条 ===== */
.modal {
:global(.semi-input-wrapper) {
border-color: #fff !important;
}
:global(.semi-select-rendered) {
border-color: #fff !important;
}
:global(.semi-radio .semi-radio-inner) {
border-color: #fff;
}
}