github.com/mithrandie/csvq@v1.18.1/docs/_sass/components/_waves.scss (about) 1 2 /*! 3 * Waves v0.6.0 4 * http://fian.my.id/Waves 5 * 6 * Copyright 2014 Alfiana E. Sibuea and other contributors 7 * Released under the MIT license 8 * https://github.com/fians/Waves/blob/master/LICENSE 9 */ 10 11 12 .waves-effect { 13 position: relative; 14 cursor: pointer; 15 display: inline-block; 16 overflow: hidden; 17 user-select: none; 18 -webkit-tap-highlight-color: transparent; 19 vertical-align: middle; 20 z-index: 1; 21 transition: .3s ease-out; 22 23 .waves-ripple { 24 position: absolute; 25 border-radius: 50%; 26 width: 20px; 27 height: 20px; 28 margin-top:-10px; 29 margin-left:-10px; 30 opacity: 0; 31 32 background: rgba(0,0,0,0.2); 33 transition: all 0.7s ease-out; 34 transition-property: transform, opacity; 35 transform: scale(0); 36 pointer-events: none; 37 } 38 39 // Waves Colors 40 &.waves-light .waves-ripple { 41 background-color: rgba(255, 255, 255, 0.45); 42 } 43 &.waves-red .waves-ripple { 44 background-color: rgba(244, 67, 54, .70); 45 } 46 &.waves-yellow .waves-ripple { 47 background-color: rgba(255, 235, 59, .70); 48 } 49 &.waves-orange .waves-ripple { 50 background-color: rgba(255, 152, 0, .70); 51 } 52 &.waves-purple .waves-ripple { 53 background-color: rgba(156, 39, 176, 0.70); 54 } 55 &.waves-green .waves-ripple { 56 background-color: rgba(76, 175, 80, 0.70); 57 } 58 &.waves-teal .waves-ripple { 59 background-color: rgba(0, 150, 136, 0.70); 60 } 61 62 // Style input button bug. 63 input[type="button"], input[type="reset"], input[type="submit"] { 64 border: 0; 65 font-style: normal; 66 font-size: inherit; 67 text-transform: inherit; 68 background: none; 69 } 70 71 img { 72 position: relative; 73 z-index: -1; 74 } 75 } 76 77 .waves-notransition { 78 transition: none #{"!important"}; 79 } 80 81 .waves-circle { 82 transform: translateZ(0); 83 -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); 84 } 85 86 .waves-input-wrapper { 87 border-radius: 0.2em; 88 vertical-align: bottom; 89 90 .waves-button-input { 91 position: relative; 92 top: 0; 93 left: 0; 94 z-index: 1; 95 } 96 } 97 98 .waves-circle { 99 text-align: center; 100 width: 2.5em; 101 height: 2.5em; 102 line-height: 2.5em; 103 border-radius: 50%; 104 -webkit-mask-image: none; 105 } 106 107 .waves-block { 108 display: block; 109 } 110 111 /* Firefox Bug: link not triggered */ 112 .waves-effect .waves-ripple { 113 z-index: -1; 114 }