Files
gpustack-ui/src/pages/llmodels/style/catalog-item.less
T
2025-11-15 22:37:44 +08:00

117 lines
2.0 KiB
Plaintext

.catalog-item {
height: 150px;
overflow: hidden;
display: flex;
padding: 16px 20px;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
border: 1px solid var(--ant-color-border);
border-radius: var(--border-radius-base);
cursor: pointer;
width: 100%;
.img {
display: flex;
justify-content: center;
align-items: center;
width: 32px;
height: 32px;
border-radius: var(--ant-border-radius);
overflow: hidden;
img {
height: 32px;
object-fit: contain;
}
}
.content {
display: flex;
flex-direction: column;
justify-content: flex-start;
width: 100%;
}
&:hover {
background-color: var(--ant-color-fill-tertiary);
}
&.active {
background-color: var(--ant-color-fill-tertiary);
}
.title {
font-size: var(--font-size-middle);
font-weight: var(--font-weight-500);
display: flex;
align-items: center;
justify-content: flex-start;
gap: 16px;
.name {
flex: 1;
}
}
.desc {
font-size: var(--font-size-small);
color: var(--ant-color-text-tertiary);
width: 100%;
overflow: hidden;
margin-bottom: 12px;
}
.item-footer {
width: 100%;
display: flex;
flex-direction: column;
gap: 16px;
justify-content: flex-start;
align-items: flex-start;
}
.update-time {
color: var(--ant-color-text-tertiary);
font-size: var(--font-size-small);
display: flex;
align-items: center;
gap: 16px;
}
.dot {
width: 3px;
height: 3px;
border-radius: 50%;
background-color: var(--ant-color-text-quaternary);
flex: none;
}
.box {
flex: 1;
overflow: hidden;
}
.tags {
display: flex;
align-items: center;
flex: 1;
width: 100%;
}
.tag-item {
display: flex;
align-items: center;
justify-content: center;
padding: 2px 6px;
border-radius: 4px;
font-size: 12px;
height: 22px;
opacity: 0.7;
}
}
.skelton-wrapper {
width: 100%;
}