﻿/*  +---------------------------------------------------------------------+
#   | SiteCommander by Will Fastie.                                       |
#   | Copyright (c) 2009-2020 by Will Fastie. All Rights Reserved.        |
#   | This source code may not be duplicated, distributed, or transferred |
#   | by any means, electronic or otherwise, without the express,         |
#   | written consent of Will Fastie except for the purposes of backup.   |
#   +---------------------------------------------------------------------+
#   |                  SiteCommander Notices Stylesheet                   |
#   +---------------------------------------------------------------------+

		05 Aug 2020 - Added special colors for links in notices. 
*/

/* Admin and Debug Notices */
.sc-notice, .sc-notice-heading { display: table;
	background-color: #222;
	color: white;
	font-family: Consolas, "Courier New", Courier, monospace;
	border: 0;
	border-radius: 5px;
}
.sc-notice {
	max-width: 80%;
	min-width: 30%;
	border-top-left-radius: 0;
	margin-top: 0;
	padding: 5px 10px;
	margin-bottom: 10px;
	box-shadow: 2px 2px 5px 0px #888;
}
.sc-notice-heading {
	color: yellow;
	padding: 5px 20px 4px 24px;
	margin-bottom: -1px; /* Make sure there is no gap (browser issue) */
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	background-image: url('../img/icons/asterisk_darkred.png');
	background-size: 12px 12px;
	background-repeat: no-repeat;
	background-position: 7px 7px;
}
.sc-notice.debug {
	background-color: #800;
}
.sc-notice-heading.debug {
	background-color: #800;
	padding: 5px 20px 4px 10px;
	background-image: none;
}

/* Special handling for links in notices */
.sc-notice a, .sc-notice a:visited {
	color: lightskyblue;
}
.sc-notice a:hover {
	color: #f0f;
}

/* New Debug messages without the top tab */
.sc-notice-debug {
	width: 95%;
	background-color: #800;
	color: white;
	font-family: Consolas, "Courier New", Courier, monospace;
	font-size: 15px;
	border: 0;
	border-radius: 6px;
	margin-top: 5px;
	margin-bottom: 10px;
	padding: 5px 10px;
	box-shadow: 2px 2px 5px 0px #888;
}
.sc-notice-debug-heading {
	color: #ffc;
	font-weight: bold;
}
.sc-notice-debug-location {
	float: right;
}

/* Original Debug Messages, retained for backwards compatibility */

/* Styles for debugging messages & notices */
.echo-debug-message, .admin-notice { 
	padding: 3px 5px; 
	background-color: #ffc; 
	border: 1px dashed red; 
	font-family: Consolas, "Courier New", Courier, monospace;
	color: black;
}
.echo-debug-message pre, .admin-notice pre { 
	font-family: Consolas, "Courier New", Courier, monospace;
}
.echo-debug-heading, .admin-notice-heading { 
	font-weight: bold;
	text-decoration: underline;
	color: red; 
}
