Skip to content

Commit

Permalink
fix(ripple): camel-cased CSS classes
Browse files Browse the repository at this point in the history
A few CSS classes got camel cased, by accident, as a part of #2244.
  • Loading branch information
crisbeto committed Dec 30, 2016
1 parent dccbe41 commit 584b097
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib/core/ripple/_ripple.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import '../theming/theming';


$mdRippleFocused-opacity: 0.1;
$md-ripple-focused-opacity: 0.1;
$md-ripple-background-fade-duration: 300ms;
$md-ripple-background-default-color: rgba(0, 0, 0, 0.0588);
$md-ripple-foreground-initial-opacity: 0.25;
Expand All @@ -15,7 +15,7 @@ $md-ripple-foreground-default-color: rgba(0, 0, 0, 0.0588);
overflow: hidden;
}

[md-ripple].mdRippleUnbounded {
[md-ripple].md-ripple-unbounded {
overflow: visible;
}

Expand All @@ -30,15 +30,15 @@ $md-ripple-foreground-default-color: rgba(0, 0, 0, 0.0588);
bottom: 0;
}

.mdRippleUnbounded .md-ripple-background {
.md-ripple-unbounded .md-ripple-background {
display: none;
}

.md-ripple-background.md-ripple-active {
opacity: 1;
}

.mdRippleFocused .md-ripple-background {
.md-ripple-focused .md-ripple-background {
opacity: 1;
}

Expand All @@ -64,8 +64,8 @@ $md-ripple-foreground-default-color: rgba(0, 0, 0, 0.0588);
@mixin md-ripple-theme($theme) {
$accent: map-get($theme, accent);

.mdRippleFocused .md-ripple-background {
background-color: md-color($accent, $mdRippleFocused-opacity);
.md-ripple-focused .md-ripple-background {
background-color: md-color($accent, $md-ripple-focused-opacity);
}
}

Expand Down

0 comments on commit 584b097

Please sign in to comment.