Skip to content

Commit 17d9fc8

Browse files
Improve maintenance message CSS (#94)
* Improve maintenance message CSS Bug: T343644 Change-Id: I36fde4e4208682ecf30bc4dbe1152f220942e08a * auto update of tag --------- Co-authored-by: framawiki <framawiki@tools.wmflabs.org>
1 parent 34ee02c commit 17d9fc8

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

helm-quarry/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
web:
22
repository: 'quay.io/wikimedia-quarry/quarry'
3-
tag: pr-92 # web tag managed by github actions
3+
tag: pr-94 # web tag managed by github actions
44
resources:
55
requests:
66
memory: "300Mi"
@@ -11,7 +11,7 @@ web:
1111

1212
worker:
1313
repository: 'quay.io/wikimedia-quarry/quarry'
14-
tag: pr-92 # worker tag managed by github actions
14+
tag: pr-94 # worker tag managed by github actions
1515
resources:
1616
requests:
1717
memory: "400Mi"

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)