Gnome-Shell: Update theme tweaks

This commit is contained in:
Daniel Ruiz de Alegría 2023-09-18 10:17:16 +02:00
parent c1f8ba2e0f
commit 480c8df8a7
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C

View File

@ -84,62 +84,49 @@ $dialog_box_shadow: 0 2px 6px -2px transparentize(black, .8);
StIcon { icon-shadow: $_panel_text_shadow; } StIcon { icon-shadow: $_panel_text_shadow; }
&.unlock-screen,
&.login-screen,
&.lock-screen,
&:overview {
background-color: transparent;
.panel-button {
&, &:hover, &:active, &:focus, &:overview, &:checked { color: white; }
}
}
.panel-button { .panel-button {
color: $_panel_fg; color: $_panel_fg;
&:hover, &:active, &:focus, &:overview, &:checked {
&:active, &:focus, &:checked {
box-shadow: inset 0 0 0 100px transparentize(white, if($variant == 'light', .25, .75));
&:hover {
box-shadow: inset 0 0 0 100px transparentize(white, if($variant == 'light', .15, .65));
}
}
&:hover {
box-shadow: inset 0 0 0 100px transparentize(white, if($variant == 'light', 0, .8));
}
&.clock-display {
color: $_panel_fg; color: $_panel_fg;
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, if($variant == 'light', 1, .2));
}
&.screen-recording-indicator { color: white; }
}
.panel-button.clock-display {
// Move highlight from .panel-button to .clock
&:hover, &:active, &:overview, &:focus, &:checked {
box-shadow: none;
&:active, &:focus, &:checked {
.clock { .clock {
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, if($variant == 'light', 1, .2)); box-shadow: inset 0 0 0 100px transparentize(white, if($variant == 'light', .25, .75));
&:hover {
box-shadow: inset 0 0 0 100px transparentize(white, if($variant == 'light', .15, .65));
} }
} }
} }
#panelActivities.panel-button { &:hover {
margin-left: .4em; box-shadow: none !important;
StLabel { .clock {
background-image: if($variant == 'light', url("assets/view-grid-symbolic.svg"), box-shadow: inset 0 0 0 100px transparentize(white, if($variant == 'light', 0, .8));
url("assets/view-grid-symbolic-dark.svg")); }
background-size: contain; }
width: 1.5em;
height: 1.5em;
color: transparent;
} }
&:overview StLabel { &#panelActivities {
background-image: url("assets/view-grid-symbolic-dark.svg"); & .workspace-dot {
background-color: $_panel_fg;
} }
} }
}
/* Date/Time Menu */ &.screen-recording-indicator,
.datemenu-today-button { &.screen-sharing-indicator {
&:insensitive { color: inherit; } color: white;
}
/* Quick Settings */
.quick-toggle-menu {
& .header {
& .icon {
&.active { color: $selected_fg_color; }
} }
} }
} }
@ -219,10 +206,7 @@ $dialog_box_shadow: 0 2px 6px -2px transparentize(black, .8);
.app-folder-dialog { .app-folder-dialog {
background: black; background: black;
color: $osd_fg_color;
box-shadow: 0 0 100px lighten(black, 4%); box-shadow: 0 0 100px lighten(black, 4%);
& .folder-name-container .folder-name-entry { color: white; }
} }
/* OSD */ /* OSD */