liquid_feedback_frontend
diff style/mdl/ripple/_ripple.scss @ 1309:32cc544d5a5b
Cumulative patch for upcoming frontend version 4
| author | bsw/jbe |
|---|---|
| date | Sun Jul 15 14:07:29 2018 +0200 (2018-07-15) |
| parents | |
| children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/style/mdl/ripple/_ripple.scss Sun Jul 15 14:07:29 2018 +0200 1.3 @@ -0,0 +1,42 @@ 1.4 +/** 1.5 + * Copyright 2015 Google Inc. All Rights Reserved. 1.6 + * 1.7 + * Licensed under the Apache License, Version 2.0 (the "License"); 1.8 + * you may not use this file except in compliance with the License. 1.9 + * You may obtain a copy of the License at 1.10 + * 1.11 + * http://www.apache.org/licenses/LICENSE-2.0 1.12 + * 1.13 + * Unless required by applicable law or agreed to in writing, software 1.14 + * distributed under the License is distributed on an "AS IS" BASIS, 1.15 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1.16 + * See the License for the specific language governing permissions and 1.17 + * limitations under the License. 1.18 + */ 1.19 + 1.20 +@import "../variables"; 1.21 + 1.22 +.mdl-ripple { 1.23 + background : $ripple-bg-color; 1.24 + border-radius : 50%; 1.25 + height : 50px; 1.26 + left : 0; 1.27 + opacity : 0; 1.28 + pointer-events : none; 1.29 + position : absolute; 1.30 + top : 0; 1.31 + transform : translate(-50%, -50%); 1.32 + width : 50px; 1.33 + overflow : hidden; 1.34 + 1.35 + &.is-animating { 1.36 + transition: transform 0.3s $animation-curve-linear-out-slow-in, 1.37 + width 0.3s $animation-curve-linear-out-slow-in, 1.38 + height 0.3s $animation-curve-linear-out-slow-in, 1.39 + opacity 0.6s $animation-curve-linear-out-slow-in; 1.40 + } 1.41 + 1.42 + &.is-visible { 1.43 + opacity: 0.3; 1.44 + } 1.45 +}