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); -webkit-transform: translate3d(0, 100%, 0);
-ms-transform: translate3d(0, 100%, 0); -ms-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0);
-webkit-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 0.25s; -moz-transition: -webkit-transform 0.25s, opacity 1ms 0.25s;
transition: -webkit-transform 0.25s, opacity 0.25s; transition: -webkit-transform 0.25s, opacity 1ms 0.25s;
} }
.modal.active { .modal.active {
opacity: 1; opacity: 1;

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

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

2
examples/app-default/index.html

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

2
lib/sass/modals.scss

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

Loading…
Cancel
Save