From a0cb72f9ae27ded4cf3516e0d3edd042293d9e39 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sun, 28 Aug 2011 16:36:44 -0700 Subject: [PATCH] change window to 'body' --- bootstrap-1.1.1.css | 4 ++-- bootstrap-1.1.1.min.css | 2 +- examples/assets/js/bootstrap-dropdown.js | 2 +- examples/assets/js/bootstrap-modal.js | 2 +- lib/patterns.less | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bootstrap-1.1.1.css b/bootstrap-1.1.1.css index bb9d5ec2af..2cb93288f0 100644 --- a/bootstrap-1.1.1.css +++ b/bootstrap-1.1.1.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Sun Aug 28 16:23:47 PDT 2011 + * Date: Sun Aug 28 16:34:52 PDT 2011 */ /* 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). @@ -1680,7 +1680,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner { } .modal-backdrop { background-color: rgba(0, 0, 0, 0.5); - filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#aa000000', endColorstr='#aa000000')"; + filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#aa000000',endColorstr='#aa000000'); position: fixed; top: 0; left: 0; diff --git a/bootstrap-1.1.1.min.css b/bootstrap-1.1.1.min.css index de458aa5c4..137aced7b6 100644 --- a/bootstrap-1.1.1.min.css +++ b/bootstrap-1.1.1.min.css @@ -226,7 +226,7 @@ button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0; .pagination ul li.disabled a,.pagination ul li.disabled a:hover{background-color:transparent;color:#bfbfbf;} .pagination ul li.next a{border:0;} .well{background-color:#f5f5f5;margin-bottom:20px;padding:19px;min-height:20px;border:1px solid #eee;border:1px solid rgba(0, 0, 0, 0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);} -.modal-backdrop{background-color:rgba(0, 0, 0, 0.5);filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#aa000000', endColorstr='#aa000000')";position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;} +.modal-backdrop{background-color:rgba(0, 0, 0, 0.5);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#aa000000',endColorstr='#aa000000');position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;} .modal{position:fixed;top:50%;left:50%;z-index:2000;width:560px;margin:-280px 0 0 -250px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0, 0, 0, 0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.modal .modal-header{border-bottom:1px solid #eee;padding:5px 20px;}.modal .modal-header .close{position:absolute;right:10px;top:10px;color:#999;line-height:10px;font-size:18px;} .modal .modal-body{padding:20px;} .modal .modal-footer{background-color:#f5f5f5;padding:14px 20px 15px;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;zoom:1;margin-bottom:18px;margin-bottom:0;}.modal .modal-footer:before,.modal .modal-footer:after{display:table;content:"";} diff --git a/examples/assets/js/bootstrap-dropdown.js b/examples/assets/js/bootstrap-dropdown.js index fd5bd7978c..b319c818cf 100644 --- a/examples/assets/js/bootstrap-dropdown.js +++ b/examples/assets/js/bootstrap-dropdown.js @@ -7,7 +7,7 @@ $('a.menu').parent('li').removeClass('open') } - $(window).bind("click", clearMenus) + $('body').bind("click", clearMenus) $.fn.dropdown = function ( options ) { return this.each(function () { diff --git a/examples/assets/js/bootstrap-modal.js b/examples/assets/js/bootstrap-modal.js index 8e782a37e7..d03651fafe 100644 --- a/examples/assets/js/bootstrap-modal.js +++ b/examples/assets/js/bootstrap-modal.js @@ -14,7 +14,7 @@ /* SHARED VARS * =========== */ - var $window = $(window) + var $window = $('body') , transitionEnd // set CSS transition event type diff --git a/lib/patterns.less b/lib/patterns.less index 57bd026212..b64b1d3127 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -579,7 +579,7 @@ input[type=submit].btn { .modal-backdrop { background-color: rgba(0,0,0,.5); - filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#aa000000', endColorstr='#aa000000')"; + filter: e(%("progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=%d,endColorstr=%d)", '#aa000000', '#aa000000')); position: fixed; top: 0; left: 0;