blob: ddb12ca25d8a16df0ba062cb07d4bf9f38ec4523 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/*
* udt confirm layout: the yes/no gate in front of a destructive action.
* Copyright (C) 2026 Danilo M. <danix@danix.xyz>
* Licensed under the GNU General Public License v2 only.
*
* Used by the power menu's confirmation step. Two options, no search: the
* whole point is a deliberate choice, so there is nothing to filter.
*/
@import "common.rasi"
window {
width: 500px;
anchor: center;
location: center;
padding: 0;
}
mainbox {
children: [ message, listview ];
spacing: 0;
padding: 0;
}
/* The question, "Simu Sicuri?", passed by the script with -mesg. */
message {
background-color: @surface0;
border-radius: 0;
padding: 28px 20px;
}
textbox {
font: "Noto Sans 14";
text-color: @text;
horizontal-align: 0.5;
vertical-align: 0.5;
}
/* Yes and no, side by side and equally weighted. */
listview {
columns: 2;
lines: 1;
fixed-height: true;
fixed-columns: true;
spacing: 0;
padding: 0;
}
element {
padding: 26px;
border-radius: 0;
}
/* Glyphs come from the theme's own Nerd Font. The codepoints the script sends
* must therefore exist in it; see the powermenu script's `yes` and `no`. */
element-text {
font: "Inconsolata Nerd Font Mono 42";
horizontal-align: 0.5;
vertical-align: 0.5;
text-color: inherit;
}
|