2024-01-07 21:35:39 +00:00
|
|
|
using Gtk 4.0;
|
|
|
|
using Adw 1;
|
|
|
|
|
|
|
|
template $Card: Box {
|
|
|
|
orientation: horizontal;
|
|
|
|
styles ["card"]
|
|
|
|
|
2024-01-11 18:14:06 +00:00
|
|
|
Image image {
|
|
|
|
icon-name: "image-loading";
|
|
|
|
}
|
2024-01-07 21:35:39 +00:00
|
|
|
|
|
|
|
Box contents {
|
|
|
|
orientation: vertical;
|
2024-01-11 20:36:44 +00:00
|
|
|
margin-start: 12;
|
|
|
|
margin-end: 12;
|
|
|
|
margin-top: 12;
|
|
|
|
margin-bottom: 12;
|
2024-01-07 21:35:39 +00:00
|
|
|
|
|
|
|
Label heading {
|
|
|
|
styles ["heading"]
|
|
|
|
}
|
|
|
|
|
|
|
|
Label body {
|
2024-01-11 20:36:44 +00:00
|
|
|
vexpand: true;
|
2024-01-07 21:35:39 +00:00
|
|
|
styles ["body"]
|
|
|
|
}
|
2024-01-11 20:36:44 +00:00
|
|
|
|
|
|
|
Box footer {}
|
2024-01-07 21:35:39 +00:00
|
|
|
}
|
|
|
|
}
|