Fixed issues

This commit is contained in:
vinceliuice
2023-04-09 12:44:05 +08:00
parent 51033abc94
commit 9bc382b7c1
3 changed files with 32 additions and 9 deletions

View File

@@ -1323,9 +1323,15 @@ searchbar > revealer > box {
min-height: $small-size;
padding: $space-size $space-size * 2;
border-radius: $window-radius $window-radius 0 0;
box-shadow: inset 0 1px highlight($titlebar);
border: none;
background-color: $titlebar;
@if $variant == 'light' or $rimless == 'true' {
box-shadow: inset 0 1px highlight($titlebar);
} @else {
box-shadow: none;
}
&:backdrop {
background-color: $titlebar-backdrop;
}
@@ -1348,9 +1354,9 @@ searchbar > revealer > box {
padding: $space-size;
@if $rimless == 'false' and $variant == 'dark' {
box-shadow: inset 0 -1px $border;
box-shadow: none;
} @else {
box-shadow: inset 0 1px highlight($titlebar), inset 0 -1px $border;
box-shadow: inset 0 1px highlight($titlebar);
}
}
@@ -3102,6 +3108,12 @@ messagedialog { // Message Dialog styling
&.background {
background-color: if($variant == 'dark', background(f), background(c));
.titlebar {
&, &:backdrop {
background-color: if($variant == 'dark', background(f), background(c));
}
}
&.csd { // rounded bottom border styling for csd version
border-bottom-left-radius: $window-radius;
border-bottom-right-radius: $window-radius;
@@ -3111,6 +3123,12 @@ messagedialog { // Message Dialog styling
} @else {
background-color: $surface;
}
.titlebar {
&, &:backdrop {
background-color: if($variant == 'dark', transparent, $surface);
}
}
}
}
@@ -3118,10 +3136,6 @@ messagedialog { // Message Dialog styling
.titlebar {
border: none;
box-shadow: none;
&, &:backdrop {
background-color: transparent;
}
}
}

View File

@@ -1686,9 +1686,10 @@ headerbar {
}
&.default-decoration {
min-height: $small-size;
padding: $space-size;
min-height: $medium-size;
// padding: $space-size;
box-shadow: inset 0 1px highlight($titlebar);
border: none;
windowcontrols {
button,

View File

@@ -105,6 +105,14 @@
}
}
&.background.csd .toolbar {
border-radius: 0 0 $window-radius $window-radius;
}
&.background.csd.maximized .toolbar {
border-radius: 0;
}
.view {
selection,
&:selected {