[gnome-shell-sass] screenshot: Don't pick up rubberband style from GTK



commit 97af1d570836524cc75f7ad8bbdbe89db0cc4f0c
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Apr 4 16:03:54 2019 +0200

    screenshot: Don't pick up rubberband style from GTK
    
    Selecting a screen area for a screenshot isn't the same as selecting
    items in an icon view, so there's no strong rationale for picking
    up the style from GTK. We stopped doing that for other elements like
    tile previews long ago, so just use our own style here too.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/481

 _common.scss | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/_common.scss b/_common.scss
index c7485ae..835d44b 100644
--- a/_common.scss
+++ b/_common.scss
@@ -1142,6 +1142,12 @@ StScrollBar {
 
 .ripple-box:rtl { border-radius: 0 0 0 52px; } // just a simple change to the border radius position
 
+// Rubberband for select-area screenshots
+.select-area-rubberband {
+  background-color: transparentize($selected_bg_color,0.7);
+  border: 1px solid $selected_bg_color;
+}
+
 // not really top bar only
 .popup-menu-arrow { icon-size: 1.09em; }
 .popup-menu-icon { icon-size: 1.09em; }


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