保存一下
This commit is contained in:
47
src/core/window/css/window-form.scss
Normal file
47
src/core/window/css/window-form.scss
Normal file
@@ -0,0 +1,47 @@
|
||||
/* 窗体容器 */
|
||||
.window {
|
||||
width: 400px;
|
||||
border: 1px solid #666;
|
||||
box-shadow: 0 0 10px rgba(0,0,0,0.5);
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
/* 标题栏 */
|
||||
.title-bar {
|
||||
color: white;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
user-select: none;
|
||||
|
||||
.window-controls {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
flex-shrink: 0;
|
||||
|
||||
.btn {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
font-size: 24px;
|
||||
color: black;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background-color 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
@apply bg-gray-200;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 窗体内容 */
|
||||
.window-content {
|
||||
padding: 15px;
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
Reference in New Issue
Block a user