From cc723085fbcdc9c1cc124e333ad5fd91899f4ec1 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Mon, 23 Jan 2023 00:13:50 +0800 Subject: [PATCH] Fixed gnome-shell issues --- src/sass/gnome-shell/common/_calendar.scss | 15 +++++++++------ src/sass/gnome-shell/common/_message-list.scss | 8 ++++---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/sass/gnome-shell/common/_calendar.scss b/src/sass/gnome-shell/common/_calendar.scss index 5b164b8..6797122 100644 --- a/src/sass/gnome-shell/common/_calendar.scss +++ b/src/sass/gnome-shell/common/_calendar.scss @@ -163,15 +163,18 @@ $popover_bubble_bg: if($variant == 'light', rgba(white, 0.95), rgba(lighten($bas .calendar-day-base { @include font(caption); text-align: center; - width: $menuitem_size; - height: $menuitem_size; - padding: 2px; - margin: 2px; + width: $menuitem_size !important; + height: $menuitem_size !important; + padding: 2px !important; + margin: 2px !important; border-radius: $circular_radius; color: $alt_fg_color; font-feature-settings: "tnum"; - &:hover, &:focus { background-color: $divider_color; } + &:hover, &:focus { + background-color: $divider_color; + box-shadow: none !important; + } &:active { color: $alt_fg_color; @@ -211,7 +214,7 @@ $popover_bubble_bg: if($variant == 'light', rgba(white, 0.95), rgba(lighten($bas border-left-width: 0; } - .calendar-work-day {} + // .calendar-work-day {} .calendar-nonwork-day { color: $disabled_fg_color; diff --git a/src/sass/gnome-shell/common/_message-list.scss b/src/sass/gnome-shell/common/_message-list.scss index 568f766..17059e7 100644 --- a/src/sass/gnome-shell/common/_message-list.scss +++ b/src/sass/gnome-shell/common/_message-list.scss @@ -128,16 +128,16 @@ } .message-media-control { - margin: 16px 4px; - padding: 8px; + margin: 18px 4px !important; + padding: 8px !important; border-radius: $circular_radius; color: $alt_fg_color; &:hover, &:focus { color: $fg_color; background-color: $divider_color; } &:active { color: $fg_color; background-color: $track_color; } &:insensitive { color: $disabled_fg_color; } - &:last-child:ltr { margin-right: 16px; padding-right: 8px; } - &:last-child:rtl { margin-left: 16px; padding-left: 8px; } + &:last-child:ltr { margin-right: 16px !important; padding-right: 8px !important; } + &:last-child:rtl { margin-left: 16px !important; padding-left: 8px !important; } StIcon { icon-size: $base_icon_size !important; } }