diff --git a/background/main.js b/background/main.js index 269748a..25afcab 100644 --- a/background/main.js +++ b/background/main.js @@ -85,7 +85,7 @@ var messageHandlers = { // Search for logins for this particular site getLoginsForSite(message.hostname, function(logins) { if (logins.length == 0) return; - + if (logins.length == 1) { // Is the login for this site PIN locked? if (logins[0].pin_locked) { @@ -156,7 +156,8 @@ function displayInfobar(notificationObj) { if (!infobarPaths[notificationObj.notification.type]) return; InfobarManager.run({ path: infobarPaths[notificationObj.notification.type], - tabId: notificationObj.tabID + tabId: notificationObj.tabID, + height: '32px' }, genHandlerForNotification(notificationObj)); function genHandlerForNotification(notificationObj) { diff --git a/images/gombot_logo-19x19.png b/images/gombot_logo-19x19.png new file mode 100644 index 0000000..a45f5cb Binary files /dev/null and b/images/gombot_logo-19x19.png differ diff --git a/infobars/gombot_infobar.css b/infobars/gombot_infobar.css index 781b639..6885cfa 100644 --- a/infobars/gombot_infobar.css +++ b/infobars/gombot_infobar.css @@ -1,8 +1,11 @@ body { background: -webkit-linear-gradient(top, #707070 0%,#3A3A3C 100%); - font-size:10pt; + font-size:9pt; color:white; font-family:sans-serif; + + margin:0; + padding:0; } a { @@ -13,14 +16,16 @@ a { button { background: -webkit-linear-gradient(top, #4b4b4b 0%,#191919 100%); - display: inline-block; - *display: inline; - padding: 2px 7px; - margin-bottom: 0; + border: 0; + vertical-align :middle; + + + padding: 4px 6px; + box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3); + + margin-bottom: 4px; *margin-left: .3em; - font-size: 10pt; - line-height: 20px; - *line-height: 20px; + font-size: 9pt; color: white; text-align: center; vertical-align: middle; @@ -28,15 +33,19 @@ button { background-repeat: repeat-x; *border: 0; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - -webkit-border-radius: 4px; + -webkit-border-radius: 8px; *zoom: 1; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); } button:hover { background: -webkit-linear-gradient(top, #191919 0%,#4b4b4b 100%); } +.gombot-head { + margin-right:20px; +} + #never-for-this-site-button { background:#616161; color:#bbb; @@ -53,6 +62,8 @@ input.pin-digit { height:25px; border-radius:5px; color:white; + box-shadow:inset 0 0 4px #2A2A2A; + margin-top:3px; } input.pin-digit.wrong-pin { @@ -60,6 +71,11 @@ input.pin-digit.wrong-pin { border:1px #720000; } +#infobar-container { + width:50em; + height:100%; +} + #pin-entry { margin-left:20px; -} \ No newline at end of file +} diff --git a/infobars/pin_entry_infobar.html b/infobars/pin_entry_infobar.html index 4f0a4ca..5d89d3f 100644 --- a/infobars/pin_entry_infobar.html +++ b/infobars/pin_entry_infobar.html @@ -3,16 +3,19 @@ - - Enter PIN. - +
+ + + Enter PIN. + - - - - - - + + + + + + +
diff --git a/infobars/remember_password_infobar.html b/infobars/remember_password_infobar.html index 7277d7c..c2462c6 100644 --- a/infobars/remember_password_infobar.html +++ b/infobars/remember_password_infobar.html @@ -3,7 +3,10 @@ - Store this password? +
+ + Store this password? +
diff --git a/infobars/signup_nag_infobar.html b/infobars/signup_nag_infobar.html index 103c367..84ee22d 100644 --- a/infobars/signup_nag_infobar.html +++ b/infobars/signup_nag_infobar.html @@ -3,6 +3,7 @@ + Gombot can securely store this login for you. Sign up now! diff --git a/infobars/update_password_infobar.html b/infobars/update_password_infobar.html index 39ce4f1..3a30ea0 100644 --- a/infobars/update_password_infobar.html +++ b/infobars/update_password_infobar.html @@ -3,6 +3,7 @@ + Would you like to update your saved password on this site? diff --git a/manifest.json b/manifest.json index 10a5390..42e6dda 100644 --- a/manifest.json +++ b/manifest.json @@ -25,7 +25,7 @@ } ], "browser_action": { - "default_icon": "images/cropped_persona_icon.png", + "default_icon": "images/gombot_logo-19x19.png", "default_popup": "browser_action/browser_action.html" }, "update_url": "http://dev.tobmog.org/downloads/updates.xml",