From ab5eef9afeded451e27faa44d5db3f618825f04d Mon Sep 17 00:00:00 2001 From: Tommy Kuo Date: Fri, 17 Feb 2017 20:59:23 +0000 Subject: Bug 1330884 - Centralize #header, #bugzilla-body and #footer --- extensions/BugModal/web/bug_modal.css | 8 ++++---- skins/contrib/Mozilla-OpenSans/global.css | 13 +++++++------ skins/contrib/Mozilla/global.css | 13 +++++++------ 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css index d1509fd7d..7cde963ae 100644 --- a/extensions/BugModal/web/bug_modal.css +++ b/extensions/BugModal/web/bug_modal.css @@ -389,7 +389,7 @@ input[type="number"] { #bottom-actions { margin-top: 8px; margin-bottom: 50px; - max-width: 1024px; + max-width: 1200px; } #bottom-right-actions { @@ -702,7 +702,7 @@ h3.change-name { width: 100%; box-sizing: border-box !important; margin: 0 0 1em; - max-width: 1024px; + max-width: 1200px; } #comment-preview { @@ -813,13 +813,13 @@ h3.change-name { #bugzilla-body { margin: 5px !important; - max-width: 1024px !important; + max-width: 1200px !important; min-width: 800px !important; width: 100% !important; } #footer { - max-width: 1024px !important; + max-width: 1200px !important; min-width: 800px !important; } diff --git a/skins/contrib/Mozilla-OpenSans/global.css b/skins/contrib/Mozilla-OpenSans/global.css index 7b600f1fb..b557161c4 100644 --- a/skins/contrib/Mozilla-OpenSans/global.css +++ b/skins/contrib/Mozilla-OpenSans/global.css @@ -142,11 +142,15 @@ hr { padding-left: 10px; } +#header .wrapper, #bugzilla-body, #footer { + max-width: 1200px; + min-width: 800px; +} + #header .wrapper { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; margin: -1px auto 0px; - width: 99%; } #header .wrapper:after { @@ -295,9 +299,8 @@ hr { background: none; border: none; color: #404040; - margin: 10px auto 15px; + margin:5px auto !important; padding: 0; - width: 99%; } #bugzilla-body th { @@ -652,9 +655,7 @@ table.edit_form hr { border-top: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0; color: #bbb; - width: auto; - margin-bottom: 1em; - margin-left: 6px; + margin: 1em auto; } #links-actions, #links-saved { diff --git a/skins/contrib/Mozilla/global.css b/skins/contrib/Mozilla/global.css index f51dd7ac8..6ec294f07 100644 --- a/skins/contrib/Mozilla/global.css +++ b/skins/contrib/Mozilla/global.css @@ -185,11 +185,15 @@ hr { padding-left: 10px; } +#header .wrapper, #bugzilla-body, #footer { + max-width: 1200px; + min-width: 800px; +} + #header .wrapper { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; margin: -1px auto 0px; - width: 99%; } #header .wrapper:after { @@ -338,9 +342,8 @@ hr { background: none; border: none; color: #404040; - margin: 10px auto 15px; + margin: 5px auto !important; padding: 0; - width: 99%; } #bugzilla-body th { @@ -699,9 +702,7 @@ table.edit_form hr { border-top: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0; color: #bbb; - width: auto; - margin-bottom: 1em; - margin-left: 6px; + margin: 1em auto; } #links-actions, #links-saved { -- cgit v1.2.3-24-g4f1b