Browse Source

over- and undershooting now pretty

master
Marc 4 years ago
parent
commit
a3d490ddfb
1 changed files with 30 additions and 1 deletions
  1. 31
      .config/gtk-3.0/effects/overshoot.css

31
.config/gtk-3.0/effects/overshoot.css

@ -3,19 +3,48 @@
* and dotted lines when end of list is not reached * and dotted lines when end of list is not reached
*/ */
/* -gtk-gradient(radial start_x, start_y, start_radius, end_x end_y, end_radius, color-stop (position, color), ...) */
overshoot.top, overshoot.top,
overshoot.bottom, overshoot.bottom,
overshoot.left, overshoot.left,
overshoot.right { overshoot.right {
background: transparent; background: transparent;
background-repeat: no-repeat;
border: none; border: none;
box-shadow: none;
} }
undershoot.top.
overshoot.top {
background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(alpha(@acc1_color, 0.6)), to(transparent));
background-size: 100% 60%;
background-position: center top;
}
overshoot.bottom {
background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(alpha(@acc1_color, 0.6)), to(transparent));
background-size: 100% 60%;
background-position: center bottom;
}
overshoot.left {
background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(alpha(@acc1_color, 0.6)), to(transparent));
background-size: 60% 100%;
background-position: left center;
}
overshoot.right {
background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@acc1_color, 0.6)), to(transparent));
background-size: 60% 100%;
background-position: right center;
}
undershoot.top,
undershoot.bottom, undershoot.bottom,
undershoot.left, undershoot.left,
undershoot.right { undershoot.right {
background: transparent; background: transparent;
background-origin: content-box;
border: none; border: none;
box-shadow: none;
} }
Loading…
Cancel
Save