summaryrefslogtreecommitdiffstats
path: root/skins/standard
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-10-13 06:32:10 +0200
committerDylan William Hardison <dylan@hardison.net>2018-10-13 06:32:10 +0200
commit9263b7453169816c23b6f307fd225f3676d57a3a (patch)
tree90ab34f4c7d6e76b2e224aaf7f2dc1e9007c69e2 /skins/standard
parent2bee49bad080aede10ced49731bb679af265ecbb (diff)
downloadbugzilla-9263b7453169816c23b6f307fd225f3676d57a3a.tar.gz
bugzilla-9263b7453169816c23b6f307fd225f3676d57a3a.tar.xz
Bug 1498436 - Move site-wide message to global header
Diffstat (limited to 'skins/standard')
-rw-r--r--skins/standard/global.css55
1 files changed, 47 insertions, 8 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css
index adea088a0..3ccf6e8fb 100644
--- a/skins/standard/global.css
+++ b/skins/standard/global.css
@@ -79,6 +79,52 @@
}
/* fixed global header (end) */
+/* global message (begin) */
+ #message-container {
+ text-align: center;
+ line-height: 1.5;
+ }
+
+ #message-container .inner {
+ box-sizing: border-box;
+ margin: 0 auto;
+ padding: 8px;
+ width: 1024px;
+ }
+
+ #message-container p {
+ margin: 0;
+ }
+
+ #message-container .noscript {
+ color: #EEE;
+ background-color: #333;
+ }
+
+ #message-container .warning {
+ color: #EEE;
+ background-color: #C00;
+ }
+
+ #message-container .announcement {
+ border-bottom: 1px solid rgba(0, 0, 0, 0.2);
+ color: #555;
+ background-color: lightyellow;
+ }
+
+ #message-container .announcement p.warning {
+ color: red;
+ }
+
+ /* Reset legacy style */
+ #message-container .announcement #message {
+ margin: 0;
+ border: 0;
+ padding: 0;
+ color: #555;
+ }
+/* global message (end) */
+
/* header (begin) */
#header {
flex: none;
@@ -404,6 +450,7 @@
/* narrower global header (begin) */
@media screen and (max-width: 1024px) {
+ #message-container .inner,
#header .inner {
width: 800px;
}
@@ -1183,14 +1230,6 @@ hr {
display: none;
}
-#mfa-warning {
- flex: none;
- margin: 0 -15px;
- padding: 10px 15px;
- color: #FFF;
- background-color: #FF5300;
-}
-
#bugzilla-body {
flex: auto;
position: relative;