rofi/selectanime.rasi
79 lines · 1797 bytes
1configuration {
2 font: "Sans 12";
3 line-margin: 10;
4 display-drun: "";
5}
6
7* {
8 background: #000000; /* Black background for everything */
9 background-alt: #000000; /* Ensures no alternation */
10 foreground: #CCCCCC;
11 selected: #3584E4;
12 active: #2E7D32;
13 urgent: #C62828;
14}
15
16window {
17 fullscreen: false;
18 background-color: rgba(0, 0, 0, 1); /* Solid black background */
19}
20
21mainbox {
22 padding: 50px 100px;
23 background-color: rgba(0, 0, 0, 1); /* Ensures black background fills entire main area */
24 children: [inputbar, listview];
25 spacing: 20px;
26}
27
28inputbar {
29 background-color: #333333; /* Dark gray background for input bar */
30 padding: 8px;
31 border-radius: 8px;
32 children: [prompt, entry];
33}
34
35prompt {
36 enabled: true;
37 padding: 8px;
38 background-color: @selected;
39 text-color: #000000;
40 border-radius: 4px;
41}
42
43entry {
44 padding: 8px;
45 background-color: #444444; /* Slightly lighter gray for visibility */
46 text-color: #FFFFFF; /* White text to make typing visible */
47 placeholder: "Search...";
48 placeholder-color: rgba(255, 255, 255, 0.5);
49 border-radius: 6px;
50}
51
52listview {
53 layout: vertical;
54 spacing: 8px;
55 lines: 10;
56 background-color: @background; /* Consistent black background for list items */
57}
58
59element {
60 padding: 12px;
61 border-radius: 4px;
62 background-color: @background; /* Uniform color for each list item */
63 text-color: @foreground;
64}
65
66element normal.normal {
67 background-color: @background; /* Ensures no alternating color */
68}
69
70element selected.normal {
71 background-color: @selected;
72 text-color: #FFFFFF;
73}
74
75element-text {
76 background-color: transparent;
77 text-color: inherit;
78 vertical-align: 0.5;
79}