summaryrefslogtreecommitdiffstats
path: root/skins
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 /skins
parentbd4c76b27f55b996aa30eb80cdc94d7e3448e6fa (diff)
downloadbugzilla-ab5eef9afeded451e27faa44d5db3f618825f04d.tar.gz
bugzilla-ab5eef9afeded451e27faa44d5db3f618825f04d.tar.xz
Bug 1330884 - Centralize #header, #bugzilla-body and #footer
Diffstat (limited to 'skins')
-rw-r--r--skins/contrib/Mozilla-OpenSans/global.css13
-rw-r--r--skins/contrib/Mozilla/global.css13
2 files changed, 14 insertions, 12 deletions
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 {