158 lines
3.0 KiB
SCSS
158 lines
3.0 KiB
SCSS
.agent-wrap {
|
|
padding: 24px;
|
|
border-radius: 4px;
|
|
|
|
.ant-card-cover img {
|
|
height: 150px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.span-title {
|
|
color: var(--Text-2, #3C4043);
|
|
font-size: 16px;
|
|
font-family: Alibaba PuHuiTi;
|
|
font-weight: 400;
|
|
line-height: 44px;
|
|
word-wrap: break-word;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.card-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 12px;
|
|
background: var(--BG-White, white);
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
outline: 1px solid var(--BG-300, #e6e6e8);
|
|
outline-offset: -1px;
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
.card-image-container {
|
|
position: relative;
|
|
align-self: stretch;
|
|
height: 120px;
|
|
background: #ffe9e7; /* 可以替换成变量 */
|
|
overflow: hidden;
|
|
border-top-left-radius: 8px;
|
|
border-top-right-radius: 8px;
|
|
}
|
|
|
|
.card-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: -3px;
|
|
position: absolute;
|
|
}
|
|
|
|
.card-content {
|
|
align-self: stretch;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
gap: 4px;
|
|
}
|
|
|
|
.card-title {
|
|
color: var(--Text-1, #211f24);
|
|
font-size: 16px;
|
|
font-family: Alibaba PuHuiTi;
|
|
font-weight: 400;
|
|
line-height: 24px;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.card-description {
|
|
color: var(--Text-3, #737478);
|
|
font-size: 14px;
|
|
font-family: Alibaba PuHuiTi;
|
|
font-weight: 400;
|
|
line-height: 22px;
|
|
word-wrap: break-word;
|
|
}
|
|
:deep(.arco-input-wrapper) {
|
|
border-radius: 4px;
|
|
border-color: #d7d7d9;
|
|
background-color: #fff;
|
|
height: 35px;
|
|
width: 400px;
|
|
|
|
&:focus-within,
|
|
&.arco-input-focus {
|
|
background-color: var(--color-bg-2);
|
|
border-color: rgb(var(--primary-6));
|
|
box-shadow: 0 0 0 0 var(--color-primary-light-2);
|
|
}
|
|
|
|
&.arco-textarea-wrapper {
|
|
height: 60px;
|
|
}
|
|
}
|
|
|
|
.card-footer {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: inline-flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.status-tag {
|
|
height: 20px;
|
|
padding: 0 8px;
|
|
border-radius: 2px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
gap: 4px;
|
|
|
|
.status-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.status-text {
|
|
font-size: 12px;
|
|
font-family: 'Alibaba PuHuiTi', sans-serif;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
|
|
.blue-tag {
|
|
.status-text {
|
|
color: var(--Functional-Blue-6, #007BFF);
|
|
}
|
|
}
|
|
|
|
.red-tag {
|
|
.status-text {
|
|
color: var(--Functional-Red-6, #F64B31);
|
|
}
|
|
}
|
|
|
|
.usage-info {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
gap: 2px;
|
|
|
|
.usage-count,
|
|
.usage-label {
|
|
color: var(--Text-3, #737478);
|
|
font-size: 12px;
|
|
font-family: 'HarmonyOS Sans SC', sans-serif;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|