File tree Expand file tree Collapse file tree 1 file changed +4
-21
lines changed
Expand file tree Collapse file tree 1 file changed +4
-21
lines changed Original file line number Diff line number Diff line change 309309
310310 $_big_gradient_length : 60% ;
311311
312- $_position : center top ;
313312 $_big_gradient_size : 100% $_big_gradient_length ;
314313
315- @if $p == bottom {
316- $_position : center bottom ;
317- }
318-
319- @else if $p == right {
320- $_position : right center ;
321- $_big_gradient_size : $_big_gradient_length 100% ;
322- }
323-
324- @else if $p == left {
325- $_position : left center ;
326- $_big_gradient_size : $_big_gradient_length 100% ;
327- }
328-
329- background-image : -gtk-gradient (radial ,
330- $_position , 0 ,
331- $_position , 0.6 ,
332- from (transparentize ($c , 0.8 )),
333- to (transparentize ($c , 1 )));
314+ background-image : radial-gradient (farthest-side at $p ,
315+ transparentize ($c , 0.8 ),
316+ transparentize ($c , 1 ));
334317
335318 background-size : $_big_gradient_size ;
336319 background-repeat : no-repeat ;
337- background-position : $_position ;
320+ background-position : $p ;
338321
339322 background-color : transparent ; // reset some properties to be sure to not inherit them somehow
340323 border : none ; //
You can’t perform that action at this time.
0 commit comments