From 64ef8c4fd82210417ed45324eb47fbfee50c086d Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sat, 11 Mar 2023 18:10:02 +0800 Subject: [PATCH] update --- .../gnome-shell/extensions-3-28/_misc.scss | 32 +++++++++++++++++++ .../gnome-shell/extensions-40-0/_misc.scss | 32 +++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/src/sass/gnome-shell/extensions-3-28/_misc.scss b/src/sass/gnome-shell/extensions-3-28/_misc.scss index 413ac6a..bf8d74f 100644 --- a/src/sass/gnome-shell/extensions-3-28/_misc.scss +++ b/src/sass/gnome-shell/extensions-3-28/_misc.scss @@ -106,3 +106,35 @@ margin: 0 !important; } } + +// +// Places Menu +// + +.place-menu-item { + &:ltr { + padding-left: 0 !important; + padding-right: $base_padding * 5 !important; + } + + &:rtl { + padding-right: 0 !important; + padding-left: $base_padding * 5 !important; + } + + StLabel { margin-left: $base_padding / 2; } + + .button { + border-radius: $circular_radius; + padding: $base_padding / 2; + + &:ltr { margin-left: 0 !important; } + &:rtl { margin-right: 0 !important; } + } + + &:focus, &:hover, &:selected { + .button { + @extend %osd_button; + } + } +} diff --git a/src/sass/gnome-shell/extensions-40-0/_misc.scss b/src/sass/gnome-shell/extensions-40-0/_misc.scss index 5198c29..97a79e2 100644 --- a/src/sass/gnome-shell/extensions-40-0/_misc.scss +++ b/src/sass/gnome-shell/extensions-40-0/_misc.scss @@ -136,3 +136,35 @@ } } } + +// +// Places Menu +// + +.place-menu-item { + &:ltr { + padding-left: 0 !important; + padding-right: $base_padding * 5 !important; + } + + &:rtl { + padding-right: 0 !important; + padding-left: $base_padding * 5 !important; + } + + StLabel { margin-left: $base_padding / 2; } + + .button { + border-radius: $circular_radius; + padding: $base_padding / 2; + + &:ltr { margin-left: 0 !important; } + &:rtl { margin-right: 0 !important; } + } + + &:focus, &:hover, &:selected { + .button { + @extend %osd_button; + } + } +}