Skip to content

Commit

Permalink
finish new design, various improvements...
Browse files Browse the repository at this point in the history
  • Loading branch information
Nokse22 committed Dec 31, 2024
1 parent 5cb0cd5 commit 62d9cc4
Show file tree
Hide file tree
Showing 25 changed files with 421 additions and 411 deletions.
4 changes: 4 additions & 0 deletions data/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
transition: opacity 0.5s ease-in-out;
}

.rounded {
border-radius: 20px;
}

.hover-show:hover{
opacity:100;
}
Expand Down
4 changes: 3 additions & 1 deletion data/ui/pages_ui/artist_page_template.blp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ Box _main {
ellipsize: end;
vexpand: true;
xalign: 0.0;
yalign: 0.0;
}

[first-subtitle-label]
Expand All @@ -141,8 +142,8 @@ Box _main {

ellipsize: end;
vexpand: true;
lines: 2;
xalign: 0.0;
yalign: 0.0;
}

[artist-button]
Expand All @@ -153,6 +154,7 @@ Box _main {
[follow-button]
Button _follow_button {
icon-name: "heart-outline-thick-symbolic";
valign: center;

styles [
"flat",
Expand Down
34 changes: 33 additions & 1 deletion data/ui/pages_ui/page_template.blp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ using Adw 1;

Adw.ToolbarView _main {
[top]
Adw.HeaderBar {}
Adw.HeaderBar {
[end]
MenuButton {
icon-name: "open-menu-symbolic";
menu-model: primary_menu;
}
}

content: Stack _content_stack {
StackPage {
Expand Down Expand Up @@ -48,3 +54,29 @@ Adw.ToolbarView _main {
visible-child-name: 'loading';
};
}

menu primary_menu {
section {
item {
label: _("Logout");
action: "app.log-out";
}
}

section {
item {
label: _("_Preferences");
action: "app.preferences";
}

item {
label: _("_Keyboard Shortcuts");
action: "win.show-help-overlay";
}

item {
label: _("_About High Tide");
action: "app.about";
}
}
}
2 changes: 1 addition & 1 deletion data/ui/preferences.ui
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Hi-res Lossless</property>
</object>
</child>
</object>
</interface>
</interface>
7 changes: 7 additions & 0 deletions data/ui/search_entry.blp
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,12 @@ SearchEntry search_entry {
search-delay: 300;
margin-end: 12;
margin-start: 12;
margin-top: 12;
margin-bottom: 6;
halign: center;
width-request: 300;

styles [
"rounded",
]
}
Loading

0 comments on commit 62d9cc4

Please sign in to comment.