chore: drawer ux

This commit is contained in:
jialin
2024-08-09 10:26:46 +08:00
parent 8490e32ef1
commit 77f38394e6
22 changed files with 547 additions and 150 deletions
@@ -0,0 +1,27 @@
.column-wrapper {
flex: 1;
height: calc(100vh - 85px);
overflow-y: auto;
overflow-x: hidden;
border-left: 1px solid var(--ant-color-split);
}
.column-wrapper-footer {
flex: 1;
position: relative;
border-left: 1px solid var(--ant-color-split);
.column-wrapper {
padding-bottom: 50px;
border-left: none;
}
.footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
z-index: 100;
background-color: var(--color-white-1);
}
}
@@ -24,6 +24,7 @@
padding: 2px 4px;
border-radius: 4px;
font-size: 12px;
height: 20px;
border: 1px solid var(--ant-color-border);
color: var(--ant-color-text-secondary);
}
@@ -33,3 +34,7 @@
justify-content: flex-end;
}
}
.wrapper {
padding: 16px 20px;
}
+28
View File
@@ -0,0 +1,28 @@
.model-card-wrap {
display: flex;
flex-direction: column;
padding: 10px;
border: 1px solid var(--ant-color-border);
border-radius: var(--border-radius-base);
.title {
margin-bottom: 10px;
}
.tag-item {
display: flex;
align-items: center;
justify-content: center;
padding: 2px 4px;
border-radius: 4px;
font-size: 12px;
height: 20px;
border: 1px solid var(--ant-color-border);
color: var(--ant-color-text-secondary);
}
.btn {
display: flex;
justify-content: flex-end;
}
}
+23 -7
View File
@@ -1,19 +1,35 @@
.search-result-wrap {
background-color: rgba(255, 255, 255, 100%);
padding: 16px;
padding: 16px 20px;
border-radius: 0 0 var(--border-radius-base) var(--border-radius-base);
overflow-y: auto;
}
.search-bar {
display: flex;
// position: absolute;
position: sticky;
top: 0;
z-index: 100;
left: 0;
right: 0;
padding: 20px;
background: #fff;
// border-bottom: 1px solid var(--ant-color-split);
padding-inline: 20px;
background: var(--color-white-1);
border-bottom: 1px solid var(--ant-color-split);
// box-shadow: 0 1px 2px rgba(5, 5, 5, 5%);
padding-top: 0;
padding-bottom: 16px;
.filter {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 16px;
color: var(--ant-color-text-tertiary);
:global {
.value {
color: var(--ant-color-text);
margin-right: 6px;
font-weight: var(--font-weight-bold);
}
}
}
}
@@ -0,0 +1,12 @@
.h3 {
position: sticky;
top: 0;
z-index: 100;
display: flex;
justify-content: space-between;
font-size: 14px;
padding: 16px 20px;
padding-top: 0;
margin-bottom: 0;
background-color: var(--color-white-1);
}