forked from fians/Waves
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwaves.css
104 lines (90 loc) · 2.3 KB
/
waves.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*!
* Waves v0.2.1
* https://publicis-indonesia.github.io/Waves
*
* Copyright 2014 Publicis Metro Indonesia, PT. and other contributors
* Released under the BSD license
* https://github.com/publicis-indonesia/Waves/blob/master/LICENSE
*/
.waves-effect {
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-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
}
.waves-effect .waves-ripple {
position: absolute;
border-radius: 100%;
border-width:0px;
border-style:solid;
width:0px;
height:0px;
opacity:0;
border-color: rgba(0, 0, 0, 0.2);
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-0-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
}
.waves-effect.waves-light .waves-ripple {
border-color: rgba(255, 255, 255, 0.2);
}
.waves-notransition {
-webkit-transition: none !important;
transition: none !important;
}
.waves-button,
.waves-icon {
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
}
.waves-button {
padding:10px 15px;
border-radius:4px;
}
.waves-button a,
.waves-button a:hover,
.waves-button a:visited,
.waves-button a:link,
.waves-button button,
.waves-button input[type="submit"],
.waves-button input[type="button"] {
margin: 0;
padding:0;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
border:none;
outline:none;
background:transparent;
color: inherit;
font-size:14px;
text-align: center;
text-decoration:none;
}
.waves-icon {
text-align:center;
width:2.5em;
height:2.5em;
line-height:2.5em;
border-radius:20px;
}
.waves-raised {
-webkit-mask-image:none;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}
.waves-raised:active {
-webkit-box-shadow: 0px 7px 10px 0px rgba(0, 0, 0, 0.26);
box-shadow: 0px 7px 10px 0px rgba(0, 0, 0, 0.26);
}
.waves-block {
display:block;
}