Skip to content

Commit 21ff2fe

Browse files
authored
Remove extra indentation and trailing spaces
1 parent 026fe0d commit 21ff2fe

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

sass/components/_waves.scss

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/*!
22
* 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
3+
* http://fian.my.id/Waves
4+
*
5+
* Copyright 2014-2018 Alfiana E. Sibuea and other contributors
6+
* Released under the MIT license
77
* https://github.com/fians/Waves/blob/master/LICENSE */
88

99
@mixin waves-transition($transition){
1010
-webkit-transition: $transition;
11-
-moz-transition: $transition;
11+
-moz-transition: $transition;
1212
-o-transition: $transition;
13-
transition: $transition;
13+
transition: $transition;
1414
}
1515

1616
@mixin waves-transform($string){
@@ -36,45 +36,45 @@
3636
-ms-user-select: none;
3737
user-select: none;
3838
-webkit-tap-highlight-color: transparent;
39-
39+
4040
.waves-ripple {
41-
position: absolute;
42-
border-radius: 50%;
43-
width: 100px;
44-
height: 100px;
45-
margin-top:-50px;
46-
margin-left:-50px;
47-
opacity: 0;
48-
background: rgba(0,0,0,0.2);
49-
$gradient: rgba(0,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%;
50-
background: -webkit-radial-gradient($gradient);
51-
background: -o-radial-gradient($gradient);
52-
background: -moz-radial-gradient($gradient);
53-
background: radial-gradient($gradient);
54-
@include waves-transition(all 0.5s ease-out);
55-
-webkit-transition-property: -webkit-transform, opacity;
56-
-moz-transition-property: -moz-transform, opacity;
57-
-o-transition-property: -o-transform, opacity;
58-
transition-property: transform, opacity;
59-
@include waves-transform(scale(0) translate(0,0));
60-
pointer-events: none;
41+
position: absolute;
42+
border-radius: 50%;
43+
width: 100px;
44+
height: 100px;
45+
margin-top:-50px;
46+
margin-left:-50px;
47+
opacity: 0;
48+
background: rgba(0,0,0,0.2);
49+
$gradient: rgba(0,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%;
50+
background: -webkit-radial-gradient($gradient);
51+
background: -o-radial-gradient($gradient);
52+
background: -moz-radial-gradient($gradient);
53+
background: radial-gradient($gradient);
54+
@include waves-transition(all 0.5s ease-out);
55+
-webkit-transition-property: -webkit-transform, opacity;
56+
-moz-transition-property: -moz-transform, opacity;
57+
-o-transition-property: -o-transform, opacity;
58+
transition-property: transform, opacity;
59+
@include waves-transform(scale(0) translate(0,0));
60+
pointer-events: none;
6161
}
6262

6363
&.waves-light .waves-ripple {
64-
background: rgba(255,255,255,0.4);
65-
$gradient: rgba(255,255,255,0.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%;
66-
background: -webkit-radial-gradient($gradient);
67-
background: -o-radial-gradient($gradient);
68-
background: -moz-radial-gradient($gradient);
69-
background: radial-gradient($gradient);
64+
background: rgba(255,255,255,0.4);
65+
$gradient: rgba(255,255,255,0.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%;
66+
background: -webkit-radial-gradient($gradient);
67+
background: -o-radial-gradient($gradient);
68+
background: -moz-radial-gradient($gradient);
69+
background: radial-gradient($gradient);
7070
}
71-
71+
7272
&.waves-classic .waves-ripple {
73-
background: rgba(0,0,0,0.2);
73+
background: rgba(0,0,0,0.2);
7474
}
75-
75+
7676
&.waves-classic.waves-light .waves-ripple {
77-
background: rgba(255,255,255,0.4);
77+
background: rgba(255,255,255,0.4);
7878
}
7979

8080
// Waves Colors
@@ -114,7 +114,7 @@
114114
@include waves-transition(none #{"!important"});
115115
}
116116

117-
.waves-button,
117+
.waves-button,
118118
.waves-circle {
119119
@include waves-transform(translateZ(0));
120120
-webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
@@ -153,14 +153,14 @@
153153
vertical-align: bottom;
154154

155155
&.waves-button {
156-
padding: 0;
156+
padding: 0;
157157
}
158158

159159
.waves-button-input {
160-
position: relative;
161-
top: 0;
162-
left: 0;
163-
z-index: 1;
160+
position: relative;
161+
top: 0;
162+
left: 0;
163+
z-index: 1;
164164
}
165165
}
166166

@@ -178,10 +178,10 @@
178178
@include waves-transition(all 300ms);
179179

180180
&:active {
181-
@include waves-box-shadow(0px 8px 20px 1px rgba(0, 0, 0, 0.30));
181+
@include waves-box-shadow(0px 8px 20px 1px rgba(0, 0, 0, 0.30));
182182
}
183183
}
184184

185185
.waves-block {
186186
display: block;
187-
}
187+
}

0 commit comments

Comments
 (0)