mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2026-05-29 23:48:34 +00:00
Fixed Gnome 45 Virtual Desktop Indicator #962
This commit is contained in:
@@ -29,6 +29,9 @@ $panel_font: 'white';
|
||||
// Panel height size
|
||||
$panel_size: 'default';
|
||||
|
||||
// Panel Activities button style
|
||||
$activities: 'apple';
|
||||
|
||||
// Monterey style
|
||||
$monterey: 'false';
|
||||
|
||||
|
||||
@@ -47,6 +47,61 @@ $panel_height: $menuitem_size;
|
||||
}
|
||||
}
|
||||
|
||||
%normal_activites {
|
||||
-natural-hpadding: $base_padding * 3;
|
||||
color: $panel_fg;
|
||||
|
||||
StBoxLayout {
|
||||
spacing: $container_padding;
|
||||
}
|
||||
|
||||
.workspace-dot {
|
||||
background-color: $panel_fg;
|
||||
}
|
||||
|
||||
&:overview {
|
||||
.workspace-dot {
|
||||
background-color: $light_fg_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
%apple_activites {
|
||||
-natural-hpadding: $base_padding * 2;
|
||||
background-image: url("assets/activities.svg");
|
||||
background-position: center center;
|
||||
background-size: 24px 24px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
color: transparent;
|
||||
font-size: 0;
|
||||
|
||||
> * { width: $medium_size; }
|
||||
|
||||
StBoxLayout {
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
.workspace-dot {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
&:active, &:overview, &:focus, &:checked {
|
||||
border: none;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
&:overview { background-color: transparent; }
|
||||
|
||||
@if $variant == 'light' {
|
||||
@if $panel_font == 'black' or $trans == 'false' {
|
||||
&:overview {
|
||||
background-image: url("assets/activities-white.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#panel {
|
||||
background-color: $panel_bg;
|
||||
font-weight: 500;
|
||||
@@ -196,41 +251,13 @@ $panel_height: $menuitem_size;
|
||||
}
|
||||
|
||||
&#panelActivities { // Activities button
|
||||
-natural-hpadding: $base_padding * 2;
|
||||
background-image: url("assets/activities.svg");
|
||||
background-position: center center;
|
||||
background-size: 24px 24px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-gradient-direction: none;
|
||||
border: none;
|
||||
color: transparent;
|
||||
font-size: 0;
|
||||
|
||||
> * { width: $medium_size; }
|
||||
|
||||
StBoxLayout {
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
.workspace-dot {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
&:active, &:overview, &:focus, &:checked {
|
||||
border: none;
|
||||
color: transparent;
|
||||
// background-image: url("assets/activities-active.svg");
|
||||
}
|
||||
|
||||
&:overview { background-color: transparent; }
|
||||
|
||||
@if $variant == 'light' {
|
||||
@if $panel_font == 'black' or $trans == 'false' {
|
||||
&:overview {
|
||||
background-image: url("assets/activities-white.svg");
|
||||
}
|
||||
}
|
||||
@if $activities == 'apple' {
|
||||
@extend %apple_activites;
|
||||
} @else {
|
||||
@extend %normal_activites;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ UnityPanelWidget,
|
||||
background-color: lighten($header_bg, 8);
|
||||
border-radius: 0px;
|
||||
padding: 0px;
|
||||
color: white;
|
||||
color: $header_fg;
|
||||
}
|
||||
|
||||
.lightdm.menu .menuitem *,
|
||||
|
||||
Reference in New Issue
Block a user