1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

styling the notification bar some

This commit is contained in:
Kyle Spearrin
2016-12-30 16:47:07 -05:00
parent d2ef99d1e5
commit 77aca102e6
3 changed files with 25 additions and 9 deletions

View File

@@ -122,17 +122,17 @@
var iframe = document.createElement('iframe');
iframe.src = chrome.extension.getURL(barPage);
iframe.style.cssText = 'height: 41px; width: 100%; border: 0;';
iframe.style.cssText = 'height: 42px; width: 100%; border: 0;';
var frameDiv = document.createElement('div');
frameDiv.id = 'bit-notification-bar';
frameDiv.style.cssText = 'height: 41px; width: 100%; top: 0; left: 0; padding: 0; position: fixed; z-index: 1000000099; visibility: visible;';
frameDiv.style.cssText = 'height: 42px; width: 100%; top: 0; left: 0; padding: 0; position: fixed; z-index: 1000000099; visibility: visible;';
frameDiv.appendChild(iframe);
document.body.appendChild(frameDiv);
var spacer = document.createElement('div');
spacer.id = 'bit-notification-bar-spacer';
spacer.style.cssText = 'height: 41px;';
spacer.style.cssText = 'height: 42px;';
document.body.insertBefore(spacer, document.body.firstChild);
}