diff options
| author | Jacob Thornton <[email protected]> | 2011-09-02 21:06:49 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2011-09-02 21:06:49 -0700 |
| commit | 3c9c85b1ed85ae633d4b94f421020b84d24d9a5c (patch) | |
| tree | 732ffc524a99cc48934a157deeb89372968af322 /lib/patterns.less | |
| parent | c4481b54a8c2cf05bd12d04196e3234523d27653 (diff) | |
| parent | 41242b5ce6411efcd66d985dd6853191de67fbbf (diff) | |
| download | bootstrap-3c9c85b1ed85ae633d4b94f421020b84d24d9a5c.tar.xz bootstrap-3c9c85b1ed85ae633d4b94f421020b84d24d9a5c.zip | |
Merge branch 'js-examples' into 1.3-wip
Conflicts:
bootstrap-1.2.0.css
Diffstat (limited to 'lib/patterns.less')
| -rw-r--r-- | lib/patterns.less | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/lib/patterns.less b/lib/patterns.less index 413f82178..57e682da8 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -559,7 +559,6 @@ input[type=submit].btn { padding: 14px; border-color: #fceec1; .box-shadow(none); - p { margin-right: 30px; } @@ -649,7 +648,10 @@ input[type=submit].btn { // ------ .modal-backdrop { - background-color: rgba(0,0,0,.5); + background-color:#000; + &.fade { + opacity: 0; + } position: fixed; top: 0; left: 0; @@ -657,13 +659,18 @@ input[type=submit].btn { bottom: 0; z-index: 1000; } + +.modal-backdrop, .modal-backdrop.fade.in { + .opacity(50); +} + .modal { position: fixed; top: 50%; left: 50%; z-index: 2000; width: 560px; - margin: -280px 0 0 -250px; + margin: -250px 0 0 -250px; background-color: @white; border: 1px solid #999; border: 1px solid rgba(0,0,0,.3); @@ -816,4 +823,16 @@ input[type=submit].btn { margin-bottom: 0; } } +} + + +// Pattern Animations +// ------------------ + +.fade { + .transition(opacity .15s linear); + opacity: 0; + &.in { + opacity: 1; + } }
\ No newline at end of file |
