-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
104 lines (92 loc) · 2.01 KB
/
styles.css
File metadata and controls
104 lines (92 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/* 改进的模态框样式 */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
animation: fadeIn 0.2s ease-out;
}
.modal-content {
background-color: white; /* 更改为白色面板 */
border-radius: var(--radius-lg);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
max-width: 600px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
animation: slideIn 0.3s ease-out;
}
.modal-header {
padding: 1.25rem;
background: linear-gradient(135deg, #4a86e8 0%, #b0c4de 100%); /* 更改顶部颜色渐变 */
color: white;
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-header h2 {
font-size: 1.25rem;
font-weight: 500;
}
.close-btn {
font-size: 1.5rem;
cursor: pointer;
background: none;
border: none;
color: white;
width: 1.5rem;
height: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
}
.close-btn:hover {
opacity: 0.8;
}
.modal-body {
padding: 1.5rem;
}
.form-group {
margin-bottom: 1.25rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
color: var(--text-primary);
font-weight: 500;
}
.form-input,
.form-textarea {
width: 100%;
padding: 0.875rem;
border: 2px solid var(--border-color);
border-radius: var(--radius);
background-color: white; /* 更改输入框背景色 */
color: var(--text-primary);
font-size: 1rem;
transition: var(--transition);
font-family: inherit;
}
.form-input:focus,
.form-textarea:focus {
outline: none;
border-color: var(--accent-color);
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.form-textarea {
min-height: 120px;
resize: vertical;
}
.modal-footer {
padding: 1.25rem;
display: flex;
justify-content: flex-end;
gap: 0.75rem;
border-top: 1px solid var(--border-color);
}