2014-08-25 15:00:49 +04:00
|
|
|
.withripple {
|
2014-08-25 15:57:22 +04:00
|
|
|
position: relative;
|
2014-08-25 15:00:49 +04:00
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
.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-08-18 18:25:33 +04:00
|
|
|
}
|
|
|
|
.ripple {
|
2014-08-19 12:11:29 +04:00
|
|
|
position: absolute;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin-left: -10px;
|
|
|
|
margin-top: -10px;
|
|
|
|
border-radius: 100%;
|
|
|
|
background-color: rgba(0,0,0,0.05);
|
2014-08-18 18:25:33 +04:00
|
|
|
transform: scale(1);
|
|
|
|
transform-origin: 50%;
|
|
|
|
opacity: 0;
|
2014-09-30 12:07:59 +04:00
|
|
|
pointer-events: none;
|
2014-08-18 18:25:33 +04:00
|
|
|
}
|
|
|
|
.ripple.ripple-on {
|
2014-08-25 15:57:22 +04:00
|
|
|
transition: opacity 0.15s ease-in 0s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
|
2014-11-26 14:42:41 +03:00
|
|
|
opacity: 0.2;
|
2014-08-18 18:25:33 +04:00
|
|
|
}
|
|
|
|
.ripple.ripple-out {
|
2014-08-25 15:57:22 +04:00
|
|
|
transition: opacity 0.1s linear 0s !important;
|
2014-08-18 18:25:33 +04:00
|
|
|
opacity: 0;
|
|
|
|
}
|