This commit is contained in:
vinceliuice 2024-04-19 19:44:17 +08:00
parent e69a4925db
commit 93c563d82c
3 changed files with 67 additions and 1 deletions

View File

@ -268,6 +268,9 @@ $panel_height: $menuitem_size;
// screen activity indicators // screen activity indicators
&.screen-recording-indicator, &.screen-recording-indicator,
&.screen-sharing-indicator { &.screen-sharing-indicator {
border: 3px solid transparent;
background-color: transparent;
StBoxLayout { StBoxLayout {
spacing: $scaled_padding; spacing: $scaled_padding;
} }
@ -276,6 +279,30 @@ $panel_height: $menuitem_size;
icon-size: $scalable_icon_size; icon-size: $scalable_icon_size;
} }
} }
&.screen-recording-indicator {
box-shadow: inset 0 0 0 1000px $error_color !important;
&:hover {
box-shadow: inset 0 0 0 1000px mix($panel_fg, $error_color, 12%) !important;
}
&:active {
box-shadow: inset 0 0 0 1000px mix($panel_fg, $error_color, 24%) !important;
}
}
&.screen-sharing-indicator {
box-shadow: inset 0 0 0 1000px $warning_color !important;
&:hover {
box-shadow: inset 0 0 0 1000px mix($panel_fg, $warning_color, 12%) !important;
}
&:active {
box-shadow: inset 0 0 0 1000px mix($panel_fg, $warning_color, 24%) !important;
}
}
} }
Gjs_AggregateMenu.panel-button, Gjs_AggregateMenu.panel-button,

View File

@ -926,7 +926,9 @@ button {
@at-root %pill_button, @at-root %pill_button,
&.pill { &.pill {
padding: $container_padding $container_padding * 3; min-height: $menuitem_size - 4px;
min-width: $menuitem_size - 4px;
padding: $container_padding;
border-radius: $circular_radius; border-radius: $circular_radius;
} }
@ -3642,6 +3644,10 @@ progressbar {
min-width: $container_padding / 2; min-width: $container_padding / 2;
min-height: $container_padding / 2; min-height: $container_padding / 2;
background-color: transparent; background-color: transparent;
box-shadow: none;
border: none;
margin: 0;
padding: 0;
> trough { > trough {
border-style: none; border-style: none;

View File

@ -297,6 +297,35 @@ indicatorbin {
} }
} }
headerbar > windowhandle > box viewswitcher.wide {
box-shadow: inset 0 0 0 1px $light_borders_color;
border-radius: $bt_radius;
padding: 0;
margin: 8px 0;
> button.toggle {
margin: 0;
font-weight: 500;
border-radius: $bt_radius;
&:not(:first-child) {
border-width: 0 0 0 1px;
border-style: none solid none none;
border-image: linear-gradient(to bottom,
transparent 16%,
$light_borders_color 16%,
$light_borders_color 84%,
transparent 84%) 0 0 0 1 / 0 0 0 1px stretch;
}
&:hover, &:active, &:checked {
border-image: none;
& + button { border-image: none; }
}
}
}
// //
// Tab View // Tab View
@ -678,6 +707,10 @@ toolbarview.undershoot-bottom scrolledwindow {
notebook > stack box > switch { notebook > stack box > switch {
margin: 14px 0; margin: 14px 0;
} }
list.background {
background-color: transparent;
}
} }
// Gnome >= 45.0 // Gnome >= 45.0