Commit 370c147a by Scott

Add a .qa-warning style

parent 493b00dd
......@@ -53,10 +53,14 @@ h2 {font-size:22px; color:#c659ab; padding-top:12px; clear:both;}
.qa-unfavorite-button {background-position: 0 -98px;}
.qa-unfavorite-button:hover {background-position: 0 0px;}
.qa-error {background:#fed8d8 url(error-bg.png) repeat-x left top; border:2px solid #cc0000; color:#cc0000; font-size:18px; padding:.5em; margin:1em 0; }
.qa-error {background:#fed8d8 url(error-bg.png) repeat-x left top; border:2px solid #c00; color:#c00; font-size:18px; padding:.5em; margin:1em 0; }
.qa-error a {color:#900; text-decoration:underline;}
.qa-error a:hover {color:#f00;}
.qa-warning {background:#fefed8 url(warning-bg.png) repeat-x left top; border:2px solid #bb0; color:#bb0; font-size:18px; padding:.5em; margin:1em 0; }
.qa-warning a {color:#990; text-decoration:underline;}
.qa-warning a:hover {color:#cc0;}
/* Page sections */
.qa-header {position:relative;}
......
......@@ -57,6 +57,10 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-error a {color:#900; text-decoration:underline;}
.qa-error a:hover {color:#f00;}
.qa-warning {background:#ffe; border:1px solid #bb0; color:#bb0; font-size:16px; padding:.5em; margin-bottom:1em; font-weight:bold;}
.qa-warning a {color:#990; text-decoration:underline;}
.qa-warning a:hover {color:#cc0;}
/* Page sections */
.qa-header {padding:10px 20px 0 20px; border-bottom:2px solid #293d39;}
......
......@@ -994,22 +994,28 @@ div.header-banner {
background-position: 0 0;
}
.qa-error {
background: #d00;
border: 1px solid #a00;
color: #ffd9d9;
.qa-error, .qa-warning {
font-size: 18px;
margin-bottom: 1em;
padding: 5px 15px;
border-radius: 3px;
}
.qa-error {
background: #d00;
border: 1px solid #a00;
color: #ffd9d9;
}
.qa-warning {
background: #dd0;
border: 1px solid #aa0;
color: #ffffd9;
}
.qa-error a {
.qa-error a, .qa-warning a {
color: #fff;
font-weight: bold;
}
.qa-error a:hover {
.qa-error a:hover, .qa-warning a:hover {
text-decoration: underline;
}
......
......@@ -302,41 +302,40 @@ blockquote p {
margin: 0 10px 10px;
}
.qa-error {
padding: 10px;
.qa-error, .qa-warning, .qa-notice {
margin-bottom: 5px;
background: #e74c3c;
padding: 10px;
color: #fff;
position: relative;
z-index: 999;
}
.qa-error a {
.qa-error a, .qa-warning a, .qa-notice a {
color: #fff;
border-bottom: 1px dotted #fff;
}
.qa-error a:hover {
.qa-error a:hover, .qa-warning a:hover, .qa-notice a:hover {
color: #fff;
border-bottom: 0;
}
.qa-error {
background: #e74c3c;
position: relative;
z-index: 999;
}
.qa-warning {
background: #f1c40f;
position: relative;
z-index: 999;
}
.qa-notice {
padding: 20px;
margin-bottom: 5px;
margin-bottom: 0;
background: #d35400;
color: #fff;
margin-bottom: 0px;
text-align: center;
font-size: 1em;
line-height: 1.5em;
}
.qa-notice a {
color: #fff;
border-bottom: 1px dotted #fff;
}
.qa-notice a:hover {
color: #fff;
border-bottom: 0;
}
.qa-notice-close-button {
margin: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment