2015-11-26 03:19:13 +03:00
|
|
|
|
2015-11-05 01:54:57 +03:00
|
|
|
|
2014-10-03 15:58:24 +04:00
|
|
|
.withripple {
|
|
|
|
position: relative;
|
|
|
|
}
|
2015-11-24 02:43:41 +03:00
|
|
|
.ripple-container {
|
2014-10-03 15:58:24 +04:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
2015-11-02 23:39:13 +03:00
|
|
|
border-radius: inherit;
|
|
|
|
pointer-events: none;
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
|
|
|
.ripple {
|
|
|
|
position: absolute;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin-left: -10px;
|
|
|
|
margin-top: -10px;
|
|
|
|
border-radius: 100%;
|
2015-11-22 19:23:34 +03:00
|
|
|
background-color: #000; // fallback color
|
2014-10-03 15:58:24 +04:00
|
|
|
background-color: rgba(0,0,0,0.05);
|
|
|
|
transform: scale(1);
|
|
|
|
transform-origin: 50%;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.ripple.ripple-on {
|
|
|
|
transition: opacity 0.15s ease-in 0s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
|
2015-11-02 23:39:13 +03:00
|
|
|
opacity: 0.1;
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
|
|
|
.ripple.ripple-out {
|
|
|
|
transition: opacity 0.1s linear 0s !important;
|
|
|
|
opacity: 0;
|
|
|
|
}
|