diff --git a/snipt/media/cache/snipt.css b/snipt/media/cache/snipt.css index 7fa0bc0..3639df5 100644 --- a/snipt/media/cache/snipt.css +++ b/snipt/media/cache/snipt.css @@ -758,6 +758,9 @@ article.snipt div.container section.code a.expand:hover { color: #3BAAF3; font-weight: bold; } +article.snipt div.container section.code div.raw { + display: none; +} article.snipt div.container section.emacs a.expand, article.snipt div.container section.default a.expand { -webkit-box-shadow: 0 -25px 25px #f8f8f8; -moz-box-shadow: 0 -25px 25px #f8f8f8; @@ -879,7 +882,7 @@ article.snipt aside section.tags ul li a:hover { border-color: #000; color: #000; } -article.snipt aside.expanded li { +article.snipt aside section.tags ul.expanded li { display: block; } article.snipt footer { diff --git a/snipt/media/cache/snipt.js b/snipt/media/cache/snipt.js index e970aa1..27f5ed7 100644 --- a/snipt/media/cache/snipt.js +++ b/snipt/media/cache/snipt.js @@ -990,6 +990,7 @@ jQuery(function($) { this.$copy_done = $('span.done', this.$copy_button); this.$expand_button = $('a.expand', this.$aside); this.$raw = $('div.raw', this.$container); + this.$tags = $('section.tags ul', this.$aside); this.setupCopy(); }, @@ -998,10 +999,11 @@ jQuery(function($) { }, expand: function() { this.$container.toggleClass('expanded', 100); - this.$aside.toggleClass('expanded'); + this.$tags.toggleClass('expanded'); return false; }, setupCopy: function() { + var copy_do = this.$copy_do; var copy_done = this.$copy_done; diff --git a/snipt/media/css/style.css b/snipt/media/css/style.css index 44dbdcd..7ed73e5 100644 --- a/snipt/media/css/style.css +++ b/snipt/media/css/style.css @@ -354,6 +354,9 @@ article.snipt div.container section.code a.expand:hover { color: #3BAAF3; font-weight: bold; } +article.snipt div.container section.code div.raw { + display: none; +} article.snipt div.container section.emacs a.expand, article.snipt div.container section.default a.expand { -webkit-box-shadow: 0 -25px 25px #f8f8f8; -moz-box-shadow: 0 -25px 25px #f8f8f8; @@ -475,7 +478,7 @@ article.snipt aside section.tags ul li a:hover { border-color: #000; color: #000; } -article.snipt aside.expanded li { +article.snipt aside section.tags ul.expanded li { display: block; } article.snipt footer {