feat: close #2266 use modal to switch model

This commit is contained in:
Yidadaa
2023-07-06 02:03:31 +08:00
parent b718285125
commit 0373b2c9dd
3 changed files with 103 additions and 13 deletions

View File

@@ -62,6 +62,7 @@
box-shadow: var(--card-shadow);
margin-bottom: 20px;
animation: slide-in ease 0.3s;
background: var(--white);
}
.list .list-item:last-child {
@@ -270,3 +271,34 @@
border: 1px solid var(--primary);
}
}
.selector {
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
&-content {
.list {
overflow: hidden;
.list-item {
cursor: pointer;
background-color: var(--white);
&:hover {
filter: brightness(0.95);
}
&:active {
filter: brightness(0.9);
}
}
}
}
}