Permalink
Browse files

change to transitions to improve performance

  • Loading branch information...
1 parent e67e732 commit 7e17c131321d97901cb96b8670b2d8e0aa3bd24b @julesfern committed Jun 24, 2010
Showing with 6 additions and 5 deletions.
  1. +5 −4 public/squeenote-default/theme.css
  2. +0 −1 public/squeenote-default/theme.ext.ipad.css
  3. +1 −0 readme.mdown
@@ -41,21 +41,22 @@ body > ol > li {
-webkit-border-radius: 15px;
/* Webkit-specific transformations */
- -webkit-transition-property: -webkit-box-shadow, left, right, opacity;
+ -webkit-transition-property: border, left, right, opacity;
-webkit-transition-duration: 0.3s;
-webkit-transition-timing-function: ease-out;
/* Mozilla-specific transformations */
- -moz-transition-property: -moz-box-shadow, left, right, opacity;
+ -moz-transition-property: border, left, right, opacity;
-moz-transition-duration: 0.3s;
-moz-transition-timing-function: ease-out;
}
body > ol > li.pending {
top: 0; right: -109%;
}
body > ol > li.current {
- -webkit-box-shadow: 0px 0px 35px #5F5F45;
- -moz-box-shadow: 0px 0px 35px #5F5F45;
+ border-color: #333;
+ /*-webkit-box-shadow: 0px 0px 35px #5F5F45;
+ -moz-box-shadow: 0px 0px 35px #5F5F45;*/
}
body > ol > li.done {
top: -0; left: -109%;
@@ -14,7 +14,6 @@ body > ol > li.pending {
display: none;
}
body > ol > li.current {
- border-color: #333;
}
body > ol > li.done {
top: 0; left: 0; right: 0;
View
@@ -88,3 +88,4 @@ Squeenote's markup is extremely simple. Simply include an <ol /> tag direc
</body>
</html>
+<a rel="license" href="http://creativecommons.org/licenses/by/2.0/uk/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/2.0/uk/80x15.png" /></a><br /><span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/InteractiveResource" property="dc:title" rel="dc:type">Squeenote</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://angryamoeba.co.uk" property="cc:attributionName" rel="cc:attributionURL">Dan Glegg</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/2.0/uk/">Creative Commons Attribution 2.0 UK: England &amp; Wales License</a>.<br />Based on a work at <a xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://github.com/danski/squeenote" rel="dc:source">github.com</a>.

0 comments on commit 7e17c13

Please sign in to comment.