1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

Fix showing of error message (-e ) in arther,paper-float,sidebar

This commit is contained in:
Dave Davenport 2020-08-29 11:14:23 +02:00
parent c65f16576b
commit e8f78886d5
3 changed files with 48 additions and 26 deletions

View file

@ -178,3 +178,10 @@
border-color: @foreground;
}
error-message {
expand: true;
background-color: red;
border-color: darkred;
border: 2px;
padding: 1em;
}

View file

@ -16,7 +16,7 @@
anchor: north;
location: center;
}
#window {
window {
transparency: "screenshot";
background-color: #00000000;
border: 0;
@ -24,23 +24,23 @@
x-offset: 0;
y-offset: -10%;
}
#mainbox {
mainbox {
padding: 0px;
border: 0;
spacing: 1%;
}
#message {
message {
border: 2px;
padding: 1em;
background-color: @white;
text-color: @back;
}
#textbox normal {
textbox normal {
text-color: #002B36FF;
padding: 0;
border: 0;
}
#listview {
listview {
fixed-height: 1;
border: 2px;
padding: 1em;
@ -49,78 +49,85 @@
columns: 1;
background-color: @white;
}
#element {
element {
border: 0;
padding: 2px;
highlight: bold ;
}
#element normal.normal {
element normal.normal {
text-color: #002B36FF;
background-color: #F5F5F500;
}
#element normal.urgent {
element normal.urgent {
text-color: #D75F00FF;
background-color: #F5F5F5FF;
}
#element normal.active {
element normal.active {
text-color: #005F87FF;
background-color: #F5F5F5FF;
}
#element selected.normal {
element selected.normal {
text-color: #F5F5F5FF;
background-color: #4271AEFF;
}
#element selected.urgent {
element selected.urgent {
text-color: #F5F5F5FF;
background-color: #D75F00FF;
}
#element selected.active {
element selected.active {
text-color: #F5F5F5FF;
background-color: #005F87FF;
}
#element alternate.normal {
element alternate.normal {
text-color: #002B36FF;
background-color: #D0D0D0FF;
}
#element alternate.urgent {
element alternate.urgent {
text-color: #D75F00FF;
background-color: #D0D0D0FF;
}
#element alternate.active {
element alternate.active {
text-color: #005F87FF;
background-color: #D0D0D0FF;
}
#scrollbar {
scrollbar {
border: 0;
padding: 0;
}
#inputbar {
inputbar {
spacing: 0;
border: 2px;
padding: 0.5em 1em;
background-color: @grey;
index: 0;
}
#inputbar normal {
inputbar normal {
foreground-color: #002B36FF;
background-color: #F5F5F500;
}
#mode-switcher {
mode-switcher {
border: 2px;
padding: 0.5em 1em;
background-color: @grey;
index: 10;
}
#button selected {
button selected {
text-color: #4271AEFF;
}
#inputbar {
inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
#textbox-prompt-colon {
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: @normal-foreground;
}
error-message {
border: 2px;
padding: 1em;
background-color: #FF8888;
text-color: @back;
}

View file

@ -100,3 +100,11 @@
background-color: @lightred;
text-color: @dark;
}
error-message {
expand: true;
background-color: red;
border-color: darkred;
border: 2px;
padding: 1em;
}