From 98eec8cf4268d3bc821e11cf0bef65119c568026 Mon Sep 17 00:00:00 2001 From: Josh Brewer Date: Thu, 31 Mar 2011 09:45:28 -0700 Subject: small CSS tweaks --- bookmarklet/ffffallback.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookmarklet/ffffallback.css b/bookmarklet/ffffallback.css index 9659c2f..67707c5 100644 --- a/bookmarklet/ffffallback.css +++ b/bookmarklet/ffffallback.css @@ -35,7 +35,7 @@ body.ffffallback-hide-original #ffffallback-content-container { right: 0px; top: 0px; background:rgba(0,0,0,0.8); - -webkit-box-shadow: rgba(0,0,0,0.5) 0 2px 5px; + -webkit-box-shadow: rgba(0,0,0,0.5) 0 0 3px; color:rgba(255,255,255,0.9); font: 13px/1em normal helvetica, arial, sans-serif !important; width: 220px; -- cgit v1.2.3 From 220df3d4e5d78eac26377e1ff3c4430b19510b0e Mon Sep 17 00:00:00 2001 From: Josh Brewer Date: Sun, 3 Apr 2011 21:31:55 -0700 Subject: tweaking styles for additional CSS textarea etc --- bookmarklet/ffffallback.css | 46 +++++++++++++++++++++++++++++++-------------- bookmarklet/ffffallback.js | 5 +---- 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/bookmarklet/ffffallback.css b/bookmarklet/ffffallback.css index c72138c..1437212 100644 --- a/bookmarklet/ffffallback.css +++ b/bookmarklet/ffffallback.css @@ -12,28 +12,45 @@ } #ffffallback-controller .ffffallback-more-values { - background: #666; - color: #ccc; - margin-left: 30px; - width: 141px; + margin-left: 0px; + width: 160px; } #ffffallback-controller .collapsed .ffffallback-more-values { display: none; } -#ffffallback-controller .expanded .ffffallback-disclosure { - -webkit-transform:rotate(90deg); +#ffffallback-controller .expanded .ffffallback-disclosure span{ + -webkit-transform:rotate(-180deg); + text-shadow:rgba(0,0,0,0.8) 0 1px 0; + position:relative; + top:6px; } - #ffffallback-controller .ffffallback-disclosure { - color: #ccc; + display:inline-block; + margin-left:2px; + height:27px; + width:20px; + position:relative; + top:-7px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +#ffffallback-controller .ffffallback-disclosure:hover { + background:#2a2a2a; +} +#ffffallback-controller .ffffallback-disclosure span{ + color: #777; display: inline-block; + font-size:12px; + position:relative; + left:4px; + top:7px; text-decoration: none; - width: 16px; + text-shadow:rgba(0,0,0,0.8) 0 -1px 0; -webkit-transition-property: -webkit-transform; - -webkit-transition-duration: 0.125s; - + -webkit-transition-duration: 0.25s; } #ffffallback-content-container * { @@ -143,6 +160,7 @@ body.ffffallback-hide-original #ffffallback-content-container { border-bottom-left-radius: 3px; -webkit-box-shadow: rgba(225, 225, 225, 0.4) 0px 1px 0px; } + #ffffallback-radios label+label { border: 1px solid #555; border-width: 1px; @@ -214,14 +232,14 @@ body.ffffallback-hide-original #ffffallback-content-container { list-style: none; margin: 0; margin-top: 1em; - padding:0 1em 1em 1em; + padding:0 0 1em 1em; } #ffffallback-fonts li b { display: block; } -#ffffallback-fonts li input { +#ffffallback-fonts li input, #ffffallback-fonts li textarea { display: inline-block; -webkit-box-shadow: rgb(68, 68, 68) 0px 1px 0px; background: rgb(102, 102, 102); @@ -230,7 +248,7 @@ body.ffffallback-hide-original #ffffallback-content-container { color: rgb(204, 204, 204); font:normal 13px/normal Arial, sans-serif; padding: 5px; - width:150px; + width:160px; margin-top:10px; } #ffffallback-update { diff --git a/bookmarklet/ffffallback.js b/bookmarklet/ffffallback.js index d071612..6277faf 100644 --- a/bookmarklet/ffffallback.js +++ b/bookmarklet/ffffallback.js @@ -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)) { @@ -309,7 +309,6 @@ $.event(document.getElementById('ffffallback-display-mode-original'), 'click', function() { $.removeClassFromElement('ffffallback-hide-original', document.body); $.addClassToElement('ffffallback-hide-fallback', document.body); - //below is Josh's handywork... I have no idea how to toggle... plz help Mark $.each(document.getElementsByClassName('radio-checked'), function(elem) { $.removeClassFromElement('radio-checked', elem); @@ -321,7 +320,6 @@ $.event(document.getElementById('ffffallback-display-mode-both'), 'click', function() { $.removeClassFromElement('ffffallback-hide-original', document.body); $.removeClassFromElement('ffffallback-hide-fallback', document.body); - //below is Josh's handywork... I have no idea how to toggle... plz help Mark $.each(document.getElementsByClassName('radio-checked'), function(elem) { console.log('Oh elem is!', elem); $.removeClassFromElement('radio-checked', elem); @@ -332,7 +330,6 @@ $.event(document.getElementById('ffffallback-display-mode-fallback'), 'click', function() { $.addClassToElement('ffffallback-hide-original', document.body); $.removeClassFromElement('ffffallback-hide-fallback', document.body); - //below is Josh's handywork... I have no idea how to toggle... plz help Mark $.each(document.getElementsByClassName('radio-checked'), function(elem) { $.removeClassFromElement('radio-checked', elem); }); -- cgit v1.2.3 From eb87cc73b1d0d24c0c39933381a8396903368b9f Mon Sep 17 00:00:00 2001 From: Josh Brewer Date: Sun, 3 Apr 2011 21:33:48 -0700 Subject: tweaking styles for additional CSS textarea etc --- bookmarklet/ffffallback-logo.png | Bin 1742 -> 1793 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/bookmarklet/ffffallback-logo.png b/bookmarklet/ffffallback-logo.png index 0181fd2..4c9c675 100644 Binary files a/bookmarklet/ffffallback-logo.png and b/bookmarklet/ffffallback-logo.png differ -- cgit v1.2.3