mirror of
https://github.com/Kakune55/PyGetGPT.git
synced 2025-06-28 15:58:04 +08:00
创建 popup.css
This commit is contained in:
parent
caccd39395
commit
85e62b4ad3
47
src/Web/popup.css
Normal file
47
src/Web/popup.css
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
#popup-container {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
right: -100%;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
#popup {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 100%;
|
||||||
|
width: 20%;
|
||||||
|
min-width: 150px;
|
||||||
|
min-width: 200px;
|
||||||
|
background: white;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#close-popup {
|
||||||
|
position: absolute;
|
||||||
|
top: 10px;
|
||||||
|
right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#dropdown {
|
||||||
|
margin: auto;
|
||||||
|
width: 80%; /* 让<select>元素宽度占满容器 */
|
||||||
|
margin-bottom: 10px; /* 添加一些底部间距 */
|
||||||
|
}
|
||||||
|
|
||||||
|
#buttons {
|
||||||
|
margin: auto;
|
||||||
|
width: 50%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column; /* 设置按钮垂直排列 */
|
||||||
|
}
|
||||||
|
|
||||||
|
#buttons button {
|
||||||
|
margin: 10px 0; /* 添加按钮之间的垂直间距 */
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user