diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2017-12-13 22:06:06 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-12-13 22:06:06 +0100 |
commit | 2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99 (patch) | |
tree | aba81e2eedc8af3136af73af3beba04c092ff80c /extensions/Review | |
parent | 48fe3a1e0a4a833aa14e7f95136d0e4542959eb8 (diff) | |
download | bugzilla-2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99.tar.gz bugzilla-2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99.tar.xz |
Bug 1376826 - New HTML Header for BMO
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.css | 18 |
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&requestee=[% user.login FILTER uri %]&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; } |