Gnome-Shell: Update for GNOME 41

This commit is contained in:
Daniel Ruiz de Alegría 2021-09-23 09:25:09 +02:00
parent dcbb4e6e4b
commit d6fb8b7607
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
8 changed files with 46 additions and 28 deletions

View File

@ -152,7 +152,7 @@ stage {
StEntry { StEntry {
border-radius: 8px; border-radius: 8px;
padding: 8px; padding: 8px;
border-width: 1px; border-width: 0;
color: #eeeeec; color: #eeeeec;
background-color: #272a34; background-color: #272a34;
border-color: #0d0e11; border-color: #0d0e11;
@ -160,7 +160,7 @@ StEntry {
selected-color: #ffffff; } selected-color: #ffffff; }
StEntry:focus { StEntry:focus {
border-color: #00348d; border-color: #00348d;
box-shadow: inset 0 0 0 1px #2777ff; } box-shadow: inset 0 0 0 2px #2777ff; }
StEntry:insensitive { StEntry:insensitive {
color: #888a8d; color: #888a8d;
border-color: #242731; border-color: #242731;
@ -719,6 +719,13 @@ StScrollBar {
margin: 8px 16px 0; margin: 8px 16px 0;
padding: 4px; padding: 4px;
spacing: 12px; } spacing: 12px; }
.message-list-controls .dnd-button {
border-width: 2px;
border-color: transparent;
border-radius: 99px;
border-style: solid; }
.message-list-controls .dnd-button:focus {
border-color: rgba(39, 119, 255, 0.6); }
.message { .message {
border-width: 1px; border-width: 1px;
@ -1327,18 +1334,16 @@ StScrollBar {
border-radius: 18px; border-radius: 18px;
color: rgba(238, 238, 236, 0.7); color: rgba(238, 238, 236, 0.7);
background-color: #23252e; background-color: #23252e;
border-color: #0d0e11;
margin-top: 12px; margin-top: 12px;
margin-bottom: 6px; } margin-bottom: 6px;
border-width: 2px;
border-color: transparent; }
.search-entry:hover { .search-entry:hover {
background-color: #2e313d; background-color: #2e313d;
border-color: #13151a;
color: #fafaf9; } color: #fafaf9; }
.search-entry:focus { .search-entry:focus {
padding: 6px 8px;
border-width: 2px;
border-style: solid; border-style: solid;
border-color: #2777ff; border-color: #2777ff;
color: #eeeeec; color: #eeeeec;
@ -1553,8 +1558,7 @@ StScrollBar {
.rename-folder-popup .rename-folder-popup-item:ltr, .rename-folder-popup .rename-folder-popup-item:rtl { .rename-folder-popup .rename-folder-popup-item:ltr, .rename-folder-popup .rename-folder-popup-item:rtl {
padding: 0 12px; } padding: 0 12px; }
.app-menu, .app-menu {
.app-well-menu {
max-width: 27.25em; } max-width: 27.25em; }
.page-indicator { .page-indicator {

View File

@ -152,7 +152,7 @@ stage {
StEntry { StEntry {
border-radius: 8px; border-radius: 8px;
padding: 8px; padding: 8px;
border-width: 1px; border-width: 0;
color: #5c616c; color: #5c616c;
background-color: #fafafa; background-color: #fafafa;
border-color: #d9d9d9; border-color: #d9d9d9;
@ -160,7 +160,7 @@ StEntry {
selected-color: #ffffff; } selected-color: #ffffff; }
StEntry:focus { StEntry:focus {
border-color: #0051da; border-color: #0051da;
box-shadow: inset 0 0 0 1px #2777ff; } box-shadow: inset 0 0 0 2px #2777ff; }
StEntry:insensitive { StEntry:insensitive {
color: #aeb0b6; color: #aeb0b6;
border-color: #fdfdfd; border-color: #fdfdfd;
@ -718,6 +718,13 @@ StScrollBar {
margin: 8px 16px 0; margin: 8px 16px 0;
padding: 4px; padding: 4px;
spacing: 12px; } spacing: 12px; }
.message-list-controls .dnd-button {
border-width: 2px;
border-color: transparent;
border-radius: 99px;
border-style: solid; }
.message-list-controls .dnd-button:focus {
border-color: rgba(39, 119, 255, 0.6); }
.message { .message {
border-width: 1px; border-width: 1px;
@ -1326,18 +1333,16 @@ StScrollBar {
border-radius: 18px; border-radius: 18px;
color: rgba(92, 97, 108, 0.7); color: rgba(92, 97, 108, 0.7);
background-color: #ffffff; background-color: #ffffff;
border-color: #d9d9d9;
margin-top: 12px; margin-top: 12px;
margin-bottom: 6px; } margin-bottom: 6px;
border-width: 2px;
border-color: transparent; }
.search-entry:hover { .search-entry:hover {
background-color: #f7f7f7; background-color: #f7f7f7;
border-color: #e6e6e6;
color: #50555e; } color: #50555e; }
.search-entry:focus { .search-entry:focus {
padding: 6px 8px;
border-width: 2px;
border-style: solid; border-style: solid;
border-color: #2777ff; border-color: #2777ff;
color: #5c616c; color: #5c616c;
@ -1552,8 +1557,7 @@ StScrollBar {
.rename-folder-popup .rename-folder-popup-item:ltr, .rename-folder-popup .rename-folder-popup-item:rtl { .rename-folder-popup .rename-folder-popup-item:ltr, .rename-folder-popup .rename-folder-popup-item:rtl {
padding: 0 12px; } padding: 0 12px; }
.app-menu, .app-menu {
.app-well-menu {
max-width: 27.25em; } max-width: 27.25em; }
.page-indicator { .page-indicator {

View File

@ -46,7 +46,7 @@
border-color: if($fc==$selected_bg_color, border-color: if($fc==$selected_bg_color,
$selected_borders_color, $selected_borders_color,
darken($fc,35%)); darken($fc,35%));
box-shadow: inset 0 0 0 1px $fc; box-shadow: inset 0 0 0 2px $fc;
} }
@if $t==hover { } @if $t==hover { }
@if $t==insensitive { @if $t==insensitive {

View File

@ -108,8 +108,7 @@ $app_grid_fg_color: #fff;
} }
// right-click app menu // right-click app menu
.app-menu, .app-menu {
.app-well-menu {
max-width: 27.25em; max-width: 27.25em;
} }

View File

@ -3,7 +3,7 @@
StEntry { StEntry {
border-radius: $base_border_radius; border-radius: $base_border_radius;
padding: 8px; padding: 8px;
border-width: 1px; border-width: 0;
color: $fg_color; color: $fg_color;
@include entry(normal); @include entry(normal);
//&:hover { @include entry(hover);} //&:hover { @include entry(hover);}

View File

@ -25,6 +25,20 @@
// NOTE: remove the padding if notification_bubble could remove margin for drop shadow // NOTE: remove the padding if notification_bubble could remove margin for drop shadow
padding: $base_margin; padding: $base_margin;
spacing: $base_spacing * 2; spacing: $base_spacing * 2;
.dnd-button {
// We need this because the focus outline isn't inset like for the buttons
// so the dnd button would grow when it gets focus if we didn't change only
// its color when focusing.
border-width: 2px;
border-color: transparent;
border-radius: 99px;
border-style: solid;
&:focus {
border-color: transparentize($selected_bg_color, 0.4);
}
}
} }
// message bubbles // message bubbles

View File

@ -10,19 +10,16 @@ $search_entry_height: 36px;
border-radius: $search_entry_height * 0.5; // half the height border-radius: $search_entry_height * 0.5; // half the height
color: transparentize($fg_color,0.3); color: transparentize($fg_color,0.3);
background-color: $bg_color; background-color: $bg_color;
border-color: $borders_color;
margin-top: $base_spacing * 2; margin-top: $base_spacing * 2;
margin-bottom: $base_spacing; margin-bottom: $base_spacing;
border-width: 2px;
border-color: transparent;
&:hover { &:hover {
background-color: $hover_bg_color; background-color: $hover_bg_color;
border-color: $hover_borders_color;
color: $hover_fg_color; color: $hover_fg_color;
} }
&:focus { &:focus {
padding: $base_padding $base_padding+2; // 1px less to account for wider border
border-width: 2px;
border-style: solid; border-style: solid;
border-color: $selected_bg_color; border-color: $selected_bg_color;
color: $fg_color; color: $fg_color;

View File

@ -4,7 +4,7 @@ GREEN='\033[0;32m'
YELLOW='\033[0;33m' YELLOW='\033[0;33m'
RESET='\033[0m' RESET='\033[0m'
VERSION=40.3 VERSION=41.0
echo echo
printf " $YELLOW[ i ]$RESET Upstream version $VERSION\n" printf " $YELLOW[ i ]$RESET Upstream version $VERSION\n"