gnome-shell-dark-theme/gnome-shell-sass/widgets/_corner-ripple.scss

16 lines
460 B
SCSS
Raw Permalink Normal View History

/* Activities Ripple */
$ripple_size: 50px;
.ripple-box {
2024-09-19 22:21:34 -04:00
background-color: rgba(0,0,0,0);
box-shadow: 0 0 2px 2px rgba(255,255,255,0.2);
// plus + 2px for the border (box-shadow)
width: $ripple_size + 2px;
height: $ripple_size + 2px;
border-radius: 0 0 $ripple_size + 2px 0; // radius equals the size of the box to give us the curve
// just a simple change to the border radius position
&:rtl { border-radius: 0 0 0 $ripple_size + 2px; }
}