Work on bookmarklet driver

main
ElbertF 13 years ago
parent f8908e4a7f
commit 0444ed6723

@ -30,7 +30,7 @@
iframe.setAttribute('allowTransparency', 'yes'); iframe.setAttribute('allowTransparency', 'yes');
iframe.setAttribute('frameborder', 'no'); iframe.setAttribute('frameborder', 'no');
iframe.setAttribute('height', '300'); iframe.setAttribute('height', '400');
iframe.setAttribute('src', 'index.html'); iframe.setAttribute('src', 'index.html');
iframe.setAttribute('width', '250'); iframe.setAttribute('width', '250');
iframe.setAttribute('style', ' iframe.setAttribute('style', '

@ -1,9 +1,9 @@
body { body {
color: #fff; color: #000;
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
font-size: 14px; font-size: 14px;
margin: 0; margin: 0;
padding: 10px; padding: 10px 0;
} }
#overlay { #overlay {
@ -21,6 +21,7 @@ body {
#apps { #apps {
position: absolute; position: absolute;
width: 100%;
} }
#apps img { #apps img {
@ -28,7 +29,7 @@ body {
} }
#apps a { #apps a {
color: #fff; color: #000;
display: block; display: block;
text-decoration: none; text-decoration: none;
} }
@ -38,6 +39,10 @@ body {
} }
#apps .app { #apps .app {
background: #000; background: #fff;
padding: 10px; border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
margin: 0 10px 1px 10px;
padding: 5px 10px;
} }

@ -38,7 +38,9 @@
document.getElementById('apps').innerHTML += document.getElementById('apps').innerHTML +=
'<div class="app' + ( i == 0 ? ' first' : '' ) + '">' + '<div class="app' + ( i == 0 ? ' first' : '' ) + '">' +
'<a href="">' + '<a href="">' +
'<img src="images/icons/' + app + '.ico" width="16" height="16"/> ' + app + '<strong>' +
'<img src="images/icons/' + app + '.ico" width="16" height="16"/> ' + app +
'</strong>' +
'</a>' + '</a>' +
'</div>' '</div>'
; ;

Loading…
Cancel
Save