diff --git a/assets/css/style.css b/assets/css/style.css index a9fce79..31ee953 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -770,4 +770,56 @@ body.dark-mode .beian-divider { padding: 15px 10px; font-size: 0.8rem; } +} + +/* 返回顶部按钮 */ +.back-to-top { + position: fixed; + bottom: 30px; + right: 30px; + width: 45px; + height: 45px; + border-radius: 50%; + background: var(--accent-color, #3498db); + color: white; + border: none; + font-size: 1.5em; + cursor: pointer; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + z-index: 1000; + display: flex; + align-items: center; + justify-content: center; +} + +.back-to-top.show { + opacity: 1; + visibility: visible; +} + +.back-to-top:hover { + transform: translateY(-3px); + box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); + background: #2980b9; +} + +body.dark-mode .back-to-top { + background: #63b3ed; +} + +body.dark-mode .back-to-top:hover { + background: #4299e1; +} + +@media (max-width: 768px) { + .back-to-top { + bottom: 20px; + right: 20px; + width: 40px; + height: 40px; + font-size: 1.3em; + } } \ No newline at end of file diff --git a/assets/css/style_simple.css b/assets/css/style_simple.css index e944ff2..9c3b64e 100644 --- a/assets/css/style_simple.css +++ b/assets/css/style_simple.css @@ -557,4 +557,51 @@ body.dark-mode .download-btn:hover { ::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); +} + +/* 返回顶部按钮 */ +.back-to-top { + position: fixed; + bottom: 30px; + right: 30px; + width: 45px; + height: 45px; + border-radius: 50%; + background: var(--accent-color); + color: white; + border: none; + font-size: 1.5em; + cursor: pointer; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + z-index: 1000; + display: flex; + align-items: center; + justify-content: center; +} + +.back-to-top.show { + opacity: 1; + visibility: visible; +} + +.back-to-top:hover { + transform: translateY(-3px); + box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); +} + +body.dark-mode .back-to-top { + background: #63b3ed; +} + +@media (max-width: 768px) { + .back-to-top { + bottom: 20px; + right: 20px; + width: 40px; + height: 40px; + font-size: 1.3em; + } } \ No newline at end of file diff --git a/assets/css/style_table.css b/assets/css/style_table.css index 295f2fa..cd06fe2 100644 --- a/assets/css/style_table.css +++ b/assets/css/style_table.css @@ -522,4 +522,51 @@ body.dark-mode .download-btn:hover { ::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); +} + +/* 返回顶部按钮 */ +.back-to-top { + position: fixed; + bottom: 30px; + right: 30px; + width: 45px; + height: 45px; + border-radius: 50%; + background: var(--accent-color); + color: white; + border: none; + font-size: 1.5em; + cursor: pointer; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + z-index: 1000; + display: flex; + align-items: center; + justify-content: center; +} + +.back-to-top.show { + opacity: 1; + visibility: visible; +} + +.back-to-top:hover { + transform: translateY(-3px); + box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); +} + +body.dark-mode .back-to-top { + background: #63b3ed; +} + +@media (max-width: 768px) { + .back-to-top { + bottom: 20px; + right: 20px; + width: 40px; + height: 40px; + font-size: 1.3em; + } } \ No newline at end of file diff --git a/assets/db/sechub.db b/assets/db/sechub.db new file mode 100644 index 0000000..d85075f Binary files /dev/null and b/assets/db/sechub.db differ diff --git a/full.php b/full.php index 3d674f3..8851dbd 100644 --- a/full.php +++ b/full.php @@ -387,5 +387,34 @@ try { }); })(); + + + + + \ No newline at end of file diff --git a/index.php b/index.php index 69552ca..a354b45 100644 --- a/index.php +++ b/index.php @@ -339,5 +339,34 @@ try { }); })(); + + + + + diff --git a/table.php b/table.php index 2e8151d..9099e40 100644 --- a/table.php +++ b/table.php @@ -356,5 +356,34 @@ try { }); })(); + + + + +