This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Update manifest to v2. Change style.

Also changes the order of Fill/Show back to Fill being default.
  • Loading branch information...
1 parent bbcbd46 commit 3e19f0d5204a11df3a602b3230c32e5d417d1a26 @dchest committed Jul 29, 2012
Showing with 631 additions and 555 deletions.
  1. BIN icon.png
  2. +5 −3 manifest.json
  3. +96 −0 popup.css
  4. +28 −552 popup.html
  5. +502 −0 popup.js
View
BIN icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -1,7 +1,8 @@
{
"name": "CryptoPass",
- "description" : "Generate different passwords from single master password using cryptographically strong method (PBKDF2 with SHA-256).",
"version": "1.3",
+ "manifest_version": 2,
+ "description" : "Generate different passwords from single master password using cryptographically strong method (PBKDF2 with SHA-256).",
"icons": {
"128": "icon_128.png",
"64": "icon_64.png"
@@ -12,7 +13,8 @@
"browser_action": {
"default_title": "CryptoPass",
"default_icon": "icon.png",
- "popup": "popup.html"
- }
+ "default_popup": "popup.html"
+ },
+ "content_security_policy": "default-src 'self'"
}
View
@@ -0,0 +1,96 @@
+body {
+ font: 10pt "Lucida Grande", Helvetica, Arial, sans-serif;
+ width: 350px;
+ border-radius: 10px;
+ color: #303942;
+ margin-right: 20px;
+}
+table {
+ margin: 0;
+ width: 100%;
+}
+.label {
+ text-align: right;
+ padding-right: 5px;
+}
+#secret, #url, #username, #result {
+ width: 100%;
+}
+.length, #length {
+ font-size: 8pt;
+ color: #999;
+}
+.centered {
+ text-align: center;
+}
+#result-box {
+ display: none;
+ text-align: center;
+}
+#warning {
+ display: none;
+ font-size: 10px;
+ color: #cc0011;
+ padding: 3px 0;
+ text-align: center;
+ margin-top: -10px;
+}
+#warning .sign {
+ font-size: 20px;
+ line-height: 0.3;
+ display: inline-block;
+}
+input {
+ border: 1px solid rgba(0, 0, 0, 0.25);
+ padding: 3px 3px;
+ border-radius: 2px;
+ outline: none;
+}
+input:focus {
+ border-color: #4D90FE;
+}
+.buttons {
+ text-align: right;
+}
+button {
+ /*
+ background: #f4f4f4 -webkit-gradient(linear,left top,left bottom,
+ color-stop(0, #fafafa),color-stop(1, #ccc));
+ border: 1px solid #aaa;
+ border-radius: 5px;
+ padding: 3px 10px;
+ margin-top: 3px;
+ text-shadow: 0 1px #f4f4f4;
+ */
+ background-image: -webkit-linear-gradient(#e8e8e8, #e8e8e8 38%, #d8d8d8);
+ background-color: rgba(0, 0, 0, 0.3);
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95);
+ color: black;
+ text-shadow: 0 1px 0 #F0F0F0;
+ border: 1px solid rgba(0, 0, 0, 0.25);
+ border-radius: 2px;
+ margin: 0 1px 0 0;
+ outline: none;
+}
+button:focus {
+ border-color: #4D90FE;
+}
+button:hover {
+ background-image: -webkit-linear-gradient(#F0F0F0, #F0F0F0 38%, #E0E0E0);
+ border: 1px solid rgba(0, 0, 0, 0.3);
+}
+button:active {
+ /*background: #f4f4f4 -webkit-gradient(linear,left top,left bottom,
+ color-stop(1, #ddd),color-stop(0, #bbb))
+ */
+ background-image: none;
+ background-color: rgba(0, 0, 0, 0.15);
+ box-shadow: none;
+}
+.gray {
+ color:#666;
+}
+.working {
+ font-size: 9pt;
+ color: #ccc;
+}
Oops, something went wrong.

0 comments on commit 3e19f0d

Please sign in to comment.