Skip to content

Commit

Permalink
Fix play button looking clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
kra-mo committed May 20, 2024
1 parent 8405c51 commit e95d121
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hyperplane/gtk/item.blp
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,17 @@ template $HypItem: Adw.Bin {

[overlay]
Box play_button {
halign: center;
valign: center;
halign: start;
valign: start;
visible: false;

Image play_button_icon {
icon-name: "media-playback-start-symbolic";
}

styles [
"osd",
"circular-box",
"play-button",
]
}

Expand Down
5 changes: 5 additions & 0 deletions hyperplane/gtk/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ and that looks ugly.
background-color: @sidebar_shade_color;
}

.play-button {
color: white;
background-image: radial-gradient(circle closest-side, alpha(black, .1), transparent);
}

.circular-box {
border-radius: 50%;
}
Expand Down

0 comments on commit e95d121

Please sign in to comment.