mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-25 20:37:24 +02: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;
|
||||
}
|
||||
|
||||
.rounded-entry {
|
||||
border-radius: 999px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
.searchbar .searchtag {
|
||||
background-color: alpha(currentColor, 0.1);
|
||||
border-radius: 100px;
|
||||
|
|
|
|||
|
|
@ -74,10 +74,16 @@ template $MusicusSearchPage: Adw.NavigationPage {
|
|||
}
|
||||
}
|
||||
|
||||
Gtk.SearchEntry search_entry {
|
||||
placeholder-text: _("Enter composers, performers, works…");
|
||||
margin-top: 24;
|
||||
activate => $select() swapped;
|
||||
Adw.Clamp {
|
||||
Gtk.SearchEntry search_entry {
|
||||
placeholder-text: _("Enter composers, performers, works…");
|
||||
margin-top: 24;
|
||||
activate => $select() swapped;
|
||||
|
||||
styles [
|
||||
"rounded-entry"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Gtk.Stack stack {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue