Browse Source

derping on popovers

pull/214/head
connors 11 years ago
parent
commit
eb40601d96
  1. 1
      dist/ratchet.css
  2. 2
      examples/components/default/index.html
  3. 2
      lib/sass/popovers.scss

1
dist/ratchet.css vendored

@ -958,6 +958,7 @@ input[type="button"] {
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 10; z-index: 10;
background-color: rgba(0, 0, 0, 0.5);
} }
.popover .button-block { .popover .button-block {

2
examples/components/default/index.html

@ -5,7 +5,7 @@
<title>Testing</title> <title>Testing</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<!-- <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">
<script src="../../../dist/ratchet.js"></script> <script src="../../../dist/ratchet.js"></script>

2
lib/sass/popovers.scss

@ -18,7 +18,7 @@
-webkit-transform: translate3d(0, -15px, 0); -webkit-transform: translate3d(0, -15px, 0);
transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0);
-webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in-out; -webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out; transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
} }
// Caret on top of popover using CSS triangles (thanks to @chriscoyier for solution) // Caret on top of popover using CSS triangles (thanks to @chriscoyier for solution)

Loading…
Cancel
Save