Fixed rhythmbox issues

This commit is contained in:
vinceliuice
2023-03-07 17:59:01 +08:00
parent d7e57df999
commit a27accd9c2
3 changed files with 77 additions and 13 deletions

View File

@@ -3100,7 +3100,11 @@ calendar {
***********/ ***********/
messagedialog { // Message Dialog styling messagedialog { // Message Dialog styling
&.background { &.background {
@if $variant == 'dark' {
background-color: transparent;
} @else {
background-color: $surface; background-color: $surface;
}
&.csd { // rounded bottom border styling for csd version &.csd { // rounded bottom border styling for csd version
border-bottom-left-radius: $window-radius; border-bottom-left-radius: $window-radius;
@@ -3108,16 +3112,14 @@ messagedialog { // Message Dialog styling
} }
} }
&, &.background.csd {
.titlebar { .titlebar {
min-height: $small-size; border: none;
border-style: none;
box-shadow: none; box-shadow: none;
background-color: $surface;
color: $text;
&:backdrop { &, &:backdrop {
background-color: $surface; background-color: transparent;
color: $text-secondary; }
} }
} }
@@ -3753,7 +3755,7 @@ decoration {
border: none; border: none;
} }
messagedialog.csd & { messagedialog.background.csd & {
border-radius: $window-radius; border-radius: $window-radius;
@if $variant == 'dark' { @if $variant == 'dark' {

View File

@@ -821,6 +821,8 @@ window.background.csd.unified {
} }
.sidebar-paned .inline-toolbar.horizontal.sidebar-toolbar { .sidebar-paned .inline-toolbar.horizontal.sidebar-toolbar {
box-shadow: inset 0 1px $border;
button.image-button { button.image-button {
border-radius: $circular-radius; border-radius: $circular-radius;
@@ -852,8 +854,9 @@ window.csd > box.vertical > box.vertical,
window.solid-csd > box.vertical > box.vertical { window.solid-csd > box.vertical > box.vertical {
> toolbar.horizontal { > toolbar.horizontal {
padding: $space-size; padding: $space-size;
// margin: -1px 0; margin: -1px 0;
border-bottom: none; border-bottom: none;
border-top: 1px solid $border;
box-shadow: none; box-shadow: none;
background-color: transparent; background-color: transparent;
@@ -861,6 +864,7 @@ window.solid-csd > box.vertical > box.vertical {
> toolitem > box.horizontal > button { > toolitem > box.horizontal > button {
@extend %circular-button; @extend %circular-button;
@extend %rhythmbox-image-button; @extend %rhythmbox-image-button;
margin: $space-size 0;
} }
} }
@@ -875,6 +879,8 @@ window.solid-csd > box.vertical > box.vertical {
// hard-coded spacing depends on non-scalable unit, // hard-coded spacing depends on non-scalable unit,
// seems cover-art widget is the most biggest thing? // seems cover-art widget is the most biggest thing?
window.background > box.vertical > toolbar.primary-toolbar { window.background > box.vertical > toolbar.primary-toolbar {
padding: 0 $space-size * 2 0 $space-size;
> toolitem { > toolitem {
> .linked > button.image-button.raised { // 'shuffle/repeat' > .linked > button.image-button.raised { // 'shuffle/repeat'
// @extend %circular-button; // @extend %circular-button;
@@ -905,6 +911,61 @@ window.background > box.vertical > toolbar.primary-toolbar {
} }
} }
window.background > box > .sidebar-paned {
> paned > box > notebook > stack > box {
> grid > grid > grid,
> box > grid > grid > grid,
> notebook > stack > grid > grid > grid { // Button box part
border-bottom: 1px solid $border;
padding: $space-size;
margin: -6px;
}
> grid > grid > box,
> box > grid > grid > box,
> notebook > stack > grid > grid > box { // Search box part
border-bottom: 1px solid $border;
padding: 0 $space-size $space-size;
margin: 0 -6px -6px 0;
}
> grid > paned > box,
> notebook > stack > grid > paned > box {
> scrolledwindow {
&:not(:last-child) {
border-right: 1px solid $border;
margin-right: -1px;
}
}
}
}
> paned > box > notebook > stack > box > box {
> grid > grid > grid,
> box > grid > grid > grid,
> notebook > stack > grid > grid > grid {
border-bottom: 1px solid $border;
padding: $space-size / 2;
margin: -1px -6px -6px;
}
> grid > paned > box,
> notebook > stack > grid > paned > box {
> scrolledwindow {
&:not(:last-child) {
border-right: 1px solid $border;
margin-right: -1px;
}
}
}
> paned > box:first-child > box {
padding: 0 $space-size $space-size;
border-bottom: 1px solid $border;
}
}
}
/********** /**********
* Polari * * Polari *

View File

@@ -91,7 +91,8 @@
} }
.toolbar { .toolbar {
padding: 0; padding: 2px;
margin: -2px;
button { button {
@extend %button-flat; @extend %button-flat;