rofi/selectanime.rasi
80 lines · 1833 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, 0.8); /* Solid black transparent background */
19 border-radius: 50px;
20}
21
22mainbox {
23 padding: 50px 50px;
24 background-color: transparent; /* Ensures black background fills entire main area */
25 children: [inputbar, listview];
26 spacing: 20px;
27}
28
29inputbar {
30 background-color: #333333; /* Dark gray background for input bar */
31 padding: 8px;
32 border-radius: 8px;
33 children: [prompt, entry];
34}
35
36prompt {
37 enabled: true;
38 padding: 8px;
39 background-color: @selected;
40 text-color: #000000;
41 border-radius: 4px;
42}
43
44entry {
45 padding: 8px;
46 background-color: transparent; /* Slightly lighter gray for visibility */
47 text-color: #FFFFFF; /* White text to make typing visible */
48 placeholder: "Search...";
49 placeholder-color: rgba(255, 255, 255, 0.5);
50 border-radius: 6px;
51}
52
53listview {
54 layout: vertical;
55 spacing: 8px;
56 lines: 9;
57 background-color: transparent; /* Consistent black background for list items */
58}
59
60element {
61 padding: 12px;
62 border-radius: 4px;
63 background-color: transparent; /* Uniform color for each list item */
64 text-color: @foreground;
65}
66
67element normal.normal {
68 background-color: transparent; /* Ensures no alternating color */
69}
70
71element selected.normal {
72 background-color: @selected;
73 text-color: #FFFFFF;
74}
75
76element-text {
77 background-color: transparent;
78 text-color: inherit;
79 vertical-align: 0.5;
80}