Skip to content

Commit 357a8f5

Browse files
framawikisupertassu
authored andcommitted
Improve maintenance message CSS
Bug: T343644 Change-Id: I36fde4e4208682ecf30bc4dbe1152f220942e08a
1 parent 34ee02c commit 357a8f5

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

quarry/web/static/css/base.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@
3434
margin-bottom: 0px;
3535
border-bottom-width: 0px;
3636
text-align: center;
37+
padding: .5em;
38+
background-color: #E8A02E;
39+
color: black;
40+
}
41+
42+
.maintenance-msg p {
43+
margin-bottom: 0;
44+
}
45+
46+
.maintenance-msg a {
47+
color: #183490;
48+
text-decoration: underline;
3749
}
3850

3951
.flashes {

quarry/web/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<body>
3131
{% if config['MAINTENANCE_MSG'] %}
32-
<div class="alert alert-warning maintenance-msg">
32+
<div class="maintenance-msg">
3333
<p>{{ config['MAINTENANCE_MSG'] | safe }}</p>
3434
</div>
3535
{% endif %}

0 commit comments

Comments
 (0)