Commit 1b4b97d5 authored by Jacob Thornton's avatar Jacob Thornton

rebuild css, add preserve-3d for faster animations, fix whitespace in mixins.less

parent d8118084
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world @twitter by @mdo and @fat. * Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Wed Nov 2 00:03:55 PDT 2011 * Date: Thu Nov 3 14:42:54 PDT 2011
*/ */
/* Reset.less /* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
...@@ -697,6 +697,7 @@ textarea { ...@@ -697,6 +697,7 @@ textarea {
color: #bfbfbf; color: #bfbfbf;
} }
input, textarea { input, textarea {
-webkit-transform-style: preserve-3d;
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s; -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s; -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-ms-transition: border linear 0.2s, box-shadow linear 0.2s; -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
...@@ -1369,6 +1370,7 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1369,6 +1370,7 @@ table .headerSortUp.purple, table .headerSortDown.purple {
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25); -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25); -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
-webkit-transform-style: preserve-3d;
-webkit-transition: none; -webkit-transition: none;
-moz-transition: none; -moz-transition: none;
-ms-transition: none; -ms-transition: none;
...@@ -1892,6 +1894,7 @@ footer { ...@@ -1892,6 +1894,7 @@ footer {
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-webkit-transform-style: preserve-3d;
-webkit-transition: 0.1s linear all; -webkit-transition: 0.1s linear all;
-moz-transition: 0.1s linear all; -moz-transition: 0.1s linear all;
-ms-transition: 0.1s linear all; -ms-transition: 0.1s linear all;
...@@ -2196,6 +2199,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner { ...@@ -2196,6 +2199,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
margin-top: 7px; margin-top: 7px;
} }
.modal.fade { .modal.fade {
-webkit-transform-style: preserve-3d;
-webkit-transition: opacity .3s linear, top .3s ease-out; -webkit-transition: opacity .3s linear, top .3s ease-out;
-moz-transition: opacity .3s linear, top .3s ease-out; -moz-transition: opacity .3s linear, top .3s ease-out;
-ms-transition: opacity .3s linear, top .3s ease-out; -ms-transition: opacity .3s linear, top .3s ease-out;
...@@ -2391,6 +2395,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner { ...@@ -2391,6 +2395,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
margin-bottom: 0; margin-bottom: 0;
} }
.fade { .fade {
-webkit-transform-style: preserve-3d;
-webkit-transition: opacity 0.15s linear; -webkit-transition: opacity 0.15s linear;
-moz-transition: opacity 0.15s linear; -moz-transition: opacity 0.15s linear;
-ms-transition: opacity 0.15s linear; -ms-transition: opacity 0.15s linear;
......
This diff is collapsed.
...@@ -347,7 +347,7 @@ $('#my-modal').bind('hidden', function () { ...@@ -347,7 +347,7 @@ $('#my-modal').bind('hidden', function () {
$('.btn').button('complete') $('.btn').button('complete')
&lt;/scrip&gt;</pre> &lt;/scrip&gt;</pre>
<h3>Demo</h3> <h3>Demo</h3>
<button id="fat-btn" data-loading-text="foo" class="btn danger">Loading Demo</button> <button id="fat-btn" data-loading-text="loading..." class="btn danger">Loading Demo</button>
<button class="btn" data-toggle="toggle">Toggle Demo</button> <button class="btn" data-toggle="toggle">Toggle Demo</button>
<script> <script>
$(function() { $(function() {
......
...@@ -40,11 +40,11 @@ ...@@ -40,11 +40,11 @@
if ( $.support.transition ) { if ( $.support.transition ) {
transitionEnd = "TransitionEnd" transitionEnd = "TransitionEnd"
if ( $.browser.webkit ) { if ( $.browser.webkit ) {
transitionEnd = "webkitTransitionEnd" transitionEnd = "webkitTransitionEnd"
} else if ( $.browser.mozilla ) { } else if ( $.browser.mozilla ) {
transitionEnd = "transitionend" transitionEnd = "transitionend"
} else if ( $.browser.opera ) { } else if ( $.browser.opera ) {
transitionEnd = "oTransitionEnd" transitionEnd = "oTransitionEnd"
} }
} }
......
...@@ -111,11 +111,12 @@ ...@@ -111,11 +111,12 @@
// Transitions // Transitions
.transition(@transition) { .transition(@transition) {
-webkit-transition: @transition; -webkit-transform-style: e(%("preserve-3d"));
-moz-transition: @transition; -webkit-transition: @transition;
-ms-transition: @transition; -moz-transition: @transition;
-o-transition: @transition; -ms-transition: @transition;
transition: @transition; -o-transition: @transition;
transition: @transition;
} }
// Background clipping // Background clipping
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment