From c2eafdf513b9d84a6b73ee7e721077048efa7cfb Mon Sep 17 00:00:00 2001 From: wangzhiming <1115712903@qq.com> Date: Tue, 6 May 2025 17:59:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20static?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/style.css | 112 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 static/style.css diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..6d20aef --- /dev/null +++ b/static/style.css @@ -0,0 +1,112 @@ +body { + font-family: 'Microsoft YaHei', sans-serif; + background-color: #f5f5f5; + margin: 0; + padding: 20px; + color: #333; +} + +.container { + max-width: 800px; + margin: 0 auto; + background-color: white; + padding: 30px; + border-radius: 8px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); +} + +h1 { + color: #8B4513; + text-align: center; + margin-bottom: 30px; +} + +.input-group { + margin-bottom: 20px; +} + +label { + display: block; + margin-bottom: 8px; + font-weight: bold; +} + +input[type="date"] { + width: 100%; + padding: 10px; + border: 1px solid #ddd; + border-radius: 4px; + font-size: 16px; + margin-bottom: 15px; +} + +button { + background-color: #8B4513; + color: white; + border: none; + padding: 12px 20px; + border-radius: 4px; + cursor: pointer; + font-size: 16px; + width: 100%; + transition: background-color 0.3s; +} + +button:hover { + background-color: #A0522D; +} + +.result-grid { + display: grid; + grid-template-columns: 1fr; + gap: 15px; + margin-top: 20px; +} + +.result-item { + display: flex; + justify-content: space-between; + padding-bottom: 10px; + border-bottom: 1px dashed #ddd; +} + +.label { + font-weight: bold; + color: #8B4513; +} + +.value { + text-align: right; +} + +.hidden { + display: none; +} + +.error { + color: #d9534f; + padding: 10px; + background-color: #f8d7da; + border-radius: 4px; + margin-top: 20px; +} + +.loading { + text-align: center; + margin: 20px 0; +} + +.spinner { + border: 4px solid rgba(0, 0, 0, 0.1); + border-radius: 50%; + border-top: 4px solid #8B4513; + width: 40px; + height: 40px; + animation: spin 1s linear infinite; + margin: 0 auto 15px; +} + +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +} \ No newline at end of file