Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
update(button): fixes shadow issue introduced in a1c011e
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle committed Mar 19, 2015
1 parent a1c011e commit 019a8d6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,18 @@ $button-fab-toast-offset: $button-fab-height * 0.75;
border-radius: 50%;
background-clip: padding-box;
overflow: hidden;
// The following hack causes Safari to respect overflow hidden for ripples
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);

transform: translate3d(0,0,0);

transition: 0.2s linear;
transition-property: transform, box-shadow;
.md-ripple-container {
border-radius: 50%;
background-clip: padding-box;
overflow: hidden;
// The following hack causes Safari to respect overflow hidden for ripples
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
}

md-icon {
margin-top: 0;
Expand Down

1 comment on commit 019a8d6

@sukant1000
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo bug in the grid list demo source code.

the p is missing in the "px"

error-grid-demo

Please sign in to comment.