[Glitch] Improve style of notice/alert messages
Port ce6772690f
to glitch-soc
This commit is contained in:
parent
415822a849
commit
2ecd3d97ba
1 changed files with 12 additions and 1 deletions
|
@ -460,9 +460,20 @@ code {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 15px 10px;
|
padding: 15px 10px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
&.notice {
|
||||||
|
border: 1px solid rgba($valid-value-color, 0.5);
|
||||||
|
background: rgba($valid-value-color, 0.25);
|
||||||
|
color: $valid-value-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.alert {
|
||||||
|
border: 1px solid rgba($error-value-color, 0.5);
|
||||||
|
background: rgba($error-value-color, 0.25);
|
||||||
|
color: $error-value-color;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue