Skip to content

Commit

Permalink
Get rid of gradient etc
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Mar 21, 2024
1 parent fbfeab8 commit 4c9b5fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
9 changes: 0 additions & 9 deletions data/styles/Plug.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ toolbarview {

revealer.top-bar {
&.raised {
background-color: rgba(black, 0.05);
background-image:
linear-gradient(
to bottom,
#{'alpha(@highlight_color, 0.1)'},
rgba(white, 0)
);
box-shadow:
inset 0 -1px 0 0 #{'alpha(@highlight_color, 0.2)'},
inset 0 1px 0 0 #{'alpha(@highlight_color, 0.3)'},
Expand All @@ -76,8 +69,6 @@ toolbarview {
0 1px rem(2px) rgba(black, 0.2);

&:backdrop {
background-color: inherit;
background-image: none;
box-shadow:
inset 0 -1px 0 0 #{'alpha(@highlight_color, 0.2)'},
inset 0 1px 0 0 #{'alpha(@highlight_color, 0.3)'},
Expand Down
3 changes: 1 addition & 2 deletions src/CategoryView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ public class Switchboard.CategoryView : Adw.NavigationPage {
};

var toolbarview = new Adw.ToolbarView () {
content = scrolled,
top_bar_style = RAISED
content = scrolled
};
toolbarview.add_top_bar (headerbar);

Expand Down

0 comments on commit 4c9b5fb

Please sign in to comment.