mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Make search entry rounded
This commit is contained in:
parent
3904b62c2c
commit
5917b0ac36
2 changed files with 18 additions and 4 deletions
|
|
@ -6,6 +6,14 @@
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rounded-entry {
|
||||||
|
border-radius: 999px;
|
||||||
|
padding-left: 12px;
|
||||||
|
padding-right: 12px;
|
||||||
|
padding-top: 3px;
|
||||||
|
padding-bottom: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
.searchbar .searchtag {
|
.searchbar .searchtag {
|
||||||
background-color: alpha(currentColor, 0.1);
|
background-color: alpha(currentColor, 0.1);
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
|
|
|
||||||
|
|
@ -74,10 +74,16 @@ template $MusicusSearchPage: Adw.NavigationPage {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Adw.Clamp {
|
||||||
Gtk.SearchEntry search_entry {
|
Gtk.SearchEntry search_entry {
|
||||||
placeholder-text: _("Enter composers, performers, works…");
|
placeholder-text: _("Enter composers, performers, works…");
|
||||||
margin-top: 24;
|
margin-top: 24;
|
||||||
activate => $select() swapped;
|
activate => $select() swapped;
|
||||||
|
|
||||||
|
styles [
|
||||||
|
"rounded-entry"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Gtk.Stack stack {
|
Gtk.Stack stack {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue