/* * udt ssh layout: the hosts as a searchable 4x3 grid of cards. * Copyright (C) 2026 Danilo M. * Licensed under the GNU General Public License v2 only. * * Fed by blackpearl-sshmenu.sh, two lines a card: the alias in bold, then * "user ยท address" dimmed with fgalpha rather than a colour, so it still * reads on the accent when selected. */ @import "common.rasi" @import "header.rasi" window { width: 1100px; anchor: center; location: center; padding: 0; } mainbox { children: [ header, listview ]; spacing: 0; } entry { placeholder: "Search hosts, users, addresses"; } listview { columns: 4; lines: 3; fixed-height: true; spacing: 12px; flow: horizontal; padding: 20px; } /* Text only: the element spacing otherwise reserves a gap for the icon. */ element { children: [ element-text ]; padding: 20px 12px; border-radius: 12px; background-color: @surface0; } element-text { font: "Noto Sans 13"; horizontal-align: 0.5; vertical-align: 0.5; }