This repository was archived by the owner on Sep 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,6 +107,14 @@ $icon-button-margin: rem(0.600) !default;
107107 padding-left : 0 ;
108108 padding-right : 0 ;
109109 width : $icon-button-width ;
110+ border-radius : 50% ;
111+ .md-ripple-container {
112+ border-radius : 50% ;
113+ background-clip : padding-box ;
114+ overflow : hidden ;
115+ // The following hack causes Safari/Chrome to respect overflow hidden for ripples
116+ -webkit-mask-image : url (' data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC' );
117+ }
110118 }
111119
112120 & .md-fab {
@@ -135,7 +143,7 @@ $icon-button-margin: rem(0.600) !default;
135143 border-radius : 50% ;
136144 background-clip : padding-box ;
137145 overflow : hidden ;
138- // The following hack causes Safari to respect overflow hidden for ripples
146+ // The following hack causes Safari/Chrome to respect overflow hidden for ripples
139147 -webkit-mask-image : url (' data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC' );
140148 }
141149
You can’t perform that action at this time.
0 commit comments