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