Browse Source

add back in the opactiy delay on modals

pull/253/head
connors 11 years ago
parent
commit
3e30c95ad8
  1. 6
      dist/ratchet.css
  2. 2
      examples/app-default/choose-theater.html
  3. 2
      examples/app-default/index.html
  4. 2
      lib/sass/modals.scss

6
dist/ratchet.css vendored

@ -1064,9 +1064,9 @@ select {
-webkit-transform: translate3d(0, 100%, 0);
-ms-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
-webkit-transition: -webkit-transform 0.25s, opacity 0.25s;
-moz-transition: -webkit-transform 0.25s, opacity 0.25s;
transition: -webkit-transform 0.25s, opacity 0.25s;
-webkit-transition: -webkit-transform 0.25s, opacity 1ms 0.25s;
-moz-transition: -webkit-transform 0.25s, opacity 1ms 0.25s;
transition: -webkit-transform 0.25s, opacity 1ms 0.25s;
}
.modal.active {
opacity: 1;

2
examples/app-default/choose-theater.html

@ -8,7 +8,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.css">
<!-- <link rel="stylesheet" href="../../dist/ios-theme.css"> -->
<link rel="stylesheet" href="../../dist/ios-theme.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.js"></script>
</head>

2
examples/app-default/index.html

@ -8,7 +8,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.css">
<!-- <link rel="stylesheet" href="../../dist/android-theme.css"> -->
<link rel="stylesheet" href="../../dist/ios-theme.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.js"></script>
</head>

2
lib/sass/modals.scss

@ -12,7 +12,7 @@
overflow: hidden;
background-color: #fff;
@include transform(translate3d(0, 100%, 0));
@include transition(-webkit-transform .25s, opacity .25s);
@include transition(-webkit-transform .25s, opacity 1ms .25s);
// Active modal
&.active {

Loading…
Cancel
Save