blob: 3e35e89d091aea14132e1cded1d52ec9aba647a0 [file] [log] [blame]
刘嘉昕07fee5f2025-06-09 17:18:47 +08001
2
3 /* 表单组样式 */
4 .form-group {
5 margin-bottom: 1rem;
6 }
7
8 .form-label {
9 display: block;
10 margin-bottom: 0.5rem;
11 font-weight: 500;
12 }
13
14 .form-control {
15 width: 100%;
16 padding: 0.5rem;
17 border: 1px solid #ddd;
18 border-radius: 4px;
19 transition: border-color 0.3s;
20 }
21
22 .form-control:focus {
23 outline: none;
24 border-color: #ff8c00;
25 box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
26 }
27
28 /* 提交按钮样式 */
29 .submit-btn {
30 background-color: #ff8c00;
31 color: white;
32 padding: 0.5rem 1rem;
33 border: none;
34 border-radius: 4px;
35 cursor: pointer;
36 font-weight: 500;
37 transition: background-color 0.3s;
38 }
39
40 .submit-btn:hover {
41 background-color: #ff7f00;
42 }
43
44 /* 成功消息样式 */
45 .success-message {
46 margin-top: 1rem;
47 padding: 0.75rem;
48 background-color: #fff3cd;
49 color: #856404;
50 border: 1px solid #ffeeba;
51 border-radius: 4px;
52 }
53
54 /* 表单组样式 */
55 .form-group {
56 margin-bottom: 1.5rem;
57 }
58
59 .form-label {
60 display: block;
61 margin-bottom: 0.5rem;
62 font-weight: 500;
63 }
64
65 .form-control {
66 width: 100%;
67 padding: 0.75rem;
68 border: 1px solid #ddd;
69 border-radius: 8px;
70 transition: border-color 0.3s;
71 font-size: 1rem;
72 }
73
74 .form-control:focus {
75 outline: none;
76 border-color: #ff8c00;
77 box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
78 }
79
80 /* 上传区域样式 */
81 .upload-area {
82 display: flex;
83 flex-direction: column;
84 align-items: center;
85 justify-content: center;
86 transition: all 0.3s;
87 }
88
89 .upload-area:hover {
90 background-color: rgba(255, 140, 0, 0.05);
91 }
92
93 /* 自定义下拉框样式 */
94 .custom-select {
95 width: 100%;
96 padding: 0.75rem 2.5rem 0.75rem 1rem;
97 border: 1px solid #ddd;
98 border-radius: 8px;
99 appearance: none;
100 background-color: white;
101 font-size: 1rem;
102 cursor: pointer;
103 transition: border-color 0.3s;
104 }
105
106 .custom-select:focus {
107 outline: none;
108 border-color: #ff8c00;
109 box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
110 }
111
112 .select-arrow {
113 position: absolute;
114 right: 1rem;
115 top: 50%;
116 transform: translateY(-50%);
117 pointer-events: none;
118 }
119
120 /* 提交按钮样式 */
121 .submit-btn {
122 background-color: #ff8c00;
123 color: white;
124 padding: 0.75rem 2rem;
125 border: none;
126 border-radius: 8px;
127 cursor: pointer;
128 font-weight: 600;
129 font-size: 1rem;
130 transition: background-color 0.3s;
131 display: inline-block;
132 }
133
134 .submit-btn:hover {
135 background-color: #ff7f00;
136 }
137
138 /* 成功消息样式 */
139 .success-message {
140 margin-top: 1.5rem;
141 padding: 0.75rem 1.5rem;
142 background-color: #fff3cd;
143 color: #856404;
144 border: 1px solid #ffeeba;
145 border-radius: 8px;
146 }
147
148 /* 居中布局 */
149 .text-center {
150 text-align: center;
151 }