2014-08-14 23:27:17 +02:00
|
|
|
/*!
|
2015-02-20 23:35:58 +01:00
|
|
|
* Waves v0.6.0
|
2014-11-14 17:56:12 +01:00
|
|
|
* http://fian.my.id/Waves
|
|
|
|
*
|
|
|
|
* Copyright 2014 Alfiana E. Sibuea and other contributors
|
|
|
|
* Released under the MIT license
|
|
|
|
* https://github.com/fians/Waves/blob/master/LICENSE
|
2014-08-14 23:27:17 +02:00
|
|
|
*/
|
|
|
|
.waves-effect {
|
2015-02-20 23:35:58 +01:00
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
-webkit-transition: all 0.3s ease-out;
|
|
|
|
-moz-transition: all 0.3s ease-out;
|
|
|
|
-o-transition: all 0.3s ease-out;
|
|
|
|
transition: all 0.3s ease-out;
|
|
|
|
}
|
|
|
|
.waves-effect .waves-ripple {
|
|
|
|
position: absolute;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
margin-top: -50px;
|
|
|
|
margin-left: -50px;
|
|
|
|
opacity: 0;
|
|
|
|
background: rgba(0, 0, 0, 0.2);
|
|
|
|
background: -webkit-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
|
|
|
background: -o-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
|
|
|
background: -moz-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
|
|
|
background: radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
|
|
|
-webkit-transition: all 0.5s ease-out;
|
|
|
|
-moz-transition: all 0.5s ease-out;
|
|
|
|
-o-transition: all 0.5s ease-out;
|
|
|
|
transition: all 0.5s ease-out;
|
|
|
|
-webkit-transition-property: -webkit-transform, opacity;
|
|
|
|
-moz-transition-property: -moz-transform, opacity;
|
|
|
|
-o-transition-property: -o-transform, opacity;
|
|
|
|
transition-property: transform, opacity;
|
|
|
|
-webkit-transform: scale(0);
|
|
|
|
-moz-transform: scale(0);
|
|
|
|
-ms-transform: scale(0);
|
|
|
|
-o-transform: scale(0);
|
|
|
|
transform: scale(0);
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.waves-effect.waves-light .waves-ripple {
|
|
|
|
background: rgba(255, 255, 255, 0.4);
|
|
|
|
background: -webkit-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
|
|
|
background: -o-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
|
|
|
background: -moz-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
|
|
|
background: radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
|
|
|
}
|
|
|
|
.waves-effect.waves-classic .waves-ripple {
|
|
|
|
background: rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
.waves-effect.waves-classic.waves-light .waves-ripple {
|
|
|
|
background: rgba(255, 255, 255, 0.4);
|
|
|
|
}
|
2014-08-08 00:23:36 +02:00
|
|
|
.waves-notransition {
|
2015-02-20 23:35:58 +01:00
|
|
|
-webkit-transition: none !important;
|
|
|
|
-moz-transition: none !important;
|
|
|
|
-o-transition: none !important;
|
|
|
|
transition: none !important;
|
2014-08-14 23:27:17 +02:00
|
|
|
}
|
2015-02-20 23:35:58 +01:00
|
|
|
.waves-button,
|
2014-11-14 17:56:12 +01:00
|
|
|
.waves-circle {
|
2015-02-20 23:35:58 +01:00
|
|
|
-webkit-transform: translateZ(0);
|
|
|
|
-moz-transform: translateZ(0);
|
|
|
|
-ms-transform: translateZ(0);
|
|
|
|
-o-transform: translateZ(0);
|
|
|
|
transform: translateZ(0);
|
|
|
|
-webkit-mask-image: -webkit-radial-gradient(circle, #ffffff 100%, #000000 100%);
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
2014-08-14 23:27:17 +02:00
|
|
|
.waves-button,
|
|
|
|
.waves-button:hover,
|
|
|
|
.waves-button:visited,
|
|
|
|
.waves-button-input {
|
2015-02-20 23:35:58 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: middle;
|
|
|
|
cursor: pointer;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
color: inherit;
|
|
|
|
background-color: rgba(0, 0, 0, 0);
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1em;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2014-08-08 00:23:36 +02:00
|
|
|
.waves-button {
|
2015-02-20 23:35:58 +01:00
|
|
|
padding: 0.85em 1.1em;
|
|
|
|
border-radius: 0.2em;
|
2014-08-14 23:27:17 +02:00
|
|
|
}
|
|
|
|
.waves-button-input {
|
2015-02-20 23:35:58 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0.85em 1.1em;
|
2014-08-14 23:27:17 +02:00
|
|
|
}
|
|
|
|
.waves-input-wrapper {
|
2015-02-20 23:35:58 +01:00
|
|
|
border-radius: 0.2em;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
.waves-input-wrapper.waves-button {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.waves-input-wrapper .waves-button-input {
|
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2014-08-14 23:27:17 +02:00
|
|
|
.waves-circle {
|
2015-02-20 23:35:58 +01:00
|
|
|
text-align: center;
|
|
|
|
width: 2.5em;
|
|
|
|
height: 2.5em;
|
|
|
|
line-height: 2.5em;
|
|
|
|
border-radius: 50%;
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
2014-08-14 23:27:17 +02:00
|
|
|
.waves-float {
|
2015-02-20 23:35:58 +01:00
|
|
|
-webkit-mask-image: none;
|
|
|
|
-webkit-box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
|
|
|
|
box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
|
|
|
|
}
|
|
|
|
.waves-float:active {
|
|
|
|
-webkit-box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
|
|
|
|
box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
|
|
|
|
}
|
2014-08-08 00:23:36 +02:00
|
|
|
.waves-block {
|
2015-02-20 23:35:58 +01:00
|
|
|
display: block;
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
2014-08-14 23:27:17 +02:00
|
|
|
/* Firefox Bug: link not triggered */
|
|
|
|
a.waves-effect .waves-ripple {
|
2015-02-20 23:35:58 +01:00
|
|
|
z-index: -1;
|
|
|
|
}
|