This commit is contained in:
Vince
2022-11-09 20:41:18 +08:00
parent 58606ca472
commit 0e076fac7f
3 changed files with 23 additions and 17 deletions

View File

@@ -1311,6 +1311,11 @@ searchbar > revealer > box {
padding: $space-size $space-size * 2; padding: $space-size $space-size * 2;
border-radius: $window-radius $window-radius 0 0; border-radius: $window-radius $window-radius 0 0;
box-shadow: inset 0 1px highlight($titlebar); box-shadow: inset 0 1px highlight($titlebar);
background-color: $titlebar;
&:backdrop {
background-color: $titlebar-backdrop;
}
.tiled &, .tiled &,
.maximized &, .maximized &,
@@ -3648,7 +3653,6 @@ colorchooser .popover.osd {
decoration { decoration {
transition: $transition-shadow; transition: $transition-shadow;
border-radius: $window-radius; border-radius: $window-radius;
// background-color: $background;
@if $rimless == 'true' { @if $rimless == 'true' {
box-shadow: $shadow-z16, 0 0 36px transparent; box-shadow: $shadow-z16, 0 0 36px transparent;

View File

@@ -1625,7 +1625,7 @@ headerbar {
} }
} }
popover.background { // reset popover popover.background { // reset popovers
button:not(.suggested-action):not(.destructive-action):not(.flat) { button:not(.suggested-action):not(.destructive-action):not(.flat) {
@extend %button-basic; @extend %button-basic;
} }
@@ -1639,6 +1639,16 @@ headerbar {
} }
entry { @extend %entry-basic; } entry { @extend %entry-basic; }
entry,
spinbutton,
button,
menubutton,
stackswitcher,
separator:not(.sidebar) {
margin-top: 0;
margin-bottom: 0;
}
} }
separator:not(.sidebar) { separator:not(.sidebar) {
@@ -2490,8 +2500,8 @@ tabbar {
} }
> separator { > separator {
margin-top: 9px; margin: 9px 0;
margin-bottom: 9px; min-width: 1px;
transition: opacity 150ms ease-in-out; transition: opacity 150ms ease-in-out;
&.hidden { &.hidden {
@@ -2501,6 +2511,7 @@ tabbar {
> tabboxchild { > tabboxchild {
margin: 0 -3px; margin: 0 -3px;
padding: 0;
> tab { > tab {
@extend %tabs_tab; @extend %tabs_tab;

View File

@@ -1127,11 +1127,10 @@ window > contents > leaflet { // Gnome control center
// Gnome Weather // Gnome Weather
// //
@define-color weather_temp_chart_fill_color: #{rgba(248, 228, 92, 0.5)}; @define-color weather_temp_chart_fill_color #{rgba($warning, 0.5)};
@define-color weather_temp_chart_stroke_color: #{rgba(246, 211, 45, 1.0)}; @define-color weather_temp_chart_stroke_color #{darken($warning, 10%)};
@define-color weather_thermometer_warm_color #{if($variant == 'light', $yellow-dark, $yellow-light)};
@define-color weather_thermometer_warm_color: #{if($variant == 'light', $yellow-dark, $yellow-light)}; @define-color weather_thermometer_cold_color #{if($variant == 'light', $blue-dark, $blue-light)};
@define-color weather_thermometer_cold_color: #{if($variant == 'light', $blue-dark, $blue-light)};
$weather_thermometer_high_color: $yellow-light; $weather_thermometer_high_color: $yellow-light;
$weather_thermometer_low_color: $blue-light; $weather_thermometer_low_color: $blue-light;
@@ -1484,11 +1483,3 @@ window.dialog {
} }
} }
} }
window.aboutdialog {
stack scrolledwindow.frame > {
&, viewport.view {
border-radius: $window-radius - $space-size;
}
}
}