fix: move debug mode to config (#3324)

* fix: move debug mode to config

* fix: also move debug_whitelist to .ini config

* fix: move logic back to Debug class

* docs

* docs

* fix: disable debug mode by default

* fix: restore previous behavior for alerts

* fix: center-align alert text
This commit is contained in:
Dag 2023-06-02 20:22:09 +02:00 committed by GitHub
parent c5cd229445
commit ee498eadf9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 121 additions and 158 deletions

View file

@ -71,15 +71,34 @@ header {
text-align: center;
}
section.warning {
background-color: #ffc600;
color: #5f5f5f;
.alert-info {
margin-bottom: 15px;
color: white;
font-weight: bold;
background-color: rgb(33, 150, 243);
padding: 15px;
border-radius: 4px;
text-align: center;
}
section.critical-warning {
.alert-warning {
background-color: #ffc600;
color: #5f5f5f;
margin-bottom: 15px;
font-weight: bold;
padding: 15px;
border-radius: 4px;
text-align: center;
}
.alert-error {
background-color: #cf3e3e;
font-weight: bold;
color: white;
margin-bottom: 15px;
padding: 15px;
border-radius: 4px;
text-align: center;
}
select,
@ -342,15 +361,6 @@ button {
width: 200px;
}
.alert {
margin-bottom: 15px;
color: white;
font-weight: bold;
background-color: rgb(33, 150, 243);
padding: 15px;
border-radius: 4px;
}
@media screen and (max-width: 767px) {
.container {
width: 100%;