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. - +