From b82d5906ca26887d9008b76c3f85ecf8e3ed786d Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Tue, 29 Dec 2020 08:52:29 +0800 Subject: [PATCH] Fixed #95 --- src/main/gnome-shell/gnome-shell-dark-alt.css | 6 ++++++ src/main/gnome-shell/gnome-shell-dark-solid-alt.css | 6 ++++++ src/main/gnome-shell/gnome-shell-dark-solid.css | 6 ++++++ src/main/gnome-shell/gnome-shell-dark.css | 6 ++++++ src/main/gnome-shell/gnome-shell-light-alt.css | 6 ++++++ src/main/gnome-shell/gnome-shell-light-solid-alt.css | 6 ++++++ src/main/gnome-shell/gnome-shell-light-solid.css | 6 ++++++ src/main/gnome-shell/gnome-shell-light.css | 6 ++++++ src/sass/gnome-shell/widgets/_misc.scss | 7 +++++++ 9 files changed, 55 insertions(+) diff --git a/src/main/gnome-shell/gnome-shell-dark-alt.css b/src/main/gnome-shell/gnome-shell-dark-alt.css index 4025b73..c33f30d 100644 --- a/src/main/gnome-shell/gnome-shell-dark-alt.css +++ b/src/main/gnome-shell/gnome-shell-dark-alt.css @@ -2542,6 +2542,12 @@ StEntry StLabel.hint-text { -pie-background-color: rgba(201, 221, 253, 0.3); } +.select-area-rubberband { + background-color: rgba(8, 96, 242, 0.3); + border: 1px solid #0860f2; + border-radius: 3px; +} + .caps-lock-warning-label { text-align: center; padding-bottom: 8px; diff --git a/src/main/gnome-shell/gnome-shell-dark-solid-alt.css b/src/main/gnome-shell/gnome-shell-dark-solid-alt.css index 145adc7..01b739c 100644 --- a/src/main/gnome-shell/gnome-shell-dark-solid-alt.css +++ b/src/main/gnome-shell/gnome-shell-dark-solid-alt.css @@ -2542,6 +2542,12 @@ StEntry StLabel.hint-text { -pie-background-color: rgba(201, 221, 253, 0.3); } +.select-area-rubberband { + background-color: rgba(8, 96, 242, 0.3); + border: 1px solid #0860f2; + border-radius: 3px; +} + .caps-lock-warning-label { text-align: center; padding-bottom: 8px; diff --git a/src/main/gnome-shell/gnome-shell-dark-solid.css b/src/main/gnome-shell/gnome-shell-dark-solid.css index 145adc7..01b739c 100644 --- a/src/main/gnome-shell/gnome-shell-dark-solid.css +++ b/src/main/gnome-shell/gnome-shell-dark-solid.css @@ -2542,6 +2542,12 @@ StEntry StLabel.hint-text { -pie-background-color: rgba(201, 221, 253, 0.3); } +.select-area-rubberband { + background-color: rgba(8, 96, 242, 0.3); + border: 1px solid #0860f2; + border-radius: 3px; +} + .caps-lock-warning-label { text-align: center; padding-bottom: 8px; diff --git a/src/main/gnome-shell/gnome-shell-dark.css b/src/main/gnome-shell/gnome-shell-dark.css index 4025b73..c33f30d 100644 --- a/src/main/gnome-shell/gnome-shell-dark.css +++ b/src/main/gnome-shell/gnome-shell-dark.css @@ -2542,6 +2542,12 @@ StEntry StLabel.hint-text { -pie-background-color: rgba(201, 221, 253, 0.3); } +.select-area-rubberband { + background-color: rgba(8, 96, 242, 0.3); + border: 1px solid #0860f2; + border-radius: 3px; +} + .caps-lock-warning-label { text-align: center; padding-bottom: 8px; diff --git a/src/main/gnome-shell/gnome-shell-light-alt.css b/src/main/gnome-shell/gnome-shell-light-alt.css index 9a8e250..4f0fff5 100644 --- a/src/main/gnome-shell/gnome-shell-light-alt.css +++ b/src/main/gnome-shell/gnome-shell-light-alt.css @@ -2542,6 +2542,12 @@ StEntry StLabel.hint-text { -pie-background-color: rgba(201, 221, 253, 0.3); } +.select-area-rubberband { + background-color: rgba(8, 96, 242, 0.3); + border: 1px solid #0860f2; + border-radius: 3px; +} + .caps-lock-warning-label { text-align: center; padding-bottom: 8px; diff --git a/src/main/gnome-shell/gnome-shell-light-solid-alt.css b/src/main/gnome-shell/gnome-shell-light-solid-alt.css index a628eaa..33ddc28 100644 --- a/src/main/gnome-shell/gnome-shell-light-solid-alt.css +++ b/src/main/gnome-shell/gnome-shell-light-solid-alt.css @@ -2542,6 +2542,12 @@ StEntry StLabel.hint-text { -pie-background-color: rgba(201, 221, 253, 0.3); } +.select-area-rubberband { + background-color: rgba(8, 96, 242, 0.3); + border: 1px solid #0860f2; + border-radius: 3px; +} + .caps-lock-warning-label { text-align: center; padding-bottom: 8px; diff --git a/src/main/gnome-shell/gnome-shell-light-solid.css b/src/main/gnome-shell/gnome-shell-light-solid.css index a628eaa..33ddc28 100644 --- a/src/main/gnome-shell/gnome-shell-light-solid.css +++ b/src/main/gnome-shell/gnome-shell-light-solid.css @@ -2542,6 +2542,12 @@ StEntry StLabel.hint-text { -pie-background-color: rgba(201, 221, 253, 0.3); } +.select-area-rubberband { + background-color: rgba(8, 96, 242, 0.3); + border: 1px solid #0860f2; + border-radius: 3px; +} + .caps-lock-warning-label { text-align: center; padding-bottom: 8px; diff --git a/src/main/gnome-shell/gnome-shell-light.css b/src/main/gnome-shell/gnome-shell-light.css index 44444df..0226877 100644 --- a/src/main/gnome-shell/gnome-shell-light.css +++ b/src/main/gnome-shell/gnome-shell-light.css @@ -2542,6 +2542,12 @@ StEntry StLabel.hint-text { -pie-background-color: rgba(201, 221, 253, 0.3); } +.select-area-rubberband { + background-color: rgba(8, 96, 242, 0.3); + border: 1px solid #0860f2; + border-radius: 3px; +} + .caps-lock-warning-label { text-align: center; padding-bottom: 8px; diff --git a/src/sass/gnome-shell/widgets/_misc.scss b/src/sass/gnome-shell/widgets/_misc.scss index 826491a..364b00c 100644 --- a/src/sass/gnome-shell/widgets/_misc.scss +++ b/src/sass/gnome-shell/widgets/_misc.scss @@ -16,6 +16,13 @@ -pie-background-color: lighten(transparentize($primary_color, 0.7), 40%); } +// Rubberband for select-area screenshots +.select-area-rubberband { + background-color: transparentize($primary_color, 0.7); + border: 1px solid $primary_color; + border-radius: 3px; +} + // Caps-lock warning .caps-lock-warning-label { text-align: center;