mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
Add "Debug" button to inspect the response of a failed AJAX request
Related to #118
This commit is contained in:
@@ -4,21 +4,21 @@
|
||||
background: @alert-bg;
|
||||
line-height: 1.5;
|
||||
|
||||
&, button, button:hover {
|
||||
&, .Button, .Button:hover {
|
||||
color: @alert-color;
|
||||
}
|
||||
}
|
||||
.Alert--error {
|
||||
background: @alert-error-bg;
|
||||
|
||||
&, a, a:hover, button, button:hover {
|
||||
&, a, a:hover, .Button, .Button:hover {
|
||||
color: @alert-error-color;
|
||||
}
|
||||
}
|
||||
.Alert--success {
|
||||
background: @alert-success-bg;
|
||||
|
||||
&, a, a:hover, button, button:hover {
|
||||
&, a, a:hover, .Button, .Button:hover {
|
||||
color: @alert-success-color;
|
||||
}
|
||||
a, a:hover {
|
||||
@@ -35,7 +35,7 @@
|
||||
display: inline-block;
|
||||
margin: 0 5px;
|
||||
|
||||
> a {
|
||||
> a, > .Button {
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
@@ -45,6 +45,9 @@
|
||||
text-decoration: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
> .Button {
|
||||
|
@@ -130,3 +130,10 @@ blockquote ol:last-child {
|
||||
position: fixed;
|
||||
}
|
||||
}
|
||||
|
||||
.RequestErrorModal {
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user