更新“工具”页面;主页可访问“工具”页面
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
* text #222
|
||||
*/
|
||||
|
||||
/* reset */
|
||||
|
||||
* {
|
||||
border-radius: 0;
|
||||
box-sizing: border-box;
|
||||
@@ -21,8 +19,6 @@
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* global */
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
@@ -223,31 +219,54 @@ footer img {
|
||||
/* 工具面板 */
|
||||
|
||||
.tool-panel {
|
||||
visibility: hidden;
|
||||
z-index: 100;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.tool-panel-bar {
|
||||
height: 5vh;
|
||||
background-color: #F5F5F5;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.tool-panel-newtab, .tool-panel-close {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 32px;
|
||||
width: 64px;
|
||||
box-shadow: -2px 0 10px 0 rgba(0, 0, 0, 0.1);
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.tool-panel-blank {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 32px;
|
||||
width: 100%;
|
||||
background-color: #FFF;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.tool-panel-newtab {
|
||||
right: 72px;
|
||||
background-color: #2196F3;
|
||||
}
|
||||
|
||||
.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;
|
||||
background-color: #F44336;
|
||||
}
|
||||
|
||||
.tool-panel-iframe {
|
||||
}
|
||||
|
||||
.tool-panel-iframe iframe {
|
||||
height: 95vh;
|
||||
height: calc(100vh - 32px);
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
@@ -271,7 +290,7 @@ main section li a:not(.back) {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
font-size: 10vw;
|
||||
font-size: 5vw;
|
||||
transform: translate(-50%, -50%);
|
||||
transition: opacity 1s;
|
||||
}
|
||||
@@ -310,7 +329,7 @@ main section li a:not(.back) {
|
||||
height: 50px;
|
||||
border: none;
|
||||
background-color: #03A9F4;
|
||||
box-shadow: 0 0 5px rgba(3, 169, 244, 0.1);
|
||||
box-shadow: 0 5px 10px -5px rgba(3, 169, 244, 0.4);
|
||||
font-size: 20px;
|
||||
color: #FFF;
|
||||
transition: background 0.2s;
|
||||
@@ -363,6 +382,7 @@ main section li a:not(.back) {
|
||||
/* 悬浮栏 */
|
||||
|
||||
.floating-bar {
|
||||
z-index: 50;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 20px;
|
||||
|
@@ -5,8 +5,14 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 20px 0 50px 0;
|
||||
background-color: #F5F5F5;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* 滚动条 */
|
||||
@@ -52,6 +58,7 @@ body {
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
border-radius: 5px;
|
||||
background-color: #FFF;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
@@ -63,12 +70,21 @@ body {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.main > div input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.main > div textarea {
|
||||
padding: 5px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
border: 1px solid #03A9F4;
|
||||
font-size: 16px;
|
||||
box-shadow: 0 0 5px rgba(3, 169, 244, 0.2);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.main > div textarea:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.tool-button {
|
||||
@@ -81,17 +97,47 @@ body {
|
||||
color: #FFF;
|
||||
border-radius: 5px;
|
||||
box-shadow: 2px 2px 5px rgba(3, 169, 244, 0.4);
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.tool-button:hover {
|
||||
background-color: #2196F3;
|
||||
}
|
||||
|
||||
/* 导航 */
|
||||
|
||||
.tool-nav ul li {
|
||||
display: inline-block;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.tool-nav ul li a {
|
||||
display: block;
|
||||
float: left;
|
||||
padding: 5px 9px;
|
||||
border-radius: 5px;
|
||||
background-color: #4CAF50;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
color: #FFF;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.tool-nav ul li a:hover {
|
||||
background-color: #8BC34A;
|
||||
}
|
||||
|
||||
.tool-nav-link {
|
||||
margin: 0 auto;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* 计算 */
|
||||
|
||||
.tool-calculate textarea {
|
||||
width: 100%;
|
||||
resize: none;
|
||||
resize: vertical;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.tool-calculate-tofixed {
|
||||
@@ -105,25 +151,68 @@ body {
|
||||
|
||||
/* 生成批量下载链接 */
|
||||
|
||||
.tool-genlink hr {
|
||||
height: 0;
|
||||
border: 0.5px solid #EEE;
|
||||
}
|
||||
|
||||
.tool-genlink-link input {
|
||||
margin-bottom: 10px;
|
||||
padding: 0 2px;
|
||||
height: 20px;
|
||||
width: 80%;
|
||||
border: 1px solid #03A9F4;
|
||||
}
|
||||
|
||||
.tool-genlink-settings {
|
||||
user-select: none;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.tool-genlink-settings > div {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.tool-genlink-settings input[type="text"] {
|
||||
width: 25px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.tool-genlink .tool-button {
|
||||
position: relative;
|
||||
left: 50%;
|
||||
margin-bottom: 10px;
|
||||
transform: translateX(-50%);
|
||||
margin: 10px 5px 10px 0;
|
||||
}
|
||||
|
||||
.tool-genlink textarea {
|
||||
width: 100%;
|
||||
resize: none;
|
||||
resize: vertical;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* 运行 JavaScript */
|
||||
|
||||
.tool-runjs textarea {
|
||||
resize: vertical;
|
||||
font-family: monospace;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.tool-runjs .tool-button {
|
||||
margin: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
/* 返回顶部 */
|
||||
|
||||
.to-top {
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
border-radius: 50%;
|
||||
box-shadow: 2px 2px 5px rgba(76, 175, 80, 0.5);
|
||||
background-color: #4CAF50;
|
||||
text-align: center;
|
||||
line-height: 36px;
|
||||
font-size: 20px;
|
||||
color: #FFF;
|
||||
user-select: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user