waves.min.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /*!
  2. * Waves v0.7.6
  3. * http://fian.my.id/Waves
  4. *
  5. * Copyright 2014-2018 Alfiana E. Sibuea and other contributors
  6. * Released under the MIT license
  7. * https://github.com/fians/Waves/blob/master/LICENSE */
  8. .waves-effect {
  9. position: relative;
  10. cursor: pointer;
  11. display: inline-block;
  12. overflow: hidden;
  13. -webkit-user-select: none;
  14. -moz-user-select: none;
  15. -ms-user-select: none;
  16. user-select: none;
  17. -webkit-tap-highlight-color: transparent
  18. }
  19. .waves-effect .waves-ripple {
  20. position: absolute;
  21. border-radius: 50%;
  22. width: 100px;
  23. height: 100px;
  24. margin-top: -50px;
  25. margin-left: -50px;
  26. opacity: 0;
  27. background: rgba(0, 0, 0, .2);
  28. background: -webkit-radial-gradient(rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .4) 50%, rgba(0, 0, 0, .5) 60%, rgba(255, 255, 255, 0) 70%);
  29. background: -o-radial-gradient(rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .4) 50%, rgba(0, 0, 0, .5) 60%, rgba(255, 255, 255, 0) 70%);
  30. background: -moz-radial-gradient(rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .4) 50%, rgba(0, 0, 0, .5) 60%, rgba(255, 255, 255, 0) 70%);
  31. background: radial-gradient(rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .4) 50%, rgba(0, 0, 0, .5) 60%, rgba(255, 255, 255, 0) 70%);
  32. -webkit-transition: all .5s ease-out;
  33. -moz-transition: all .5s ease-out;
  34. -o-transition: all .5s ease-out;
  35. transition: all .5s ease-out;
  36. -webkit-transition-property: -webkit-transform, opacity;
  37. -moz-transition-property: -moz-transform, opacity;
  38. -o-transition-property: -o-transform, opacity;
  39. transition-property: transform, opacity;
  40. -webkit-transform: scale(0) translate(0, 0);
  41. -moz-transform: scale(0) translate(0, 0);
  42. -ms-transform: scale(0) translate(0, 0);
  43. -o-transform: scale(0) translate(0, 0);
  44. transform: scale(0) translate(0, 0);
  45. pointer-events: none
  46. }
  47. .waves-effect.waves-light .waves-ripple {
  48. background: rgba(255, 255, 255, .4);
  49. background: -webkit-radial-gradient(rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, .3) 40%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, .5) 60%, rgba(255, 255, 255, 0) 70%);
  50. background: -o-radial-gradient(rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, .3) 40%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, .5) 60%, rgba(255, 255, 255, 0) 70%);
  51. background: -moz-radial-gradient(rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, .3) 40%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, .5) 60%, rgba(255, 255, 255, 0) 70%);
  52. background: radial-gradient(rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, .3) 40%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, .5) 60%, rgba(255, 255, 255, 0) 70%)
  53. }
  54. .waves-effect.waves-classic .waves-ripple {
  55. background: rgba(0, 0, 0, .2)
  56. }
  57. .waves-effect.waves-classic.waves-light .waves-ripple {
  58. background: rgba(255, 255, 255, .4)
  59. }
  60. .waves-notransition {
  61. -webkit-transition: none !important;
  62. -moz-transition: none !important;
  63. -o-transition: none !important;
  64. transition: none !important
  65. }
  66. .waves-button, .waves-circle {
  67. -webkit-transform: translateZ(0);
  68. -moz-transform: translateZ(0);
  69. -ms-transform: translateZ(0);
  70. -o-transform: translateZ(0);
  71. transform: translateZ(0);
  72. -webkit-mask-image: -webkit-radial-gradient(circle, #fff 100%, #000 100%)
  73. }
  74. .waves-button, .waves-button-input, .waves-button:hover, .waves-button:visited {
  75. white-space: nowrap;
  76. vertical-align: middle;
  77. cursor: pointer;
  78. border: none;
  79. outline: 0;
  80. color: inherit;
  81. background-color: rgba(0, 0, 0, 0);
  82. font-size: 1em;
  83. line-height: 1em;
  84. text-align: center;
  85. text-decoration: none;
  86. z-index: 1
  87. }
  88. .waves-button {
  89. padding: .85em 1.1em;
  90. border-radius: .2em
  91. }
  92. .waves-button-input {
  93. margin: 0;
  94. padding: .85em 1.1em
  95. }
  96. .waves-input-wrapper {
  97. border-radius: .2em;
  98. vertical-align: bottom
  99. }
  100. .waves-input-wrapper.waves-button {
  101. padding: 0
  102. }
  103. .waves-input-wrapper .waves-button-input {
  104. position: relative;
  105. top: 0;
  106. left: 0;
  107. z-index: 1
  108. }
  109. .waves-circle {
  110. text-align: center;
  111. width: 2.5em;
  112. height: 2.5em;
  113. line-height: 2.5em;
  114. border-radius: 50%
  115. }
  116. .waves-float {
  117. -webkit-mask-image: none;
  118. -webkit-box-shadow: 0 1px 1.5px 1px rgba(0, 0, 0, .12);
  119. box-shadow: 0 1px 1.5px 1px rgba(0, 0, 0, .12);
  120. -webkit-transition: all .3s;
  121. -moz-transition: all .3s;
  122. -o-transition: all .3s;
  123. transition: all .3s
  124. }
  125. .waves-float:active {
  126. -webkit-box-shadow: 0 8px 20px 1px rgba(0, 0, 0, .3);
  127. box-shadow: 0 8px 20px 1px rgba(0, 0, 0, .3)
  128. }
  129. .waves-block {
  130. display: block
  131. }