chore: depoly model ux

This commit is contained in:
jialin
2024-08-09 10:26:46 +08:00
parent a04773d487
commit ab8483fc42
18 changed files with 568 additions and 49 deletions
@@ -0,0 +1,26 @@
.hf-model-item {
height: 80px;
display: flex;
flex-direction: column;
justify-content: space-between;
border: 1px solid var(--ant-color-border);
border-radius: var(--border-radius-base);
padding: 12px;
&:hover {
background-color: var(--color-fill-sider);
}
&.active {
background-color: var(--color-fill-sider);
}
.title {
font-size: var(--font-size-base);
font-weight: var(--font-weight-normal);
}
.info {
color: var(--ant-color-text-tertiary);
}
}
@@ -0,0 +1,26 @@
.search-result-wrap {
background-color: rgba(255, 255, 255, 100%);
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 123px;
padding: 16px;
border-radius: 0 0 var(--border-radius-base) var(--border-radius-base);
box-shadow: inset 0 -10px 10px rgba(5, 5, 5, 10%);
z-index: 100;
overflow-y: auto;
}
.search-bar {
display: flex;
position: absolute;
z-index: 100;
left: 0;
right: 0;
padding: 20px;
background: #fff;
border-bottom: 1px solid var(--ant-color-split);
box-shadow: 0 1px 2px rgba(5, 5, 5, 5%);
padding-top: 0;
}