diff --git a/课堂点名小程序/课堂随机点名v1.7.html b/课堂点名小程序/课堂随机点名v1.7.html index 6485503..4f7e90e 100644 --- a/课堂点名小程序/课堂随机点名v1.7.html +++ b/课堂点名小程序/课堂随机点名v1.7.html @@ -76,7 +76,7 @@ background: #3498db; color: white; cursor: pointer; - transition: transform 0.2s; + transition: transform 0.2s, background-color 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.1); } @@ -84,6 +84,17 @@ transform: translateY(-2px); background: #2980b9; } + button:disabled { + background: #bdc3c7 !important; /* Ensure high specificity for disabled background */ + cursor: not-allowed; + transform: none; + box-shadow: none; + } + button:disabled:hover { + background: #bdc3c7 !important; /* Keep disabled background on hover */ + transform: none; + } + #speedControl { width: 200px; @@ -110,12 +121,10 @@ .export-btn { background: #27ae60 !important; - margin-top: 10px; } .clear-btn { background: #e74c3c !important; - margin-top: 10px; } .mark-absent-btn { @@ -137,183 +146,229 @@
+ 格式: 每行一人, 学号,姓名,拼音 (例如: 1001,张三,Zhang San)
+ 或 学号,姓名 (例如: 1002,李四)。以 # 开头的行为注释。
+