summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Kuo <kuoe0@mozilla.com>2017-02-17 21:59:23 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-02-17 21:59:23 +0100
commitab5eef9afeded451e27faa44d5db3f618825f04d (patch)
tree3c724a60074359ca1859f644506d7c6414629b51
parentbd4c76b27f55b996aa30eb80cdc94d7e3448e6fa (diff)
downloadbugzilla-ab5eef9afeded451e27faa44d5db3f618825f04d.tar.gz
bugzilla-ab5eef9afeded451e27faa44d5db3f618825f04d.tar.xz
Bug 1330884 - Centralize #header, #bugzilla-body and #footer
-rw-r--r--extensions/BugModal/web/bug_modal.css8
-rw-r--r--skins/contrib/Mozilla-OpenSans/global.css13
-rw-r--r--skins/contrib/Mozilla/global.css13
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 {