[gtk+] Adwaita: Add comment around the .overshoot style class



commit cb6ef5c222161215e3e63d83bd4507e96f887302
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jul 10 16:55:00 2014 +0200

    Adwaita: Add comment around the .overshoot style class
    
    And document the oddities around it, as requested by Lapo

 gtk/resources/theme/Adwaita/_common.scss           |    5 +++++
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    5 +++++
 gtk/resources/theme/Adwaita/gtk-contained.css      |    5 +++++
 3 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index f36e478..8330ab6 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -122,6 +122,11 @@
   background-color: transparentize($selected_bg_color,0.8);
 }
 
+/* This is used by GtkScrolledWindow, when rendering the edge
+ * gradient shown when content is touch-dragged past boundaries.
+ * The color is used as a base for such gradient, which is then
+ * stretched/modified as a direct result of user interaction.
+ */
 .overshoot {
   background-color: transparentize($selected_bg_color,0.8);
 }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index af4a806..2646c77 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -108,6 +108,11 @@
   border: 1px solid #215d9c;
   background-color: rgba(33, 93, 156, 0.2); }
 
+/* This is used by GtkScrolledWindow, when rendering the edge
+ * gradient shown when content is touch-dragged past boundaries.
+ * The color is used as a base for such gradient, which is then
+ * stretched/modified as a direct result of user interaction.
+ */
 .overshoot {
   background-color: rgba(33, 93, 156, 0.2); }
 
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index ae9aaec..69d576e 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -108,6 +108,11 @@
   border: 1px solid #4a90d9;
   background-color: rgba(74, 144, 217, 0.2); }
 
+/* This is used by GtkScrolledWindow, when rendering the edge
+ * gradient shown when content is touch-dragged past boundaries.
+ * The color is used as a base for such gradient, which is then
+ * stretched/modified as a direct result of user interaction.
+ */
 .overshoot {
   background-color: rgba(74, 144, 217, 0.2); }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]