Skip to content

Commit

Permalink
Adwaita: Add comment around the .overshoot style class
Browse files Browse the repository at this point in the history
And document the oddities around it, as requested by Lapo
  • Loading branch information
garnacho committed Jul 10, 2014
1 parent b3ab508 commit cb6ef5c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gtk/resources/theme/Adwaita/_common.scss
Expand Up @@ -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);
}
Expand Down
5 changes: 5 additions & 0 deletions gtk/resources/theme/Adwaita/gtk-contained-dark.css
Expand Up @@ -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); }

Expand Down
5 changes: 5 additions & 0 deletions gtk/resources/theme/Adwaita/gtk-contained.css
Expand Up @@ -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); }

Expand Down

0 comments on commit cb6ef5c

Please sign in to comment.