From: Sarven Capadisli Date: Tue, 16 Jun 2009 06:24:29 +0000 (+0000) Subject: Connects html, body and content, navigation background colors X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=93205cac099e143b7e5dd22a17f6eda6a82d49cf;p=quix0rs-gnu-social.git Connects html, body and content, navigation background colors --- diff --git a/js/farbtastic/farbtastic.go.js b/js/farbtastic/farbtastic.go.js index 2f202ced1f..9bf7408259 100644 --- a/js/farbtastic/farbtastic.go.js +++ b/js/farbtastic/farbtastic.go.js @@ -11,10 +11,10 @@ $(document).ready(function() { C = $(S).val(); switch (parseInt(S.id.slice(-1))) { case 1: default: - $('body').css({'background-color':C}); + $('html, body').css({'background-color':C}); break; case 2: - $('#content').css({'background-color':C}); + $('#content, #site_nav_local_views .current a').css({'background-color':C}); break; case 3: $('#aside_primary').css({'background-color':C});