From e4e4fada9b783edd88bc10cee3cba3004570010e Mon Sep 17 00:00:00 2001 From: EliverLara Date: Fri, 6 Nov 2020 13:59:52 -0600 Subject: [PATCH] Gnome-shell: Fix calendar and workspace-switcher issues in gnome v3.38 --- gnome-shell/_common.scss | 25 +++++++++++++++++++++---- gnome-shell/gnome-shell.css | 14 +++++++++++++- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/gnome-shell/_common.scss b/gnome-shell/_common.scss index 04fe9d2..adf07e0 100644 --- a/gnome-shell/_common.scss +++ b/gnome-shell/_common.scss @@ -724,7 +724,7 @@ StScrollBar { height: 50px; background-color: $selected_bg_color; color: $selected_fg_color; - //background-image: url("resource:///org/gnome/shell/theme/assets/ws-switch-arrow-up.png"); + border: none; background-size: 32px; border-radius: 8px; } @@ -1041,12 +1041,29 @@ StScrollBar { .calendar-nonwork-day { color: $insensitive_fg_color; } + // Today .calendar-today { font-weight: bold; - //color: lighten($fg_color,10%); - //background-color: darken($bg_color,5%); - border: 1px solid transparentize($borders_color,0.5); + border: 1px solid transparent; + background-color: $selected_bg_color; + color: $selected_fg_color; + + &:hover,&:focus { + background-color:lighten($selected_bg_color, 3%); + color: $selected_fg_color; + } + + &:active,&:selected { + background-color: $selected_bg_color; + color: $selected_fg_color; + + &:hover,&:focus { + background-color:lighten($selected_bg_color, 3%); + color: $selected_fg_color; + } + } } + .calendar-day-with-events { color: lighten($fg_color,10%); font-weight: bold; diff --git a/gnome-shell/gnome-shell.css b/gnome-shell/gnome-shell.css index a07d641..d79f162 100644 --- a/gnome-shell/gnome-shell.css +++ b/gnome-shell/gnome-shell.css @@ -668,6 +668,7 @@ StScrollBar { height: 50px; background-color: #00e8b7; color: #f7f7f7; + border: none; background-size: 32px; border-radius: 8px; } @@ -956,7 +957,18 @@ StScrollBar { .calendar-today { font-weight: bold; - border: 1px solid rgba(22, 24, 25, 0.5); } + border: 1px solid transparent; + background-color: #00e8b7; + color: #f7f7f7; } + .calendar-today:hover, .calendar-today:focus { + background-color: #00f7c3; + color: #f7f7f7; } + .calendar-today:active, .calendar-today:selected { + background-color: #00e8b7; + color: #f7f7f7; } + .calendar-today:active:hover, .calendar-today:active:focus, .calendar-today:selected:hover, .calendar-today:selected:focus { + background-color: #00f7c3; + color: #f7f7f7; } .calendar-day-with-events { color: #b5c3c8;