-
Notifications
You must be signed in to change notification settings - Fork 0
/
google-material-click-action.css
91 lines (79 loc) · 1.55 KB
/
google-material-click-action.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
body{
margin:0;
padding:0;
}
.wrapper {
display: block;
width:99.6%;
margin:0.2%;
}
.wrapper:after {
content:"";
display:table;
clear:both;
}
.ripplelink{
display:block;
float:left;
width:49.6%;
margin:0.2%;
height:10em;
line-height:10em;
text-align:center;
color:#fff;
text-decoration:none;
position:relative;
overflow:hidden;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
z-index:0;
}
.ripplelink:hover{
z-index:1000;
box-shadow:rgba(0, 0, 0, 0.3) 0 16px 16px 0;
-webkit-box-shadow:rgba(0, 0, 0, 0.3) 0 16px 16px 0;
-moz-box-shadow:rgba(0, 0, 0, 0.3) 0 16px 16px 0;
}
.ink {
display: block;
position: absolute;
background:rgba(255, 255, 255, 0.3);
border-radius: 100%;
-webkit-transform:scale(0);
-moz-transform:scale(0);
-o-transform:scale(0);
transform:scale(0);
}
.animate {
-webkit-animation:ripple 0.65s linear;
-moz-animation:ripple 0.65s linear;
-ms-animation:ripple 0.65s linear;
-o-animation:ripple 0.65s linear;
animation:ripple 0.65s linear;
}
@-webkit-keyframes ripple {
100% {opacity: 0; -webkit-transform: scale(2.5);}
}
@-moz-keyframes ripple {
100% {opacity: 0; -moz-transform: scale(2.5);}
}
@-o-keyframes ripple {
100% {opacity: 0; -o-transform: scale(2.5);}
}
@keyframes ripple {
100% {opacity: 0; transform: scale(2.5);}
}
.cyan{
background:#00bcd4;
}
.lightgreen{
background:#8bc34a;
}
.amber{
background:#ffc107;
}
.orange{
background:#ff9800;
}