diff options
author | Ivan Molodetskikh <yalterz@gmail.com> | 2021-08-16 18:12:05 +0300 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2022-02-14 23:46:52 +0100 |
commit | 9b0335b4f2696adc0fa2ba29545408cb6acc5110 (patch) | |
tree | 2a6e986e9e1c1ec62b5a0cb2580fd8321565f0f7 | |
parent | 2d085b3453e07c30b2a2e7e2c610286cf549f6da (diff) | |
download | gnome-shell-sass-9b0335b4f2696adc0fa2ba29545408cb6acc5110.tar.gz |
screenshot-ui: Add cursor capturing option
The cursor texture, scale and position is captured separately and
overlaid on top of the preview, and on top of the final screenshot
image. This allows toggling it on and off post-factum.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>
-rw-r--r-- | widgets/_screenshot.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/widgets/_screenshot.scss b/widgets/_screenshot.scss index 0abc0f8..87cd693 100644 --- a/widgets/_screenshot.scss +++ b/widgets/_screenshot.scss @@ -70,6 +70,19 @@ } } +.screenshot-ui-show-pointer-button { + padding: $base_padding * 2; + border-radius: 99px; + background-color: $hover_bg_color; + &:hover, &:focus { background-color: lighten($hover_bg_color, 5%); } + &:active { background-color: $active_bg_color; } + &:checked { background-color: darken($hover_bg_color, 10%); } + + StIcon { + icon-size: $base_icon_size; + } +} + .screenshot-ui-area-indicator-shade { background-color: rgba(0, 0, 0, .3); } |