summaryrefslogtreecommitdiffstats
path: root/extensions/Review
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Review')
-rw-r--r--extensions/Review/template/en/default/hook/global/header-badge.html.tmpl (renamed from extensions/Review/template/en/default/hook/global/header-message.html.tmpl)2
-rw-r--r--extensions/Review/web/styles/badge.css18
2 files changed, 12 insertions, 8 deletions
diff --git a/extensions/Review/template/en/default/hook/global/header-message.html.tmpl b/extensions/Review/template/en/default/hook/global/header-badge.html.tmpl
index e4bb1c687..aca61561e 100644
--- a/extensions/Review/template/en/default/hook/global/header-message.html.tmpl
+++ b/extensions/Review/template/en/default/hook/global/header-badge.html.tmpl
@@ -12,7 +12,7 @@
|| user.needinfo_request_count
%]
-<a id="badge"
+<a id="header-flags" class="badge"
href="request.cgi?action=queue&amp;requestee=[% user.login FILTER uri %]&amp;group=type"
title="Flags requested of you:
[%- " review (" _ user.review_request_count _ ")" IF user.review_request_count -%]
diff --git a/extensions/Review/web/styles/badge.css b/extensions/Review/web/styles/badge.css
index e699b5825..53f539df8 100644
--- a/extensions/Review/web/styles/badge.css
+++ b/extensions/Review/web/styles/badge.css
@@ -5,12 +5,16 @@
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0. */
-#badge {
- background-color: #c00;
- font-size: small;
+#header .badge {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border-radius: 16px;
+ padding: 4px;
+ min-width: 16px;
+ height: 16px;
+ font-size: 14px;
font-weight: bold;
- padding: 0 5px;
- border-radius: 10px;
- margin: 0 5px;
- color: #fff !important;
+ color: #FFF !important;
+ background-color: #C00;
}