rofi/contextselect.rasi

98 lines · 2236 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: [message, inputbar, listview];
26    spacing: 20px;
27}
28
29message {
30    enabled: true;
31    background-color: #000000ff;  /* Dark blue-gray background for messages */
32    text-color: #F7FAFC;
33    padding: 15px;
34    border-radius: 8px;
35    margin: 0px 0px 10px 0px;
36}
37
38textbox {
39    enabled: true;
40    background-color: transparent;
41    text-color: inherit;
42    padding: 5px;
43    horizontal-align: 0.5;  /* Center the text */
44    vertical-align: 0.5;
45}
46
47inputbar {
48    background-color: #333333;  /* Dark gray background for input bar */
49    padding: 8px;
50    border-radius: 8px;
51    children: [prompt, entry];
52}
53
54prompt {
55    enabled: true;
56    padding: 8px;
57    background-color: @selected;
58    text-color: #000000;
59    border-radius: 4px;
60}
61
62entry {
63    padding: 8px;
64    background-color: transparent;  /* Slightly lighter gray for visibility */
65    text-color: #FFFFFF;        /* White text to make typing visible */
66    placeholder: "Search...";
67    placeholder-color: rgba(255, 255, 255, 0.5);
68    border-radius: 6px;
69}
70
71listview {
72    layout: vertical;
73    spacing: 8px;
74    lines: 9;
75    background-color: transparent;  /* Consistent black background for list items */
76}
77
78element {
79    padding: 12px;
80    border-radius: 4px;
81    background-color: transparent;  /* Uniform color for each list item */
82    text-color: @foreground;
83}
84
85element normal.normal {
86    background-color: transparent;  /* Ensures no alternating color */
87}
88
89element selected.normal {
90    background-color: @selected;
91    text-color: #FFFFFF;
92}
93
94element-text {
95    background-color: transparent;
96    text-color: inherit;
97    vertical-align: 0.5;
98}