[libadwaita/wip/exalm/backdrop: 11/27] stylesheet: Drop unused backdrop overshoot glow
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/backdrop: 11/27] stylesheet: Drop unused backdrop overshoot glow
- Date: Mon, 3 May 2021 14:17:19 +0000 (UTC)
commit de3cc934e46c888f9076a08604cd29cadf7d1a17
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Apr 29 20:01:51 2021 +0500
stylesheet: Drop unused backdrop overshoot glow
src/stylesheet/_drawing.scss | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/src/stylesheet/_drawing.scss b/src/stylesheet/_drawing.scss
index 9acb515..1bb0031 100644
--- a/src/stylesheet/_drawing.scss
+++ b/src/stylesheet/_drawing.scss
@@ -346,7 +346,7 @@ $_default_button_c: lighten($bg_color,2%);
}
-@mixin overshoot($p, $t:normal, $c:$fg_color) {
+@mixin overshoot($p, $c:$fg_color) {
//
// overshoot
//
@@ -356,9 +356,6 @@ $_default_button_c: lighten($bg_color,2%);
//
// possible $p values:
// top, bottom, right, left
-//
-// possible $t values:
-// normal, backdrop
//
$_small_gradient_length: 3%;
@@ -378,8 +375,6 @@ $_default_button_c: lighten($bg_color,2%);
@if $c==$fg_color {
$_small_gradient_color: darken($borders_color, 10%);
$_big_gradient_color: transparentize($fg_color, 0.93);
-
- @if $t==backdrop { $_small_gradient_color: $backdrop_borders_color; }
}
$_small_gradient: radial-gradient(farthest-side at $p,
@@ -390,15 +385,8 @@ $_default_button_c: lighten($bg_color,2%);
$_big_gradient_color,
transparentize($_big_gradient_color, 1));
- @if $t==normal {
- background-image: $_small_gradient, $_big_gradient;
- background-size: $_small_gradient_size, $_big_gradient_size;
- }
-
- @else if $t==backdrop {
- background-image: $_small_gradient;
- background-size: $_small_gradient_size;
- }
+ background-image: $_small_gradient, $_big_gradient;
+ background-size: $_small_gradient_size, $_big_gradient_size;
background-repeat: no-repeat;
background-position: $p;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]