From ffe5c55c7fa53ca38928c03e85ef63e2a01b7979 Mon Sep 17 00:00:00 2001 From: Josh Brewer Date: Mon, 4 Apr 2011 09:12:03 -0700 Subject: tweaks to the toggle and styling field --- bookmarklet/ffffallback.css | 6 +++++- bookmarklet/ffffallback.js | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bookmarklet/ffffallback.css b/bookmarklet/ffffallback.css index 1437212..70bd992 100644 --- a/bookmarklet/ffffallback.css +++ b/bookmarklet/ffffallback.css @@ -13,6 +13,7 @@ #ffffallback-controller .ffffallback-more-values { margin-left: 0px; + margin-top:0px; width: 160px; } @@ -245,12 +246,15 @@ body.ffffallback-hide-original #ffffallback-content-container { background: rgb(102, 102, 102); border: 1px solid black; border-radius:4px; - color: rgb(204, 204, 204); + color: #eee; font:normal 13px/normal Arial, sans-serif; padding: 5px; width:160px; margin-top:10px; } +input[type=text]::-webkit-input-placeholder { + color:#a9a9a9; + } #ffffallback-update { padding:4px 9px; border-radius: 5px; diff --git a/bookmarklet/ffffallback.js b/bookmarklet/ffffallback.js index 6277faf..b75f593 100644 --- a/bookmarklet/ffffallback.js +++ b/bookmarklet/ffffallback.js @@ -215,7 +215,7 @@ $.each(cssObject, function(declarations, selector) { cssText += '#ffffallback-content-container ' + selector + ' {\n'; - cssText += 'color: magenta !important;'; + cssText += 'color: magenta'; $.each(declarations, function(value, key) { if(key === 'x-more') { cssText += ' ' + value + ';\n'; @@ -292,7 +292,7 @@ var fontClass, row; $.each($.getAllFontsInUse(document.body), function(font) { fontClass = $.getClassForFont(font); - row = $.createElementWithContent('li', '' + font + ''); + row = $.createElementWithContent('li', '' + font + ''); row.setAttribute('class', 'collapsed'); $.event(row.getElementsByClassName('ffffallback-disclosure')[0], 'click', function() { if($.isClassOnElement('collapsed', row)) { -- cgit v1.2.3