From c0b7414b32c9de02781eb521075c67a509d69585 Mon Sep 17 00:00:00 2001 From: Frost-ZX <30585462+Frost-ZX@users.noreply.github.com> Date: Tue, 19 Nov 2019 21:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=8820191119=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++----- dev/css/all.css | 10 ++++++++++ dev/css/index.css | 7 ++++--- dev/index.html | 7 ++++--- dev/js/index.js | 38 +++++++++++++++++++++++++++----------- docs/css/all.css | 10 ++++++++++ docs/css/index.css | 7 ++++--- docs/index.html | 7 ++++--- docs/js/index.min.js | 3 ++- 9 files changed, 70 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index f6398fd..ab491e6 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ ## 简介 -### 名称(可能会更改) +### 名称 - Frost 网址导航 - Frost Site Navigation ### 页面链接 -- [链接一](https://frost-zx.github.io/frost-navigation/) -- [链接二](https://nav.frost-zx.top/) +- [链接一](https://frost-zx.github.io/frost-navigation/)(GitHub Pages) +- [链接二](https://frost-zx.top/)(网站) ### 提交链接 @@ -19,7 +19,7 @@ ### 修正链接 有以下两种方法: -1. 到 [发布页面](https://blog.frost-zx.top/) 的评论区提交。(推荐使用此方法) +1. 到 [发布页面](https://blog.frost-zx.top/website/frost-navigation.html) 的评论区提交。(推荐使用此方法) 2. 到 [Issues](https://github.com/Frost-ZX/frost-navigation/issues) 提交。 ### 离线使用 @@ -28,7 +28,7 @@ ### 自定义 -[下载](https://github.com/Frost-ZX/frost-navigation/archive/master.zip) 后打开 `docs/index.html` 和 `docs/js/script.min.js`(完整文件:`dev/js/script.js`) 根据需要进行修改。 +[下载](https://github.com/Frost-ZX/frost-navigation/archive/master.zip) 后打开 `dev/index.html` 和 `dev/js/script.js` 根据需要进行修改。 ## 第三方资源 diff --git a/dev/css/all.css b/dev/css/all.css index 80a051e..61f2e9f 100644 --- a/dev/css/all.css +++ b/dev/css/all.css @@ -101,3 +101,13 @@ html { transform: rotate(360deg); } } +@keyframes ToolPanelShow { + from { + bottom: -110%; + opacity: 0; + } + to { + bottom: 0; + opacity: 1; + } +} diff --git a/dev/css/index.css b/dev/css/index.css index cdfb2d5..8df3c7c 100644 --- a/dev/css/index.css +++ b/dev/css/index.css @@ -208,13 +208,14 @@ footer p { /* 工具面板 */ .tool-panel { - /* visibility: hidden; */ + display: none; z-index: 100; position: fixed; left: 0; - bottom: -110%; - opacity: 0; + bottom: 0; + opacity: 1; transition: all 0.5s; + animation: ToolPanelShow 0.5s; } .tool-panel-bar { diff --git a/dev/index.html b/dev/index.html index 3cf7978..6c6d278 100644 --- a/dev/index.html +++ b/dev/index.html @@ -428,6 +428,7 @@