2014-11-12 13:51:00 +03:00
|
|
|
.withripple {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.ripple-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
2014-11-26 12:25:05 +03:00
|
|
|
border-radius: inherit;
|
2014-12-01 13:59:48 +03:00
|
|
|
pointer-events: none;
|
2014-11-12 13:51:00 +03:00
|
|
|
}
|
|
|
|
.ripple {
|
|
|
|
position: absolute;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin-left: -10px;
|
|
|
|
margin-top: -10px;
|
|
|
|
border-radius: 100%;
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
2015-03-03 15:34:43 +03:00
|
|
|
-webkit-transform: scale(1);
|
|
|
|
-ms-transform: scale(1);
|
|
|
|
transform: scale(1);
|
|
|
|
-webkit-transform-origin: 50%;
|
|
|
|
-ms-transform-origin: 50%;
|
|
|
|
transform-origin: 50%;
|
2014-11-12 13:51:00 +03:00
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.ripple.ripple-on {
|
2015-03-03 15:34:43 +03:00
|
|
|
transition: opacity 0.15s ease-in 0s, -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
|
2014-12-10 22:36:31 +03:00
|
|
|
transition: opacity 0.15s ease-in 0s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
|
|
|
|
opacity: 0.1;
|
2014-11-12 13:51:00 +03:00
|
|
|
}
|
|
|
|
.ripple.ripple-out {
|
2014-12-10 22:36:31 +03:00
|
|
|
transition: opacity 0.1s linear 0s !important;
|
2014-11-12 13:51:00 +03:00
|
|
|
opacity: 0;
|
|
|
|
}
|
2015-03-03 15:34:43 +03:00
|
|
|
/*# sourceMappingURL=ripples.css.map */
|