From 1e91f1d22e014c18bcf911354871cd2671e76d6d Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Fri, 24 May 2019 18:34:02 -0400 Subject: [PATCH] Bug 1552885 - Fix issues in the post-Sandstone skin including low contrast, visited links and small font size --- .../bug/create/create-mozlist.html.tmpl | 8 +- .../en/default/bug_modal/edit.html.tmpl | 9 +- .../en/default/bug_modal/field.html.tmpl | 2 +- extensions/BugModal/web/bug_modal.css | 34 +-- extensions/BugModal/web/bug_modal.js | 2 +- .../UserProfile/web/styles/user_profile.css | 1 + js/bug.js | 2 +- skins/lib/prism.css | 66 ++++- skins/standard/admin.css | 2 +- skins/standard/attachment.css | 4 +- skins/standard/buglist.css | 6 +- skins/standard/fonts/FiraMono-Bold.woff | Bin 94732 -> 0 bytes skins/standard/fonts/FiraMono-Bold.woff2 | Bin 70360 -> 0 bytes skins/standard/fonts/FiraMono-Regular.woff | Bin 86572 -> 0 bytes skins/standard/fonts/FiraMono-Regular.woff2 | Bin 64868 -> 0 bytes skins/standard/fonts/NotoMono-Regular.woff | Bin 0 -> 70176 bytes skins/standard/fonts/NotoMono-Regular.woff2 | Bin 0 -> 57392 bytes skins/standard/global.css | 252 +++++++++++++----- skins/standard/index.css | 2 +- skins/standard/summarize-time.css | 2 +- .../en/default/bug/create/create.html.tmpl | 4 +- template/en/default/bug/edit.html.tmpl | 4 +- template/en/default/global/header.html.tmpl | 13 + .../en/default/list/edit-multiple.html.tmpl | 2 +- template/en/default/mfa/recovery.html.tmpl | 2 +- template/en/default/reports/chart.html.tmpl | 2 +- template/en/default/reports/report.html.tmpl | 2 +- 27 files changed, 292 insertions(+), 129 deletions(-) delete mode 100644 skins/standard/fonts/FiraMono-Bold.woff delete mode 100644 skins/standard/fonts/FiraMono-Bold.woff2 delete mode 100644 skins/standard/fonts/FiraMono-Regular.woff delete mode 100644 skins/standard/fonts/FiraMono-Regular.woff2 create mode 100644 skins/standard/fonts/NotoMono-Regular.woff create mode 100644 skins/standard/fonts/NotoMono-Regular.woff2 diff --git a/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl index 9bffdec455..af11e11cea 100644 --- a/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl @@ -117,8 +117,8 @@ [% INCLUDE global/textarea.html.tmpl name = 'listLongDesc' id = 'listLongDesc' - minrows = 10 - maxrows = 25 + minrows = 5 + maxrows = 15 cols = constants.COMMENT_COLS defaultcontent = listLongDesc %] @@ -131,8 +131,8 @@ [% INCLUDE global/textarea.html.tmpl name = 'comment' id = 'comment' - minrows = 10 - maxrows = 25 + minrows = 5 + maxrows = 15 cols = constants.COMMENT_COLS defaultcontent = comment %] diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index b2ea6022ac..96134cfb7b 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -178,14 +178,7 @@ view_only = 1 %]
- [% this_bug_href = basepath _ "show_bug.cgi?id=$bug.id" %] - [% IF cgi.param("format") %] - [% format_uri = cgi.param("format") FILTER uri %] - [% this_bug_href = this_bug_href _ "&format=" _ format_uri %] - [% END %] - - [%~ terms.Bug _ " " _ bug.id FILTER none ~%] - + [% terms.Bug _ " " _ bug.id FILTER none %] [% IF bug.alias %] ([% bug.alias FILTER html %]) diff --git a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl index ae786e27ef..fa16ebe813 100644 --- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl @@ -262,7 +262,7 @@ END; [%+ aria_labelledby_html FILTER none +%] [% " required" IF required %]> [% CASE constants.FIELD_TYPE_USER %] [% IF action && !action.hidden %] -