This commit is contained in:
Vince 2021-06-06 08:53:23 +08:00
parent 140dd93375
commit cd3eb2f78a
2 changed files with 49 additions and 8 deletions

View File

@ -1,4 +1,3 @@
// //
// Extensions // Extensions
// //
@ -21,6 +20,7 @@ window.background.csd {
> stack > box > stack > box > scrolledwindow > viewport > frame, // ArcMenu setting > stack > box > stack > box > scrolledwindow > viewport > frame, // ArcMenu setting
> stack > grid > scrolledwindow > viewport > box > frame { // GSConnect setting > stack > grid > scrolledwindow > viewport > box > frame { // GSConnect setting
> border { border: none; } > border { border: none; }
border: none;
> list { > list {
@extend %circular_list; @extend %circular_list;

View File

@ -3328,7 +3328,47 @@ frame {
scrolledwindow { scrolledwindow {
viewport.frame { // avoid double borders when viewport inside scrolled window viewport.frame { // avoid double borders when viewport inside scrolled window
border-style: none; border: none;
.frame {
border: none;
> textview {
border-radius: $bt_radius;
background: none;
> text {
border-radius: $bt_radius;
border: 1px solid $borders_color;
}
}
}
> box.vertical list.content.view {
border-top-left-radius: $wm_radius;
border-top-right-radius: $wm_radius;
}
> box.vertical list.frame {
@extend %circular_list;
padding: 0;
> row.activatable { @extend %circular_row; }
list {
border: none;
box-shadow: none;
border-radius: 0;
margin: 0;
background: none;
> row.activatable {
&, &:first-child, &:last-child {
border-radius: 0;
}
}
}
}
} }
// This is used by GtkScrolledWindow, when content is touch-dragged past boundaries. // This is used by GtkScrolledWindow, when content is touch-dragged past boundaries.
@ -3387,12 +3427,13 @@ list {
// &:last-child { border-radius: 0 0 $bt_radius $bt_radius; } // &:last-child { border-radius: 0 0 $bt_radius $bt_radius; }
} }
// .sidebar & { &.content:not(.conversation-listbox) {
// > row { @extend %circular_list;
// &:first-child { border-radius: $bt_radius; }
// &:last-child { border-radius: $bt_radius; } > row {
// } @extend %circular_row;
// } }
}
> row.expander { padding: 0px; } > row.expander { padding: 0px; }
> row.expander .row-header { padding: 2px; } > row.expander .row-header { padding: 2px; }