+ + 等比数列 首项:项数:公比: +
+ + 字母变化 从:到: +
From 8a556bad79cb438827010a1116b631b0b1196d95 Mon Sep 17 00:00:00 2001 From: Frost-ZX <30585462+Frost-ZX@users.noreply.github.com> Date: Mon, 23 Sep 2019 23:56:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E2=80=9C=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E2=80=9D=E9=A1=B5=E9=9D=A2=EF=BC=88=E6=9C=AA=E5=AE=8C=E6=88=90?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/css/style.css | 31 +++++++++++ docs/css/tool.css | 129 +++++++++++++++++++++++++++++++++++++++++++++ docs/index.html | 22 ++++++++ docs/js/tool.js | 16 ++++++ docs/tool.html | 41 ++++++++++++++ 5 files changed, 239 insertions(+) create mode 100644 docs/css/tool.css create mode 100644 docs/js/tool.js create mode 100644 docs/tool.html diff --git a/docs/css/style.css b/docs/css/style.css index ddc3b5a..bdfbcdb 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -220,6 +220,37 @@ footer img { border-radius: 0; } +/* 工具面板 */ + +.tool-panel { + position: fixed; + left: 0; + bottom: 0; +} + +.tool-panel-bar { + height: 5vh; + background-color: #F5F5F5; +} + +.tool-panel-close { + position: absolute; + top: 0; + right: 8px; + height: 5vh; + width: 5vh; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); + background-color: #4CAF50; +} + +.tool-panel-iframe { +} + +.tool-panel-iframe iframe { + height: 95vh; + width: 100vw; +} + /* 链接的图标 */ /* diff --git a/docs/css/tool.css b/docs/css/tool.css new file mode 100644 index 0000000..ce50889 --- /dev/null +++ b/docs/css/tool.css @@ -0,0 +1,129 @@ +@charset "UTF-8"; + +* { + margin: 0; + padding: 0; +} + +body { + background-color: #F5F5F5; +} + +/* 滚动条 */ + +::-webkit-scrollbar { + height: 8px; + width: 8px; +} +::-webkit-scrollbar-thumb { + background: #999; + border-radius: 0; +} +::-webkit-scrollbar-track { + background: #eee; + border-radius: 0; +} + +/* 选中 */ + +::selection { + background:#03A9F4; + color:#FFF; +} +::-moz-selection { + background:#03A9F4; + color:#FFF; +} +::-webkit-selection { + background:#03A9F4; + color:#FFF; +} + +/* 主要 */ + +.main { + margin: 0 auto; + width: 90%; + max-width: 400px; +} + +.main > div { + margin: 20px 0; + padding: 15px; + box-sizing: border-box; + width: 100%; + background-color: #FFF; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + +.main > div header { + margin-bottom: 10px; + text-align: center; + font-size: 20px; + font-weight: bold; +} + +.main > div textarea { + padding: 5px; + box-sizing: border-box; + border: 1px solid #03A9F4; + font-size: 16px; + box-shadow: 0 0 5px rgba(3, 169, 244, 0.2); +} + +.tool-button { + display: inline-block; + user-select: none; + padding: 5px 10px; + background-color: #03A9F4; + text-align: center; + font-size: 14px; + color: #FFF; + border-radius: 5px; + box-shadow: 2px 2px 5px rgba(3, 169, 244, 0.4); +} + +.tool-button:hover { + background-color: #2196F3; +} + +/* 计算 */ + +.tool-calculate textarea { + width: 100%; + resize: none; +} + +.tool-calculate-tofixed { + width: 20px; + font-size: 14px; +} + +.tool-calculate .tool-button { + margin: 5px 5px 2px 0; +} + +/* 生成批量下载链接 */ + +.tool-genlink-link input { + margin-bottom: 10px; + height: 20px; + width: 80%; +} + +.tool-genlink-settings { + font-size: 14px; +} + +.tool-genlink .tool-button { + position: relative; + left: 50%; + margin-bottom: 10px; + transform: translateX(-50%); +} + +.tool-genlink textarea { + width: 100%; + resize: none; + font-size: 14px; +} diff --git a/docs/index.html b/docs/index.html index 561bbbe..27a73a8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -518,6 +518,17 @@