Files
lingji-work-fe/src/views/agent/index/style.scss
2025-08-04 11:42:24 +08:00

139 lines
2.6 KiB
SCSS

.agent-wrap {
border-radius: 4px;
.ant-card-cover img {
height: 150px;
object-fit: cover;
}
.grid-demo {
&:not(:last-child) {
margin-bottom: 16px;
}
}
.span-title {
color: var(--Text-2, #3C4043);
font-size: 16px;
font-family: $font-family-medium;
font-weight: 400;
line-height: 24px;
word-wrap: break-word;
}
.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;
}
.card-image {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.card-content {
flex: 1;
// overflow: hidden;
.card-title {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
:deep(.card-title) {
color: var(--Text-1, #211f24);
font-size: 16px;
font-family: $font-family-medium;
font-weight: 400;
line-height: 24px;
word-wrap: break-word;
}
:deep(.card-description) {
color: var(--Text-3, #737478);
font-size: 14px;
font-family: $font-family-regular;
font-weight: 400;
line-height: 22px;
word-wrap: break-word;
}
:deep(.arco-input-wrapper) {
&.arco-textarea-wrapper {
height: 60px;
}
.arco-input-prefix {
padding-right: 4px;
}
}
.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-text {
font-size: 12px;
font-family: $font-family-medium;
font-weight: 400;
line-height: 20px;
}
}
.blue-tag {
.status-text {
color: var(--Functional-Blue-6, #6D4CFE);
}
}
.red-tag {
.status-text {
color: var(--Functional-Red-6, #F64B31);
}
}
.usage-info {
display: flex;
justify-content: flex-start;
align-items: center;
.usage-count,
.usage-label {
color: var(--Text-3, #737478);
font-size: 12px;
font-family: $font-family-regular;
font-weight: 400;
line-height: 20px;
}
.usage-count {
font-family: $font-family-manrope-regular;
}
}
}
}