From 0444ed6723dd7657a5cdca6b860ca015efea4876 Mon Sep 17 00:00:00 2001 From: ElbertF Date: Sat, 7 Jan 2012 15:24:17 +1100 Subject: [PATCH] Work on bookmarklet driver --- drivers/bookmarklet/bookmarklet.html | 2 +- drivers/bookmarklet/css/wappalyzer.css | 15 ++++++++++----- drivers/bookmarklet/js/driver.js | 4 +++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/bookmarklet/bookmarklet.html b/drivers/bookmarklet/bookmarklet.html index a169cee41..f7dde7257 100644 --- a/drivers/bookmarklet/bookmarklet.html +++ b/drivers/bookmarklet/bookmarklet.html @@ -30,7 +30,7 @@ iframe.setAttribute('allowTransparency', 'yes'); iframe.setAttribute('frameborder', 'no'); - iframe.setAttribute('height', '300'); + iframe.setAttribute('height', '400'); iframe.setAttribute('src', 'index.html'); iframe.setAttribute('width', '250'); iframe.setAttribute('style', ' diff --git a/drivers/bookmarklet/css/wappalyzer.css b/drivers/bookmarklet/css/wappalyzer.css index eaa992e4f..17fbf2f7f 100644 --- a/drivers/bookmarklet/css/wappalyzer.css +++ b/drivers/bookmarklet/css/wappalyzer.css @@ -1,9 +1,9 @@ body { - color: #fff; + color: #000; font-family: Arial, sans-serif; font-size: 14px; margin: 0; - padding: 10px; + padding: 10px 0; } #overlay { @@ -21,6 +21,7 @@ body { #apps { position: absolute; + width: 100%; } #apps img { @@ -28,7 +29,7 @@ body { } #apps a { - color: #fff; + color: #000; display: block; text-decoration: none; } @@ -38,6 +39,10 @@ body { } #apps .app { - background: #000; - padding: 10px; + background: #fff; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + margin: 0 10px 1px 10px; + padding: 5px 10px; } diff --git a/drivers/bookmarklet/js/driver.js b/drivers/bookmarklet/js/driver.js index 29b33cf33..ff5b1e4d3 100644 --- a/drivers/bookmarklet/js/driver.js +++ b/drivers/bookmarklet/js/driver.js @@ -38,7 +38,9 @@ document.getElementById('apps').innerHTML += '
' + '' + - ' ' + app + + '' + + ' ' + app + + '' + '' + '
' ;