animation bug
parent
318c35c36b
commit
da465ec89d
|
@ -758,6 +758,9 @@ article.snipt div.container section.code a.expand:hover {
|
||||||
color: #3BAAF3;
|
color: #3BAAF3;
|
||||||
font-weight: bold;
|
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 {
|
article.snipt div.container section.emacs a.expand, article.snipt div.container section.default a.expand {
|
||||||
-webkit-box-shadow: 0 -25px 25px #f8f8f8;
|
-webkit-box-shadow: 0 -25px 25px #f8f8f8;
|
||||||
-moz-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;
|
border-color: #000;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
article.snipt aside.expanded li {
|
article.snipt aside section.tags ul.expanded li {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
article.snipt footer {
|
article.snipt footer {
|
||||||
|
|
|
@ -990,6 +990,7 @@ jQuery(function($) {
|
||||||
this.$copy_done = $('span.done', this.$copy_button);
|
this.$copy_done = $('span.done', this.$copy_button);
|
||||||
this.$expand_button = $('a.expand', this.$aside);
|
this.$expand_button = $('a.expand', this.$aside);
|
||||||
this.$raw = $('div.raw', this.$container);
|
this.$raw = $('div.raw', this.$container);
|
||||||
|
this.$tags = $('section.tags ul', this.$aside);
|
||||||
|
|
||||||
this.setupCopy();
|
this.setupCopy();
|
||||||
},
|
},
|
||||||
|
@ -998,10 +999,11 @@ jQuery(function($) {
|
||||||
},
|
},
|
||||||
expand: function() {
|
expand: function() {
|
||||||
this.$container.toggleClass('expanded', 100);
|
this.$container.toggleClass('expanded', 100);
|
||||||
this.$aside.toggleClass('expanded');
|
this.$tags.toggleClass('expanded');
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
setupCopy: function() {
|
setupCopy: function() {
|
||||||
|
|
||||||
var copy_do = this.$copy_do;
|
var copy_do = this.$copy_do;
|
||||||
var copy_done = this.$copy_done;
|
var copy_done = this.$copy_done;
|
||||||
|
|
||||||
|
|
|
@ -354,6 +354,9 @@ article.snipt div.container section.code a.expand:hover {
|
||||||
color: #3BAAF3;
|
color: #3BAAF3;
|
||||||
font-weight: bold;
|
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 {
|
article.snipt div.container section.emacs a.expand, article.snipt div.container section.default a.expand {
|
||||||
-webkit-box-shadow: 0 -25px 25px #f8f8f8;
|
-webkit-box-shadow: 0 -25px 25px #f8f8f8;
|
||||||
-moz-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;
|
border-color: #000;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
article.snipt aside.expanded li {
|
article.snipt aside section.tags ul.expanded li {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
article.snipt footer {
|
article.snipt footer {
|
||||||
|
|
Loading…
Reference in New Issue