From 00e2c0f63eae483dd765536b153c36ccdde7e7da Mon Sep 17 00:00:00 2001 From: Roderick Qiu Date: Sat, 6 Apr 2019 16:22:47 +0800 Subject: [PATCH] Features added. --- index.html | 102 ++++++++----------------------------- index.js | 2 - package-lock.json | 2 +- package.json | 4 +- settings.html | 126 ++++++++++++++++++++++++++++++++++++++++++++++ style.css | 12 ++++- 6 files changed, 160 insertions(+), 88 deletions(-) create mode 100644 settings.html diff --git a/index.html b/index.html index 2ac004f..b21e42b 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - FlowerPassword + 花密 @@ -20,27 +20,19 @@
   + class="small flower">   +       - + title="最小化到托盘">   +  




按下Enter键来查看代码

-
-
- -   - -   - -   - -   -
+

diff --git a/index.js b/index.js index 6039f14..b22d847 100644 --- a/index.js +++ b/index.js @@ -15,8 +15,6 @@ function createWindow() { show: false, hasShadow: true, webPreferences: { nodeIntegration: true }, - title: "FlowerPasswordElectron", - icon: "./res/icons/icon.png", backgroundColor: "#fefefe" });// 为跨平台优化 diff --git a/package-lock.json b/package-lock.json index f46057e..175e348 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "flowerpassword-electron", - "version": "0.3.0", + "version": "0.4.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5a1181f..7515def 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flowerpassword-electron", - "version": "0.3.0", + "version": "0.4.0", "description": "A modern cross-platform flowerpassword implement", "main": "index.js", "scripts": { @@ -51,4 +51,4 @@ "icon": "res/icons/icon.png" } } -} +} \ No newline at end of file diff --git a/settings.html b/settings.html new file mode 100644 index 0000000..c4ef03f --- /dev/null +++ b/settings.html @@ -0,0 +1,126 @@ + + + + + 设置 + + + + + + + + + + + + + + +
+
+    +    +   +
+
+
+ 设置 +
+
+ +   + +   +
+ +   + +   +

+ 提交 +
+
+ 版本: + +
+
+
+ + + + \ No newline at end of file diff --git a/style.css b/style.css index bad5c1a..7fe5c21 100644 --- a/style.css +++ b/style.css @@ -13,6 +13,16 @@ html, body{ .flower{ color: #0099cc; } +.flowerbtn{ + background-color: #0099cc; + color: #fefefe; + border: 8px solid transparent; +} +.flowerbtn:hover{ + background-color: #0099ccb0; + color: #fefefe; + text-decoration: none; +} label{ display: inline-block; vertical-align: middle; @@ -55,7 +65,7 @@ input[type="checkbox"]:checked { -webkit-app-region: no-drag;/* let it clickable */ -webkit-user-select: none; } -#settings{ +#versioninfo{ position: fixed; bottom: 5px; font-size: 12px;