Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Commit

Permalink
Revert: "Gtk-3.20: [Budgie-desktop] Polish upcoming 'notification gro…
Browse files Browse the repository at this point in the history
…uping' GtkListBox styling in Raven"

Budgie 10.5 will support Gtk+ >= 3.22...
Thanks Josh.
  • Loading branch information
tista500 committed Aug 6, 2018
1 parent 7b0561f commit 655a793
Showing 1 changed file with 12 additions and 46 deletions.
58 changes: 12 additions & 46 deletions gtk/sass/3.20/_3rd-party.scss
Original file line number Diff line number Diff line change
Expand Up @@ -709,58 +709,24 @@ window.budgie-popover:not(.csd) {
}

// notification list
box.vertical > stack > box.vertical {
> .raven-header { border-bottom: 1px solid $borders_color; }

> .raven-background > viewport.frame {
list { background-color: transparent; }

> list > row.activatable {
padding-bottom: 4px;
border-bottom: 1px solid $borders_color;
background-color: transparent;
&:selected {
box.vertical > stack > box.vertical > .raven-background {
> viewport.frame > list > row.activatable {
padding-bottom: 4px;
border-bottom: 1px solid $borders_color;
&:selected {
&, &:focus {
background-color: gtkopacity($selected_bg_color, 0.25);
&:dir(ltr) { box-shadow: inset 4px 0 $selected_bg_color; }
&:dir(rtl) { box-shadow: inset -4px 0 $selected_bg_color; }

> grid > *, // legacy
> box.vertical * {
color: $fg_color;
opacity: 1.0;
}
}

> box.vertical > box.horizontal > button.image-button { // 'dismiss'
// left-most image size = 32px?
margin-top: if($ref_weight < 1.0,
calc((32px - 16px - (0.42rem - 0.1rem) * 2) / 2),
calc((32px - 16px - (0.6rem - 0.1rem) * 2) / 2));
margin-bottom: if($ref_weight < 1.0,
calc((32px - 16px - (0.42rem - 0.1rem) * 2) / 2),
calc((32px - 16px - (0.6rem - 0.1rem) * 2) / 2));
&:dir(ltr) { margin-right: rem(2.7px + 4px); }
&:dir(rtl) { margin-left: rem(2.7px + 4px); }
}

// sub-list rows grouping
list {
border-radius: 2px;
border: 1px solid $borders_color;

> row.activatable {
border-bottom: 1px solid $borders_color;
&:last-child { border-bottom: none; }
&:dir(ltr) { padding: 2px rem(2.7px) 2px 8px; }
&:dir(rtl) { padding: 2px 8px 2px rem(2.7px); }

&:selected {
background-color: gtkopacity($selected_bg_color, 0.25);
> grid > label {
&, &.dim-label {
color: $fg_color;
opacity: 1.0;
}

// title labels
box.horizontal > label:first-child { font-weight: 700; }
}

> grid > image { color: $fg_color; }
}
}
}
Expand Down

0 comments on commit 655a793

Please sign in to comment.