From 9cd80d11b41f10e169ba50c344282f0422770aff Mon Sep 17 00:00:00 2001
From: B Mathis <brandon@imathis.com>
Date: Wed, 24 Nov 2010 12:39:19 -0600
Subject: [PATCH] fixed source code toggling

---
 doc-src/Gemfile.lock                             | 4 ++--
 doc-src/content/stylesheets/partials/_code.scss  | 2 +-
 doc-src/content/stylesheets/partials/_theme.scss | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc-src/Gemfile.lock b/doc-src/Gemfile.lock
index 9cae6b3f..73a9bd3f 100644
--- a/doc-src/Gemfile.lock
+++ b/doc-src/Gemfile.lock
@@ -6,9 +6,9 @@ GIT
       cri (>= 1.0.0)
 
 PATH
-  remote: ..
+  remote: /Users/bmathis/Documents/Workspace/compass-projects/compass
   specs:
-    compass (0.11.alpha.0.d34e05c)
+    compass (0.11.alpha.0.8413909)
       haml (~> 3.0.23)
 
 GEM
diff --git a/doc-src/content/stylesheets/partials/_code.scss b/doc-src/content/stylesheets/partials/_code.scss
index 12c2736f..3ac494ad 100644
--- a/doc-src/content/stylesheets/partials/_code.scss
+++ b/doc-src/content/stylesheets/partials/_code.scss
@@ -1,4 +1,4 @@
-body.sass .mixin-source .scss, body.scss .mixin-source .sass { @extend .hide;}
+html.sass .mixin-source .scss, html.scss .mixin-source .sass { @extend .hide;}
 .mixin-source { display: none; }
 
 .syntaxhighlighter { padding: 5px 0; @include border-radius;
diff --git a/doc-src/content/stylesheets/partials/_theme.scss b/doc-src/content/stylesheets/partials/_theme.scss
index 41cf3890..054051a8 100644
--- a/doc-src/content/stylesheets/partials/_theme.scss
+++ b/doc-src/content/stylesheets/partials/_theme.scss
@@ -38,7 +38,7 @@
   
   #version { color: $option-panel-text; a { color: rgba($nav-link, .7); } }
   
-  body.sass a[rel=sass], body.scss a[rel=scss] { color: rgba($heading, .7); @extend .round-corners-em; @extend .inset-panel-#{$theme}; }
+  &.sass a[rel=sass], &.scss a[rel=scss] { color: rgba($heading, .7); @extend .round-corners-em; @extend .inset-panel-#{$theme}; }
   
   
   #page > article {