Ent 7519 cambio de fuentes en la consola a nivel global

This commit is contained in:
Marcos Alconada 2021-06-09 13:59:28 +00:00 committed by Daniel Rodriguez
parent 2953870e4f
commit 2334eccd01
156 changed files with 33971 additions and 9712 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@ MYMETA.yml
**/PandoraFMS-Enterprise/pm_to_blib
**/pandora_console/attachment/cache
**/pandora_console/attachment/agents
pandora_console/.DS_Store
.DS_Store

View File

@ -1,12 +1,7 @@
* {
font-family: "Open Sans", "Noto Sans", sans-serif
}
body {
min-width: 425px;
min-height: 540px;
margin: 5px;
font-family: Tahoma, Geneva, Arial;
font-size: 10pt;
}
h1 {
@ -28,7 +23,8 @@ a:hover {
text-decoration: underline;
}
a:visited {
color: #254533; text-decoration:none;
color: #254533;
text-decoration: none;
}
a:visited:hover {
text-decoration: underline;
@ -51,8 +47,8 @@ div.main {
width: 400px;
}
div.textarea {
background-color: #D5DED5;
width: 100%
background-color: #d5ded5;
width: 100%;
}
div.e {
text-align: right;
@ -233,25 +229,25 @@ button h3 {
}
.sev-Warning {
background: #FDDD30;
background: #fddd30;
color: #333;
}
.sev-Critical {
background: #F84348;
background: #f84348;
}
.sev-Informational {
background: #4CA8E0;
background: #4ca8e0;
}
.sev-Normal {
background: #84B839;
background: #84b839;
}
.sev-Maintenance {
background: #A8A8A8;
background: #a8a8a8;
}
.sev-Minor {
background: #F099A2;
background: #f099a2;
color: #333;
}
.sev-Major {
background: #C97A4A;
background: #c97a4a;
}

View File

@ -1,21 +1,42 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Wicket Alert</title>
<style type="text/css">
body { margin:0; font-family:arial; font-size:10pt }
h1 { font-weight:bold; font-size:16px; margin:2px 0 2px 4px; color:#237948; font-family:arial; }
body {
margin: 0;
font-size: 10pt;
}
h1 {
font-weight: bold;
font-size: 16px;
margin: 2px 0 2px 4px;
color: #237948;
}
a { color: #237948; text-decoration:none; }
a:hover { text-decoration:underline; }
a:visited { color: #237948; text-decoration:none; }
a:visited:hover { text-decoration:underline; }
a {
color: #237948;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: #237948;
text-decoration: none;
}
a:visited:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<h1>Event Alert</h1>
<div id="e" style="background:url('images/icon.png') no-repeat 0% 50%; margin:0 4px; padding-left:50px; min-height:48px;">
<div
id="e"
style="background:url('images/icon.png') no-repeat 0% 50%; margin:0 4px; padding-left:50px; min-height:48px;"
>
<script src="js/notification.js"></script>
</div>
</body>

View File

@ -2,50 +2,97 @@ body {
min-width: 425px;
min-height: 540px;
margin: 5px;
font-family:Tahoma, Geneva, Arial;
font-size: 10pt;
}
h1 { font-weight: bold; font-size:16px; margin:2px 0px 2px 0px; color:#237948; font-family:arial }
h1 {
font-weight: bold;
font-size: 16px;
margin: 2px 0px 2px 0px;
color: #237948;
}
h2 {
color: blue;
}
label { color: #254533; text-decoration:none; }
label:hover { text-decoration:underline; }
label:visited { color: #254533; text-decoration:none; }
label:visited:hover { text-decoration:underline; }
label {
color: #254533;
text-decoration: none;
}
label:hover {
text-decoration: underline;
}
label:visited {
color: #254533;
text-decoration: none;
}
label:visited:hover {
text-decoration: underline;
}
label.text-link {
color: #254533;
text-decoration: none;
}
label.text-link :hover {
text-decoration: underline;
}
label.text-link :visited {
color: #254533;
text-decoration: none;
}
label.text-link :visited:hover {
text-decoration: underline;
}
label.text-link { color: #254533; text-decoration:none; }
label.text-link :hover { text-decoration:underline; }
label.text-link :visited { color: #254533; text-decoration:none; }
label.text-link :visited:hover { text-decoration:underline; }
span.res {
font-size: 80%;
color: #555;
}
span.res { font-size:80%; color:#555; }
image.pm { margin-right:3px;cursor:pointer; margin-top:0px; }
image.pm {
margin-right: 3px;
cursor: pointer;
margin-top: 0px;
}
.main {
background-color: white;
height: 500px;
width: 400px;
}
.textarea {
background-color : #D5DED5;
width :100%
background-color: #d5ded5;
width: 100%;
}
vbox.e {
text-align: right;
font-size: 8pt;
}
vbox.b {
background-color: white;
border: 1px solid #bababa;
margin: 5px;
padding: 4px;
}
vbox.b description label {
font-size: 10pt;
}
vbox.b description {
margin: 2px 0px 4px 0px;
color: #333;
font-size: 9pt;
}
vbox.e{ text-align:right; font-size:8pt; }
vbox.b { background-color:white; border:1px solid #BABABA; margin:5px; padding:4px; }
vbox.b description label { font-size: 10pt; }
vbox.b description { margin:2px 0px 4px 0px; color:#333; font-size:9pt; }
vbox.b vbox.items description {
margin:2px 0px 8px 0px; color:#333; width:355px;float:left; display:block;
margin: 2px 0px 8px 0px;
color: #333;
width: 355px;
float: left;
display: block;
}
vbox.b vbox.items description image {
float:left;margin:0px 3px 0px 0px;
float: left;
margin: 0px 3px 0px 0px;
}
.tooltip {
display: none;
font-size: 12px;
@ -67,5 +114,3 @@ vbox.b vbox.items description image {
width: 100px; /* width of the spinner gif */
height: 102px; /*hight of the spinner gif +2px to fix IE8 issue */
}

View File

@ -103,7 +103,7 @@ function load_matrix_console()
context.fillRect(0, 0, width, height);
context.fillStyle = "#0F0"; // Green text
context.font = font_size + "px arial";
context.font = font_size + "px lato";
// Looping over drops
for (var i = 0; i < drops.length; i++) {
if (drops[i] == -1) {

View File

@ -21,4 +21,7 @@ PREPARE pr_oum755 FROM @st_oum755;
EXECUTE pr_oum755;
DEALLOCATE PREPARE pr_oum755;
UPDATE `tconfig` set value = 'lato.ttf' WHERE token LIKE 'custom_report_front_font';
UPDATE `tconfig` set value = 'lato.ttf' WHERE token LIKE 'fontpath';
COMMIT;

View File

@ -49,9 +49,7 @@ echo __(
$pandora_version,
$build_package_version,
$config['MR']
);
echo '</a><br />';
echo '<small><span>'.__('Page generated on %s', date('Y-m-d H:i:s')).'</span></small>';
).'</a><br><span>'.__('Page generated on %s', date('Y-m-d H:i:s')).'</span><br>';

View File

@ -28,7 +28,6 @@
.modalheadertex{
color:white;
position:relative;
font-family:Nunito;
font-size:13pt;
top:8px;
}
@ -70,7 +69,6 @@
}
.modalwikibuttontex{
color:#ffffff;
font-family:Nunito;
font-size:10pt;
position:relative;
top:6px;

View File

@ -29,7 +29,6 @@
}
.modalheadertex{
color:#000;
font-family:Nunito;
line-height: 40px;
font-size: 23pt;
margin-bottom:30px;
@ -66,7 +65,6 @@
}
.modalokbuttontex{
color:#82b92e;
font-family:Nunito;
font-size:13pt;
}
.modalgobutto{
@ -80,7 +78,6 @@
}
.modalgobuttontex{
color:#82b92e;
font-family:Nunito;
font-size:10pt;
}

View File

@ -29,7 +29,6 @@
}
.modalheadertex{
color:#000;
font-family:Nunito;
line-height: 40px;
font-size: 23pt;
margin-bottom:30px;
@ -66,7 +65,6 @@
}
.modalokbuttontex{
color:#82b92e;
font-family:Nunito;
font-size:13pt;
}
.modalgobutto{
@ -80,7 +78,6 @@
}
.modalgobuttontex{
color:#82b92e;
font-family:Nunito;
font-size:10pt;
}

View File

@ -211,26 +211,6 @@ $fonts = [
'196pt' => '196pt',
];
/*
$fontf = array('andale mono,times' => 'Andale Mono',
'arial,helvetica,sans-serif' => 'Arial',
'arial black,avant garde' => 'Arial Black',
'comic sans ms,sans-serif' => 'Comic Sans MS',
'courier new,courier' => 'Courier New',
'georgia,palatino' => 'Georgia',
'helvetica,impact' => 'Helvetica',
'impact,chicago' => 'Impact',
'symbol' => 'Symbol',
'tahoma,arial,helvetica,sans-serif' => 'Tahoma',
'terminal,monaco' => 'Terminal',
'times new roman,times' => 'Times New Roman',
'trebuchet ms,geneva' => 'Trebuchet MS',
'verdana,geneva' => 'Verdana',
'Webdings' => 'Webdings',
'Wingdings' => 'Wingdings'
);
*/
$table->rowstyle['all_9'] = 'display: none;';
$table->data['all_9'][0] = __('Font');
$table->colspan['all_9'][1] = '3';

View File

@ -616,36 +616,6 @@ $table_font->style[0] = 'font-weight: bold;';
$table_font->size[0] = '50%';
$table_font->data = [];
$table_font->data[$row][0] = __('Graphs font family');
// Load font families.
$fonts = [];
$dirFonts = scandir(_MPDF_TTFONTPATH);
foreach ($dirFonts as $entryDir) {
if (strstr($entryDir, '.ttf') !== false) {
$explode = explode('-', $entryDir);
if (count($explode) === 1) {
$fonts[$entryDir] = substr($entryDir, 0, (strlen($entryDir) - 4));
}
if ($explode[1] === 'Regular.ttf') {
$fonts[$explode[0].'.ttf'] = $explode[0];
}
}
}
$table_font->data[$row][1] = html_print_select(
$fonts,
'fontpath',
io_safe_output($config['fontpath']),
'',
'',
0,
true
);
$row++;
$table_font->data[$row][0] = __('Graphs font size');
$font_size_array = [
@ -1150,20 +1120,6 @@ $table_report->data[$row][1] = "<input type ='number' value=".$config['font_size
$row++;
$table_report->data[$row][0] = __('PDF font family');
$table_report->data[$row][1] = html_print_select(
$fonts,
'custom_report_front_font',
$config['custom_report_front_font'],
false,
__('Default'),
'',
true
);
$row++;
$table_report->data[$row][0] = __('Graph image height for HTML reports');
$table_report->data[$row][1] = html_print_input_text('graph_image_height', $config['graph_image_height'], '', 20, 20, true);

View File

@ -2,7 +2,6 @@
background-color: #373a3d;
background-image: -moz-linear-gradient(center top, #373a3d, #313437);
border-radius: 3px;
font-family: "PT Sans Narrow", sans-serif;
margin: 0px;
padding: 30px;
}
@ -24,7 +23,6 @@
#drop_file table td,
#drop_file table label {
color: #707070;
font-family: "PT Sans Narrow", sans-serif;
font-size: 16px;
font-weight: bold;
margin-top: 0;
@ -153,7 +151,7 @@
div#box_online * {
font-size: 16pt;
font-family: "Open Sans", sans-serif;
margin-bottom: 50px;
}
#box_online .content {
@ -200,7 +198,6 @@ a.update_manager_button {
font-size: 16px;
border-radius: 4px;
text-decoration: none;
font-family: "Open Sans", sans-serif;
}
a.update_manager_button:after {
@ -221,6 +218,7 @@ a.update_manager_button:after {
color: #82b92e;
font-size: 75pt;
font-weight: bold;
margin-bottom: 50px;
}
/* METACONSOLE */

View File

@ -6,6 +6,6 @@
C0,3.19,3.188,0,7.087,0h14.826C25.809,0,29,3.188,29,7.088V21.915z"/>
</g>
</g>
<text transform="matrix(1 0 0 1 8.0737 21.2432)" fill="#FFFFFF" font-family="'Arial-BoldMT'" font-size="19">D</text>
<text transform="matrix(1 0 0 1 8.0737 21.2432)" fill="#FFFFFF" font-size="19">D</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 350 B

View File

@ -233,7 +233,7 @@ if (check_login()) {
false
);
$formtable->data[0][2] = '';
$formtable->data[0][3] = "<a href='javascript: show_module_detail_dialog(".$module_id.', '.$agentId.', "'.$server_name.'", 0, -1,"'.modules_get_agentmodule_name($module_id)."\")'>".html_print_image('images/refresh.png', true, ['style' => 'vertical-align: middle;', 'border' => '0' ]).'</a>';
$formtable->data[0][3] = "<a href='javascript: show_module_detail_dialog(".$module_id.', '.$agentId.', "'.$server_name.'", 0, -1,"'.modules_get_agentmodule_name($module_id)."\")'>".html_print_image('images/refresh.png', true, ['style' => 'vertical-align: middle;', 'border' => '0', 'class' => 'invert_filter' ]).'</a>';
$formtable->rowspan[0][3] = 2;
$formtable->cellstyle[0][3] = 'vertical-align: middle;';
@ -1051,7 +1051,7 @@ if (check_login()) {
if ($module['flag'] == 0) {
$data[0] = '<a href="index.php?sec=estado&amp;sec2=operation/agentes/ver_agente&amp;id_agente='.$id_agente.'&amp;id_agente_modulo='.$module['id_agente_modulo'].'&amp;flag=1&amp;refr=60">'.html_print_image('images/target.png', true, ['border' => '0', 'title' => __('Force'), 'class' => 'invert_filter' ]).'</a>';
} else {
$data[0] = '<a href="index.php?sec=estado&amp;sec2=operation/agentes/ver_agente&amp;id_agente='.$id_agente.'&amp;id_agente_modulo='.$module['id_agente_modulo'].'&amp;refr=60">'.html_print_image('images/refresh.png', true, ['border' => '0', 'title' => __('Refresh')]).'</a>';
$data[0] = '<a href="index.php?sec=estado&amp;sec2=operation/agentes/ver_agente&amp;id_agente='.$id_agente.'&amp;id_agente_modulo='.$module['id_agente_modulo'].'&amp;refr=60">'.html_print_image('images/refresh.png', true, ['border' => '0', 'title' => __('Refresh'), 'class' => 'invert_filter']).'</a>';
}
}
} else {
@ -1140,7 +1140,7 @@ if (check_login()) {
// Adds tag context information.
if (tags_get_modules_tag_count($module['id_agente_modulo']) > 0) {
$data[3] .= ' <a class="tag_details" href="ajax.php?page=operation/agentes/estado_monitores&get_tag_tooltip=1&id_agente_modulo='.$module['id_agente_modulo'].'">'.html_print_image('images/tag_red.png', true, ['id' => 'tag-details-'.$module['id_agente_modulo'], 'class' => 'img_help']).'</a> ';
$data[3] .= ' <a class="tag_details" href="ajax.php?page=operation/agentes/estado_monitores&get_tag_tooltip=1&id_agente_modulo='.$module['id_agente_modulo'].'">'.html_print_image('images/tag_red.png', true, ['id' => 'tag-details-'.$module['id_agente_modulo'], 'class' => 'img_help invert_filter']).'</a> ';
}
// Adds relations context information.

View File

@ -183,11 +183,9 @@
var scwLanguage;
function scwSetDefaultLanguage()
{try
{scwSetLanguage();}
catch (exception)
{// English
function scwSetDefaultLanguage() {
try { scwSetLanguage(); }
catch (exception) {// English
scwToday = 'Today:';
scwDrag = 'click here to drag';
scwArrMonthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
@ -436,7 +434,6 @@
'vertical-align:middle;' +
'border: ridge 2px;' +
'font-size: 10pt;' +
'font-family: Arial,Helvetica,Sans-Serif;'+
'font-weight: bold;}' +
'td.scwDrag,' +
'td.scwHead {padding: 0px 0px;' +
@ -451,7 +448,7 @@
'margin: 2px 1px;' +
'font-weight: bold;' +
'font-size: 10pt;' +
'font-family: fixedSys;}' +
'}' +
'td.scwWeekNumberHead,' +
'td.scwWeek {padding: 0px;' +
'text-align: center;' +
@ -599,21 +596,21 @@
// Add a method to format a date into the required pattern
Date.prototype.scwFormat =
function(scwFormat)
{var charCount = 0,
function (scwFormat) {
var charCount = 0,
codeChar = '',
result = '';
for (var i=0;i<=scwFormat.length;i++)
{if (i<scwFormat.length && scwFormat.charAt(i)==codeChar)
{// If we haven't hit the end of the string and
for (var i = 0; i <= scwFormat.length; i++) {
if (i < scwFormat.length && scwFormat.charAt(i) == codeChar) {// If we haven't hit the end of the string and
// the format string character is the same as
// the previous one, just clock up one to the
// length of the current element definition
charCount++;
}
else {switch (codeChar)
{case 'y': case 'Y':
else {
switch (codeChar) {
case 'y': case 'Y':
result += (this.getFullYear() % Math.
pow(10, charCount)).toString().
scwPadLeft(charCount);
@ -637,8 +634,7 @@
while (charCount-- > 0) { result += codeChar; }
}
if (i<scwFormat.length)
{// Store the character we have just worked on
if (i < scwFormat.length) {// Store the character we have just worked on
codeChar = scwFormat.charAt(i);
charCount = 1;
}
@ -650,8 +646,8 @@
// Add a method to left pad zeroes
String.prototype.scwPadLeft =
function(padToLength)
{var result = '';
function (padToLength) {
var result = '';
for (var i = 0; i < (padToLength - this.length); i++) { result += '0'; }
return (result + this);
};
@ -661,16 +657,14 @@
// arguments.
Function.prototype.runsAfterSCW =
function() {var func = this,
function () {
var func = this,
args = new Array(arguments.length);
for (var i=0;i<args.length;++i)
{args[i] = arguments[i];}
for (var i = 0; i < args.length; ++i) { args[i] = arguments[i]; }
return function()
{// concat/join the two argument arrays
for (var i=0;i<arguments.length;++i)
{args[args.length] = arguments[i];}
return function () {// concat/join the two argument arrays
for (var i = 0; i < arguments.length; ++i) { args[args.length] = arguments[i]; }
return (args.shift() == scwTriggerEle)
? func.apply(this, args) : null;
@ -711,19 +705,19 @@
// ****************************************************************************
function showCal(scwEle, scwSourceEle) { scwShow(scwEle, scwSourceEle); }
function scwShow(scwEle,scwSourceEle)
{scwTriggerEle = scwSourceEle;
function scwShow(scwEle, scwSourceEle) {
scwTriggerEle = scwSourceEle;
// Take any parameters that there might be from the third onwards as
// day numbers to be disabled 0 = Sunday through to 6 = Saturday.
scwParmActiveToday = true;
for (var i=0;i<7;i++)
{scwPassEnabledDay[(i+7-scwWeekStart)%7] = true;
for (var j=2;j<arguments.length;j++)
{if (arguments[j]==i)
{scwPassEnabledDay[(i+7-scwWeekStart)%7] = false;
for (var i = 0; i < 7; i++) {
scwPassEnabledDay[(i + 7 - scwWeekStart) % 7] = true;
for (var j = 2; j < arguments.length; j++) {
if (arguments[j] == i) {
scwPassEnabledDay[(i + 7 - scwWeekStart) % 7] = false;
if (scwDateNow.getDay() == i) scwParmActiveToday = false;
}
}
@ -738,20 +732,19 @@
// Find the date and Strip space characters from start and
// end of date input.
if (typeof scwEle.value == 'undefined')
{var scwChildNodes = scwEle.childNodes;
if (typeof scwEle.value == 'undefined') {
var scwChildNodes = scwEle.childNodes;
for (var i = 0; i < scwChildNodes.length; i++)
if (scwChildNodes[i].nodeType == 3)
{var scwDateValue = scwChildNodes[i].nodeValue.replace(/^\s+/,'').replace(/\s+$/,'');
if (scwDateValue.length > 0)
{scwTriggerEle.scwTextNode = scwChildNodes[i];
if (scwChildNodes[i].nodeType == 3) {
var scwDateValue = scwChildNodes[i].nodeValue.replace(/^\s+/, '').replace(/\s+$/, '');
if (scwDateValue.length > 0) {
scwTriggerEle.scwTextNode = scwChildNodes[i];
scwTriggerEle.scwLength = scwChildNodes[i].nodeValue.length;
break;
}
}
}
else
{var scwDateValue = scwEle.value.replace(/^\s+/,'').replace(/\s+$/,'');}
else { var scwDateValue = scwEle.value.replace(/^\s+/, '').replace(/\s+$/, ''); }
// Set the language-dependent elements
@ -779,22 +772,21 @@
scwToday + ' ' +
scwDateNow.scwFormat(scwDateDisplayFormat);
if (scwDateValue.length==0)
{// If no value is entered and today is within the range,
if (scwDateValue.length == 0) {// If no value is entered and today is within the range,
// use today's date, otherwise use the middle of the valid range.
scwBlnFullInputDate = false;
if ((new Date(scwBaseYear + scwDropDownYears, 0, 0)) < scwSeedDate ||
(new Date(scwBaseYear, 0, 1)) > scwSeedDate
)
{scwSeedDate = new Date(scwBaseYear +
) {
scwSeedDate = new Date(scwBaseYear +
Math.floor(scwDropDownYears / 2), 5, 1);
}
}
else
{function scwInputFormat()
{var scwArrSeed = new Array(),
else {
function scwInputFormat() {
var scwArrSeed = new Array(),
scwArrInput = scwDateValue.
split(new RegExp('[\\' + scwArrDelimiters.
join('\\') + ']+', 'g'));
@ -808,8 +800,8 @@
// still appear in the output string if in the output
// format.
if (scwArrInput[0]!=null)
{if (scwArrInput[0].length==0) scwArrInput.splice(0,1);
if (scwArrInput[0] != null) {
if (scwArrInput[0].length == 0) scwArrInput.splice(0, 1);
if (scwArrInput[scwArrInput.length - 1].length == 0)
scwArrInput.splice(scwArrInput.length - 1, 1);
@ -817,8 +809,8 @@
scwBlnFullInputDate = false;
switch (scwArrInput.length)
{case 1:
switch (scwArrInput.length) {
case 1:
{// Year only entry
scwArrSeed[0] = parseInt(scwArrInput[0], 10); // Year
scwArrSeed[1] = '6'; // Month
@ -882,8 +874,8 @@
if (scwExpValYear.exec(scwArrSeed[0]) == null ||
scwExpValMonth.exec(scwArrSeed[1]) == null ||
scwExpValDay.exec(scwArrSeed[2]) == null
)
{if (scwShowInvalidDateMsg)
) {
if (scwShowInvalidDateMsg)
alert(scwInvalidDateMsg +
scwInvalidAlert[0] + scwDateValue +
scwInvalidAlert[1]);
@ -916,8 +908,8 @@
// Check whether the month is in digits or an abbreviation
if (scwArrSeedDate[1].search(/\d+/)!=0)
{month = scwArrMonthNames.join('|').toUpperCase().
if (scwArrSeedDate[1].search(/\d+/) != 0) {
month = scwArrMonthNames.join('|').toUpperCase().
search(scwArrSeedDate[1].substr(0, 3).
toUpperCase());
scwArrSeedDate[1] = Math.floor(month / 4) + 1;
@ -930,8 +922,8 @@
// Test that we have arrived at a valid date
if (isNaN(scwSeedDate))
{if (scwShowInvalidDateMsg)
if (isNaN(scwSeedDate)) {
if (scwShowInvalidDateMsg)
alert(scwInvalidDateMsg +
scwInvalidAlert[0] + scwDateValue +
scwInvalidAlert[1]);
@ -939,34 +931,33 @@
Math.floor(scwDropDownYears / 2), 5, 1);
scwBlnFullInputDate = false;
}
else
{// Test that the date is within range,
else {// Test that the date is within range,
// if not then set date to a sensible date in range.
if ((new Date(scwBaseYear,0,1)) > scwSeedDate)
{if (scwBlnStrict && scwShowOutOfRangeMsg)
if ((new Date(scwBaseYear, 0, 1)) > scwSeedDate) {
if (scwBlnStrict && scwShowOutOfRangeMsg)
alert(scwOutOfRangeMsg);
scwSeedDate = new Date(scwBaseYear, 0, 1);
scwBlnFullInputDate = false;
}
else
{if ((new Date(scwBaseYear+scwDropDownYears,0,0))<
scwSeedDate)
{if (scwBlnStrict && scwShowOutOfRangeMsg)
else {
if ((new Date(scwBaseYear + scwDropDownYears, 0, 0)) <
scwSeedDate) {
if (scwBlnStrict && scwShowOutOfRangeMsg)
alert(scwOutOfRangeMsg);
scwSeedDate = new Date(scwBaseYear +
Math.floor(scwDropDownYears) - 1,
11, 1);
scwBlnFullInputDate = false;
}
else
{if (scwBlnStrict && scwBlnFullInputDate &&
else {
if (scwBlnStrict && scwBlnFullInputDate &&
(scwSeedDate.getDate() != scwArrSeedDate[2] ||
(scwSeedDate.getMonth() + 1) != scwArrSeedDate[1] ||
scwSeedDate.getFullYear() != scwArrSeedDate[0]
)
)
{if (scwShowDoesNotExistMsg) alert(scwDoesNotExistMsg);
) {
if (scwShowDoesNotExistMsg) alert(scwDoesNotExistMsg);
scwSeedDate = new Date(scwSeedDate.getFullYear(),
scwSeedDate.getMonth() - 1, 1);
scwBlnFullInputDate = false;
@ -978,27 +969,27 @@
// Test the disabled dates for validity
// Give error message if not valid.
for (var i=0;i<scwDisabledDates.length;i++)
{if (!((typeof scwDisabledDates[i] == 'object') &&
(scwDisabledDates[i].constructor == Date)))
{if ((typeof scwDisabledDates[i] == 'object') &&
(scwDisabledDates[i].constructor == Array))
{var scwPass = true;
for (var i = 0; i < scwDisabledDates.length; i++) {
if (!((typeof scwDisabledDates[i] == 'object') &&
(scwDisabledDates[i].constructor == Date))) {
if ((typeof scwDisabledDates[i] == 'object') &&
(scwDisabledDates[i].constructor == Array)) {
var scwPass = true;
if (scwDisabledDates[i].length !=2)
{if (scwShowRangeDisablingError)
if (scwDisabledDates[i].length != 2) {
if (scwShowRangeDisablingError)
alert(scwRangeDisablingError[0] +
scwDisabledDates[i] +
scwRangeDisablingError[1]);
scwPass = false;
}
else
{for (var j=0;j<scwDisabledDates[i].length;j++)
{if (!((typeof scwDisabledDates[i][j]
else {
for (var j = 0; j < scwDisabledDates[i].length; j++) {
if (!((typeof scwDisabledDates[i][j]
== 'object') &&
(scwDisabledDates[i][j].constructor
== Date)))
{if (scwShowRangeDisablingError)
== Date))) {
if (scwShowRangeDisablingError)
alert(scwDateDisablingError[0] +
scwDisabledDates[i][j] +
scwDateDisablingError[1]);
@ -1009,11 +1000,10 @@
if (scwPass &&
(scwDisabledDates[i][0] > scwDisabledDates[i][1])
)
{scwDisabledDates[i].reverse();}
) { scwDisabledDates[i].reverse(); }
}
else
{if (scwShowRangeDisablingError)
else {
if (scwShowRangeDisablingError)
alert(scwDateDisablingError[0] +
scwDisabledDates[i] +
scwDateDisablingError[1]);
@ -1037,8 +1027,8 @@
// It requires the following work-around to force SELECTs to display
// correctly.
if (window.opera)
{scwID('scwMonths').style.display = 'none';
if (window.opera) {
scwID('scwMonths').style.display = 'none';
scwID('scwMonths').style.display = 'block';
scwID('scwYears').style.display = 'none';
scwID('scwYears').style.display = 'block';
@ -1073,16 +1063,17 @@
parseInt(scwEle.offsetHeight, 10),
offsetLeft = parseInt(scwEle.offsetLeft, 10);
if (!window.opera)
{while (scwEle.tagName!='BODY' && scwEle.tagName!='HTML')
{offsetTop -=parseInt(scwEle.scrollTop, 10);
if (!window.opera) {
while (scwEle.tagName != 'BODY' && scwEle.tagName != 'HTML') {
offsetTop -= parseInt(scwEle.scrollTop, 10);
offsetLeft -= parseInt(scwEle.scrollLeft, 10);
scwEle = scwEle.parentNode;
}
scwEle = scwTargetEle;
}
do {scwEle=scwEle.offsetParent;
do {
scwEle = scwEle.offsetParent;
offsetTop += parseInt(scwEle.offsetTop, 10);
offsetLeft += parseInt(scwEle.offsetLeft, 10);
}
@ -1091,8 +1082,8 @@
scwID('scw').style.top = offsetTop + 'px';
scwID('scw').style.left = offsetLeft + 'px';
if (scwID('scwIframe'))
{scwID('scwIframe').style.top=offsetTop +'px';
if (scwID('scwIframe')) {
scwID('scwIframe').style.top = offsetTop + 'px';
scwID('scwIframe').style.left = offsetLeft + 'px';
scwID('scwIframe').style.width = (scwID('scw').offsetWidth - 2) + 'px';
scwID('scwIframe').style.height = (scwID('scw').offsetHeight - 2) + 'px';
@ -1112,63 +1103,64 @@
? scwSourceEle.parentNode
: scwSourceEle;
if (typeof event=='undefined')
{el.addEventListener('click',
if (typeof event == 'undefined') {
el.addEventListener('click',
scwStopPropagation,
false);
}
else {if (el.attachEvent)
{el.attachEvent('onclick',scwStopPropagation);}
else {
if (el.attachEvent) { el.attachEvent('onclick', scwStopPropagation); }
else { event.cancelBubble = true; }
}
}
function scwHide()
{scwID('scw').style.visibility='hidden';
if (scwID('scwIframe'))
{scwID('scwIframe').style.visibility='hidden';}
function scwHide() {
scwID('scw').style.visibility = 'hidden';
if (scwID('scwIframe')) { scwID('scwIframe').style.visibility = 'hidden'; }
if (typeof scwNextAction!='undefined' && scwNextAction!=null)
{scwNextActionReturn = scwNextAction();
if (typeof scwNextAction != 'undefined' && scwNextAction != null) {
scwNextActionReturn = scwNextAction();
// Explicit null set to prevent closure causing memory leak
scwNextAction = null;
}
}
function scwCancel(scwEvt)
{if (scwClickToHide) scwHide();
function scwCancel(scwEvt) {
if (scwClickToHide) scwHide();
scwStopPropagation(scwEvt);
}
function scwStopPropagation(scwEvt)
{if (scwEvt.stopPropagation)
function scwStopPropagation(scwEvt) {
if (scwEvt.stopPropagation)
scwEvt.stopPropagation(); // Capture phase
else scwEvt.cancelBubble = true; // Bubbling phase
}
function scwBeginDrag(event)
{var elementToDrag = scwID('scw');
function scwBeginDrag(event) {
var elementToDrag = scwID('scw');
var deltaX = event.clientX,
deltaY = event.clientY,
offsetEle = elementToDrag;
do {deltaX -= parseInt(offsetEle.offsetLeft,10);
do {
deltaX -= parseInt(offsetEle.offsetLeft, 10);
deltaY -= parseInt(offsetEle.offsetTop, 10);
offsetEle = offsetEle.offsetParent;
}
while (offsetEle.tagName != 'BODY' &&
offsetEle.tagName != 'HTML');
if (document.addEventListener)
{document.addEventListener('mousemove',
if (document.addEventListener) {
document.addEventListener('mousemove',
moveHandler,
true); // Capture phase
document.addEventListener('mouseup',
upHandler,
true); // Capture phase
}
else {elementToDrag.attachEvent('onmousemove',
else {
elementToDrag.attachEvent('onmousemove',
moveHandler); // Bubbling phase
elementToDrag.attachEvent('onmouseup',
upHandler); // Bubbling phase
@ -1177,14 +1169,14 @@
scwStopPropagation(event);
function moveHandler(scwEvt)
{if (!scwEvt) scwEvt = window.event;
function moveHandler(scwEvt) {
if (!scwEvt) scwEvt = window.event;
elementToDrag.style.left = (scwEvt.clientX - deltaX) + 'px';
elementToDrag.style.top = (scwEvt.clientY - deltaY) + 'px';
if (scwID('scwIframe'))
{scwID('scwIframe').style.left =
if (scwID('scwIframe')) {
scwID('scwIframe').style.left =
(scwEvt.clientX - deltaX) + 'px';
scwID('scwIframe').style.top =
(scwEvt.clientY - deltaY) + 'px';
@ -1193,18 +1185,19 @@
scwStopPropagation(scwEvt);
}
function upHandler(scwEvt)
{if (!scwEvt) scwEvt = window.event;
function upHandler(scwEvt) {
if (!scwEvt) scwEvt = window.event;
if (document.removeEventListener)
{document.removeEventListener('mousemove',
if (document.removeEventListener) {
document.removeEventListener('mousemove',
moveHandler,
true); // Capture phase
document.removeEventListener('mouseup',
upHandler,
true); // Capture phase
}
else {elementToDrag.detachEvent('onmouseup',
else {
elementToDrag.detachEvent('onmouseup',
upHandler); // Bubbling phase
elementToDrag.detachEvent('onmousemove',
moveHandler); // Bubbling phase
@ -1215,8 +1208,7 @@
}
}
function scwShowMonth(scwBias)
{// Set the selectable Month and Year
function scwShowMonth(scwBias) {// Set the selectable Month and Year
// May be called: from the left and right arrows
// (shift month -1 and +1 respectively)
// from the month selection list
@ -1237,14 +1229,12 @@
scwSelYears = scwID('scwYears');
scwSelMonths = scwID('scwMonths');
if (scwSelYears.options.selectedIndex>-1)
{scwMonthSum=12*(scwSelYears.options.selectedIndex)+scwBias;
if (scwSelMonths.options.selectedIndex>-1)
{scwMonthSum+=scwSelMonths.options.selectedIndex;}
if (scwSelYears.options.selectedIndex > -1) {
scwMonthSum = 12 * (scwSelYears.options.selectedIndex) + scwBias;
if (scwSelMonths.options.selectedIndex > -1) { scwMonthSum += scwSelMonths.options.selectedIndex; }
}
else
{if (scwSelMonths.options.selectedIndex>-1)
{scwMonthSum+=scwSelMonths.options.selectedIndex;}
else {
if (scwSelMonths.options.selectedIndex > -1) { scwMonthSum += scwSelMonths.options.selectedIndex; }
}
scwShowDate.setFullYear(scwBaseYear + Math.floor(scwMonthSum / 12),
@ -1261,8 +1251,8 @@
if ((12 * parseInt((scwShowDate.getFullYear() - scwBaseYear), 10)) +
parseInt(scwShowDate.getMonth(), 10) < (12 * scwDropDownYears) &&
(12 * parseInt((scwShowDate.getFullYear() - scwBaseYear), 10)) +
parseInt(scwShowDate.getMonth(),10) > -1)
{scwSelYears.options.selectedIndex=Math.floor(scwMonthSum/12);
parseInt(scwShowDate.getMonth(), 10) > -1) {
scwSelYears.options.selectedIndex = Math.floor(scwMonthSum / 12);
scwSelMonths.options.selectedIndex = (scwMonthSum % 12);
scwCurMonth = scwShowDate.getMonth();
@ -1278,43 +1268,45 @@
scwStartDate = new Date(scwShowDate);
if (scwID('scwFoot'))
{var scwFoot = scwID('scwFoot');
if (scwID('scwFoot')) {
var scwFoot = scwID('scwFoot');
function scwFootOutput() { scwSetOutput(scwDateNow); }
if (scwDisabledDates.length==0)
{if (scwActiveToday && scwParmActiveToday)
{scwFoot.onclick = scwFootOutput;
if (scwDisabledDates.length == 0) {
if (scwActiveToday && scwParmActiveToday) {
scwFoot.onclick = scwFootOutput;
scwFoot.className = 'scwFoot';
if (scwID('scwIFrame'))
{scwFoot.onmouseover = scwChangeClass;
if (scwID('scwIFrame')) {
scwFoot.onmouseover = scwChangeClass;
scwFoot.onmouseout = scwChangeClass;
}
}
else
{scwFoot.onclick = null;
else {
scwFoot.onclick = null;
scwFoot.className = 'scwFootDisabled';
if (scwID('scwIFrame'))
{scwFoot.onmouseover = null;
if (scwID('scwIFrame')) {
scwFoot.onmouseover = null;
scwFoot.onmouseout = null;
}
if (document.addEventListener)
{scwFoot.addEventListener('click',
if (document.addEventListener) {
scwFoot.addEventListener('click',
scwStopPropagation,
false);
}
else {scwFoot.attachEvent('onclick',
scwStopPropagation);}
else {
scwFoot.attachEvent('onclick',
scwStopPropagation);
}
}
else
{for (var k=0;k<scwDisabledDates.length;k++)
{if (!scwActiveToday || !scwParmActiveToday ||
}
else {
for (var k = 0; k < scwDisabledDates.length; k++) {
if (!scwActiveToday || !scwParmActiveToday ||
((typeof scwDisabledDates[k] == 'object') &&
(((scwDisabledDates[k].constructor == Date) &&
scwDateNow.valueOf() == scwDisabledDates[k].
@ -1328,31 +1320,32 @@
)
)
)
)
{scwFoot.onclick = null;
) {
scwFoot.onclick = null;
scwFoot.className = 'scwFootDisabled';
if (scwID('scwIFrame'))
{scwFoot.onmouseover = null;
if (scwID('scwIFrame')) {
scwFoot.onmouseover = null;
scwFoot.onmouseout = null;
}
if (document.addEventListener)
{scwFoot.addEventListener('click',
if (document.addEventListener) {
scwFoot.addEventListener('click',
scwStopPropagation,
false);
}
else {scwFoot.attachEvent('onclick',
else {
scwFoot.attachEvent('onclick',
scwStopPropagation);
}
break;
}
else
{scwFoot.onclick=scwFootOutput;
else {
scwFoot.onclick = scwFootOutput;
scwFoot.className = 'scwFoot';
if (scwID('scwIFrame'))
{scwFoot.onmouseover = scwChangeClass;
if (scwID('scwIFrame')) {
scwFoot.onmouseover = scwChangeClass;
scwFoot.onmouseout = scwChangeClass;
}
}
@ -1360,21 +1353,21 @@
}
}
function scwSetOutput(scwOutputDate)
{if (typeof scwTargetEle.value == 'undefined')
{scwTriggerEle.scwTextNode.
function scwSetOutput(scwOutputDate) {
if (typeof scwTargetEle.value == 'undefined') {
scwTriggerEle.scwTextNode.
replaceData(0, scwTriggerEle.scwLength,
scwOutputDate.scwFormat(scwDateOutputFormat));
}
else
{scwTargetEle.value =
else {
scwTargetEle.value =
scwOutputDate.scwFormat(scwDateOutputFormat);
}
scwHide();
}
function scwCellOutput(scwEvt)
{var scwEle = scwEventTrigger(scwEvt),
function scwCellOutput(scwEvt) {
var scwEle = scwEventTrigger(scwEvt),
scwOutputDate = new Date(scwStartDate);
if (scwEle.nodeType == 3) scwEle = scwEle.parentNode;
@ -1385,13 +1378,13 @@
scwSetOutput(scwOutputDate);
}
function scwChangeClass(scwEvt)
{var scwEle = scwEventTrigger(scwEvt);
function scwChangeClass(scwEvt) {
var scwEle = scwEventTrigger(scwEvt);
if (scwEle.nodeType == 3) scwEle = scwEle.parentNode;
switch (scwEle.className)
{case 'scwCells':
switch (scwEle.className) {
case 'scwCells':
scwEle.className = 'scwCellsHover';
break;
case 'scwCellsHover':
@ -1425,13 +1418,12 @@
return true;
}
function scwEventTrigger(scwEvt)
{if (!scwEvt) scwEvt = event;
function scwEventTrigger(scwEvt) {
if (!scwEvt) scwEvt = event;
return scwEvt.target || scwEvt.srcElement;
}
function scwWeekNumber(scwInDate)
{// The base day in the week of the input date
function scwWeekNumber(scwInDate) {// The base day in the week of the input date
var scwInDateWeekBase = new Date(scwInDate);
scwInDateWeekBase.setDate(scwInDateWeekBase.getDate()
@ -1450,16 +1442,14 @@
);
if (scwFirstBaseDay <
new Date(scwInDateWeekBase.getFullYear(),0,1))
{scwFirstBaseDay.setDate(scwFirstBaseDay.getDate()+7);}
new Date(scwInDateWeekBase.getFullYear(), 0, 1)) { scwFirstBaseDay.setDate(scwFirstBaseDay.getDate() + 7); }
// Start of Week 01
var scwStartWeekOne = new Date(scwFirstBaseDay
- scwWeekNumberBaseDay
+ scwInDate.getDay());
if (scwStartWeekOne > scwFirstBaseDay)
{scwStartWeekOne.setDate(scwStartWeekOne.getDate()-7);}
if (scwStartWeekOne > scwFirstBaseDay) { scwStartWeekOne.setDate(scwStartWeekOne.getDate() - 7); }
// Subtract the date of the current week from the date of the
// first week of the year to get the number of weeks in
@ -1486,11 +1476,10 @@
var scwCells = scwID('scwCells');
for (i=0;i<scwCells.childNodes.length;i++)
{var scwRows = scwCells.childNodes[i];
if (scwRows.nodeType==1 && scwRows.tagName=='TR')
{if (scwWeekNumberDisplay)
{//Calculate the week number using scwShowDate
for (i = 0; i < scwCells.childNodes.length; i++) {
var scwRows = scwCells.childNodes[i];
if (scwRows.nodeType == 1 && scwRows.tagName == 'TR') {
if (scwWeekNumberDisplay) {//Calculate the week number using scwShowDate
scwTmpEl = scwRows.childNodes[0];
scwTmpEl.innerHTML = scwWeekNumber(scwShowDate);
scwTmpEl.style.borderColor =
@ -1501,13 +1490,12 @@
: '';
scwTmpEl.style.display = '';
}
else
{scwRows.childNodes[0].style.display='none';}
else { scwRows.childNodes[0].style.display = 'none'; }
for (j=1;j<scwRows.childNodes.length;j++)
{var scwCols = scwRows.childNodes[j];
if (scwCols.nodeType==1 && scwCols.tagName=='TD')
{scwRows.childNodes[j].innerHTML=
for (j = 1; j < scwRows.childNodes.length; j++) {
var scwCols = scwRows.childNodes[j];
if (scwCols.nodeType == 1 && scwCols.tagName == 'TD') {
scwRows.childNodes[j].innerHTML =
scwShowDate.getDate();
var scwCell = scwRows.childNodes[j],
scwDisabled =
@ -1550,8 +1538,8 @@
)
) ? 'hidden' : '';
for (var k=0;k<scwDisabledDates.length;k++)
{if ((typeof scwDisabledDates[k]=='object')
for (var k = 0; k < scwDisabledDates.length; k++) {
if ((typeof scwDisabledDates[k] == 'object')
&&
(scwDisabledDates[k].constructor ==
Date
@ -1559,10 +1547,9 @@
&&
scwCompareDateValue ==
scwDisabledDates[k].valueOf()
)
{scwDisabled = true;}
else
{if ((typeof scwDisabledDates[k]=='object')
) { scwDisabled = true; }
else {
if ((typeof scwDisabledDates[k] == 'object')
&&
(scwDisabledDates[k].constructor ==
Array
@ -1573,8 +1560,7 @@
&&
scwCompareDateValue <=
scwDisabledDates[k][1].valueOf()
)
{scwDisabled = true;}
) { scwDisabled = true; }
}
}
@ -1585,11 +1571,11 @@
!scwPassEnabledDay[(j - 1 + (7 * (i * scwCells.
childNodes.
length / 6))) % 7]
)
{scwRows.childNodes[j].onclick = null;
) {
scwRows.childNodes[j].onclick = null;
if (scwID('scwIFrame'))
{scwRows.childNodes[j].onmouseover = null;
if (scwID('scwIFrame')) {
scwRows.childNodes[j].onmouseover = null;
scwRows.childNodes[j].onmouseout = null;
}
@ -1613,11 +1599,11 @@
? document.defaultView.getComputedStyle(scwCell, null).getPropertyValue('background-color')
: '';
}
else
{scwRows.childNodes[j].onclick=scwCellOutput;
else {
scwRows.childNodes[j].onclick = scwCellOutput;
if (scwID('scwIFrame'))
{scwRows.childNodes[j].onmouseover =
if (scwID('scwIFrame')) {
scwRows.childNodes[j].onmouseover =
scwChangeClass;
scwRows.childNodes[j].onmouseout =
scwChangeClass;
@ -1720,12 +1706,12 @@
"<tbody id='scwCells' " +
"onClick='scwStopPropagation(event);'>");
for (i=0;i<6;i++)
{document.write(
for (i = 0; i < 6; i++) {
document.write(
"<tr>" +
"<td class='scwWeekNo' id='scwWeek_" + i + "'></td>");
for (j=0;j<7;j++)
{document.write(
for (j = 0; j < 7; j++) {
document.write(
"<td class='scwCells' id='scwCell_" + (j + (i * 7)) +
"'></td>");
}
@ -1738,8 +1724,8 @@
"</tbody>");
if ((new Date(scwBaseYear + scwDropDownYears, 0, 0)) > scwDateNow &&
(new Date(scwBaseYear, 0, 0)) < scwDateNow)
{document.write(
(new Date(scwBaseYear, 0, 0)) < scwDateNow) {
document.write(
"<tfoot class='scwFoot'>" +
"<tr class='scwFoot'>" +
"<td class='scwFoot' id='scwFoot' colspan='8'>" +
@ -1754,8 +1740,8 @@
"</tr>" +
"</table>");
if (document.addEventListener)
{scwID('scw' ).addEventListener('click',scwCancel,false);
if (document.addEventListener) {
scwID('scw').addEventListener('click', scwCancel, false);
scwID('scwHeadLeft').addEventListener('click', scwStopPropagation, false);
scwID('scwMonths').addEventListener('click', scwStopPropagation, false);
scwID('scwMonths').addEventListener('change', scwStopPropagation, false);
@ -1763,7 +1749,8 @@
scwID('scwYears').addEventListener('change', scwStopPropagation, false);
scwID('scwHeadRight').addEventListener('click', scwStopPropagation, false);
}
else {scwID('scw' ).attachEvent('onclick',scwCancel);
else {
scwID('scw').attachEvent('onclick', scwCancel);
scwID('scwHeadLeft').attachEvent('onclick', scwStopPropagation);
scwID('scwMonths').attachEvent('onclick', scwStopPropagation);
scwID('scwMonths').attachEvent('onchange', scwStopPropagation);
@ -1779,8 +1766,7 @@
// Start of document level event definition
// ****************************************
if (document.addEventListener)
{document.addEventListener('click',scwHide, false);}
if (document.addEventListener) { document.addEventListener('click', scwHide, false); }
else { document.attachEvent('onclick', scwHide); }
// ****************************************

View File

@ -176,6 +176,7 @@ if (file_exists('languages/'.$user_language.'.mo') === true) {
$params['only_image'] = false;
$params['menu'] = false;
$params['disable_black'] = true;
$params_combined = json_decode($data_combined, true);
$module_list = json_decode($data_module_list, true);
@ -219,6 +220,7 @@ if (file_exists('languages/'.$user_language.'.mo') === true) {
break;
case 'pie_chart':
$params['pdf'] = true;
echo flot_pie_chart(
$params['values'],
$params['keys'],
@ -234,10 +236,12 @@ if (file_exists('languages/'.$user_language.'.mo') === true) {
break;
case 'vbar':
$params['pdf'] = true;
echo flot_vcolumn_chart($params);
break;
case 'hbar':
$params['pdf'] = true;
echo flot_hcolumn_chart(
$params['chart_data'],
$params['width'],
@ -248,11 +252,13 @@ if (file_exists('languages/'.$user_language.'.mo') === true) {
$params['backgroundColor'],
$params['tick_color'],
$params['val_min'],
$params['val_max']
$params['val_max'],
$params['pdf']
);
break;
case 'ring_graph':
$params['pdf'] = true;
echo flot_custom_pie_chart(
$params['chart_data'],
$params['width'],
@ -271,7 +277,8 @@ if (file_exists('languages/'.$user_language.'.mo') === true) {
$params['homeurl'],
$params['background_color'],
$params['legend_position'],
$params['background_color']
$params['background_color'],
$params['pdf']
);
break;

View File

@ -881,7 +881,7 @@ class ModuleTemplates extends HTML
$table->cellpadding = 0;
$table->cellspacing = 0;
$table->width = '100%';
$table->class = 'info_table';
$table->class = 'info_table border_bt';
$table->head = [];
$table->head[0] = html_print_checkbox('all_delete', 0, false, true, false);
@ -1189,7 +1189,7 @@ class ModuleTemplates extends HTML
$blockTitle .= '</div></div>';
$table = new StdClasS();
$table->class = 'databox data';
$table->class = 'databox data border_bt';
$table->width = '75%';
$table->styleTable = 'margin: 2em auto 0;border: 1px solid #ddd;';
$table->rowid = [];
@ -1198,7 +1198,7 @@ class ModuleTemplates extends HTML
$table->cellpadding = 0;
$table->cellspacing = 0;
$table->width = '100%';
$table->class = 'info_table';
$table->class = 'info_table border_bt';
$table->head = [];
$table->head[0] = __('Module Name');

View File

@ -421,7 +421,7 @@ class WelcomeWindow extends Wizard
[
'wrapper' => 'div',
'block_id' => 'div_configure_mail',
'class' => 'hole flex-row w100p '.$li_configure_mail_class,
'class' => 'hole flex-row w98p '.$li_configure_mail_class,
'direct' => 1,
'block_content' => [
[
@ -455,7 +455,7 @@ class WelcomeWindow extends Wizard
[
'wrapper' => 'div',
'block_id' => 'div_create_agent',
'class' => 'learn_content_indented flex-row w100p '.$li_create_agent_class,
'class' => 'learn_content_indented flex-row w98p '.$li_create_agent_class,
'direct' => 1,
'block_content' => [
[
@ -480,7 +480,7 @@ class WelcomeWindow extends Wizard
[
'wrapper' => 'div',
'block_id' => 'div_monitor_actions',
'class' => 'learn_content_indented flex-row w100p '.$li_create_module_class,
'class' => 'learn_content_indented flex-row w98p '.$li_create_module_class,
'direct' => 1,
'block_content' => [
[
@ -505,7 +505,7 @@ class WelcomeWindow extends Wizard
[
'wrapper' => 'div',
'block_id' => 'div_monitor_actions',
'class' => 'hole learn_content_indented flex-row w100p '.$li_create_alert_class,
'class' => 'hole learn_content_indented flex-row w98p '.$li_create_alert_class,
'direct' => 1,
'block_content' => [
[
@ -530,7 +530,7 @@ class WelcomeWindow extends Wizard
[
'wrapper' => 'div',
'block_id' => 'div_discover',
'class' => 'hole flex-row w100p '.$li_create_discovery_class,
'class' => 'hole flex-row w98p '.$li_create_discovery_class,
'direct' => 1,
'block_content' => [
[
@ -558,7 +558,7 @@ class WelcomeWindow extends Wizard
$inputs[] = [
'wrapper' => 'div',
'block_id' => 'div_not_working',
'class' => 'hole flex-row w100p',
'class' => 'hole flex-row w98p',
'direct' => 1,
'block_content' => [
[

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -38,7 +38,6 @@
.terminal {
background-color: #000;
color: #fff;
font-family: courier-new, courier, monospace;
font-feature-settings: "liga" 0;
position: relative;
}
@ -86,7 +85,8 @@
text-decoration: none;
}
.terminal.focus:not(.xterm-cursor-style-underline):not(.xterm-cursor-style-bar) .terminal-cursor {
.terminal.focus:not(.xterm-cursor-style-underline):not(.xterm-cursor-style-bar)
.terminal-cursor {
background-color: #fff;
color: #000;
}
@ -97,7 +97,8 @@
background-color: transparent;
}
.terminal:not(.xterm-cursor-style-underline):not(.xterm-cursor-style-bar).focus.xterm-cursor-blink-on .terminal-cursor {
.terminal:not(.xterm-cursor-style-underline):not(.xterm-cursor-style-bar).focus.xterm-cursor-blink-on
.terminal-cursor {
background-color: transparent;
color: inherit;
}
@ -125,18 +126,22 @@
right: 0;
height: 1px;
}
.terminal.xterm-cursor-style-bar.focus.xterm-cursor-blink.xterm-cursor-blink-on .terminal-cursor::before,
.terminal.xterm-cursor-style-underline.focus.xterm-cursor-blink.xterm-cursor-blink-on .terminal-cursor::before {
.terminal.xterm-cursor-style-bar.focus.xterm-cursor-blink.xterm-cursor-blink-on
.terminal-cursor::before,
.terminal.xterm-cursor-style-underline.focus.xterm-cursor-blink.xterm-cursor-blink-on
.terminal-cursor::before {
background-color: transparent;
}
.terminal.xterm-cursor-style-bar.focus.xterm-cursor-blink .terminal-cursor::before,
.terminal.xterm-cursor-style-underline.focus.xterm-cursor-blink .terminal-cursor::before {
.terminal.xterm-cursor-style-bar.focus.xterm-cursor-blink
.terminal-cursor::before,
.terminal.xterm-cursor-style-underline.focus.xterm-cursor-blink
.terminal-cursor::before {
background-color: #fff;
}
.terminal .composition-view {
background: #000;
color: #FFF;
color: #fff;
display: none;
position: absolute;
white-space: nowrap;

View File

@ -1 +0,0 @@
Copyright 2011 Google Inc. All Rights Reserved.

View File

@ -1,202 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2247,7 +2247,7 @@ function config_process_config()
if (!isset($config['fontpath'])) {
config_update_value(
'fontpath',
'opensans.ttf'
'lato.ttf'
);
}
@ -3130,7 +3130,7 @@ function config_process_config()
}
if (!isset($config['custom_report_front_font'])) {
config_update_value('custom_report_front_font', 'opensans.ttf');
config_update_value('custom_report_front_font', 'lato.ttf');
}
if (!isset($config['custom_report_front_logo'])) {

View File

@ -735,6 +735,10 @@ function grafico_modulo_sparse($params)
$params['backgroundColor'] = 'white';
}
if (isset($params['only_image']) === true) {
$params['backgroundColor'] = 'transparent';
}
if (isset($params['percentil']) === false) {
$params['percentil'] = null;
}
@ -825,10 +829,17 @@ function grafico_modulo_sparse($params)
$params['stacked'] = 0;
}
$font_size = $config['font_size'];
// If is metaconsole set 10pt size value.
if (is_metaconsole()) {
$font_size = '10';
}
$params['grid_color'] = '#C1C1C1';
$params['legend_color'] = '#636363';
$params['font'] = $config['fontpath'];
$params['font_size'] = $config['font_size'];
$params['font'] = 'lato';
$params['font_size'] = $font_size;
$params['short_data'] = $config['short_module_graph_data'];
if ($params['only_image']) {
@ -1330,7 +1341,7 @@ function graphic_combined_module(
$params['grid_color'] = '#C1C1C1';
$params['legend_color'] = '#636363';
$params['font'] = $config['fontpath'];
$params['font'] = 'lato';
$params['font_size'] = $config['font_size'];
$params['short_data'] = $config['short_module_graph_data'];
@ -1530,9 +1541,13 @@ function graphic_combined_module(
}
$long_index = '';
if ($config['style'] === 'pandora_black') {
if ($config['style'] === 'pandora_black' && ($params['pdf'] === false || $params['pdf'] === null )
) {
$background_color = '#222';
$params['legend_color'] = '#fff';
} else if ($params['pdf']) {
$params['legend_color'] = '#000';
}
switch ($params_combined['stacked']) {
@ -2262,7 +2277,11 @@ function graphic_combined_module(
$ttl,
$homeurl,
$background_color,
'#c1c1c1'
'#c1c1c1',
null,
null,
false,
$params['pdf']
);
}
@ -2282,10 +2301,10 @@ function graphic_combined_module(
$options['generals']['forceTicks'] = true;
$options['x']['labelWidth'] = ($params['pdf'] === true) ? 30 : $sizeLabelTickWidth;
$options['generals']['arrayColors'] = $color;
$options['grid']['backgroundColor'] = 'transparent';
$options['grid']['backgroundColor'] = $background_color;
$options['y']['color'] = $background_color;
$options['x']['color'] = $background_color;
$options['pdf'] = $params['pdf'];
$output = vbar_graph($graph_values, $options, $ttl);
}
@ -2382,7 +2401,8 @@ function graphic_combined_module(
false,
$color,
false,
$background_color
$background_color,
$params['pdf']
);
break;
}
@ -3816,6 +3836,7 @@ function graph_custom_sql_graph(
$options['generals']['forceTicks'] = true;
$options['generals']['arrayColors'] = $color;
$options['x']['labelWidth'] = 75;
$options['pdf'] = $only_image;
if ($ttl === 2) {
$options['x']['labelWidth'] = 35;
$options['backgroundColor'] = 'transparent';
@ -3824,7 +3845,6 @@ function graph_custom_sql_graph(
$options['x']['color'] = 'transparent';
$options['generals']['pdf']['width'] = $width;
$options['generals']['pdf']['height'] = $height;
$output .= '<img src="data:image/jpg;base64,';
$output .= vbar_graph($data, $options, $ttl);
$output .= '" />';

View File

@ -5086,7 +5086,7 @@ function reporting_sql_graph(
$width,
$height,
$content['type'],
true,
$only_image,
ui_get_full_url(false, false, false, false),
$ttl,
$content['top_n_value']
@ -10607,11 +10607,11 @@ function reporting_get_stats_modules_status($data, $graph_width=250, $graph_heig
$tdata = [];
$tdata[0] = html_print_image('images/module_critical.png', true, ['title' => __('Monitor critical')], false, false, false, true);
$tdata[1] = $data['monitor_critical'] <= 0 ? '-' : $data['monitor_critical'];
$tdata[1] = '<a style="color: '.COL_CRITICAL.';" class="big_data" href="'.$urls['monitor_critical'].'">'.$tdata[1].'</a>';
$tdata[1] = '<a style="color: '.COL_CRITICAL.';" class="big_data line_heigth_initial" href="'.$urls['monitor_critical'].'">'.$tdata[1].'</a>';
$tdata[2] = html_print_image('images/module_warning.png', true, ['title' => __('Monitor warning')], false, false, false, true);
$tdata[3] = $data['monitor_warning'] <= 0 ? '-' : $data['monitor_warning'];
$tdata[3] = '<a style="color: '.COL_WARNING_DARK.';" class="big_data" href="'.$urls['monitor_warning'].'">'.$tdata[3].'</a>';
$tdata[3] = '<a style="color: '.COL_WARNING_DARK.';" class="big_data line_heigth_initial" href="'.$urls['monitor_warning'].'">'.$tdata[3].'</a>';
$table_mbs->rowclass[] = '';
$table_mbs->data[] = $tdata;
@ -10622,14 +10622,14 @@ function reporting_get_stats_modules_status($data, $graph_width=250, $graph_heig
$tdata[2] = html_print_image('images/module_unknown.png', true, ['title' => __('Monitor unknown')], false, false, false, true);
$tdata[3] = $data['monitor_unknown'] <= 0 ? '-' : $data['monitor_unknown'];
$tdata[3] = '<a style="color: '.COL_UNKNOWN.';" class="big_data" href="'.$urls['monitor_unknown'].'">'.$tdata[3].'</a>';
$tdata[3] = '<a style="color: '.COL_UNKNOWN.';" class="big_data line_heigth_initial" href="'.$urls['monitor_unknown'].'">'.$tdata[3].'</a>';
$table_mbs->rowclass[] = '';
$table_mbs->data[] = $tdata;
$tdata = [];
$tdata[0] = html_print_image('images/module_notinit.png', true, ['title' => __('Monitor not init')], false, false, false, true);
$tdata[1] = $data['monitor_not_init'] <= 0 ? '-' : $data['monitor_not_init'];
$tdata[1] = '<a style="color: '.COL_NOTINIT.';" class="big_data" href="'.$urls['monitor_not_init'].'">'.$tdata[1].'</a>';
$tdata[1] = '<a style="color: '.COL_NOTINIT.';" class="big_data line_heigth_initial" href="'.$urls['monitor_not_init'].'">'.$tdata[1].'</a>';
$tdata[2] = $tdata[3] = '';
$table_mbs->rowclass[] = '';
@ -13079,7 +13079,7 @@ function reporting_get_stats_servers()
if (isset($server_performance['total_web_modules'])) {
$tdata = [];
$tdata[0] = html_print_image('images/world.png', true, ['title' => __('Web modules')]);
$tdata[0] = html_print_image('images/world.png', true, ['title' => __('Web modules'), 'class' => 'invert_filter']);
$tdata[1] = '<span class="big_data">'.format_numeric($server_performance['total_web_modules']).'</span>';
$tdata[2] = '<span class="med_data">'.format_numeric($server_performance['web_modules_rate'], 2).'</span>';

View File

@ -2409,7 +2409,7 @@ function reporting_html_historical_data($table, $item, $pdf=0)
} else {
// Command line snapshot.
if (is_text_to_black_string($data[__('Data')])) {
$table1->style[1] = 'text-align: left; font-family: monospace, mono';
$table1->style[1] = 'text-align: left;';
$row = [
$data[__('Date')],
'<pre>'.$data[__('Data')].'</pre>',
@ -2494,7 +2494,6 @@ function reporting_html_database_serialized($table, $item, $pdf=0)
}
} else if (is_text_to_black_string($data_unserialized[$key])) {
$table1->style[1] = 'white-space: pre-wrap;';
$table1->style[1] .= 'font-family: monospace, mono; ';
$table1->style[1] .= 'text-align: left';
$data_unserialized[$key] = '<pre>'.$data_value.'</pre>';
}

View File

@ -2666,7 +2666,7 @@ function visual_map_process_wizard_add_modules(
$id_server=0,
$kind_relationship=VISUAL_MAP_WIZARD_PARENTS_NONE,
$item_in_the_map=0,
$fontf='arial',
$fontf='lato',
$fonts='12pt'
) {
if (empty($id_modules)) {
@ -2943,7 +2943,7 @@ function visual_map_process_wizard_add_agents(
$id_server=0,
$kind_relationship=VISUAL_MAP_WIZARD_PARENTS_NONE,
$item_in_the_map=0,
$fontf='arial',
$fontf='lato',
$fonts='12pt'
) {
global $config;

View File

@ -178,7 +178,7 @@ function vbar_graph(
if (isset($options['x']['title']['fontFamily']) === false) {
$options['x']['title']['fontFamily'] = preg_replace(
'/.ttf/',
'Font, Arial',
'Font, lato',
$config['fontpath']
);
}
@ -218,7 +218,9 @@ function vbar_graph(
if (isset($options['x']['font']['color']) === false) {
$options['x']['font']['color'] = '#545454';
if ($config['style'] === 'pandora_black') {
if ($options['pdf'] === true) {
$options['x']['font']['color'] = '#000';
} else if ($config['style'] === 'pandora_black') {
$options['x']['font']['color'] = '#fff';
}
}
@ -261,7 +263,7 @@ function vbar_graph(
if (isset($options['y']['title']['fontFamily']) === false) {
$options['y']['title']['fontFamily'] = preg_replace(
'/.ttf/',
'Font, Arial',
'Font',
$config['fontpath']
);
}
@ -301,9 +303,10 @@ function vbar_graph(
if (isset($options['y']['font']['color']) === false) {
$options['y']['font']['color'] = '#545454';
if ($config['style'] === 'pandora_black') {
$options['y']['font']['color'] = '#222';
if ($options['pdf'] === true) {
$options['y']['font']['color'] = '#000';
} else if ($config['style'] === 'pandora_black') {
$options['y']['font']['color'] = '#fff';
}
}
@ -359,7 +362,7 @@ function vbar_graph(
if (isset($options['grid']['color']) === false) {
$options['grid']['color'] = '#ffffff';
if ($config['style'] === 'pandora_black') {
$options['grid']['color'] = '#222';
$options['grid']['color'] = '#111';
}
}
@ -370,7 +373,7 @@ function vbar_graph(
'#ffffff',
],
];
if ($config['style'] === 'pandora_black') {
if ($config['style'] === 'pandora_black' && $ttl === 1) {
$options['grid']['backgroundColor'] = [
'colors' => [
'#222',
@ -714,7 +717,8 @@ function hbar_graph(
$tick_color='white',
$val_min=null,
$val_max=null,
$base64=false
$base64=false,
$pdf=false
) {
global $config;
if ($water_mark !== false) {
@ -742,7 +746,11 @@ function hbar_graph(
return generator_chart_to_pdf('hbar', $params);
}
if ($config['style'] === 'pandora_black') {
if ($config['style'] === 'pandora_black' && $ttl === 1) {
$backgroundColor = '#222';
}
if ($config['style'] === 'pandora_black' && $ttl === 1) {
$tick_color = '#fff';
}
@ -756,7 +764,8 @@ function hbar_graph(
$backgroundColor,
$tick_color,
$val_min,
$val_max
$val_max,
$pdf
);
}
@ -859,7 +868,8 @@ function ring_graph(
$legend_position=false,
$colors='',
$hide_labels=false,
$background_color='white'
$background_color='white',
$pdf=false
) {
if (empty($chart_data)) {
return graph_nodata_image($width, $height, 'pie');
@ -887,7 +897,7 @@ function ring_graph(
'homeurl' => $homeurl,
'background_color' => $background_color,
'legend_position' => $legend_position,
'background_color' => $background_color,
'pdf' => $pdf,
];
return generator_chart_to_pdf('ring_graph', $params);
@ -911,6 +921,7 @@ function ring_graph(
$homeurl,
$background_color,
$legend_position,
$background_color
$background_color,
$pdf
);
}

View File

@ -486,8 +486,7 @@ if (!document.createElement('canvas').getContext) {
style: 'normal',
variant: 'normal',
weight: 'normal',
size: 10,
family: 'sans-serif'
size: 10
};
// Internal text style cache
@ -700,14 +699,16 @@ if (!document.createElement('canvas').getContext) {
var pStart = getCoords(this, xStart, yStart);
var pEnd = getCoords(this, xEnd, yEnd);
this.currentPath_.push({type: arcType,
this.currentPath_.push({
type: arcType,
x: p.x,
y: p.y,
radius: aRadius,
xStart: pStart.x,
yStart: pStart.y,
xEnd: pEnd.x,
yEnd: pEnd.y});
yEnd: pEnd.y
});
};
@ -1354,9 +1355,11 @@ if (!document.createElement('canvas').getContext) {
CanvasGradient_.prototype.addColorStop = function (aOffset, aColor) {
aColor = processStyle(aColor);
this.colors_.push({offset: aOffset,
this.colors_.push({
offset: aOffset,
color: aColor.color,
alpha: aColor.alpha});
alpha: aColor.alpha
});
};
function CanvasPattern_(image, repetition) {

View File

@ -4,4 +4,4 @@ Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
*/
(function($){var options={canvas:true};var render,getTextInfo,addText;var hasOwnProperty=Object.prototype.hasOwnProperty;function init(plot,classes){var Canvas=classes.Canvas;if(render==null){getTextInfo=Canvas.prototype.getTextInfo,addText=Canvas.prototype.addText,render=Canvas.prototype.render}Canvas.prototype.render=function(){if(!plot.getOptions().canvas){return render.call(this)}var context=this.context,cache=this._textCache;context.save();context.textBaseline="middle";for(var layerKey in cache){if(hasOwnProperty.call(cache,layerKey)){var layerCache=cache[layerKey];for(var styleKey in layerCache){if(hasOwnProperty.call(layerCache,styleKey)){var styleCache=layerCache[styleKey],updateStyles=true;for(var key in styleCache){if(hasOwnProperty.call(styleCache,key)){var info=styleCache[key],positions=info.positions,lines=info.lines;if(updateStyles){context.fillStyle=info.font.color;context.font=info.font.definition;updateStyles=false}for(var i=0,position;position=positions[i];i++){if(position.active){for(var j=0,line;line=position.lines[j];j++){context.fillText(lines[j].text,line[0],line[1])}}else{positions.splice(i--,1)}}if(positions.length==0){delete styleCache[key]}}}}}}}context.restore()};Canvas.prototype.getTextInfo=function(layer,text,font,angle,width){if(!plot.getOptions().canvas){return getTextInfo.call(this,layer,text,font,angle,width)}var textStyle,layerCache,styleCache,info;text=""+text;if(typeof font==="object"){textStyle=font.style+" "+font.variant+" "+font.weight+" "+font.size+"px "+font.family}else{textStyle=font}layerCache=this._textCache[layer];if(layerCache==null){layerCache=this._textCache[layer]={}}styleCache=layerCache[textStyle];if(styleCache==null){styleCache=layerCache[textStyle]={}}info=styleCache[text];if(info==null){var context=this.context;if(typeof font!=="object"){var element=$("<div>&nbsp;</div>").css("position","absolute").addClass(typeof font==="string"?font:null).appendTo(this.getTextLayer(layer));font={lineHeight:element.height(),style:element.css("font-style"),variant:element.css("font-variant"),weight:element.css("font-weight"),family:element.css("font-family"),color:element.css("color")};font.size=element.css("line-height",1).height();element.remove()}textStyle=font.style+" "+font.variant+" "+font.weight+" "+font.size+"px "+font.family;info=styleCache[text]={width:0,height:0,positions:[],lines:[],font:{definition:textStyle,color:font.color}};context.save();context.font=textStyle;var lines=(text+"").replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n");for(var i=0;i<lines.length;++i){var lineText=lines[i],measured=context.measureText(lineText);info.width=Math.max(measured.width,info.width);info.height+=font.lineHeight;info.lines.push({text:lineText,width:measured.width,height:font.lineHeight})}context.restore()}return info};Canvas.prototype.addText=function(layer,x,y,text,font,angle,width,halign,valign){if(!plot.getOptions().canvas){return addText.call(this,layer,x,y,text,font,angle,width,halign,valign)}var info=this.getTextInfo(layer,text,font,angle,width),positions=info.positions,lines=info.lines;y+=info.height/lines.length/2;if(valign=="middle"){y=Math.round(y-info.height/2)}else if(valign=="bottom"){y=Math.round(y-info.height)}else{y=Math.round(y)}if(!!(window.opera&&window.opera.version().split(".")[0]<12)){y-=2}for(var i=0,position;position=positions[i];i++){if(position.x==x&&position.y==y){position.active=true;return}}position={active:true,lines:[],x:x,y:y};positions.push(position);for(var i=0,line;line=lines[i];i++){if(halign=="center"){position.lines.push([Math.round(x-line.width/2),y])}else if(halign=="right"){position.lines.push([Math.round(x-line.width),y])}else{position.lines.push([Math.round(x),y])}y+=line.height}}}$.plot.plugins.push({init:init,options:options,name:"canvas",version:"1.0"})})(jQuery);
(function ($) { var options = { canvas: true }; var render, getTextInfo, addText; var hasOwnProperty = Object.prototype.hasOwnProperty; function init(plot, classes) { var Canvas = classes.Canvas; if (render == null) { getTextInfo = Canvas.prototype.getTextInfo, addText = Canvas.prototype.addText, render = Canvas.prototype.render } Canvas.prototype.render = function () { if (!plot.getOptions().canvas) { return render.call(this) } var context = this.context, cache = this._textCache; context.save(); context.textBaseline = "middle"; for (var layerKey in cache) { if (hasOwnProperty.call(cache, layerKey)) { var layerCache = cache[layerKey]; for (var styleKey in layerCache) { if (hasOwnProperty.call(layerCache, styleKey)) { var styleCache = layerCache[styleKey], updateStyles = true; for (var key in styleCache) { if (hasOwnProperty.call(styleCache, key)) { var info = styleCache[key], positions = info.positions, lines = info.lines; if (updateStyles) { context.fillStyle = info.font.color; context.font = info.font.definition; updateStyles = false } for (var i = 0, position; position = positions[i]; i++) { if (position.active) { for (var j = 0, line; line = position.lines[j]; j++) { context.fillText(lines[j].text, line[0], line[1]) } } else { positions.splice(i--, 1) } } if (positions.length == 0) { delete styleCache[key] } } } } } } } context.restore() }; Canvas.prototype.getTextInfo = function (layer, text, font, angle, width) { if (!plot.getOptions().canvas) { return getTextInfo.call(this, layer, text, font, angle, width) } var textStyle, layerCache, styleCache, info; text = "" + text; if (typeof font === "object") { textStyle = font.style + " " + font.variant + " " + font.weight + " " + font.size + "px " + font.family } else { textStyle = font } layerCache = this._textCache[layer]; if (layerCache == null) { layerCache = this._textCache[layer] = {} } styleCache = layerCache[textStyle]; if (styleCache == null) { styleCache = layerCache[textStyle] = {} } info = styleCache[text]; if (info == null) { var context = this.context; if (typeof font !== "object") { var element = $("<div>&nbsp;</div>").css("position", "absolute").addClass(typeof font === "string" ? font : null).appendTo(this.getTextLayer(layer)); console.log("entra"); font = { lineHeight: element.height(), style: element.css("font-style"), variant: element.css("font-variant"), weight: element.css("font-weight"), family: element.css("font-family"), color: element.css("color") }; font.size = element.css("line-height", 1).height(); element.remove() } textStyle = font.style + " " + font.variant + " " + font.weight + " " + font.size + "px " + font.family; info = styleCache[text] = { width: 0, height: 0, positions: [], lines: [], font: { definition: textStyle, color: font.color } }; context.save(); context.font = textStyle; var lines = (text + "").replace(/<br ?\/?>|\r\n|\r/g, "\n").split("\n"); for (var i = 0; i < lines.length; ++i) { var lineText = lines[i], measured = context.measureText(lineText); info.width = Math.max(measured.width, info.width); info.height += font.lineHeight; info.lines.push({ text: lineText, width: measured.width, height: font.lineHeight }) } context.restore() } return info }; Canvas.prototype.addText = function (layer, x, y, text, font, angle, width, halign, valign) { if (!plot.getOptions().canvas) { return addText.call(this, layer, x, y, text, font, angle, width, halign, valign) } var info = this.getTextInfo(layer, text, font, angle, width), positions = info.positions, lines = info.lines; y += info.height / lines.length / 2; if (valign == "middle") { y = Math.round(y - info.height / 2) } else if (valign == "bottom") { y = Math.round(y - info.height) } else { y = Math.round(y) } if (!!(window.opera && window.opera.version().split(".")[0] < 12)) { y -= 2 } for (var i = 0, position; position = positions[i]; i++) { if (position.x == x && position.y == y) { position.active = true; return } } position = { active: true, lines: [], x: x, y: y }; positions.push(position); for (var i = 0, line; line = lines[i]; i++) { if (halign == "center") { position.lines.push([Math.round(x - line.width / 2), y]) } else if (halign == "right") { position.lines.push([Math.round(x - line.width), y]) } else { position.lines.push([Math.round(x), y]) } y += line.height } } } $.plot.plugins.push({ init: init, options: options, name: "canvas", version: "1.0" }) })(jQuery);

View File

@ -531,7 +531,7 @@ Licensed under the MIT license.
show: null, // null = auto-detect, true = always, false = never
position: "bottom", // or "top"
mode: null, // null or "time"
font: null, // null (derived from CSS in placeholder) or object like { size: 11, lineHeight: 13, style: "italic", weight: "bold", family: "sans-serif", variant: "small-caps" }
font: null, // null (derived from CSS in placeholder) or object like { size: 11, lineHeight: 13, style: "italic", weight: "bold", family: "lato", variant: "small-caps" }
color: null, // base color, labels, ticks
tickColor: null, // possibly different color of ticks, e.g. "rgba(0,0,0,0.15)"
transform: null, // null or f: number -> number to transform axis

View File

@ -235,7 +235,7 @@ function pandoraFlotPieCustom(
if (background_color == "transparent") {
$(".legend>table").css("background-color", "");
$(".legend>div").css("background-color", "");
$(".legend>table").css("color", "#aaa");
$(".legend>table").css("color", "#000");
} else if (background_color == "white") {
$(".legend>table").css("background-color", "white");
$(".legend>table").css("color", "black");
@ -385,14 +385,14 @@ function pandoraFlotHBars(
color: tick_color,
axisLabelUseCanvas: true,
axisLabelFontSizePixels: font_size,
axisLabelFontFamily: font + "Font",
axisLabelFontFamily: "lato",
tickFormatter: xFormatter
},
yaxis: {
font: {
size: font_size + 2,
color: ycolor,
family: font + "Font"
family: "lato"
},
ticks: yFormatter
},
@ -578,7 +578,6 @@ function showTooltip(x, y, color, contents) {
"border-radius": "5px",
"background-color": "#fff",
color: "#111",
"font-family": "Verdana, Arial, Helvetica, Tahoma, sans-serif",
opacity: 0.9
})
.appendTo("body")
@ -628,7 +627,9 @@ function pandoraFlotVBars(settings) {
return ticksformatter[Math.round(v)];
};
}
settings.x.font.family = "lato";
settings.y.font.family = "lato";
settings.y.title.fontFamily = "lato";
var options = {
series: {
bars: {
@ -752,12 +753,12 @@ function pandoraFlotSlicebar(
}
font_size = parseInt(font_size);
if (font != undefined)
font = font
.split("/")
.pop()
.split(".")
.shift();
// Check possible adapt_keys on classes
check_adaptions(graph_id);
@ -808,7 +809,7 @@ function pandoraFlotSlicebar(
tickLength: 0,
font: {
size: font_size + 2,
family: font + "Font"
family: font
}
}
],
@ -2021,7 +2022,7 @@ function pandoraFlotArea(
font: {
size: font_size + 2,
color: legend_color,
family: font + "Font"
family: "lato"
}
},
xaxes: [
@ -2036,7 +2037,7 @@ function pandoraFlotArea(
font: {
size: font_size + 2,
color: legend_color,
family: font + "Font",
family: "lato",
variant: "small-caps"
}
},
@ -2110,7 +2111,7 @@ function pandoraFlotArea(
font: {
size: font_size + 2,
color: legend_color,
family: font + "Font"
family: "lato"
}
},
xaxes: [
@ -2125,7 +2126,7 @@ function pandoraFlotArea(
font: {
size: font_size + 2,
color: legend_color,
family: font + "Font"
family: "lato"
}
},
yaxes: [
@ -2209,7 +2210,7 @@ function pandoraFlotArea(
font: {
size: font_size + 2,
color: legend_color,
family: font + "Font"
family: "lato"
}
},
xaxes: [
@ -2226,7 +2227,7 @@ function pandoraFlotArea(
font: {
size: font_size + 2,
color: legend_color,
family: font + "Font"
family: "lato"
}
},
yaxes: [
@ -2256,7 +2257,7 @@ function pandoraFlotArea(
font: {
size: font_size + 2,
color: legend_color,
family: font + "Font"
family: "lato"
}
},
xaxes: [
@ -2273,7 +2274,7 @@ function pandoraFlotArea(
font: {
size: font_size + 2,
color: legend_color,
family: font + "Font"
family: "lato"
}
},
yaxes: [
@ -2380,7 +2381,7 @@ function pandoraFlotArea(
$("#timestamp_" + graph_id).css("color", "#000");
$("#timestamp_" + graph_id).css("font-size", font_size + 2 + "px");
$("#timestamp_" + graph_id).css("font-family", font + "Font");
$("#timestamp_" + graph_id).css("font-family", font);
if (timesize + timenewpos > canvaslimit) {
$("#timestamp_" + graph_id).css("left", timenewpos - timesize);
@ -2463,7 +2464,7 @@ function pandoraFlotArea(
.css("font-size", font_size + 2 + "px");
$("#legend_" + graph_id + " .legendLabel")
.eq(i)
.css("font-family", font + "Font");
.css("font-family", font);
i++;
}
@ -2638,10 +2639,7 @@ function pandoraFlotArea(
"font-size",
font_size + 2 + "px"
);
$("#legend_" + graph_id + " .legendLabel").css(
"font-family",
font + "Font"
);
$("#legend_" + graph_id + " .legendLabel").css("font-family", font);
plot.clearCrosshair();
overview.clearCrosshair();
@ -2671,11 +2669,11 @@ function pandoraFlotArea(
"color:" +
legend_color +
"; font-family: " +
font +
"lato" +
"Font; font-size:" +
(parseInt(font_size) + 2) +
"px;";
return '<span style="' + style + '">' + legend[v] + "</span>";
return '<span style="' + style + '" class="lato">' + legend[v] + "</span>";
}
$("#overview_" + graph_id).css("display", "none");

View File

@ -209,14 +209,13 @@ function d3_bullet_chart(
$output .= '<div id="bullet_graph_'.$id_bullet.'" class="bullet" style="overflow: hidden; width: '.$width.'px; margin-left: auto; margin-right: auto;"></div>
<style>
.bullet_graph {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: auto;
padding-top: 40px;
position: relative;
width: 100%;
}
.bullet { font: 7px sans-serif; }
.bullet { font: 7px lato; }
.bullet .marker.s0 { stroke: #e63c52; stroke-width: 2px; }
.bullet .marker.s1 { stroke: #f3b200; stroke-width: 2px; }
.bullet .marker.s2 { stroke: steelblue; stroke-width: 2px; }

View File

@ -145,11 +145,14 @@ function flot_area_graph(
break;
}
if ($config['style'] === 'pandora_black') {
if ($config['style'] === 'pandora_black' && ($params['pdf'] === false || $params['pdf'] === null )
) {
$background_style = '#222';
$params['grid_color'] = '#fff';
$params['backgroundColor'] = '#222';
$params['legend_color'] = '#fff';
} else if ($params['pdf']) {
$params['legend_color'] = '#000';
}
// Parent layer.
@ -482,15 +485,13 @@ function flot_custom_pie_chart(
$ttl,
$homeurl,
$background_color,
$legend_position
$legend_position,
$pdf
) {
global $config;
if ($config['style'] === 'pandora_black') {
$background_color = 'black_theme';
}
// TODO
// include_javascript_dependencies_flot_graph();
// include_javascript_dependencies_flot_graph();.
$total_modules = $graph_values['total_modules'];
unset($graph_values['total_modules']);
@ -546,18 +547,23 @@ function flot_custom_pie_chart(
}
// Returns a 3D column chart
function flot_hcolumn_chart($graph_data, $width, $height, $water_mark, $font='', $font_size=7, $background_color='white', $tick_color='white', $val_min=null, $val_max=null)
// Returns a 3D column chart.
function flot_hcolumn_chart($graph_data, $width, $height, $water_mark, $font='', $font_size=7, $background_color='white', $tick_color='white', $val_min=null, $val_max=null, $pdf=false)
{
global $config;
// include_javascript_dependencies_flot_graph();
if ($pdf === true) {
$background_color = 'white';
$tick_color = '#000';
}
// Include_javascript_dependencies_flot_graph().
$return = '';
$stacked_str = '';
$multicolor = true;
// Get a unique identifier to graph
// Get a unique identifier to graph.
$graph_id = uniqid('graph_');
$graph_id2 = uniqid('graph_');
@ -573,11 +579,11 @@ function flot_hcolumn_chart($graph_data, $width, $height, $water_mark, $font='',
}
// Set a weird separator to serialize and unserialize passing data
// from php to javascript
// from php to javascript.
$separator = ';;::;;';
$separator2 = ':,:,,,:,:';
// Transform data from our format to library format
// Transform data from our format to library format.
$labels = [];
$a = [];
$vars = [];
@ -614,10 +620,10 @@ function flot_hcolumn_chart($graph_data, $width, $height, $water_mark, $font='',
$val_max = $max;
}
// Store serialized data to use it from javascript
// Store serialized data to use it from javascript.
$labels = implode($separator, $labels);
// Store data series in javascript format
// Store data series in javascript format.
$jsvars = '';
$jsseries = [];
@ -633,7 +639,7 @@ function flot_hcolumn_chart($graph_data, $width, $height, $water_mark, $font='',
$jsseries = implode(',', $jsseries);
// Javascript code
// Javascript code.
$return .= "<script type='text/javascript'>";
$return .= "pandoraFlotHBars('$graph_id', '$values', '$labels', $max, '$water_mark', '$separator', '$separator2', '$font', $font_size, '$background_color', '$tick_color', $val_min, $val_max)";
$return .= '</script>';
@ -683,14 +689,6 @@ function flot_vcolumn_chart(array $options)
$options['graphId'] = $graphId;
// If pandora_black theme its enabled then change grid colors.
/*
if ($config['style'] === 'pandora_black') {
$options['grid']['backgroundColor']['colors'][0] = 'transparent';
$options['grid']['backgroundColor']['colors'][1] = 'transparent';
$options['y']['color'] = 'transparent';
$options['x']['color'] = 'transparent';
}*/
$settings = base64_encode(json_encode($options));
// Javascript code.

View File

@ -1651,7 +1651,6 @@ function print_phases_donut(recipient, phases, width, height) {
.text(function(d) {
return d.data.label;
})
.style("font-family", "Verdana")
.style("font-size", "15px")
.append("tspan")
.attr("dy", "1.2em")
@ -1659,7 +1658,6 @@ function print_phases_donut(recipient, phases, width, height) {
.text(function(d) {
return d.data.label2 + "ms";
})
.style("font-family", "Verdana")
.style("font-size", "15px");
function midAngle(d) {
@ -1816,7 +1814,6 @@ function progress_bar_d3(
.append("text")
.attr("transform", "translate(" + width / 2 + ", " + height / 2 + ")")
.attr("fill", label_color)
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", 20)
.html(label)
@ -1827,7 +1824,6 @@ function progress_bar_d3(
.append("text")
.attr("transform", "translate(" + width / 2 + ", " + height / 2 + ")")
.attr("fill", "#FFFFFF")
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", 14)
.attr("text-anchor", "middle")
@ -1938,7 +1934,6 @@ function progress_bubble_d3(
.append("text")
.attr("transform", "translate(" + width / 2 + ", " + height / 2 + ")")
.attr("fill", label_color)
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", textSize)
.html(label)
@ -1949,7 +1944,6 @@ function progress_bubble_d3(
.append("text")
.attr("transform", "translate(" + width / 2 + ", " + height / 2 + ")")
.attr("fill", label_color)
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", numberSize)
.attr("text-anchor", "middle")
@ -2080,7 +2074,6 @@ function print_circular_progress_bar(
var labelText = circle
.append("text")
.attr("fill", label_color)
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", textSize)
.html(label)
@ -2090,7 +2083,6 @@ function print_circular_progress_bar(
var numberText = circle
.append("text")
.attr("fill", label_color)
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", numberSize)
.attr("text-anchor", "middle")
@ -2099,7 +2091,6 @@ function print_circular_progress_bar(
var percentText = circle
.append("text")
.attr("fill", label_color)
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", unitSize)
.text(unit)
@ -2249,7 +2240,6 @@ function print_interior_circular_progress_bar(
var labelText = circle
.append("text")
.attr("fill", label_color)
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", textSize)
.html(label)
@ -2259,7 +2249,6 @@ function print_interior_circular_progress_bar(
var numberText = circle
.append("text")
.attr("fill", label_color)
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", numberSize)
.attr("text-anchor", "middle")
@ -2268,7 +2257,6 @@ function print_interior_circular_progress_bar(
var percentText = circle
.append("text")
.attr("fill", label_color)
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", unitSize)
.text(unit)
@ -2355,7 +2343,6 @@ function print_donut_graph(
.attr("x", 15)
.attr("y", 10)
.text(m_d.tag_name)
.style("font-family", "smallfontFont")
.style("font-size", "7pt");
});

View File

@ -8,7 +8,6 @@
<style type="text/css">
* {
font-family: 'lato-bolder';
font-size: 1em;
}
@ -24,9 +23,6 @@ ul.clean {
list-style-type: none;
}
p,u,i,b {
font-family: 'lato-bolder';
}
b {
font-size: 0.90em!important;
}

View File

@ -8,7 +8,6 @@
<style type="text/css">
* {
font-family: 'lato-bolder';
font-size: 1em;
}
@ -24,9 +23,6 @@ ul.clean {
list-style-type: none;
}
p,u,i,b {
font-family: 'lato-bolder';
}
b {
font-size: 0.90em!important;
}

View File

@ -8,7 +8,6 @@
<style type="text/css">
* {
font-family: 'lato-bolder';
font-size: 1em;
}
@ -24,9 +23,6 @@ ul.clean {
list-style-type: none;
}
p,u,i,b {
font-family: 'lato-bolder';
}
b {
font-size: 0.90em!important;
}

View File

@ -66,7 +66,6 @@ div.olControlMousePosition {
right: 3px;
display: block;
position: absolute;
font-family: Arial;
font-size: smaller;
}
@ -78,7 +77,7 @@ div.olControlMousePosition {
.olControlOverviewMapElement {
padding: 10px 18px 10px 10px;
background-color: #00008B;
background-color: #00008b;
-moz-border-radius: 1em 0 0 0;
}
@ -110,17 +109,17 @@ div.olControlMousePosition {
float: left;
width: 100%;
overflow: auto;
font-size:1.0em;
font-size: 1em;
}
.olLayerGeoRSSClose {
float: right;
color: gray;
font-size: 1.2em;
margin-right: 6px;
font-family:sans-serif;
}
.olLayerGeoRSSTitle {
float:left;font-size:1.2em;
float: left;
font-size: 1.2em;
}
.olPopupContent {
@ -145,7 +144,6 @@ div.olControlMousePosition {
background-repeat: no-repeat;
width: 24px;
height: 24px;
}
.olControlNavigationHistoryPreviousItemActive {
background-position: 0px 0px;
@ -230,7 +228,7 @@ div.olControlMousePosition {
border: 2px solid red;
position: absolute;
background-color: white;
opacity: 0.50;
opacity: 0.5;
font-size: 1px;
filter: alpha(opacity=50);
}
@ -238,7 +236,7 @@ div.olControlMousePosition {
border: 2px solid blue;
position: absolute;
background-color: white;
opacity: 0.50;
opacity: 0.5;
font-size: 1px;
filter: alpha(opacity=50);
}

View File

@ -20906,9 +20906,6 @@ ace.define(
text-align: left;\
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);\
}\
.ace_editor div {\
font-family: monospace !important;\
}\
.ace_scroller {\
position: absolute;\
overflow: hidden;\

View File

@ -183,11 +183,9 @@
var scwLanguage;
function scwSetDefaultLanguage()
{try
{scwSetLanguage();}
catch (exception)
{// English
function scwSetDefaultLanguage() {
try { scwSetLanguage(); }
catch (exception) {// English
scwToday = 'Today:';
scwDrag = 'click here to drag';
scwArrMonthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
@ -436,7 +434,6 @@
'vertical-align:middle;' +
'border: ridge 2px;' +
'font-size: 10pt;' +
'font-family: Arial,Helvetica,Sans-Serif;'+
'font-weight: bold;}' +
'td.scwDrag,' +
'td.scwHead {padding: 0px 0px;' +
@ -451,7 +448,7 @@
'margin: 2px 1px;' +
'font-weight: bold;' +
'font-size: 10pt;' +
'font-family: fixedSys;}' +
'font-family: lato;}' +
'td.scwWeekNumberHead,' +
'td.scwWeek {padding: 0px;' +
'text-align: center;' +
@ -599,21 +596,21 @@
// Add a method to format a date into the required pattern
Date.prototype.scwFormat =
function(scwFormat)
{var charCount = 0,
function (scwFormat) {
var charCount = 0,
codeChar = '',
result = '';
for (var i=0;i<=scwFormat.length;i++)
{if (i<scwFormat.length && scwFormat.charAt(i)==codeChar)
{// If we haven't hit the end of the string and
for (var i = 0; i <= scwFormat.length; i++) {
if (i < scwFormat.length && scwFormat.charAt(i) == codeChar) {// If we haven't hit the end of the string and
// the format string character is the same as
// the previous one, just clock up one to the
// length of the current element definition
charCount++;
}
else {switch (codeChar)
{case 'y': case 'Y':
else {
switch (codeChar) {
case 'y': case 'Y':
result += (this.getFullYear() % Math.
pow(10, charCount)).toString().
scwPadLeft(charCount);
@ -637,8 +634,7 @@
while (charCount-- > 0) { result += codeChar; }
}
if (i<scwFormat.length)
{// Store the character we have just worked on
if (i < scwFormat.length) {// Store the character we have just worked on
codeChar = scwFormat.charAt(i);
charCount = 1;
}
@ -650,8 +646,8 @@
// Add a method to left pad zeroes
String.prototype.scwPadLeft =
function(padToLength)
{var result = '';
function (padToLength) {
var result = '';
for (var i = 0; i < (padToLength - this.length); i++) { result += '0'; }
return (result + this);
};
@ -661,16 +657,14 @@
// arguments.
Function.prototype.runsAfterSCW =
function() {var func = this,
function () {
var func = this,
args = new Array(arguments.length);
for (var i=0;i<args.length;++i)
{args[i] = arguments[i];}
for (var i = 0; i < args.length; ++i) { args[i] = arguments[i]; }
return function()
{// concat/join the two argument arrays
for (var i=0;i<arguments.length;++i)
{args[args.length] = arguments[i];}
return function () {// concat/join the two argument arrays
for (var i = 0; i < arguments.length; ++i) { args[args.length] = arguments[i]; }
return (args.shift() == scwTriggerEle)
? func.apply(this, args) : null;
@ -711,19 +705,19 @@
// ****************************************************************************
function showCal(scwEle, scwSourceEle) { scwShow(scwEle, scwSourceEle); }
function scwShow(scwEle,scwSourceEle)
{scwTriggerEle = scwSourceEle;
function scwShow(scwEle, scwSourceEle) {
scwTriggerEle = scwSourceEle;
// Take any parameters that there might be from the third onwards as
// day numbers to be disabled 0 = Sunday through to 6 = Saturday.
scwParmActiveToday = true;
for (var i=0;i<7;i++)
{scwPassEnabledDay[(i+7-scwWeekStart)%7] = true;
for (var j=2;j<arguments.length;j++)
{if (arguments[j]==i)
{scwPassEnabledDay[(i+7-scwWeekStart)%7] = false;
for (var i = 0; i < 7; i++) {
scwPassEnabledDay[(i + 7 - scwWeekStart) % 7] = true;
for (var j = 2; j < arguments.length; j++) {
if (arguments[j] == i) {
scwPassEnabledDay[(i + 7 - scwWeekStart) % 7] = false;
if (scwDateNow.getDay() == i) scwParmActiveToday = false;
}
}
@ -738,20 +732,19 @@
// Find the date and Strip space characters from start and
// end of date input.
if (typeof scwEle.value == 'undefined')
{var scwChildNodes = scwEle.childNodes;
if (typeof scwEle.value == 'undefined') {
var scwChildNodes = scwEle.childNodes;
for (var i = 0; i < scwChildNodes.length; i++)
if (scwChildNodes[i].nodeType == 3)
{var scwDateValue = scwChildNodes[i].nodeValue.replace(/^\s+/,'').replace(/\s+$/,'');
if (scwDateValue.length > 0)
{scwTriggerEle.scwTextNode = scwChildNodes[i];
if (scwChildNodes[i].nodeType == 3) {
var scwDateValue = scwChildNodes[i].nodeValue.replace(/^\s+/, '').replace(/\s+$/, '');
if (scwDateValue.length > 0) {
scwTriggerEle.scwTextNode = scwChildNodes[i];
scwTriggerEle.scwLength = scwChildNodes[i].nodeValue.length;
break;
}
}
}
else
{var scwDateValue = scwEle.value.replace(/^\s+/,'').replace(/\s+$/,'');}
else { var scwDateValue = scwEle.value.replace(/^\s+/, '').replace(/\s+$/, ''); }
// Set the language-dependent elements
@ -779,22 +772,21 @@
scwToday + ' ' +
scwDateNow.scwFormat(scwDateDisplayFormat);
if (scwDateValue.length==0)
{// If no value is entered and today is within the range,
if (scwDateValue.length == 0) {// If no value is entered and today is within the range,
// use today's date, otherwise use the middle of the valid range.
scwBlnFullInputDate = false;
if ((new Date(scwBaseYear + scwDropDownYears, 0, 0)) < scwSeedDate ||
(new Date(scwBaseYear, 0, 1)) > scwSeedDate
)
{scwSeedDate = new Date(scwBaseYear +
) {
scwSeedDate = new Date(scwBaseYear +
Math.floor(scwDropDownYears / 2), 5, 1);
}
}
else
{function scwInputFormat()
{var scwArrSeed = new Array(),
else {
function scwInputFormat() {
var scwArrSeed = new Array(),
scwArrInput = scwDateValue.
split(new RegExp('[\\' + scwArrDelimiters.
join('\\') + ']+', 'g'));
@ -808,8 +800,8 @@
// still appear in the output string if in the output
// format.
if (scwArrInput[0]!=null)
{if (scwArrInput[0].length==0) scwArrInput.splice(0,1);
if (scwArrInput[0] != null) {
if (scwArrInput[0].length == 0) scwArrInput.splice(0, 1);
if (scwArrInput[scwArrInput.length - 1].length == 0)
scwArrInput.splice(scwArrInput.length - 1, 1);
@ -817,8 +809,8 @@
scwBlnFullInputDate = false;
switch (scwArrInput.length)
{case 1:
switch (scwArrInput.length) {
case 1:
{// Year only entry
scwArrSeed[0] = parseInt(scwArrInput[0], 10); // Year
scwArrSeed[1] = '6'; // Month
@ -882,8 +874,8 @@
if (scwExpValYear.exec(scwArrSeed[0]) == null ||
scwExpValMonth.exec(scwArrSeed[1]) == null ||
scwExpValDay.exec(scwArrSeed[2]) == null
)
{if (scwShowInvalidDateMsg)
) {
if (scwShowInvalidDateMsg)
alert(scwInvalidDateMsg +
scwInvalidAlert[0] + scwDateValue +
scwInvalidAlert[1]);
@ -916,8 +908,8 @@
// Check whether the month is in digits or an abbreviation
if (scwArrSeedDate[1].search(/\d+/)!=0)
{month = scwArrMonthNames.join('|').toUpperCase().
if (scwArrSeedDate[1].search(/\d+/) != 0) {
month = scwArrMonthNames.join('|').toUpperCase().
search(scwArrSeedDate[1].substr(0, 3).
toUpperCase());
scwArrSeedDate[1] = Math.floor(month / 4) + 1;
@ -930,8 +922,8 @@
// Test that we have arrived at a valid date
if (isNaN(scwSeedDate))
{if (scwShowInvalidDateMsg)
if (isNaN(scwSeedDate)) {
if (scwShowInvalidDateMsg)
alert(scwInvalidDateMsg +
scwInvalidAlert[0] + scwDateValue +
scwInvalidAlert[1]);
@ -939,34 +931,33 @@
Math.floor(scwDropDownYears / 2), 5, 1);
scwBlnFullInputDate = false;
}
else
{// Test that the date is within range,
else {// Test that the date is within range,
// if not then set date to a sensible date in range.
if ((new Date(scwBaseYear,0,1)) > scwSeedDate)
{if (scwBlnStrict && scwShowOutOfRangeMsg)
if ((new Date(scwBaseYear, 0, 1)) > scwSeedDate) {
if (scwBlnStrict && scwShowOutOfRangeMsg)
alert(scwOutOfRangeMsg);
scwSeedDate = new Date(scwBaseYear, 0, 1);
scwBlnFullInputDate = false;
}
else
{if ((new Date(scwBaseYear+scwDropDownYears,0,0))<
scwSeedDate)
{if (scwBlnStrict && scwShowOutOfRangeMsg)
else {
if ((new Date(scwBaseYear + scwDropDownYears, 0, 0)) <
scwSeedDate) {
if (scwBlnStrict && scwShowOutOfRangeMsg)
alert(scwOutOfRangeMsg);
scwSeedDate = new Date(scwBaseYear +
Math.floor(scwDropDownYears) - 1,
11, 1);
scwBlnFullInputDate = false;
}
else
{if (scwBlnStrict && scwBlnFullInputDate &&
else {
if (scwBlnStrict && scwBlnFullInputDate &&
(scwSeedDate.getDate() != scwArrSeedDate[2] ||
(scwSeedDate.getMonth() + 1) != scwArrSeedDate[1] ||
scwSeedDate.getFullYear() != scwArrSeedDate[0]
)
)
{if (scwShowDoesNotExistMsg) alert(scwDoesNotExistMsg);
) {
if (scwShowDoesNotExistMsg) alert(scwDoesNotExistMsg);
scwSeedDate = new Date(scwSeedDate.getFullYear(),
scwSeedDate.getMonth() - 1, 1);
scwBlnFullInputDate = false;
@ -978,27 +969,27 @@
// Test the disabled dates for validity
// Give error message if not valid.
for (var i=0;i<scwDisabledDates.length;i++)
{if (!((typeof scwDisabledDates[i] == 'object') &&
(scwDisabledDates[i].constructor == Date)))
{if ((typeof scwDisabledDates[i] == 'object') &&
(scwDisabledDates[i].constructor == Array))
{var scwPass = true;
for (var i = 0; i < scwDisabledDates.length; i++) {
if (!((typeof scwDisabledDates[i] == 'object') &&
(scwDisabledDates[i].constructor == Date))) {
if ((typeof scwDisabledDates[i] == 'object') &&
(scwDisabledDates[i].constructor == Array)) {
var scwPass = true;
if (scwDisabledDates[i].length !=2)
{if (scwShowRangeDisablingError)
if (scwDisabledDates[i].length != 2) {
if (scwShowRangeDisablingError)
alert(scwRangeDisablingError[0] +
scwDisabledDates[i] +
scwRangeDisablingError[1]);
scwPass = false;
}
else
{for (var j=0;j<scwDisabledDates[i].length;j++)
{if (!((typeof scwDisabledDates[i][j]
else {
for (var j = 0; j < scwDisabledDates[i].length; j++) {
if (!((typeof scwDisabledDates[i][j]
== 'object') &&
(scwDisabledDates[i][j].constructor
== Date)))
{if (scwShowRangeDisablingError)
== Date))) {
if (scwShowRangeDisablingError)
alert(scwDateDisablingError[0] +
scwDisabledDates[i][j] +
scwDateDisablingError[1]);
@ -1009,11 +1000,10 @@
if (scwPass &&
(scwDisabledDates[i][0] > scwDisabledDates[i][1])
)
{scwDisabledDates[i].reverse();}
) { scwDisabledDates[i].reverse(); }
}
else
{if (scwShowRangeDisablingError)
else {
if (scwShowRangeDisablingError)
alert(scwDateDisablingError[0] +
scwDisabledDates[i] +
scwDateDisablingError[1]);
@ -1037,8 +1027,8 @@
// It requires the following work-around to force SELECTs to display
// correctly.
if (window.opera)
{scwID('scwMonths').style.display = 'none';
if (window.opera) {
scwID('scwMonths').style.display = 'none';
scwID('scwMonths').style.display = 'block';
scwID('scwYears').style.display = 'none';
scwID('scwYears').style.display = 'block';
@ -1073,16 +1063,17 @@
parseInt(scwEle.offsetHeight, 10),
offsetLeft = parseInt(scwEle.offsetLeft, 10);
if (!window.opera)
{while (scwEle.tagName!='BODY' && scwEle.tagName!='HTML')
{offsetTop -=parseInt(scwEle.scrollTop, 10);
if (!window.opera) {
while (scwEle.tagName != 'BODY' && scwEle.tagName != 'HTML') {
offsetTop -= parseInt(scwEle.scrollTop, 10);
offsetLeft -= parseInt(scwEle.scrollLeft, 10);
scwEle = scwEle.parentNode;
}
scwEle = scwTargetEle;
}
do {scwEle=scwEle.offsetParent;
do {
scwEle = scwEle.offsetParent;
offsetTop += parseInt(scwEle.offsetTop, 10);
offsetLeft += parseInt(scwEle.offsetLeft, 10);
}
@ -1091,8 +1082,8 @@
scwID('scw').style.top = offsetTop + 'px';
scwID('scw').style.left = offsetLeft + 'px';
if (scwID('scwIframe'))
{scwID('scwIframe').style.top=offsetTop +'px';
if (scwID('scwIframe')) {
scwID('scwIframe').style.top = offsetTop + 'px';
scwID('scwIframe').style.left = offsetLeft + 'px';
scwID('scwIframe').style.width = (scwID('scw').offsetWidth - 2) + 'px';
scwID('scwIframe').style.height = (scwID('scw').offsetHeight - 2) + 'px';
@ -1112,63 +1103,64 @@
? scwSourceEle.parentNode
: scwSourceEle;
if (typeof event=='undefined')
{el.addEventListener('click',
if (typeof event == 'undefined') {
el.addEventListener('click',
scwStopPropagation,
false);
}
else {if (el.attachEvent)
{el.attachEvent('onclick',scwStopPropagation);}
else {
if (el.attachEvent) { el.attachEvent('onclick', scwStopPropagation); }
else { event.cancelBubble = true; }
}
}
function scwHide()
{scwID('scw').style.visibility='hidden';
if (scwID('scwIframe'))
{scwID('scwIframe').style.visibility='hidden';}
function scwHide() {
scwID('scw').style.visibility = 'hidden';
if (scwID('scwIframe')) { scwID('scwIframe').style.visibility = 'hidden'; }
if (typeof scwNextAction!='undefined' && scwNextAction!=null)
{scwNextActionReturn = scwNextAction();
if (typeof scwNextAction != 'undefined' && scwNextAction != null) {
scwNextActionReturn = scwNextAction();
// Explicit null set to prevent closure causing memory leak
scwNextAction = null;
}
}
function scwCancel(scwEvt)
{if (scwClickToHide) scwHide();
function scwCancel(scwEvt) {
if (scwClickToHide) scwHide();
scwStopPropagation(scwEvt);
}
function scwStopPropagation(scwEvt)
{if (scwEvt.stopPropagation)
function scwStopPropagation(scwEvt) {
if (scwEvt.stopPropagation)
scwEvt.stopPropagation(); // Capture phase
else scwEvt.cancelBubble = true; // Bubbling phase
}
function scwBeginDrag(event)
{var elementToDrag = scwID('scw');
function scwBeginDrag(event) {
var elementToDrag = scwID('scw');
var deltaX = event.clientX,
deltaY = event.clientY,
offsetEle = elementToDrag;
do {deltaX -= parseInt(offsetEle.offsetLeft,10);
do {
deltaX -= parseInt(offsetEle.offsetLeft, 10);
deltaY -= parseInt(offsetEle.offsetTop, 10);
offsetEle = offsetEle.offsetParent;
}
while (offsetEle.tagName != 'BODY' &&
offsetEle.tagName != 'HTML');
if (document.addEventListener)
{document.addEventListener('mousemove',
if (document.addEventListener) {
document.addEventListener('mousemove',
moveHandler,
true); // Capture phase
document.addEventListener('mouseup',
upHandler,
true); // Capture phase
}
else {elementToDrag.attachEvent('onmousemove',
else {
elementToDrag.attachEvent('onmousemove',
moveHandler); // Bubbling phase
elementToDrag.attachEvent('onmouseup',
upHandler); // Bubbling phase
@ -1177,14 +1169,14 @@
scwStopPropagation(event);
function moveHandler(scwEvt)
{if (!scwEvt) scwEvt = window.event;
function moveHandler(scwEvt) {
if (!scwEvt) scwEvt = window.event;
elementToDrag.style.left = (scwEvt.clientX - deltaX) + 'px';
elementToDrag.style.top = (scwEvt.clientY - deltaY) + 'px';
if (scwID('scwIframe'))
{scwID('scwIframe').style.left =
if (scwID('scwIframe')) {
scwID('scwIframe').style.left =
(scwEvt.clientX - deltaX) + 'px';
scwID('scwIframe').style.top =
(scwEvt.clientY - deltaY) + 'px';
@ -1193,18 +1185,19 @@
scwStopPropagation(scwEvt);
}
function upHandler(scwEvt)
{if (!scwEvt) scwEvt = window.event;
function upHandler(scwEvt) {
if (!scwEvt) scwEvt = window.event;
if (document.removeEventListener)
{document.removeEventListener('mousemove',
if (document.removeEventListener) {
document.removeEventListener('mousemove',
moveHandler,
true); // Capture phase
document.removeEventListener('mouseup',
upHandler,
true); // Capture phase
}
else {elementToDrag.detachEvent('onmouseup',
else {
elementToDrag.detachEvent('onmouseup',
upHandler); // Bubbling phase
elementToDrag.detachEvent('onmousemove',
moveHandler); // Bubbling phase
@ -1215,8 +1208,7 @@
}
}
function scwShowMonth(scwBias)
{// Set the selectable Month and Year
function scwShowMonth(scwBias) {// Set the selectable Month and Year
// May be called: from the left and right arrows
// (shift month -1 and +1 respectively)
// from the month selection list
@ -1237,14 +1229,12 @@
scwSelYears = scwID('scwYears');
scwSelMonths = scwID('scwMonths');
if (scwSelYears.options.selectedIndex>-1)
{scwMonthSum=12*(scwSelYears.options.selectedIndex)+scwBias;
if (scwSelMonths.options.selectedIndex>-1)
{scwMonthSum+=scwSelMonths.options.selectedIndex;}
if (scwSelYears.options.selectedIndex > -1) {
scwMonthSum = 12 * (scwSelYears.options.selectedIndex) + scwBias;
if (scwSelMonths.options.selectedIndex > -1) { scwMonthSum += scwSelMonths.options.selectedIndex; }
}
else
{if (scwSelMonths.options.selectedIndex>-1)
{scwMonthSum+=scwSelMonths.options.selectedIndex;}
else {
if (scwSelMonths.options.selectedIndex > -1) { scwMonthSum += scwSelMonths.options.selectedIndex; }
}
scwShowDate.setFullYear(scwBaseYear + Math.floor(scwMonthSum / 12),
@ -1261,8 +1251,8 @@
if ((12 * parseInt((scwShowDate.getFullYear() - scwBaseYear), 10)) +
parseInt(scwShowDate.getMonth(), 10) < (12 * scwDropDownYears) &&
(12 * parseInt((scwShowDate.getFullYear() - scwBaseYear), 10)) +
parseInt(scwShowDate.getMonth(),10) > -1)
{scwSelYears.options.selectedIndex=Math.floor(scwMonthSum/12);
parseInt(scwShowDate.getMonth(), 10) > -1) {
scwSelYears.options.selectedIndex = Math.floor(scwMonthSum / 12);
scwSelMonths.options.selectedIndex = (scwMonthSum % 12);
scwCurMonth = scwShowDate.getMonth();
@ -1278,43 +1268,45 @@
scwStartDate = new Date(scwShowDate);
if (scwID('scwFoot'))
{var scwFoot = scwID('scwFoot');
if (scwID('scwFoot')) {
var scwFoot = scwID('scwFoot');
function scwFootOutput() { scwSetOutput(scwDateNow); }
if (scwDisabledDates.length==0)
{if (scwActiveToday && scwParmActiveToday)
{scwFoot.onclick = scwFootOutput;
if (scwDisabledDates.length == 0) {
if (scwActiveToday && scwParmActiveToday) {
scwFoot.onclick = scwFootOutput;
scwFoot.className = 'scwFoot';
if (scwID('scwIFrame'))
{scwFoot.onmouseover = scwChangeClass;
if (scwID('scwIFrame')) {
scwFoot.onmouseover = scwChangeClass;
scwFoot.onmouseout = scwChangeClass;
}
}
else
{scwFoot.onclick = null;
else {
scwFoot.onclick = null;
scwFoot.className = 'scwFootDisabled';
if (scwID('scwIFrame'))
{scwFoot.onmouseover = null;
if (scwID('scwIFrame')) {
scwFoot.onmouseover = null;
scwFoot.onmouseout = null;
}
if (document.addEventListener)
{scwFoot.addEventListener('click',
if (document.addEventListener) {
scwFoot.addEventListener('click',
scwStopPropagation,
false);
}
else {scwFoot.attachEvent('onclick',
scwStopPropagation);}
else {
scwFoot.attachEvent('onclick',
scwStopPropagation);
}
}
else
{for (var k=0;k<scwDisabledDates.length;k++)
{if (!scwActiveToday || !scwParmActiveToday ||
}
else {
for (var k = 0; k < scwDisabledDates.length; k++) {
if (!scwActiveToday || !scwParmActiveToday ||
((typeof scwDisabledDates[k] == 'object') &&
(((scwDisabledDates[k].constructor == Date) &&
scwDateNow.valueOf() == scwDisabledDates[k].
@ -1328,31 +1320,32 @@
)
)
)
)
{scwFoot.onclick = null;
) {
scwFoot.onclick = null;
scwFoot.className = 'scwFootDisabled';
if (scwID('scwIFrame'))
{scwFoot.onmouseover = null;
if (scwID('scwIFrame')) {
scwFoot.onmouseover = null;
scwFoot.onmouseout = null;
}
if (document.addEventListener)
{scwFoot.addEventListener('click',
if (document.addEventListener) {
scwFoot.addEventListener('click',
scwStopPropagation,
false);
}
else {scwFoot.attachEvent('onclick',
else {
scwFoot.attachEvent('onclick',
scwStopPropagation);
}
break;
}
else
{scwFoot.onclick=scwFootOutput;
else {
scwFoot.onclick = scwFootOutput;
scwFoot.className = 'scwFoot';
if (scwID('scwIFrame'))
{scwFoot.onmouseover = scwChangeClass;
if (scwID('scwIFrame')) {
scwFoot.onmouseover = scwChangeClass;
scwFoot.onmouseout = scwChangeClass;
}
}
@ -1360,21 +1353,21 @@
}
}
function scwSetOutput(scwOutputDate)
{if (typeof scwTargetEle.value == 'undefined')
{scwTriggerEle.scwTextNode.
function scwSetOutput(scwOutputDate) {
if (typeof scwTargetEle.value == 'undefined') {
scwTriggerEle.scwTextNode.
replaceData(0, scwTriggerEle.scwLength,
scwOutputDate.scwFormat(scwDateOutputFormat));
}
else
{scwTargetEle.value =
else {
scwTargetEle.value =
scwOutputDate.scwFormat(scwDateOutputFormat);
}
scwHide();
}
function scwCellOutput(scwEvt)
{var scwEle = scwEventTrigger(scwEvt),
function scwCellOutput(scwEvt) {
var scwEle = scwEventTrigger(scwEvt),
scwOutputDate = new Date(scwStartDate);
if (scwEle.nodeType == 3) scwEle = scwEle.parentNode;
@ -1385,13 +1378,13 @@
scwSetOutput(scwOutputDate);
}
function scwChangeClass(scwEvt)
{var scwEle = scwEventTrigger(scwEvt);
function scwChangeClass(scwEvt) {
var scwEle = scwEventTrigger(scwEvt);
if (scwEle.nodeType == 3) scwEle = scwEle.parentNode;
switch (scwEle.className)
{case 'scwCells':
switch (scwEle.className) {
case 'scwCells':
scwEle.className = 'scwCellsHover';
break;
case 'scwCellsHover':
@ -1425,13 +1418,12 @@
return true;
}
function scwEventTrigger(scwEvt)
{if (!scwEvt) scwEvt = event;
function scwEventTrigger(scwEvt) {
if (!scwEvt) scwEvt = event;
return scwEvt.target || scwEvt.srcElement;
}
function scwWeekNumber(scwInDate)
{// The base day in the week of the input date
function scwWeekNumber(scwInDate) {// The base day in the week of the input date
var scwInDateWeekBase = new Date(scwInDate);
scwInDateWeekBase.setDate(scwInDateWeekBase.getDate()
@ -1450,16 +1442,14 @@
);
if (scwFirstBaseDay <
new Date(scwInDateWeekBase.getFullYear(),0,1))
{scwFirstBaseDay.setDate(scwFirstBaseDay.getDate()+7);}
new Date(scwInDateWeekBase.getFullYear(), 0, 1)) { scwFirstBaseDay.setDate(scwFirstBaseDay.getDate() + 7); }
// Start of Week 01
var scwStartWeekOne = new Date(scwFirstBaseDay
- scwWeekNumberBaseDay
+ scwInDate.getDay());
if (scwStartWeekOne > scwFirstBaseDay)
{scwStartWeekOne.setDate(scwStartWeekOne.getDate()-7);}
if (scwStartWeekOne > scwFirstBaseDay) { scwStartWeekOne.setDate(scwStartWeekOne.getDate() - 7); }
// Subtract the date of the current week from the date of the
// first week of the year to get the number of weeks in
@ -1486,11 +1476,10 @@
var scwCells = scwID('scwCells');
for (i=0;i<scwCells.childNodes.length;i++)
{var scwRows = scwCells.childNodes[i];
if (scwRows.nodeType==1 && scwRows.tagName=='TR')
{if (scwWeekNumberDisplay)
{//Calculate the week number using scwShowDate
for (i = 0; i < scwCells.childNodes.length; i++) {
var scwRows = scwCells.childNodes[i];
if (scwRows.nodeType == 1 && scwRows.tagName == 'TR') {
if (scwWeekNumberDisplay) {//Calculate the week number using scwShowDate
scwTmpEl = scwRows.childNodes[0];
scwTmpEl.innerHTML = scwWeekNumber(scwShowDate);
scwTmpEl.style.borderColor =
@ -1501,13 +1490,12 @@
: '';
scwTmpEl.style.display = '';
}
else
{scwRows.childNodes[0].style.display='none';}
else { scwRows.childNodes[0].style.display = 'none'; }
for (j=1;j<scwRows.childNodes.length;j++)
{var scwCols = scwRows.childNodes[j];
if (scwCols.nodeType==1 && scwCols.tagName=='TD')
{scwRows.childNodes[j].innerHTML=
for (j = 1; j < scwRows.childNodes.length; j++) {
var scwCols = scwRows.childNodes[j];
if (scwCols.nodeType == 1 && scwCols.tagName == 'TD') {
scwRows.childNodes[j].innerHTML =
scwShowDate.getDate();
var scwCell = scwRows.childNodes[j],
scwDisabled =
@ -1550,8 +1538,8 @@
)
) ? 'hidden' : '';
for (var k=0;k<scwDisabledDates.length;k++)
{if ((typeof scwDisabledDates[k]=='object')
for (var k = 0; k < scwDisabledDates.length; k++) {
if ((typeof scwDisabledDates[k] == 'object')
&&
(scwDisabledDates[k].constructor ==
Date
@ -1559,10 +1547,9 @@
&&
scwCompareDateValue ==
scwDisabledDates[k].valueOf()
)
{scwDisabled = true;}
else
{if ((typeof scwDisabledDates[k]=='object')
) { scwDisabled = true; }
else {
if ((typeof scwDisabledDates[k] == 'object')
&&
(scwDisabledDates[k].constructor ==
Array
@ -1573,8 +1560,7 @@
&&
scwCompareDateValue <=
scwDisabledDates[k][1].valueOf()
)
{scwDisabled = true;}
) { scwDisabled = true; }
}
}
@ -1585,11 +1571,11 @@
!scwPassEnabledDay[(j - 1 + (7 * (i * scwCells.
childNodes.
length / 6))) % 7]
)
{scwRows.childNodes[j].onclick = null;
) {
scwRows.childNodes[j].onclick = null;
if (scwID('scwIFrame'))
{scwRows.childNodes[j].onmouseover = null;
if (scwID('scwIFrame')) {
scwRows.childNodes[j].onmouseover = null;
scwRows.childNodes[j].onmouseout = null;
}
@ -1613,11 +1599,11 @@
? document.defaultView.getComputedStyle(scwCell, null).getPropertyValue('background-color')
: '';
}
else
{scwRows.childNodes[j].onclick=scwCellOutput;
else {
scwRows.childNodes[j].onclick = scwCellOutput;
if (scwID('scwIFrame'))
{scwRows.childNodes[j].onmouseover =
if (scwID('scwIFrame')) {
scwRows.childNodes[j].onmouseover =
scwChangeClass;
scwRows.childNodes[j].onmouseout =
scwChangeClass;
@ -1720,12 +1706,12 @@
"<tbody id='scwCells' " +
"onClick='scwStopPropagation(event);'>");
for (i=0;i<6;i++)
{document.write(
for (i = 0; i < 6; i++) {
document.write(
"<tr>" +
"<td class='scwWeekNo' id='scwWeek_" + i + "'></td>");
for (j=0;j<7;j++)
{document.write(
for (j = 0; j < 7; j++) {
document.write(
"<td class='scwCells' id='scwCell_" + (j + (i * 7)) +
"'></td>");
}
@ -1738,8 +1724,8 @@
"</tbody>");
if ((new Date(scwBaseYear + scwDropDownYears, 0, 0)) > scwDateNow &&
(new Date(scwBaseYear, 0, 0)) < scwDateNow)
{document.write(
(new Date(scwBaseYear, 0, 0)) < scwDateNow) {
document.write(
"<tfoot class='scwFoot'>" +
"<tr class='scwFoot'>" +
"<td class='scwFoot' id='scwFoot' colspan='8'>" +
@ -1754,8 +1740,8 @@
"</tr>" +
"</table>");
if (document.addEventListener)
{scwID('scw' ).addEventListener('click',scwCancel,false);
if (document.addEventListener) {
scwID('scw').addEventListener('click', scwCancel, false);
scwID('scwHeadLeft').addEventListener('click', scwStopPropagation, false);
scwID('scwMonths').addEventListener('click', scwStopPropagation, false);
scwID('scwMonths').addEventListener('change', scwStopPropagation, false);
@ -1763,7 +1749,8 @@
scwID('scwYears').addEventListener('change', scwStopPropagation, false);
scwID('scwHeadRight').addEventListener('click', scwStopPropagation, false);
}
else {scwID('scw' ).attachEvent('onclick',scwCancel);
else {
scwID('scw').attachEvent('onclick', scwCancel);
scwID('scwHeadLeft').attachEvent('onclick', scwStopPropagation);
scwID('scwMonths').attachEvent('onclick', scwStopPropagation);
scwID('scwMonths').attachEvent('onchange', scwStopPropagation);
@ -1779,8 +1766,7 @@
// Start of document level event definition
// ****************************************
if (document.addEventListener)
{document.addEventListener('click',scwHide, false);}
if (document.addEventListener) { document.addEventListener('click', scwHide, false); }
else { document.attachEvent('onclick', scwHide); }
// ****************************************

View File

@ -2562,12 +2562,12 @@ function restart_map() {
"<div style='width:25%; float:left'><img style='padding-left:20px; padding-top:20px;' src='images/icono_info_mr.png'></div>";
dialog_confirm_text =
dialog_confirm_text +
"<div style='width:75%; float:left;'><h3><strong style='font-family:Verdana; font-size:13pt;'>" +
"<div style='width:75%; float:left;'><h3><strong style='font-size:13pt;'>" +
warning_message +
"</strong></h3>";
dialog_confirm_text =
dialog_confirm_text +
"<p style='font-family:Verdana; font-size:12pt;'>" +
"<p style='font-size:12pt;'>" +
message_to_confirm +
"</p></div>";
dialog_confirm_text = dialog_confirm_text + "</div>";
@ -3404,8 +3404,7 @@ function init_graph(parameter_object) {
"text-anchor: start; " +
"fill: #000000; " +
"fill-opacity: 1; " +
"stroke: none; " +
"font-family: Verdana"
"stroke: none; "
)
.attr("class", "fill_fff")
.attr(
@ -4091,7 +4090,7 @@ function draw_elements_graph() {
"style",
"font-size: " +
font_size +
"px !important; font-family:Verdana; text-align:center; text-anchor:middle; fill:#000000"
"px !important; text-align:center; text-anchor:middle; fill:#000000"
)
.text(function(d) {
return ellipsize(get_node_name_ov(d), 30);

View File

@ -2,7 +2,6 @@
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: 300px;
}
.CodeMirror-scroll {
@ -29,7 +28,8 @@
border-right: 1px solid #ddd;
background-color: #f7f7f7;
}
.CodeMirror-linenumbers {}
.CodeMirror-linenumbers {
}
.CodeMirror-linenumber {
padding: 0 3px 0 5px;
min-width: 20px;
@ -50,7 +50,7 @@
width: auto;
border: 0;
background: transparent;
background: rgba(0, 200, 0, .4);
background: rgba(0, 200, 0, 0.4);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6600c800, endColorstr=#4c00c800);
}
/* Kludge to turn off filter in ie9+, which also accepts rgba */
@ -58,45 +58,112 @@
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
/* Can style cursor different in overwrite (non-insert) mode */
.CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite {}
.CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite {
}
/* DEFAULT THEME */
.cm-s-default .cm-keyword {color: #708;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #164;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable {color: black;}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3 {color: #085;}
.cm-s-default .cm-property {color: black;}
.cm-s-default .cm-operator {color: black;}
.cm-s-default .cm-comment {color: #a50;}
.cm-s-default .cm-string {color: #a11;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-error {color: #f00;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #30a;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}
.cm-s-default .cm-keyword {
color: #708;
}
.cm-s-default .cm-atom {
color: #219;
}
.cm-s-default .cm-number {
color: #164;
}
.cm-s-default .cm-def {
color: #00f;
}
.cm-s-default .cm-variable {
color: black;
}
.cm-s-default .cm-variable-2 {
color: #05a;
}
.cm-s-default .cm-variable-3 {
color: #085;
}
.cm-s-default .cm-property {
color: black;
}
.cm-s-default .cm-operator {
color: black;
}
.cm-s-default .cm-comment {
color: #a50;
}
.cm-s-default .cm-string {
color: #a11;
}
.cm-s-default .cm-string-2 {
color: #f50;
}
.cm-s-default .cm-meta {
color: #555;
}
.cm-s-default .cm-error {
color: #f00;
}
.cm-s-default .cm-qualifier {
color: #555;
}
.cm-s-default .cm-builtin {
color: #30a;
}
.cm-s-default .cm-bracket {
color: #997;
}
.cm-s-default .cm-tag {
color: #170;
}
.cm-s-default .cm-attribute {
color: #00c;
}
.cm-s-default .cm-header {
color: blue;
}
.cm-s-default .cm-quote {
color: #090;
}
.cm-s-default .cm-hr {
color: #999;
}
.cm-s-default .cm-link {
color: #00c;
}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-emstrong {font-style: italic; font-weight: bold;}
.cm-link {text-decoration: underline;}
.cm-negative {
color: #d44;
}
.cm-positive {
color: #292;
}
.cm-header,
.cm-strong {
font-weight: bold;
}
.cm-em {
font-style: italic;
}
.cm-emstrong {
font-style: italic;
font-weight: bold;
}
.cm-link {
text-decoration: underline;
}
.cm-invalidchar {color: #f00;}
.cm-invalidchar {
color: #f00;
}
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
div.CodeMirror span.CodeMirror-matchingbracket {
color: #0f0;
}
div.CodeMirror span.CodeMirror-nonmatchingbracket {
color: #f22;
}
/* STOP */
@ -112,8 +179,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
.CodeMirror-scroll {
/* 30px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror, and the paddings in .CodeMirror-sizer */
margin-bottom: -30px; margin-right: -30px;
padding-bottom: 30px; padding-right: 30px;
margin-bottom: -30px;
margin-right: -30px;
padding-bottom: 30px;
padding-right: 30px;
height: 100%;
outline: none; /* Prevent dragging from highlighting the element */
position: relative;
@ -125,28 +194,35 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
/* The fake, visible scrollbars. Used to force redraw during scrolling
before actuall scrolling happens, thus preventing shaking and
flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler {
.CodeMirror-vscrollbar,
.CodeMirror-hscrollbar,
.CodeMirror-scrollbar-filler {
position: absolute;
z-index: 6;
display: none;
}
.CodeMirror-vscrollbar {
right: 0; top: 0;
right: 0;
top: 0;
overflow-x: hidden;
overflow-y: scroll;
}
.CodeMirror-hscrollbar {
bottom: 0; left: 0;
bottom: 0;
left: 0;
overflow-y: hidden;
overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
right: 0; bottom: 0;
right: 0;
bottom: 0;
z-index: 6;
}
.CodeMirror-gutters {
position: absolute; left: 0; top: 0;
position: absolute;
left: 0;
top: 0;
height: 100%;
padding-bottom: 30px;
z-index: 3;
@ -169,7 +245,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
}
.CodeMirror pre {
/* Reset some styles that the rest of the page might have set */
-moz-border-radius: 0; -webkit-border-radius: 0; -o-border-radius: 0; border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
-o-border-radius: 0;
border-radius: 0;
border-width: 0;
background: transparent;
font-family: inherit;
@ -190,7 +269,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
}
.CodeMirror-linebackground {
position: absolute;
left: 0; right: 0; top: 0; bottom: 0;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 0;
}
@ -210,11 +292,14 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
.CodeMirror-measure {
position: absolute;
width: 100%; height: 0px;
width: 100%;
height: 0px;
overflow: hidden;
visibility: hidden;
}
.CodeMirror-measure pre { position: static; }
.CodeMirror-measure pre {
position: static;
}
.CodeMirror div.CodeMirror-cursor {
position: absolute;
@ -226,16 +311,22 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
visibility: visible;
}
.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.CodeMirror-selected {
background: #d9d9d9;
}
.CodeMirror-focused .CodeMirror-selected {
background: #d7d4f0;
}
.cm-searching {
background: #ffa;
background: rgba(255, 255, 0, .4);
background: rgba(255, 255, 0, 0.4);
}
/* IE7 hack to prevent it from returning funny offsetTops on the spans */
.CodeMirror span { *vertical-align: text-bottom; }
.CodeMirror span {
*vertical-align: text-bottom;
}
@media print {
/* Hide the cursor when printing */

View File

@ -1621,7 +1621,6 @@ function paint_graph_status(
.attr("x", legend_width_x + 15)
.attr("y", legend_height_x - 20)
.attr("fill", "black")
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", "8pt")
.attr("class", "invert_filter")
@ -1648,7 +1647,6 @@ function paint_graph_status(
.attr("x", legend_width_x + 15)
.attr("y", legend_height_x + 5)
.attr("fill", "black")
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", "8pt")
.attr("class", "invert_filter")
@ -1673,7 +1671,6 @@ function paint_graph_status(
.attr("x", legend_width_x + 15)
.attr("y", legend_height_x + 30)
.attr("fill", "black")
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", "8pt")
.attr("class", "invert_filter")
@ -1819,7 +1816,6 @@ function paint_graph_status(
.attr("x", width_x)
.attr("y", height_x)
.attr("fill", "black")
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", 14)
.style("fill", "red")
@ -1835,7 +1831,6 @@ function paint_graph_status(
.attr("x", width_x)
.attr("y", height_x)
.attr("fill", "black")
.style("font-family", "arial")
.style("font-weight", "bold")
.style("font-size", 14)
.style("fill", "red")

View File

@ -1,90 +1,387 @@
/* Clearlooks 2 */
/* Reset */
.clearlooks2, .clearlooks2 div, .clearlooks2 span, .clearlooks2 a {vertical-align:baseline; text-align:left; position:absolute; border:0; padding:0; margin:0; background:transparent; font-family:Arial,Verdana; font-size:11px; color:#000; text-decoration:none; font-weight:normal; width:auto; height:auto; overflow:hidden; display:block}
.clearlooks2,
.clearlooks2 div,
.clearlooks2 span,
.clearlooks2 a {
vertical-align: baseline;
text-align: left;
position: absolute;
border: 0;
padding: 0;
margin: 0;
background: transparent;
font-size: 11px;
color: #000;
text-decoration: none;
font-weight: normal;
width: auto;
height: auto;
overflow: hidden;
display: block;
}
/* General */
.clearlooks2 {position:absolute; direction:ltr}
.clearlooks2 .mceWrapper {position:static}
.mceEventBlocker {position:fixed; left:0; top:0; background:url(img/horizontal.gif) no-repeat 0 -75px; width:100%; height:100%}
.clearlooks2 .mcePlaceHolder {border:1px solid #000; background:#888; top:0; left:0; opacity:0.5; -ms-filter:'alpha(opacity=50)'; filter:alpha(opacity=50)}
.clearlooks2_modalBlocker {position:fixed; left:0; top:0; width:100%; height:100%; background:#FFF; opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60); display:none}
.clearlooks2 {
position: absolute;
direction: ltr;
}
.clearlooks2 .mceWrapper {
position: static;
}
.mceEventBlocker {
position: fixed;
left: 0;
top: 0;
background: url(img/horizontal.gif) no-repeat 0 -75px;
width: 100%;
height: 100%;
}
.clearlooks2 .mcePlaceHolder {
border: 1px solid #000;
background: #888;
top: 0;
left: 0;
opacity: 0.5;
-ms-filter: "alpha(opacity=50)";
filter: alpha(opacity=50);
}
.clearlooks2_modalBlocker {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: #fff;
opacity: 0.6;
-ms-filter: "alpha(opacity=60)";
filter: alpha(opacity=60);
display: none;
}
/* Top */
.clearlooks2 .mceTop, .clearlooks2 .mceTop div {top:0; width:100%; height:23px}
.clearlooks2 .mceTop .mceLeft {width:6px; background:url(img/corners.gif)}
.clearlooks2 .mceTop .mceCenter {right:6px; width:100%; height:23px; background:url(img/horizontal.gif) 12px 0; clip:rect(auto auto auto 12px)}
.clearlooks2 .mceTop .mceRight {right:0; width:6px; height:23px; background:url(img/corners.gif) -12px 0}
.clearlooks2 .mceTop span {width:100%; text-align:center; vertical-align:middle; line-height:23px; font-weight:bold}
.clearlooks2 .mceFocus .mceTop .mceLeft {background:url(img/corners.gif) -6px 0}
.clearlooks2 .mceFocus .mceTop .mceCenter {background:url(img/horizontal.gif) 0 -23px}
.clearlooks2 .mceFocus .mceTop .mceRight {background:url(img/corners.gif) -18px 0}
.clearlooks2 .mceFocus .mceTop span {color:#FFF}
.clearlooks2 .mceTop,
.clearlooks2 .mceTop div {
top: 0;
width: 100%;
height: 23px;
}
.clearlooks2 .mceTop .mceLeft {
width: 6px;
background: url(img/corners.gif);
}
.clearlooks2 .mceTop .mceCenter {
right: 6px;
width: 100%;
height: 23px;
background: url(img/horizontal.gif) 12px 0;
clip: rect(auto auto auto 12px);
}
.clearlooks2 .mceTop .mceRight {
right: 0;
width: 6px;
height: 23px;
background: url(img/corners.gif) -12px 0;
}
.clearlooks2 .mceTop span {
width: 100%;
text-align: center;
vertical-align: middle;
line-height: 23px;
font-weight: bold;
}
.clearlooks2 .mceFocus .mceTop .mceLeft {
background: url(img/corners.gif) -6px 0;
}
.clearlooks2 .mceFocus .mceTop .mceCenter {
background: url(img/horizontal.gif) 0 -23px;
}
.clearlooks2 .mceFocus .mceTop .mceRight {
background: url(img/corners.gif) -18px 0;
}
.clearlooks2 .mceFocus .mceTop span {
color: #fff;
}
/* Middle */
.clearlooks2 .mceMiddle, .clearlooks2 .mceMiddle div {top:0}
.clearlooks2 .mceMiddle {width:100%; height:100%; clip:rect(23px auto auto auto)}
.clearlooks2 .mceMiddle .mceLeft {left:0; width:5px; height:100%; background:url(img/vertical.gif) -5px 0}
.clearlooks2 .mceMiddle span {top:23px; left:5px; width:100%; height:100%; background:#FFF}
.clearlooks2 .mceMiddle .mceRight {right:0; width:5px; height:100%; background:url(img/vertical.gif)}
.clearlooks2 .mceMiddle,
.clearlooks2 .mceMiddle div {
top: 0;
}
.clearlooks2 .mceMiddle {
width: 100%;
height: 100%;
clip: rect(23px auto auto auto);
}
.clearlooks2 .mceMiddle .mceLeft {
left: 0;
width: 5px;
height: 100%;
background: url(img/vertical.gif) -5px 0;
}
.clearlooks2 .mceMiddle span {
top: 23px;
left: 5px;
width: 100%;
height: 100%;
background: #fff;
}
.clearlooks2 .mceMiddle .mceRight {
right: 0;
width: 5px;
height: 100%;
background: url(img/vertical.gif);
}
/* Bottom */
.clearlooks2 .mceBottom, .clearlooks2 .mceBottom div {height:6px}
.clearlooks2 .mceBottom {left:0; bottom:0; width:100%}
.clearlooks2 .mceBottom div {top:0}
.clearlooks2 .mceBottom .mceLeft {left:0; width:5px; background:url(img/corners.gif) -34px -6px}
.clearlooks2 .mceBottom .mceCenter {left:5px; width:100%; background:url(img/horizontal.gif) 0 -46px}
.clearlooks2 .mceBottom .mceRight {right:0; width:5px; background: url(img/corners.gif) -34px 0}
.clearlooks2 .mceBottom span {display:none}
.clearlooks2 .mceStatusbar .mceBottom, .clearlooks2 .mceStatusbar .mceBottom div {height:23px}
.clearlooks2 .mceStatusbar .mceBottom .mceLeft {background:url(img/corners.gif) -29px 0}
.clearlooks2 .mceStatusbar .mceBottom .mceCenter {background:url(img/horizontal.gif) 0 -52px}
.clearlooks2 .mceStatusbar .mceBottom .mceRight {background:url(img/corners.gif) -24px 0}
.clearlooks2 .mceStatusbar .mceBottom span {display:block; left:7px; font-family:Arial, Verdana; font-size:11px; line-height:23px}
.clearlooks2 .mceBottom,
.clearlooks2 .mceBottom div {
height: 6px;
}
.clearlooks2 .mceBottom {
left: 0;
bottom: 0;
width: 100%;
}
.clearlooks2 .mceBottom div {
top: 0;
}
.clearlooks2 .mceBottom .mceLeft {
left: 0;
width: 5px;
background: url(img/corners.gif) -34px -6px;
}
.clearlooks2 .mceBottom .mceCenter {
left: 5px;
width: 100%;
background: url(img/horizontal.gif) 0 -46px;
}
.clearlooks2 .mceBottom .mceRight {
right: 0;
width: 5px;
background: url(img/corners.gif) -34px 0;
}
.clearlooks2 .mceBottom span {
display: none;
}
.clearlooks2 .mceStatusbar .mceBottom,
.clearlooks2 .mceStatusbar .mceBottom div {
height: 23px;
}
.clearlooks2 .mceStatusbar .mceBottom .mceLeft {
background: url(img/corners.gif) -29px 0;
}
.clearlooks2 .mceStatusbar .mceBottom .mceCenter {
background: url(img/horizontal.gif) 0 -52px;
}
.clearlooks2 .mceStatusbar .mceBottom .mceRight {
background: url(img/corners.gif) -24px 0;
}
.clearlooks2 .mceStatusbar .mceBottom span {
display: block;
left: 7px;
font-size: 11px;
line-height: 23px;
}
/* Actions */
.clearlooks2 a {width:29px; height:16px; top:3px;}
.clearlooks2 .mceClose {right:6px; background:url(img/buttons.gif) -87px 0}
.clearlooks2 .mceMin {display:none; right:68px; background:url(img/buttons.gif) 0 0}
.clearlooks2 .mceMed {display:none; right:37px; background:url(img/buttons.gif) -29px 0}
.clearlooks2 .mceMax {display:none; right:37px; background:url(img/buttons.gif) -58px 0}
.clearlooks2 .mceMove {display:none;width:100%;cursor:move;background:url(img/corners.gif) no-repeat -100px -100px}
.clearlooks2 .mceMovable .mceMove {display:block}
.clearlooks2 .mceFocus .mceClose {right:6px; background:url(img/buttons.gif) -87px -16px}
.clearlooks2 .mceFocus .mceMin {right:68px; background:url(img/buttons.gif) 0 -16px}
.clearlooks2 .mceFocus .mceMed {right:37px; background:url(img/buttons.gif) -29px -16px}
.clearlooks2 .mceFocus .mceMax {right:37px; background:url(img/buttons.gif) -58px -16px}
.clearlooks2 .mceFocus .mceClose:hover {right:6px; background:url(img/buttons.gif) -87px -32px}
.clearlooks2 .mceFocus .mceClose:hover {right:6px; background:url(img/buttons.gif) -87px -32px}
.clearlooks2 .mceFocus .mceMin:hover {right:68px; background:url(img/buttons.gif) 0 -32px}
.clearlooks2 .mceFocus .mceMed:hover {right:37px; background:url(img/buttons.gif) -29px -32px}
.clearlooks2 .mceFocus .mceMax:hover {right:37px; background:url(img/buttons.gif) -58px -32px}
.clearlooks2 a {
width: 29px;
height: 16px;
top: 3px;
}
.clearlooks2 .mceClose {
right: 6px;
background: url(img/buttons.gif) -87px 0;
}
.clearlooks2 .mceMin {
display: none;
right: 68px;
background: url(img/buttons.gif) 0 0;
}
.clearlooks2 .mceMed {
display: none;
right: 37px;
background: url(img/buttons.gif) -29px 0;
}
.clearlooks2 .mceMax {
display: none;
right: 37px;
background: url(img/buttons.gif) -58px 0;
}
.clearlooks2 .mceMove {
display: none;
width: 100%;
cursor: move;
background: url(img/corners.gif) no-repeat -100px -100px;
}
.clearlooks2 .mceMovable .mceMove {
display: block;
}
.clearlooks2 .mceFocus .mceClose {
right: 6px;
background: url(img/buttons.gif) -87px -16px;
}
.clearlooks2 .mceFocus .mceMin {
right: 68px;
background: url(img/buttons.gif) 0 -16px;
}
.clearlooks2 .mceFocus .mceMed {
right: 37px;
background: url(img/buttons.gif) -29px -16px;
}
.clearlooks2 .mceFocus .mceMax {
right: 37px;
background: url(img/buttons.gif) -58px -16px;
}
.clearlooks2 .mceFocus .mceClose:hover {
right: 6px;
background: url(img/buttons.gif) -87px -32px;
}
.clearlooks2 .mceFocus .mceClose:hover {
right: 6px;
background: url(img/buttons.gif) -87px -32px;
}
.clearlooks2 .mceFocus .mceMin:hover {
right: 68px;
background: url(img/buttons.gif) 0 -32px;
}
.clearlooks2 .mceFocus .mceMed:hover {
right: 37px;
background: url(img/buttons.gif) -29px -32px;
}
.clearlooks2 .mceFocus .mceMax:hover {
right: 37px;
background: url(img/buttons.gif) -58px -32px;
}
/* Resize */
.clearlooks2 .mceResize {top:auto; left:auto; display:none; width:5px; height:5px; background:url(img/horizontal.gif) no-repeat 0 -75px}
.clearlooks2 .mceResizable .mceResize {display:block}
.clearlooks2 .mceResizable .mceMin, .clearlooks2 .mceMax {display:none}
.clearlooks2 .mceMinimizable .mceMin {display:block}
.clearlooks2 .mceMaximizable .mceMax {display:block}
.clearlooks2 .mceMaximized .mceMed {display:block}
.clearlooks2 .mceMaximized .mceMax {display:none}
.clearlooks2 a.mceResizeN {top:0; left:0; width:100%; cursor:n-resize}
.clearlooks2 a.mceResizeNW {top:0; left:0; cursor:nw-resize}
.clearlooks2 a.mceResizeNE {top:0; right:0; cursor:ne-resize}
.clearlooks2 a.mceResizeW {top:0; left:0; height:100%; cursor:w-resize;}
.clearlooks2 a.mceResizeE {top:0; right:0; height:100%; cursor:e-resize}
.clearlooks2 a.mceResizeS {bottom:0; left:0; width:100%; cursor:s-resize}
.clearlooks2 a.mceResizeSW {bottom:0; left:0; cursor:sw-resize}
.clearlooks2 a.mceResizeSE {bottom:0; right:0; cursor:se-resize}
.clearlooks2 .mceResize {
top: auto;
left: auto;
display: none;
width: 5px;
height: 5px;
background: url(img/horizontal.gif) no-repeat 0 -75px;
}
.clearlooks2 .mceResizable .mceResize {
display: block;
}
.clearlooks2 .mceResizable .mceMin,
.clearlooks2 .mceMax {
display: none;
}
.clearlooks2 .mceMinimizable .mceMin {
display: block;
}
.clearlooks2 .mceMaximizable .mceMax {
display: block;
}
.clearlooks2 .mceMaximized .mceMed {
display: block;
}
.clearlooks2 .mceMaximized .mceMax {
display: none;
}
.clearlooks2 a.mceResizeN {
top: 0;
left: 0;
width: 100%;
cursor: n-resize;
}
.clearlooks2 a.mceResizeNW {
top: 0;
left: 0;
cursor: nw-resize;
}
.clearlooks2 a.mceResizeNE {
top: 0;
right: 0;
cursor: ne-resize;
}
.clearlooks2 a.mceResizeW {
top: 0;
left: 0;
height: 100%;
cursor: w-resize;
}
.clearlooks2 a.mceResizeE {
top: 0;
right: 0;
height: 100%;
cursor: e-resize;
}
.clearlooks2 a.mceResizeS {
bottom: 0;
left: 0;
width: 100%;
cursor: s-resize;
}
.clearlooks2 a.mceResizeSW {
bottom: 0;
left: 0;
cursor: sw-resize;
}
.clearlooks2 a.mceResizeSE {
bottom: 0;
right: 0;
cursor: se-resize;
}
/* Alert/Confirm */
.clearlooks2 .mceButton {font-weight:bold; bottom:10px; width:80px; height:30px; background:url(img/button.gif); line-height:30px; vertical-align:middle; text-align:center; outline:0}
.clearlooks2 .mceMiddle .mceIcon {left:15px; top:35px; width:32px; height:32px}
.clearlooks2 .mceAlert .mceMiddle span, .clearlooks2 .mceConfirm .mceMiddle span {background:transparent;left:60px; top:35px; width:320px; height:50px; font-weight:bold; overflow:auto; white-space:normal}
.clearlooks2 a:hover {font-weight:bold;}
.clearlooks2 .mceAlert .mceMiddle, .clearlooks2 .mceConfirm .mceMiddle {background:#D6D7D5}
.clearlooks2 .mceAlert .mceOk {left:50%; top:auto; margin-left: -40px}
.clearlooks2 .mceAlert .mceIcon {background:url(img/alert.gif)}
.clearlooks2 .mceConfirm .mceOk {left:50%; top:auto; margin-left: -90px}
.clearlooks2 .mceConfirm .mceCancel {left:50%; top:auto}
.clearlooks2 .mceConfirm .mceIcon {background:url(img/confirm.gif)}
.clearlooks2 .mceButton {
font-weight: bold;
bottom: 10px;
width: 80px;
height: 30px;
background: url(img/button.gif);
line-height: 30px;
vertical-align: middle;
text-align: center;
outline: 0;
}
.clearlooks2 .mceMiddle .mceIcon {
left: 15px;
top: 35px;
width: 32px;
height: 32px;
}
.clearlooks2 .mceAlert .mceMiddle span,
.clearlooks2 .mceConfirm .mceMiddle span {
background: transparent;
left: 60px;
top: 35px;
width: 320px;
height: 50px;
font-weight: bold;
overflow: auto;
white-space: normal;
}
.clearlooks2 a:hover {
font-weight: bold;
}
.clearlooks2 .mceAlert .mceMiddle,
.clearlooks2 .mceConfirm .mceMiddle {
background: #d6d7d5;
}
.clearlooks2 .mceAlert .mceOk {
left: 50%;
top: auto;
margin-left: -40px;
}
.clearlooks2 .mceAlert .mceIcon {
background: url(img/alert.gif);
}
.clearlooks2 .mceConfirm .mceOk {
left: 50%;
top: auto;
margin-left: -90px;
}
.clearlooks2 .mceConfirm .mceCancel {
left: 50%;
top: auto;
}
.clearlooks2 .mceConfirm .mceIcon {
background: url(img/confirm.gif);
}

View File

@ -1,13 +1,7 @@
tinyMCEPopup.requireLangPack();
var defaultFonts = "" +
"Arial, Helvetica, sans-serif=Arial, Helvetica, sans-serif;" +
"Times New Roman, Times, serif=Times New Roman, Times, serif;" +
"Courier New, Courier, mono=Courier New, Courier, mono;" +
"Times New Roman, Times, serif=Times New Roman, Times, serif;" +
"Georgia, Times New Roman, Times, serif=Georgia, Times New Roman, Times, serif;" +
"Verdana, Arial, Helvetica, sans-serif=Verdana, Arial, Helvetica, sans-serif;" +
"Geneva, Arial, Helvetica, sans-serif=Geneva, Arial, Helvetica, sans-serif";
"lato";
var defaultSizes = "9;10;12;14;16;18;24;xx-small;x-small;small;medium;large;x-large;xx-large;smaller;larger";
var defaultMeasurement = "+pixels=px;points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;ems=em;exs=ex;%";

View File

@ -473,7 +473,8 @@
_createFontSizeSelect: function () {
var t = this, ed = t.editor, c, i = 0, cl = [];
c = ed.controlManager.createListBox('fontsizeselect', {title : 'advanced.font_size', onselect : function(v) {
c = ed.controlManager.createListBox('fontsizeselect', {
title: 'advanced.font_size', onselect: function (v) {
var cur = c.items[c.selectedIndex];
if (!v && cur) {
@ -509,7 +510,8 @@
}
return false; // No auto select
}});
}
});
if (c) {
each(t.settings.theme_advanced_font_sizes, function (v, k) {
@ -544,16 +546,20 @@
samp: 'advanced.samp'
}, t = this;
c = t.editor.controlManager.createListBox('formatselect', {title : 'advanced.block', onselect : function(v) {
c = t.editor.controlManager.createListBox('formatselect', {
title: 'advanced.block', onselect: function (v) {
t.editor.execCommand('FormatBlock', false, v);
return false;
}});
}
});
if (c) {
each(t.editor.getParam('theme_advanced_blockformats', t.settings.theme_advanced_blockformats, 'hash'), function (v, k) {
c.add(t.editor.translate(k != v ? k : fmts[v]), v, {'class' : 'mce_formatPreview mce_' + v, style: function() {
c.add(t.editor.translate(k != v ? k : fmts[v]), v, {
'class': 'mce_formatPreview mce_' + v, style: function () {
return getPreviewCss(t.editor, { block: v });
}});
}
});
});
}

View File

@ -1,50 +1,159 @@
body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;}
body {background:#FFF;}
body.mceForceColors {background:#FFF; color:#000;}
body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;}
h1 {font-size: 2em}
h2 {font-size: 1.5em}
h3 {font-size: 1.17em}
h4 {font-size: 1em}
h5 {font-size: .83em}
h6 {font-size: .75em}
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
a.mceItemAnchor {display:inline-block; -webkit-user-select:all; -webkit-user-modify:read-only; -moz-user-select:all; -moz-user-modify:read-only; width:11px !important; height:11px !important; background:url(img/items.gif) no-repeat center center}
span.mceItemNbsp {background: #DDD}
td.mceSelected, th.mceSelected {background-color:#3399ff !important}
img {border:0;}
table, img, hr, .mceItemAnchor {cursor:default}
table td, table th {cursor:text}
ins {border-bottom:1px solid green; text-decoration: none; color:green}
del {color:red; text-decoration:line-through}
cite {border-bottom:1px dashed blue}
acronym {border-bottom:1px dotted #CCC; cursor:help}
abbr {border-bottom:1px dashed #CCC; cursor:help}
body,
td,
pre {
color: #000;
font-size: 10px;
margin: 8px;
}
body {
background: #fff;
}
body.mceForceColors {
background: #fff;
color: #000;
}
body.mceBrowserDefaults {
background: transparent;
color: inherit;
font-size: inherit;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.17em;
}
h4 {
font-size: 1em;
}
h5 {
font-size: 0.83em;
}
h6 {
font-size: 0.75em;
}
.mceItemTable,
.mceItemTable td,
.mceItemTable th,
.mceItemTable caption,
.mceItemVisualAid {
border: 1px dashed #bbb;
}
a.mceItemAnchor {
display: inline-block;
-webkit-user-select: all;
-webkit-user-modify: read-only;
-moz-user-select: all;
-moz-user-modify: read-only;
width: 11px !important;
height: 11px !important;
background: url(img/items.gif) no-repeat center center;
}
span.mceItemNbsp {
background: #ddd;
}
td.mceSelected,
th.mceSelected {
background-color: #3399ff !important;
}
img {
border: 0;
}
table,
img,
hr,
.mceItemAnchor {
cursor: default;
}
table td,
table th {
cursor: text;
}
ins {
border-bottom: 1px solid green;
text-decoration: none;
color: green;
}
del {
color: red;
text-decoration: line-through;
}
cite {
border-bottom: 1px dashed blue;
}
acronym {
border-bottom: 1px dotted #ccc;
cursor: help;
}
abbr {
border-bottom: 1px dashed #ccc;
cursor: help;
}
/* IE */
* html body {
scrollbar-3dlight-color:#F0F0EE;
scrollbar-3dlight-color: #f0f0ee;
scrollbar-arrow-color: #676662;
scrollbar-base-color:#F0F0EE;
scrollbar-darkshadow-color:#DDD;
scrollbar-face-color:#E0E0DD;
scrollbar-highlight-color:#F0F0EE;
scrollbar-shadow-color:#F0F0EE;
scrollbar-track-color:#F5F5F5;
scrollbar-base-color: #f0f0ee;
scrollbar-darkshadow-color: #ddd;
scrollbar-face-color: #e0e0dd;
scrollbar-highlight-color: #f0f0ee;
scrollbar-shadow-color: #f0f0ee;
scrollbar-track-color: #f5f5f5;
}
img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
font[face=mceinline] {font-family:inherit !important}
*[contentEditable]:focus {outline:0}
img:-moz-broken {
-moz-force-broken-image-icon: 1;
width: 24px;
height: 24px;
}
.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc}
.mceItemShockWave {background-image:url(../../img/shockwave.gif)}
.mceItemFlash {background-image:url(../../img/flash.gif)}
.mceItemQuickTime {background-image:url(../../img/quicktime.gif)}
.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)}
.mceItemRealMedia {background-image:url(../../img/realmedia.gif)}
.mceItemVideo {background-image:url(../../img/video.gif)}
.mceItemAudio {background-image:url(../../img/video.gif)}
.mceItemEmbeddedAudio {background-image:url(../../img/video.gif)}
.mceItemIframe {background-image:url(../../img/iframe.gif)}
.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;}
*[contentEditable]:focus {
outline: 0;
}
.mceItemMedia {
border: 1px dotted #cc0000;
background-position: center;
background-repeat: no-repeat;
background-color: #ffffcc;
}
.mceItemShockWave {
background-image: url(../../img/shockwave.gif);
}
.mceItemFlash {
background-image: url(../../img/flash.gif);
}
.mceItemQuickTime {
background-image: url(../../img/quicktime.gif);
}
.mceItemWindowsMedia {
background-image: url(../../img/windowsmedia.gif);
}
.mceItemRealMedia {
background-image: url(../../img/realmedia.gif);
}
.mceItemVideo {
background-image: url(../../img/video.gif);
}
.mceItemAudio {
background-image: url(../../img/video.gif);
}
.mceItemEmbeddedAudio {
background-image: url(../../img/video.gif);
}
.mceItemIframe {
background-image: url(../../img/iframe.gif);
}
.mcePageBreak {
display: block;
border: 0;
width: 100%;
height: 12px;
border-top: 1px dotted #ccc;
margin-top: 15px;
background: #fff url(../../img/pagebreak.gif) no-repeat center top;
}

View File

@ -1,118 +1,383 @@
/* Generic */
body {
font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px;
scrollbar-3dlight-color:#F0F0EE;
font-size: 11px;
scrollbar-3dlight-color: #f0f0ee;
scrollbar-arrow-color: #676662;
scrollbar-base-color:#F0F0EE;
scrollbar-darkshadow-color:#DDDDDD;
scrollbar-face-color:#E0E0DD;
scrollbar-highlight-color:#F0F0EE;
scrollbar-shadow-color:#F0F0EE;
scrollbar-track-color:#F5F5F5;
background:#F0F0EE;
scrollbar-base-color: #f0f0ee;
scrollbar-darkshadow-color: #dddddd;
scrollbar-face-color: #e0e0dd;
scrollbar-highlight-color: #f0f0ee;
scrollbar-shadow-color: #f0f0ee;
scrollbar-track-color: #f5f5f5;
background: #f0f0ee;
padding: 0;
margin: 8px 8px 0 8px;
}
html {background:#F0F0EE;}
td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
textarea {resize:none;outline:none;}
a:link, a:visited {color:black;}
a:hover {color:#2B6FB6;}
.nowrap {white-space: nowrap}
html {
background: #f0f0ee;
}
td {
font-size: 10px;
}
textarea {
resize: none;
outline: none;
}
a:link,
a:visited {
color: black;
}
a:hover {
color: #2b6fb6;
}
.nowrap {
white-space: nowrap;
}
/* Forms */
fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;}
legend {color:#2B6FB6; font-weight:bold;}
label.msg {display:none;}
label.invalid {color:#EE0000; display:inline;}
input.invalid {border:1px solid #EE0000;}
input {background:#FFF; border:1px solid #CCC;}
input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
input, select, textarea {border:1px solid #808080;}
input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
.input_noborder {border:0;}
fieldset {
margin: 0;
padding: 4px;
border: 1px solid #919b9c;
font-size: 10px;
}
legend {
color: #2b6fb6;
font-weight: bold;
}
label.msg {
display: none;
}
label.invalid {
color: #ee0000;
display: inline;
}
input.invalid {
border: 1px solid #ee0000;
}
input {
background: #fff;
border: 1px solid #ccc;
}
input,
select,
textarea {
font-size: 10px;
}
input,
select,
textarea {
border: 1px solid #808080;
}
input.radio {
border: 1px none #000000;
background: transparent;
vertical-align: middle;
}
input.checkbox {
border: 1px none #000000;
background: transparent;
vertical-align: middle;
}
.input_noborder {
border: 0;
}
/* Buttons */
#insert, #cancel, input.button, .updateButton {
border:0; margin:0; padding:0;
#insert,
#cancel,
input.button,
.updateButton {
border: 0;
margin: 0;
padding: 0;
font-weight: bold;
width:94px; height:26px;
width: 94px;
height: 26px;
background: url(img/buttons.png) 0 -26px;
cursor: pointer;
padding-bottom: 2px;
float: left;
}
#insert {background:url(img/buttons.png) 0 -52px}
#cancel {background:url(img/buttons.png) 0 0; float:right}
#insert {
background: url(img/buttons.png) 0 -52px;
}
#cancel {
background: url(img/buttons.png) 0 0;
float: right;
}
/* Browse */
a.pickcolor, a.browse {text-decoration:none}
a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;}
.mceOldBoxModel a.browse span {width:22px; height:20px;}
a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;}
.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
a.pickcolor:hover span {background-color:#B2BBD0;}
a.pickcolor:hover span.disabled {}
a.pickcolor,
a.browse {
text-decoration: none;
}
a.browse span {
display: block;
width: 20px;
height: 18px;
background: url(../../img/icons.gif) -860px 0;
border: 1px solid #fff;
margin-left: 1px;
}
.mceOldBoxModel a.browse span {
width: 22px;
height: 20px;
}
a.browse:hover span {
border: 1px solid #0a246a;
background-color: #b2bbd0;
}
a.browse span.disabled {
border: 1px solid white;
opacity: 0.3;
-ms-filter: "alpha(opacity=30)";
filter: alpha(opacity=30);
}
a.browse:hover span.disabled {
border: 1px solid white;
background-color: transparent;
}
a.pickcolor span {
display: block;
width: 20px;
height: 16px;
background: url(../../img/icons.gif) -840px 0;
margin-left: 2px;
}
.mceOldBoxModel a.pickcolor span {
width: 21px;
height: 17px;
}
a.pickcolor:hover span {
background-color: #b2bbd0;
}
a.pickcolor:hover span.disabled {
}
/* Charmap */
table.charmap {border:1px solid #AAA; text-align:center}
td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
#charmap a {display:block; color:#000; text-decoration:none; border:0}
#charmap a:hover {background:#CCC;color:#2B6FB6}
#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
table.charmap {
border: 1px solid #aaa;
text-align: center;
}
td.charmap,
#charmap a {
width: 18px;
height: 18px;
color: #000;
border: 1px solid #aaa;
text-align: center;
font-size: 12px;
vertical-align: middle;
line-height: 18px;
}
#charmap a {
display: block;
color: #000;
text-decoration: none;
border: 0;
}
#charmap a:hover {
background: #ccc;
color: #2b6fb6;
}
#charmap #codeN {
font-size: 10px;
text-align: center;
}
#charmap #codeV {
font-size: 40px;
height: 80px;
border: 1px solid #aaa;
text-align: center;
}
/* Source */
.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
.mceActionPanel {margin-top:5px;}
.wordWrapCode {
vertical-align: middle;
border: 1px none #000000;
background: transparent;
}
.mceActionPanel {
margin-top: 5px;
}
/* Tabs classes */
.tabs {width:100%; height:18px; line-height:normal; background:url(img/tabs.gif) repeat-x 0 -72px;}
.tabs ul {margin:0; padding:0; list-style:none;}
.tabs li {float:left; background:url(img/tabs.gif) no-repeat 0 0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
.tabs li.current {background:url(img/tabs.gif) no-repeat 0 -18px; margin-right:2px;}
.tabs span {float:left; display:block; background:url(img/tabs.gif) no-repeat right -36px; padding:0px 10px 0 0;}
.tabs .current span {background:url(img/tabs.gif) no-repeat right -54px;}
.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
.tabs {
width: 100%;
height: 18px;
line-height: normal;
background: url(img/tabs.gif) repeat-x 0 -72px;
}
.tabs ul {
margin: 0;
padding: 0;
list-style: none;
}
.tabs li {
float: left;
background: url(img/tabs.gif) no-repeat 0 0;
margin: 0 2px 0 0;
padding: 0 0 0 10px;
line-height: 17px;
height: 18px;
display: block;
}
.tabs li.current {
background: url(img/tabs.gif) no-repeat 0 -18px;
margin-right: 2px;
}
.tabs span {
float: left;
display: block;
background: url(img/tabs.gif) no-repeat right -36px;
padding: 0px 10px 0 0;
}
.tabs .current span {
background: url(img/tabs.gif) no-repeat right -54px;
}
.tabs a {
text-decoration: none;
font-size: 10px;
}
.tabs a:link,
.tabs a:visited,
.tabs a:hover {
color: black;
}
/* Panels */
.panel_wrapper div.panel {display:none;}
.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
.panel_wrapper div.panel {
display: none;
}
.panel_wrapper div.current {
display: block;
width: 100%;
height: 300px;
overflow: visible;
}
.panel_wrapper {
border: 1px solid #919b9c;
border-top: 0px;
padding: 10px;
padding-top: 5px;
clear: both;
background: white;
}
/* Columns */
.column {float:left;}
.properties {width:100%;}
.properties .column1 {}
.properties .column2 {text-align:left;}
.column {
float: left;
}
.properties {
width: 100%;
}
.properties .column1 {
}
.properties .column2 {
text-align: left;
}
/* Titles */
h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
h3 {font-size:14px;}
.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
h1,
h2,
h3,
h4 {
color: #2b6fb6;
margin: 0;
padding: 0;
padding-top: 5px;
}
h3 {
font-size: 14px;
}
.title {
font-size: 12px;
font-weight: bold;
color: #2b6fb6;
}
/* Dialog specific */
#link .panel_wrapper, #link div.current {height:125px;}
#image .panel_wrapper, #image div.current {height:200px;}
#plugintable thead {font-weight:bold; background:#DDD;}
#plugintable, #about #plugintable td {border:1px solid #919B9C;}
#plugintable {width:96%; margin-top:10px;}
#pluginscontainer {height:290px; overflow:auto;}
#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px}
#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline}
#colorpicker #preview_wrapper { text-align:center; padding-top:4px; white-space: nowrap}
#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
#colorpicker #light div {overflow:hidden;}
#colorpicker .panel_wrapper div.current {height:175px;}
#colorpicker #namedcolors {width:150px;}
#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
#colorpicker #colornamecontainer {margin-top:5px;}
#colorpicker #picker_panel fieldset {margin:auto;width:325px;}
#link .panel_wrapper,
#link div.current {
height: 125px;
}
#image .panel_wrapper,
#image div.current {
height: 200px;
}
#plugintable thead {
font-weight: bold;
background: #ddd;
}
#plugintable,
#about #plugintable td {
border: 1px solid #919b9c;
}
#plugintable {
width: 96%;
margin-top: 10px;
}
#pluginscontainer {
height: 290px;
overflow: auto;
}
#colorpicker #preview {
display: inline-block;
padding-left: 40px;
height: 14px;
border: 1px solid black;
margin-left: 5px;
margin-right: 5px;
}
#colorpicker #previewblock {
position: relative;
top: -3px;
padding-left: 5px;
padding-top: 0px;
display: inline;
}
#colorpicker #preview_wrapper {
text-align: center;
padding-top: 4px;
white-space: nowrap;
}
#colorpicker #colors {
float: left;
border: 1px solid gray;
cursor: crosshair;
}
#colorpicker #light {
border: 1px solid gray;
margin-left: 5px;
float: left;
width: 15px;
height: 150px;
cursor: crosshair;
}
#colorpicker #light div {
overflow: hidden;
}
#colorpicker .panel_wrapper div.current {
height: 175px;
}
#colorpicker #namedcolors {
width: 150px;
}
#colorpicker #namedcolors a {
display: block;
float: left;
width: 10px;
height: 10px;
margin: 1px 1px 0 0;
overflow: hidden;
}
#colorpicker #colornamecontainer {
margin-top: 5px;
}
#colorpicker #picker_panel fieldset {
margin: auto;
width: 325px;
}

View File

@ -106,7 +106,6 @@
}
.defaultSkin .mceStatusbar {
background: #f0f0ee;
font-family: "MS Sans Serif", sans-serif, Verdana, Arial;
font-size: 9pt;
line-height: 16px;
overflow: visible;
@ -185,7 +184,6 @@
display: block;
font-size: 10px;
padding: 4px 6px 0 22px;
font-family: Tahoma, Verdana, Arial, Helvetica;
}
.defaultSkin .mceButtonDisabled .mceButtonLabel {
color: #888;
@ -212,7 +210,6 @@
border: 1px solid #ccc;
border-right: 0;
background: #fff;
font-family: Tahoma, Verdana, Arial, Helvetica;
font-size: 11px;
height: 20px;
line-height: 20px;
@ -254,7 +251,6 @@
height: 22px;
}
.defaultSkin select.mceNativeListBox {
font-family: "MS Sans Serif", sans-serif, Verdana, Arial;
font-size: 7pt;
background: #f0f0ee;
border: 1px solid gray;
@ -338,7 +334,6 @@
width: 100%;
height: auto;
text-align: center;
font-family: Tahoma, Verdana, Arial, Helvetica;
font-size: 11px;
line-height: 20px;
border: 1px solid #fff;
@ -396,7 +391,6 @@
.defaultSkin .mceMenu .mceText {
position: relative;
display: block;
font-family: Tahoma, Verdana, Arial, Helvetica;
color: #000;
cursor: default;
margin: 0;
@ -407,9 +401,6 @@
.defaultSkin .mceMenu .mcePreview {
font-size: 11px;
}
.defaultSkin .mceMenu pre.mceText {
font-family: Monospace;
}
.defaultSkin .mceMenu .mceIcon {
position: absolute;
top: 0;
@ -494,9 +485,6 @@
.defaultSkin .mce_address span.mceText {
font-style: italic;
}
.defaultSkin .mce_pre span.mceText {
font-family: monospace;
}
.defaultSkin .mce_h1 span.mceText {
font-weight: bolder;
font-size: 2em;

View File

@ -1,106 +1,366 @@
/* Generic */
body {
font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px;
background:#F0F0EE;
font-size: 11px;
background: #f0f0ee;
color: black;
padding: 0;
margin: 8px 8px 0 8px;
}
html {background:#F0F0EE; color:#000;}
td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
textarea {resize:none;outline:none;}
a:link, a:visited {color:black;background-color:transparent;}
a:hover {color:#2B6FB6;background-color:transparent;}
.nowrap {white-space: nowrap}
html {
background: #f0f0ee;
color: #000;
}
td {
font-size: 10px;
}
textarea {
resize: none;
outline: none;
}
a:link,
a:visited {
color: black;
background-color: transparent;
}
a:hover {
color: #2b6fb6;
background-color: transparent;
}
.nowrap {
white-space: nowrap;
}
/* Forms */
fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;}
legend {color:#2B6FB6; font-weight:bold;}
label.msg {display:none;}
label.invalid {color:#EE0000; display:inline;background-color:transparent;}
input.invalid {border:1px solid #EE0000;background-color:transparent;}
input {background:#FFF; border:1px solid #CCC;color:black;}
input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
input, select, textarea {border:1px solid #808080;}
input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
.input_noborder {border:0;}
fieldset {
margin: 0;
padding: 4px;
border: 1px solid #919b9c;
font-size: 10px;
}
legend {
color: #2b6fb6;
font-weight: bold;
}
label.msg {
display: none;
}
label.invalid {
color: #ee0000;
display: inline;
background-color: transparent;
}
input.invalid {
border: 1px solid #ee0000;
background-color: transparent;
}
input {
background: #fff;
border: 1px solid #ccc;
color: black;
}
input,
select,
textarea {
font-size: 10px;
}
input,
select,
textarea {
border: 1px solid #808080;
}
input.radio {
border: 1px none #000000;
background: transparent;
vertical-align: middle;
}
input.checkbox {
border: 1px none #000000;
background: transparent;
vertical-align: middle;
}
.input_noborder {
border: 0;
}
/* Buttons */
#insert, #cancel, input.button, .updateButton {
#insert,
#cancel,
input.button,
.updateButton {
font-weight: bold;
width:94px; height:23px;
width: 94px;
height: 23px;
cursor: pointer;
padding-bottom: 2px;
float: left;
}
#cancel {float:right}
#cancel {
float: right;
}
/* Browse */
a.pickcolor, a.browse {text-decoration:none}
a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;}
.mceOldBoxModel a.browse span {width:22px; height:20px;}
a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;}
.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
a.pickcolor:hover span {background-color:#B2BBD0;}
a.pickcolor:hover span.disabled {}
a.pickcolor,
a.browse {
text-decoration: none;
}
a.browse span {
display: block;
width: 20px;
height: 18px;
background: url(../../img/icons.gif) -860px 0;
border: 1px solid #fff;
margin-left: 1px;
}
.mceOldBoxModel a.browse span {
width: 22px;
height: 20px;
}
a.browse:hover span {
border: 1px solid #0a246a;
background-color: #b2bbd0;
}
a.browse span.disabled {
border: 1px solid white;
opacity: 0.3;
-ms-filter: "alpha(opacity=30)";
filter: alpha(opacity=30);
}
a.browse:hover span.disabled {
border: 1px solid white;
background-color: transparent;
}
a.pickcolor span {
display: block;
width: 20px;
height: 16px;
background: url(../../img/icons.gif) -840px 0;
margin-left: 2px;
}
.mceOldBoxModel a.pickcolor span {
width: 21px;
height: 17px;
}
a.pickcolor:hover span {
background-color: #b2bbd0;
}
a.pickcolor:hover span.disabled {
}
/* Charmap */
table.charmap {border:1px solid #AAA; text-align:center}
td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
#charmap a {display:block; color:#000; text-decoration:none; border:0}
#charmap a:hover {background:#CCC;color:#2B6FB6}
#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
table.charmap {
border: 1px solid #aaa;
text-align: center;
}
td.charmap,
#charmap a {
width: 18px;
height: 18px;
color: #000;
border: 1px solid #aaa;
text-align: center;
font-size: 12px;
vertical-align: middle;
line-height: 18px;
}
#charmap a {
display: block;
color: #000;
text-decoration: none;
border: 0;
}
#charmap a:hover {
background: #ccc;
color: #2b6fb6;
}
#charmap #codeN {
font-size: 10px;
text-align: center;
}
#charmap #codeV {
font-size: 40px;
height: 80px;
border: 1px solid #aaa;
text-align: center;
}
/* Source */
.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
.mceActionPanel {margin-top:5px;}
.wordWrapCode {
vertical-align: middle;
border: 1px none #000000;
background: transparent;
}
.mceActionPanel {
margin-top: 5px;
}
/* Tabs classes */
.tabs {width:100%; height:18px; line-height:normal;}
.tabs ul {margin:0; padding:0; list-style:none;}
.tabs li {float:left; border: 1px solid black; border-bottom:0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block; cursor:pointer;}
.tabs li.current {font-weight: bold; margin-right:2px;}
.tabs span {float:left; display:block; padding:0px 10px 0 0;}
.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
.tabs {
width: 100%;
height: 18px;
line-height: normal;
}
.tabs ul {
margin: 0;
padding: 0;
list-style: none;
}
.tabs li {
float: left;
border: 1px solid black;
border-bottom: 0;
margin: 0 2px 0 0;
padding: 0 0 0 10px;
line-height: 17px;
height: 18px;
display: block;
cursor: pointer;
}
.tabs li.current {
font-weight: bold;
margin-right: 2px;
}
.tabs span {
float: left;
display: block;
padding: 0px 10px 0 0;
}
.tabs a {
text-decoration: none;
font-size: 10px;
}
.tabs a:link,
.tabs a:visited,
.tabs a:hover {
color: black;
}
/* Panels */
.panel_wrapper div.panel {display:none;}
.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
.panel_wrapper {border:1px solid #919B9C; padding:10px; padding-top:5px; clear:both; background:white;}
.panel_wrapper div.panel {
display: none;
}
.panel_wrapper div.current {
display: block;
width: 100%;
height: 300px;
overflow: visible;
}
.panel_wrapper {
border: 1px solid #919b9c;
padding: 10px;
padding-top: 5px;
clear: both;
background: white;
}
/* Columns */
.column {float:left;}
.properties {width:100%;}
.properties .column1 {}
.properties .column2 {text-align:left;}
.column {
float: left;
}
.properties {
width: 100%;
}
.properties .column1 {
}
.properties .column2 {
text-align: left;
}
/* Titles */
h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
h3 {font-size:14px;}
.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
h1,
h2,
h3,
h4 {
color: #2b6fb6;
margin: 0;
padding: 0;
padding-top: 5px;
}
h3 {
font-size: 14px;
}
.title {
font-size: 12px;
font-weight: bold;
color: #2b6fb6;
}
/* Dialog specific */
#link .panel_wrapper, #link div.current {height:125px;}
#image .panel_wrapper, #image div.current {height:200px;}
#plugintable thead {font-weight:bold; background:#DDD;}
#plugintable, #about #plugintable td {border:1px solid #919B9C;}
#plugintable {width:96%; margin-top:10px;}
#pluginscontainer {height:290px; overflow:auto;}
#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px}
#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline}
#colorpicker #preview_wrapper { text-align:center; padding-top:4px; white-space: nowrap}
#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
#colorpicker #light div {overflow:hidden;}
#colorpicker .panel_wrapper div.current {height:175px;}
#colorpicker #namedcolors {width:150px;}
#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
#colorpicker #colornamecontainer {margin-top:5px;}
#link .panel_wrapper,
#link div.current {
height: 125px;
}
#image .panel_wrapper,
#image div.current {
height: 200px;
}
#plugintable thead {
font-weight: bold;
background: #ddd;
}
#plugintable,
#about #plugintable td {
border: 1px solid #919b9c;
}
#plugintable {
width: 96%;
margin-top: 10px;
}
#pluginscontainer {
height: 290px;
overflow: auto;
}
#colorpicker #preview {
display: inline-block;
padding-left: 40px;
height: 14px;
border: 1px solid black;
margin-left: 5px;
margin-right: 5px;
}
#colorpicker #previewblock {
position: relative;
top: -3px;
padding-left: 5px;
padding-top: 0px;
display: inline;
}
#colorpicker #preview_wrapper {
text-align: center;
padding-top: 4px;
white-space: nowrap;
}
#colorpicker #colors {
float: left;
border: 1px solid gray;
cursor: crosshair;
}
#colorpicker #light {
border: 1px solid gray;
margin-left: 5px;
float: left;
width: 15px;
height: 150px;
cursor: crosshair;
}
#colorpicker #light div {
overflow: hidden;
}
#colorpicker .panel_wrapper div.current {
height: 175px;
}
#colorpicker #namedcolors {
width: 150px;
}
#colorpicker #namedcolors a {
display: block;
float: left;
width: 10px;
height: 10px;
margin: 1px 1px 0 0;
overflow: hidden;
}
#colorpicker #colornamecontainer {
margin-top: 5px;
}

View File

@ -1,106 +1,439 @@
/* Reset */
.highcontrastSkin table, .highcontrastSkin tbody, .highcontrastSkin a, .highcontrastSkin img, .highcontrastSkin tr, .highcontrastSkin div, .highcontrastSkin td, .highcontrastSkin iframe, .highcontrastSkin span, .highcontrastSkin *, .highcontrastSkin .mceText {border:0; margin:0; padding:0; vertical-align:baseline; border-collapse:separate;}
.highcontrastSkin a:hover, .highcontrastSkin a:link, .highcontrastSkin a:visited, .highcontrastSkin a:active {text-decoration:none; font-weight:normal; cursor:default;}
.highcontrastSkin table td {vertical-align:middle}
.highcontrastSkin table,
.highcontrastSkin tbody,
.highcontrastSkin a,
.highcontrastSkin img,
.highcontrastSkin tr,
.highcontrastSkin div,
.highcontrastSkin td,
.highcontrastSkin iframe,
.highcontrastSkin span,
.highcontrastSkin *,
.highcontrastSkin .mceText {
border: 0;
margin: 0;
padding: 0;
vertical-align: baseline;
border-collapse: separate;
}
.highcontrastSkin a:hover,
.highcontrastSkin a:link,
.highcontrastSkin a:visited,
.highcontrastSkin a:active {
text-decoration: none;
font-weight: normal;
cursor: default;
}
.highcontrastSkin table td {
vertical-align: middle;
}
.highcontrastSkin .mceIconOnly {display: block !important;}
.highcontrastSkin .mceIconOnly {
display: block !important;
}
/* External */
.highcontrastSkin .mceExternalToolbar {position:absolute; border:1px solid; border-bottom:0; display:none; background-color: white;}
.highcontrastSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
.highcontrastSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px;}
.highcontrastSkin .mceExternalToolbar {
position: absolute;
border: 1px solid;
border-bottom: 0;
display: none;
background-color: white;
}
.highcontrastSkin .mceExternalToolbar td.mceToolbar {
padding-right: 13px;
}
.highcontrastSkin .mceExternalClose {
position: absolute;
top: 3px;
right: 3px;
width: 7px;
height: 7px;
}
/* Layout */
.highcontrastSkin table.mceLayout {border: 1px solid;}
.highcontrastSkin .mceIframeContainer {border-top:1px solid; border-bottom:1px solid}
.highcontrastSkin .mceStatusbar a:hover {text-decoration:underline}
.highcontrastSkin .mceStatusbar {display:block; line-height:1.5em; overflow:visible;}
.highcontrastSkin .mceStatusbar div {float:left}
.highcontrastSkin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize; outline:0}
.highcontrastSkin table.mceLayout {
border: 1px solid;
}
.highcontrastSkin .mceIframeContainer {
border-top: 1px solid;
border-bottom: 1px solid;
}
.highcontrastSkin .mceStatusbar a:hover {
text-decoration: underline;
}
.highcontrastSkin .mceStatusbar {
display: block;
line-height: 1.5em;
overflow: visible;
}
.highcontrastSkin .mceStatusbar div {
float: left;
}
.highcontrastSkin .mceStatusbar a.mceResize {
display: block;
float: right;
width: 20px;
height: 20px;
cursor: se-resize;
outline: 0;
}
.highcontrastSkin .mceToolbar td { display: inline-block; float: left;}
.highcontrastSkin .mceToolbar tr { display: block;}
.highcontrastSkin .mceToolbar table { display: block; }
.highcontrastSkin .mceToolbar td {
display: inline-block;
float: left;
}
.highcontrastSkin .mceToolbar tr {
display: block;
}
.highcontrastSkin .mceToolbar table {
display: block;
}
/* Button */
.highcontrastSkin .mceButton { display:block; margin: 2px; padding: 5px 10px;border: 1px solid; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -ms-border-radius: 3px; height: 2em;}
.highcontrastSkin .mceButton .mceVoiceLabel { height: 100%; vertical-align: center; line-height: 2em}
.highcontrastSkin .mceButtonDisabled .mceVoiceLabel { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);}
.highcontrastSkin .mceButtonActive, .highcontrastSkin .mceButton:focus, .highcontrastSkin .mceButton:active { border: 5px solid; padding: 1px 6px;-webkit-focus-ring-color:none;outline:none;}
.highcontrastSkin .mceButton {
display: block;
margin: 2px;
padding: 5px 10px;
border: 1px solid;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-ms-border-radius: 3px;
height: 2em;
}
.highcontrastSkin .mceButton .mceVoiceLabel {
height: 100%;
vertical-align: center;
line-height: 2em;
}
.highcontrastSkin .mceButtonDisabled .mceVoiceLabel {
opacity: 0.6;
-ms-filter: "alpha(opacity=60)";
filter: alpha(opacity=60);
}
.highcontrastSkin .mceButtonActive,
.highcontrastSkin .mceButton:focus,
.highcontrastSkin .mceButton:active {
border: 5px solid;
padding: 1px 6px;
-webkit-focus-ring-color: none;
outline: none;
}
/* Separator */
.highcontrastSkin .mceSeparator {display:block; width:16px; height:26px;}
.highcontrastSkin .mceSeparator {
display: block;
width: 16px;
height: 26px;
}
/* ListBox */
.highcontrastSkin .mceListBox { display: block; margin:2px;-webkit-focus-ring-color:none;outline:none;}
.highcontrastSkin .mceListBox .mceText {padding: 5px 6px; line-height: 2em; width: 15ex; overflow: hidden;}
.highcontrastSkin .mceListBoxDisabled .mceText { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);}
.highcontrastSkin .mceListBox a.mceText { padding: 5px 10px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;}
.highcontrastSkin .mceListBox a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-left: 0; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;}
.highcontrastSkin .mceListBox:focus a.mceText, .highcontrastSkin .mceListBox:active a.mceText { border-width: 5px; padding: 1px 10px 1px 6px;}
.highcontrastSkin .mceListBox:focus a.mceOpen, .highcontrastSkin .mceListBox:active a.mceOpen { border-width: 5px; padding: 1px 0px 1px 4px;}
.highcontrastSkin .mceListBox {
display: block;
margin: 2px;
-webkit-focus-ring-color: none;
outline: none;
}
.highcontrastSkin .mceListBox .mceText {
padding: 5px 6px;
line-height: 2em;
width: 15ex;
overflow: hidden;
}
.highcontrastSkin .mceListBoxDisabled .mceText {
opacity: 0.6;
-ms-filter: "alpha(opacity=60)";
filter: alpha(opacity=60);
}
.highcontrastSkin .mceListBox a.mceText {
padding: 5px 10px;
display: block;
height: 2em;
line-height: 2em;
border: 1px solid;
border-right: 0;
border-radius: 3px 0px 0px 3px;
-moz-border-radius: 3px 0px 0px 3px;
-webkit-border-radius: 3px 0px 0px 3px;
-ms-border-radius: 3px 0px 0px 3px;
}
.highcontrastSkin .mceListBox a.mceOpen {
padding: 5px 4px;
display: block;
height: 2em;
line-height: 2em;
border: 1px solid;
border-left: 0;
border-radius: 0px 3px 3px 0px;
-moz-border-radius: 0px 3px 3px 0px;
-webkit-border-radius: 0px 3px 3px 0px;
-ms-border-radius: 0px 3px 3px 0px;
}
.highcontrastSkin .mceListBox:focus a.mceText,
.highcontrastSkin .mceListBox:active a.mceText {
border-width: 5px;
padding: 1px 10px 1px 6px;
}
.highcontrastSkin .mceListBox:focus a.mceOpen,
.highcontrastSkin .mceListBox:active a.mceOpen {
border-width: 5px;
padding: 1px 0px 1px 4px;
}
.highcontrastSkin .mceListBoxMenu {overflow-y:auto}
.highcontrastSkin .mceListBoxMenu {
overflow-y: auto;
}
/* SplitButton */
.highcontrastSkin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
.highcontrastSkin .mceSplitButtonDisabled .mceAction {
opacity: 0.3;
-ms-filter: "alpha(opacity=30)";
filter: alpha(opacity=30);
}
.highcontrastSkin .mceSplitButton { border-collapse: collapse; margin: 2px; height: 2em; line-height: 2em;-webkit-focus-ring-color:none;outline:none;}
.highcontrastSkin .mceSplitButton td { display: table-cell; float: none; margin: 0; padding: 0; height: 2em;}
.highcontrastSkin .mceSplitButton tr { display: table-row; }
.highcontrastSkin table.mceSplitButton { display: table; }
.highcontrastSkin .mceSplitButton a.mceAction { padding: 5px 10px; display: block; height: 2em; line-height: 2em; overflow: hidden; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;}
.highcontrastSkin .mceSplitButton a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;}
.highcontrastSkin .mceSplitButton .mceVoiceLabel { height: 2em; vertical-align: center; line-height: 2em; }
.highcontrastSkin .mceSplitButton:focus a.mceAction, .highcontrastSkin .mceSplitButton:active a.mceAction { border-width: 5px; border-right-width: 1px; padding: 1px 10px 1px 6px;-webkit-focus-ring-color:none;outline:none;}
.highcontrastSkin .mceSplitButton:focus a.mceOpen, .highcontrastSkin .mceSplitButton:active a.mceOpen { border-width: 5px; border-left-width: 1px; padding: 1px 0px 1px 4px;-webkit-focus-ring-color:none;outline:none;}
.highcontrastSkin .mceSplitButton {
border-collapse: collapse;
margin: 2px;
height: 2em;
line-height: 2em;
-webkit-focus-ring-color: none;
outline: none;
}
.highcontrastSkin .mceSplitButton td {
display: table-cell;
float: none;
margin: 0;
padding: 0;
height: 2em;
}
.highcontrastSkin .mceSplitButton tr {
display: table-row;
}
.highcontrastSkin table.mceSplitButton {
display: table;
}
.highcontrastSkin .mceSplitButton a.mceAction {
padding: 5px 10px;
display: block;
height: 2em;
line-height: 2em;
overflow: hidden;
border: 1px solid;
border-right: 0;
border-radius: 3px 0px 0px 3px;
-moz-border-radius: 3px 0px 0px 3px;
-webkit-border-radius: 3px 0px 0px 3px;
-ms-border-radius: 3px 0px 0px 3px;
}
.highcontrastSkin .mceSplitButton a.mceOpen {
padding: 5px 4px;
display: block;
height: 2em;
line-height: 2em;
border: 1px solid;
border-radius: 0px 3px 3px 0px;
-moz-border-radius: 0px 3px 3px 0px;
-webkit-border-radius: 0px 3px 3px 0px;
-ms-border-radius: 0px 3px 3px 0px;
}
.highcontrastSkin .mceSplitButton .mceVoiceLabel {
height: 2em;
vertical-align: center;
line-height: 2em;
}
.highcontrastSkin .mceSplitButton:focus a.mceAction,
.highcontrastSkin .mceSplitButton:active a.mceAction {
border-width: 5px;
border-right-width: 1px;
padding: 1px 10px 1px 6px;
-webkit-focus-ring-color: none;
outline: none;
}
.highcontrastSkin .mceSplitButton:focus a.mceOpen,
.highcontrastSkin .mceSplitButton:active a.mceOpen {
border-width: 5px;
border-left-width: 1px;
padding: 1px 0px 1px 4px;
-webkit-focus-ring-color: none;
outline: none;
}
/* Menu */
.highcontrastSkin .mceNoIcons span.mceIcon {width:0;}
.highcontrastSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid; direction:ltr}
.highcontrastSkin .mceMenu table {background:white; color: black}
.highcontrastSkin .mceNoIcons a .mceText {padding-left:10px}
.highcontrastSkin .mceMenu a, .highcontrastSkin .mceMenu span, .highcontrastSkin .mceMenu {display:block;background:white; color: black}
.highcontrastSkin .mceMenu td {height:2em}
.highcontrastSkin .mceMenu a {position:relative;padding:3px 0 4px 0; display: block;}
.highcontrastSkin .mceMenu .mceText {position:relative; display:block; cursor:default; margin:0; padding:0 25px 0 25px;}
.highcontrastSkin .mceMenu pre.mceText {font-family:Monospace}
.highcontrastSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:26px;}
.highcontrastSkin td.mceMenuItemSeparator {border-top:1px solid; height:1px}
.highcontrastSkin .mceMenuItemTitle a {border:0; border-bottom:1px solid}
.highcontrastSkin .mceMenuItemTitle span.mceText {font-weight:bold; padding-left:4px}
.highcontrastSkin .mceNoIcons .mceMenuItemSelected span.mceText:before {content: "\2713\A0";}
.highcontrastSkin .mceMenu span.mceMenuLine {display:none}
.highcontrastSkin .mceMenuItemSub a .mceText:after {content: "\A0\25B8"}
.highcontrastSkin .mceMenuItem td, .highcontrastSkin .mceMenuItem th {line-height: normal}
.highcontrastSkin .mceNoIcons span.mceIcon {
width: 0;
}
.highcontrastSkin .mceMenu {
position: absolute;
left: 0;
top: 0;
z-index: 1000;
border: 1px solid;
direction: ltr;
}
.highcontrastSkin .mceMenu table {
background: white;
color: black;
}
.highcontrastSkin .mceNoIcons a .mceText {
padding-left: 10px;
}
.highcontrastSkin .mceMenu a,
.highcontrastSkin .mceMenu span,
.highcontrastSkin .mceMenu {
display: block;
background: white;
color: black;
}
.highcontrastSkin .mceMenu td {
height: 2em;
}
.highcontrastSkin .mceMenu a {
position: relative;
padding: 3px 0 4px 0;
display: block;
}
.highcontrastSkin .mceMenu .mceText {
position: relative;
display: block;
cursor: default;
margin: 0;
padding: 0 25px 0 25px;
}
.highcontrastSkin .mceMenu .mceIcon {
position: absolute;
top: 0;
left: 0;
width: 26px;
}
.highcontrastSkin td.mceMenuItemSeparator {
border-top: 1px solid;
height: 1px;
}
.highcontrastSkin .mceMenuItemTitle a {
border: 0;
border-bottom: 1px solid;
}
.highcontrastSkin .mceMenuItemTitle span.mceText {
font-weight: bold;
padding-left: 4px;
}
.highcontrastSkin .mceNoIcons .mceMenuItemSelected span.mceText:before {
content: "\2713\A0";
}
.highcontrastSkin .mceMenu span.mceMenuLine {
display: none;
}
.highcontrastSkin .mceMenuItemSub a .mceText:after {
content: "\A0\25B8";
}
.highcontrastSkin .mceMenuItem td,
.highcontrastSkin .mceMenuItem th {
line-height: normal;
}
/* ColorSplitButton */
.highcontrastSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid; color: #000}
.highcontrastSkin .mceColorSplitMenu td {padding:2px}
.highcontrastSkin .mceColorSplitMenu a {display:block; width:16px; height:16px; overflow:hidden; color:#000; margin: 0; padding: 0;}
.highcontrastSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
.highcontrastSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
.highcontrastSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid; background-color:#B6BDD2}
.highcontrastSkin a.mceMoreColors:hover {border:1px solid #0A246A; color: #000;}
.highcontrastSkin .mceColorPreview {display:none;}
.highcontrastSkin .mce_forecolor span.mceAction, .highcontrastSkin .mce_backcolor span.mceAction {height:17px;overflow:hidden}
.highcontrastSkin div.mceColorSplitMenu table {
background: #fff;
border: 1px solid;
color: #000;
}
.highcontrastSkin .mceColorSplitMenu td {
padding: 2px;
}
.highcontrastSkin .mceColorSplitMenu a {
display: block;
width: 16px;
height: 16px;
overflow: hidden;
color: #000;
margin: 0;
padding: 0;
}
.highcontrastSkin .mceColorSplitMenu td.mceMoreColors {
padding: 1px 3px 1px 1px;
}
.highcontrastSkin .mceColorSplitMenu a.mceMoreColors {
width: 100%;
height: auto;
text-align: center;
font-size: 11px;
line-height: 20px;
border: 1px solid #fff;
}
.highcontrastSkin .mceColorSplitMenu a.mceMoreColors:hover {
border: 1px solid;
background-color: #b6bdd2;
}
.highcontrastSkin a.mceMoreColors:hover {
border: 1px solid #0a246a;
color: #000;
}
.highcontrastSkin .mceColorPreview {
display: none;
}
.highcontrastSkin .mce_forecolor span.mceAction,
.highcontrastSkin .mce_backcolor span.mceAction {
height: 17px;
overflow: hidden;
}
/* Progress,Resize */
.highcontrastSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF}
.highcontrastSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px}
.highcontrastSkin .mceBlocker {
position: absolute;
left: 0;
top: 0;
z-index: 1000;
opacity: 0.5;
-ms-filter: "alpha(opacity=30)";
filter: alpha(opacity=50);
background: #fff;
}
.highcontrastSkin .mceProgress {
position: absolute;
left: 0;
top: 0;
z-index: 1001;
background: url(../default/img/progress.gif) no-repeat;
width: 32px;
height: 32px;
margin: -16px 0 0 -16px;
}
/* Rtl */
.mceRtl .mceListBox .mceText {text-align: right; padding: 0 4px 0 0}
.mceRtl .mceMenuItem .mceText {text-align: right}
.mceRtl .mceListBox .mceText {
text-align: right;
padding: 0 4px 0 0;
}
.mceRtl .mceMenuItem .mceText {
text-align: right;
}
/* Formats */
.highcontrastSkin .mce_p span.mceText {}
.highcontrastSkin .mce_address span.mceText {font-style:italic}
.highcontrastSkin .mce_pre span.mceText {font-family:monospace}
.highcontrastSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
.highcontrastSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
.highcontrastSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
.highcontrastSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
.highcontrastSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
.highcontrastSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
.highcontrastSkin .mce_p span.mceText {
}
.highcontrastSkin .mce_h1 span.mceText {
font-weight: bolder;
font-size: 2em;
}
.highcontrastSkin .mce_h2 span.mceText {
font-weight: bolder;
font-size: 1.5em;
}
.highcontrastSkin .mce_h3 span.mceText {
font-weight: bolder;
font-size: 1.17em;
}
.highcontrastSkin .mce_h4 span.mceText {
font-weight: bolder;
font-size: 1em;
}
.highcontrastSkin .mce_h5 span.mceText {
font-weight: bolder;
font-size: 0.83em;
}
.highcontrastSkin .mce_h6 span.mceText {
font-weight: bolder;
font-size: 0.75em;
}

View File

@ -1,48 +1,147 @@
body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;}
body {background:#FFF;}
body.mceForceColors {background:#FFF; color:#000;}
h1 {font-size: 2em}
h2 {font-size: 1.5em}
h3 {font-size: 1.17em}
h4 {font-size: 1em}
h5 {font-size: .83em}
h6 {font-size: .75em}
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;}
span.mceItemNbsp {background: #DDD}
td.mceSelected, th.mceSelected {background-color:#3399ff !important}
img {border:0;}
table, img, hr, .mceItemAnchor {cursor:default}
table td, table th {cursor:text}
ins {border-bottom:1px solid green; text-decoration: none; color:green}
del {color:red; text-decoration:line-through}
cite {border-bottom:1px dashed blue}
acronym {border-bottom:1px dotted #CCC; cursor:help}
abbr {border-bottom:1px dashed #CCC; cursor:help}
body,
td,
pre {
color: #000;
font-size: 10px;
margin: 8px;
}
body {
background: #fff;
}
body.mceForceColors {
background: #fff;
color: #000;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.17em;
}
h4 {
font-size: 1em;
}
h5 {
font-size: 0.83em;
}
h6 {
font-size: 0.75em;
}
.mceItemTable,
.mceItemTable td,
.mceItemTable th,
.mceItemTable caption,
.mceItemVisualAid {
border: 1px dashed #bbb;
}
a.mceItemAnchor {
display: inline-block;
width: 11px !important;
height: 11px !important;
background: url(../default/img/items.gif) no-repeat 0 0;
}
span.mceItemNbsp {
background: #ddd;
}
td.mceSelected,
th.mceSelected {
background-color: #3399ff !important;
}
img {
border: 0;
}
table,
img,
hr,
.mceItemAnchor {
cursor: default;
}
table td,
table th {
cursor: text;
}
ins {
border-bottom: 1px solid green;
text-decoration: none;
color: green;
}
del {
color: red;
text-decoration: line-through;
}
cite {
border-bottom: 1px dashed blue;
}
acronym {
border-bottom: 1px dotted #ccc;
cursor: help;
}
abbr {
border-bottom: 1px dashed #ccc;
cursor: help;
}
/* IE */
* html body {
scrollbar-3dlight-color:#F0F0EE;
scrollbar-3dlight-color: #f0f0ee;
scrollbar-arrow-color: #676662;
scrollbar-base-color:#F0F0EE;
scrollbar-darkshadow-color:#DDD;
scrollbar-face-color:#E0E0DD;
scrollbar-highlight-color:#F0F0EE;
scrollbar-shadow-color:#F0F0EE;
scrollbar-track-color:#F5F5F5;
scrollbar-base-color: #f0f0ee;
scrollbar-darkshadow-color: #ddd;
scrollbar-face-color: #e0e0dd;
scrollbar-highlight-color: #f0f0ee;
scrollbar-shadow-color: #f0f0ee;
scrollbar-track-color: #f5f5f5;
}
img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
font[face=mceinline] {font-family:inherit !important}
*[contentEditable]:focus {outline:0}
img:-moz-broken {
-moz-force-broken-image-icon: 1;
width: 24px;
height: 24px;
}
.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc}
.mceItemShockWave {background-image:url(../../img/shockwave.gif)}
.mceItemFlash {background-image:url(../../img/flash.gif)}
.mceItemQuickTime {background-image:url(../../img/quicktime.gif)}
.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)}
.mceItemRealMedia {background-image:url(../../img/realmedia.gif)}
.mceItemVideo {background-image:url(../../img/video.gif)}
.mceItemAudio {background-image:url(../../img/video.gif)}
.mceItemIframe {background-image:url(../../img/iframe.gif)}
.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;}
*[contentEditable]:focus {
outline: 0;
}
.mceItemMedia {
border: 1px dotted #cc0000;
background-position: center;
background-repeat: no-repeat;
background-color: #ffffcc;
}
.mceItemShockWave {
background-image: url(../../img/shockwave.gif);
}
.mceItemFlash {
background-image: url(../../img/flash.gif);
}
.mceItemQuickTime {
background-image: url(../../img/quicktime.gif);
}
.mceItemWindowsMedia {
background-image: url(../../img/windowsmedia.gif);
}
.mceItemRealMedia {
background-image: url(../../img/realmedia.gif);
}
.mceItemVideo {
background-image: url(../../img/video.gif);
}
.mceItemAudio {
background-image: url(../../img/video.gif);
}
.mceItemIframe {
background-image: url(../../img/iframe.gif);
}
.mcePageBreak {
display: block;
border: 0;
width: 100%;
height: 12px;
border-top: 1px dotted #ccc;
margin-top: 15px;
background: #fff url(../../img/pagebreak.gif) no-repeat center top;
}

View File

@ -1,118 +1,383 @@
/* Generic */
body {
font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px;
scrollbar-3dlight-color:#F0F0EE;
font-size: 11px;
scrollbar-3dlight-color: #f0f0ee;
scrollbar-arrow-color: #676662;
scrollbar-base-color:#F0F0EE;
scrollbar-darkshadow-color:#DDDDDD;
scrollbar-face-color:#E0E0DD;
scrollbar-highlight-color:#F0F0EE;
scrollbar-shadow-color:#F0F0EE;
scrollbar-track-color:#F5F5F5;
background:#F0F0EE;
scrollbar-base-color: #f0f0ee;
scrollbar-darkshadow-color: #dddddd;
scrollbar-face-color: #e0e0dd;
scrollbar-highlight-color: #f0f0ee;
scrollbar-shadow-color: #f0f0ee;
scrollbar-track-color: #f5f5f5;
background: #f0f0ee;
padding: 0;
margin: 8px 8px 0 8px;
}
html {background:#F0F0EE;}
td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
textarea {resize:none;outline:none;}
a:link, a:visited {color:black;}
a:hover {color:#2B6FB6;}
.nowrap {white-space: nowrap}
html {
background: #f0f0ee;
}
td {
font-size: 10px;
}
textarea {
resize: none;
outline: none;
}
a:link,
a:visited {
color: black;
}
a:hover {
color: #2b6fb6;
}
.nowrap {
white-space: nowrap;
}
/* Forms */
fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;}
legend {color:#2B6FB6; font-weight:bold;}
label.msg {display:none;}
label.invalid {color:#EE0000; display:inline;}
input.invalid {border:1px solid #EE0000;}
input {background:#FFF; border:1px solid #CCC;}
input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
input, select, textarea {border:1px solid #808080;}
input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
.input_noborder {border:0;}
fieldset {
margin: 0;
padding: 4px;
border: 1px solid #919b9c;
font-size: 10px;
}
legend {
color: #2b6fb6;
font-weight: bold;
}
label.msg {
display: none;
}
label.invalid {
color: #ee0000;
display: inline;
}
input.invalid {
border: 1px solid #ee0000;
}
input {
background: #fff;
border: 1px solid #ccc;
}
input,
select,
textarea {
font-size: 10px;
}
input,
select,
textarea {
border: 1px solid #808080;
}
input.radio {
border: 1px none #000000;
background: transparent;
vertical-align: middle;
}
input.checkbox {
border: 1px none #000000;
background: transparent;
vertical-align: middle;
}
.input_noborder {
border: 0;
}
/* Buttons */
#insert, #cancel, input.button, .updateButton {
border:0; margin:0; padding:0;
#insert,
#cancel,
input.button,
.updateButton {
border: 0;
margin: 0;
padding: 0;
font-weight: bold;
width:94px; height:26px;
width: 94px;
height: 26px;
background: url(../default/img/buttons.png) 0 -26px;
cursor: pointer;
padding-bottom: 2px;
float: left;
}
#insert {background:url(../default/img/buttons.png) 0 -52px}
#cancel {background:url(../default/img/buttons.png) 0 0; float:right}
#insert {
background: url(../default/img/buttons.png) 0 -52px;
}
#cancel {
background: url(../default/img/buttons.png) 0 0;
float: right;
}
/* Browse */
a.pickcolor, a.browse {text-decoration:none}
a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;}
.mceOldBoxModel a.browse span {width:22px; height:20px;}
a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;}
.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
a.pickcolor:hover span {background-color:#B2BBD0;}
a.pickcolor:hover span.disabled {}
a.pickcolor,
a.browse {
text-decoration: none;
}
a.browse span {
display: block;
width: 20px;
height: 18px;
background: url(../../img/icons.gif) -860px 0;
border: 1px solid #fff;
margin-left: 1px;
}
.mceOldBoxModel a.browse span {
width: 22px;
height: 20px;
}
a.browse:hover span {
border: 1px solid #0a246a;
background-color: #b2bbd0;
}
a.browse span.disabled {
border: 1px solid white;
opacity: 0.3;
-ms-filter: "alpha(opacity=30)";
filter: alpha(opacity=30);
}
a.browse:hover span.disabled {
border: 1px solid white;
background-color: transparent;
}
a.pickcolor span {
display: block;
width: 20px;
height: 16px;
background: url(../../img/icons.gif) -840px 0;
margin-left: 2px;
}
.mceOldBoxModel a.pickcolor span {
width: 21px;
height: 17px;
}
a.pickcolor:hover span {
background-color: #b2bbd0;
}
a.pickcolor:hover span.disabled {
}
/* Charmap */
table.charmap {border:1px solid #AAA; text-align:center}
td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
#charmap a {display:block; color:#000; text-decoration:none; border:0}
#charmap a:hover {background:#CCC;color:#2B6FB6}
#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
table.charmap {
border: 1px solid #aaa;
text-align: center;
}
td.charmap,
#charmap a {
width: 18px;
height: 18px;
color: #000;
border: 1px solid #aaa;
text-align: center;
font-size: 12px;
vertical-align: middle;
line-height: 18px;
}
#charmap a {
display: block;
color: #000;
text-decoration: none;
border: 0;
}
#charmap a:hover {
background: #ccc;
color: #2b6fb6;
}
#charmap #codeN {
font-size: 10px;
text-align: center;
}
#charmap #codeV {
font-size: 40px;
height: 80px;
border: 1px solid #aaa;
text-align: center;
}
/* Source */
.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
.mceActionPanel {margin-top:5px;}
.wordWrapCode {
vertical-align: middle;
border: 1px none #000000;
background: transparent;
}
.mceActionPanel {
margin-top: 5px;
}
/* Tabs classes */
.tabs {width:100%; height:18px; line-height:normal; background:url(../default/img/tabs.gif) repeat-x 0 -72px;}
.tabs ul {margin:0; padding:0; list-style:none;}
.tabs li {float:left; background:url(../default/img/tabs.gif) no-repeat 0 0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
.tabs li.current {background:url(../default/img/tabs.gif) no-repeat 0 -18px; margin-right:2px;}
.tabs span {float:left; display:block; background:url(../default/img/tabs.gif) no-repeat right -36px; padding:0px 10px 0 0;}
.tabs .current span {background:url(../default/img/tabs.gif) no-repeat right -54px;}
.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
.tabs {
width: 100%;
height: 18px;
line-height: normal;
background: url(../default/img/tabs.gif) repeat-x 0 -72px;
}
.tabs ul {
margin: 0;
padding: 0;
list-style: none;
}
.tabs li {
float: left;
background: url(../default/img/tabs.gif) no-repeat 0 0;
margin: 0 2px 0 0;
padding: 0 0 0 10px;
line-height: 17px;
height: 18px;
display: block;
}
.tabs li.current {
background: url(../default/img/tabs.gif) no-repeat 0 -18px;
margin-right: 2px;
}
.tabs span {
float: left;
display: block;
background: url(../default/img/tabs.gif) no-repeat right -36px;
padding: 0px 10px 0 0;
}
.tabs .current span {
background: url(../default/img/tabs.gif) no-repeat right -54px;
}
.tabs a {
text-decoration: none;
font-size: 10px;
}
.tabs a:link,
.tabs a:visited,
.tabs a:hover {
color: black;
}
/* Panels */
.panel_wrapper div.panel {display:none;}
.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
.panel_wrapper div.panel {
display: none;
}
.panel_wrapper div.current {
display: block;
width: 100%;
height: 300px;
overflow: visible;
}
.panel_wrapper {
border: 1px solid #919b9c;
border-top: 0px;
padding: 10px;
padding-top: 5px;
clear: both;
background: white;
}
/* Columns */
.column {float:left;}
.properties {width:100%;}
.properties .column1 {}
.properties .column2 {text-align:left;}
.column {
float: left;
}
.properties {
width: 100%;
}
.properties .column1 {
}
.properties .column2 {
text-align: left;
}
/* Titles */
h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
h3 {font-size:14px;}
.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
h1,
h2,
h3,
h4 {
color: #2b6fb6;
margin: 0;
padding: 0;
padding-top: 5px;
}
h3 {
font-size: 14px;
}
.title {
font-size: 12px;
font-weight: bold;
color: #2b6fb6;
}
/* Dialog specific */
#link .panel_wrapper, #link div.current {height:125px;}
#image .panel_wrapper, #image div.current {height:200px;}
#plugintable thead {font-weight:bold; background:#DDD;}
#plugintable, #about #plugintable td {border:1px solid #919B9C;}
#plugintable {width:96%; margin-top:10px;}
#pluginscontainer {height:290px; overflow:auto;}
#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px}
#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline}
#colorpicker #preview_wrapper { text-align:center; padding-top:4px; white-space: nowrap}
#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
#colorpicker #light div {overflow:hidden;}
#colorpicker .panel_wrapper div.current {height:175px;}
#colorpicker #namedcolors {width:150px;}
#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
#colorpicker #colornamecontainer {margin-top:5px;}
#colorpicker #picker_panel fieldset {margin:auto;width:325px;}
#link .panel_wrapper,
#link div.current {
height: 125px;
}
#image .panel_wrapper,
#image div.current {
height: 200px;
}
#plugintable thead {
font-weight: bold;
background: #ddd;
}
#plugintable,
#about #plugintable td {
border: 1px solid #919b9c;
}
#plugintable {
width: 96%;
margin-top: 10px;
}
#pluginscontainer {
height: 290px;
overflow: auto;
}
#colorpicker #preview {
display: inline-block;
padding-left: 40px;
height: 14px;
border: 1px solid black;
margin-left: 5px;
margin-right: 5px;
}
#colorpicker #previewblock {
position: relative;
top: -3px;
padding-left: 5px;
padding-top: 0px;
display: inline;
}
#colorpicker #preview_wrapper {
text-align: center;
padding-top: 4px;
white-space: nowrap;
}
#colorpicker #colors {
float: left;
border: 1px solid gray;
cursor: crosshair;
}
#colorpicker #light {
border: 1px solid gray;
margin-left: 5px;
float: left;
width: 15px;
height: 150px;
cursor: crosshair;
}
#colorpicker #light div {
overflow: hidden;
}
#colorpicker .panel_wrapper div.current {
height: 175px;
}
#colorpicker #namedcolors {
width: 150px;
}
#colorpicker #namedcolors a {
display: block;
float: left;
width: 10px;
height: 10px;
margin: 1px 1px 0 0;
overflow: hidden;
}
#colorpicker #colornamecontainer {
margin-top: 5px;
}
#colorpicker #picker_panel fieldset {
margin: auto;
width: 325px;
}

View File

@ -1,222 +1,780 @@
/* Reset */
.o2k7Skin table, .o2k7Skin tbody, .o2k7Skin a, .o2k7Skin img, .o2k7Skin tr, .o2k7Skin div, .o2k7Skin td, .o2k7Skin iframe, .o2k7Skin span, .o2k7Skin *, .o2k7Skin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left}
.o2k7Skin a:hover, .o2k7Skin a:link, .o2k7Skin a:visited, .o2k7Skin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000}
.o2k7Skin table td {vertical-align:middle}
.o2k7Skin table,
.o2k7Skin tbody,
.o2k7Skin a,
.o2k7Skin img,
.o2k7Skin tr,
.o2k7Skin div,
.o2k7Skin td,
.o2k7Skin iframe,
.o2k7Skin span,
.o2k7Skin *,
.o2k7Skin .mceText {
border: 0;
margin: 0;
padding: 0;
background: transparent;
white-space: nowrap;
text-decoration: none;
font-weight: normal;
cursor: default;
color: #000;
vertical-align: baseline;
width: auto;
border-collapse: separate;
text-align: left;
}
.o2k7Skin a:hover,
.o2k7Skin a:link,
.o2k7Skin a:visited,
.o2k7Skin a:active {
text-decoration: none;
font-weight: normal;
cursor: default;
color: #000;
}
.o2k7Skin table td {
vertical-align: middle;
}
/* Containers */
.o2k7Skin table {background:transparent}
.o2k7Skin iframe {display:block;}
.o2k7Skin .mceToolbar {height:26px}
.o2k7Skin table {
background: transparent;
}
.o2k7Skin iframe {
display: block;
}
.o2k7Skin .mceToolbar {
height: 26px;
}
/* External */
.o2k7Skin .mceExternalToolbar {position:absolute; border:1px solid #ABC6DD; border-bottom:0; display:none}
.o2k7Skin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
.o2k7Skin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; background:url(../../img/icons.gif) -820px 0}
.o2k7Skin .mceExternalToolbar {
position: absolute;
border: 1px solid #abc6dd;
border-bottom: 0;
display: none;
}
.o2k7Skin .mceExternalToolbar td.mceToolbar {
padding-right: 13px;
}
.o2k7Skin .mceExternalClose {
position: absolute;
top: 3px;
right: 3px;
width: 7px;
height: 7px;
background: url(../../img/icons.gif) -820px 0;
}
/* Layout */
.o2k7Skin table.mceLayout {border:0; border-left:1px solid #ABC6DD; border-right:1px solid #ABC6DD}
.o2k7Skin table.mceLayout tr.mceFirst td {border-top:1px solid #ABC6DD}
.o2k7Skin table.mceLayout tr.mceLast td {border-bottom:1px solid #ABC6DD}
.o2k7Skin table.mceToolbar, .o2k7Skin tr.mceFirst .mceToolbar tr td, .o2k7Skin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0}
.o2k7Skin .mceIframeContainer {border-top:1px solid #ABC6DD; border-bottom:1px solid #ABC6DD}
.o2k7Skin td.mceToolbar{background:#E5EFFD}
.o2k7Skin .mceStatusbar {background:#E5EFFD; display:block; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; height:20px}
.o2k7Skin .mceStatusbar div {float:left; padding:2px}
.o2k7Skin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0}
.o2k7Skin .mceStatusbar a:hover {text-decoration:underline}
.o2k7Skin table.mceToolbar {margin-left:3px}
.o2k7Skin .mceToolbar .mceToolbarStart span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px; margin-left:3px;}
.o2k7Skin .mceToolbar td.mceFirst span {margin:0}
.o2k7Skin .mceToolbar .mceToolbarEnd span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px}
.o2k7Skin .mceToolbar .mceToolbarEndListBox span, .o2k7Skin .mceToolbar .mceToolbarStartListBox span {display:none}
.o2k7Skin span.mceIcon, .o2k7Skin img.mceIcon {display:block; width:20px; height:20px}
.o2k7Skin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
.o2k7Skin td.mceCenter {text-align:center;}
.o2k7Skin td.mceCenter table {margin:0 auto; text-align:left;}
.o2k7Skin td.mceRight table {margin:0 0 0 auto;}
.o2k7Skin table.mceLayout {
border: 0;
border-left: 1px solid #abc6dd;
border-right: 1px solid #abc6dd;
}
.o2k7Skin table.mceLayout tr.mceFirst td {
border-top: 1px solid #abc6dd;
}
.o2k7Skin table.mceLayout tr.mceLast td {
border-bottom: 1px solid #abc6dd;
}
.o2k7Skin table.mceToolbar,
.o2k7Skin tr.mceFirst .mceToolbar tr td,
.o2k7Skin tr.mceLast .mceToolbar tr td {
border: 0;
margin: 0;
padding: 0;
}
.o2k7Skin .mceIframeContainer {
border-top: 1px solid #abc6dd;
border-bottom: 1px solid #abc6dd;
}
.o2k7Skin td.mceToolbar {
background: #e5effd;
}
.o2k7Skin .mceStatusbar {
background: #e5effd;
display: block;
font-size: 9pt;
line-height: 16px;
overflow: visible;
color: #000;
height: 20px;
}
.o2k7Skin .mceStatusbar div {
float: left;
padding: 2px;
}
.o2k7Skin .mceStatusbar a.mceResize {
display: block;
float: right;
background: url(../../img/icons.gif) -800px 0;
width: 20px;
height: 20px;
cursor: se-resize;
outline: 0;
}
.o2k7Skin .mceStatusbar a:hover {
text-decoration: underline;
}
.o2k7Skin table.mceToolbar {
margin-left: 3px;
}
.o2k7Skin .mceToolbar .mceToolbarStart span {
display: block;
background: url(img/button_bg.png) -22px 0;
width: 1px;
height: 22px;
margin-left: 3px;
}
.o2k7Skin .mceToolbar td.mceFirst span {
margin: 0;
}
.o2k7Skin .mceToolbar .mceToolbarEnd span {
display: block;
background: url(img/button_bg.png) -22px 0;
width: 1px;
height: 22px;
}
.o2k7Skin .mceToolbar .mceToolbarEndListBox span,
.o2k7Skin .mceToolbar .mceToolbarStartListBox span {
display: none;
}
.o2k7Skin span.mceIcon,
.o2k7Skin img.mceIcon {
display: block;
width: 20px;
height: 20px;
}
.o2k7Skin .mceIcon {
background: url(../../img/icons.gif) no-repeat 20px 20px;
}
.o2k7Skin td.mceCenter {
text-align: center;
}
.o2k7Skin td.mceCenter table {
margin: 0 auto;
text-align: left;
}
.o2k7Skin td.mceRight table {
margin: 0 0 0 auto;
}
/* Button */
.o2k7Skin .mceButton {display:block; background:url(img/button_bg.png); width:22px; height:22px}
.o2k7Skin a.mceButton span, .o2k7Skin a.mceButton img {margin-left:1px}
.o2k7Skin .mceOldBoxModel a.mceButton span, .o2k7Skin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px}
.o2k7Skin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px}
.o2k7Skin a.mceButtonActive, .o2k7Skin a.mceButtonSelected {background-position:0 -44px}
.o2k7Skin .mceButtonDisabled .mceIcon {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
.o2k7Skin .mceButtonLabeled {width:auto}
.o2k7Skin .mceButtonLabeled span.mceIcon {float:left}
.o2k7Skin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica}
.o2k7Skin .mceButtonDisabled .mceButtonLabel {color:#888}
.o2k7Skin .mceButton {
display: block;
background: url(img/button_bg.png);
width: 22px;
height: 22px;
}
.o2k7Skin a.mceButton span,
.o2k7Skin a.mceButton img {
margin-left: 1px;
}
.o2k7Skin .mceOldBoxModel a.mceButton span,
.o2k7Skin .mceOldBoxModel a.mceButton img {
margin: 0 0 0 1px;
}
.o2k7Skin a.mceButtonEnabled:hover {
background-color: #b2bbd0;
background-position: 0 -22px;
}
.o2k7Skin a.mceButtonActive,
.o2k7Skin a.mceButtonSelected {
background-position: 0 -44px;
}
.o2k7Skin .mceButtonDisabled .mceIcon {
opacity: 0.3;
-ms-filter: "alpha(opacity=30)";
filter: alpha(opacity=30);
}
.o2k7Skin .mceButtonLabeled {
width: auto;
}
.o2k7Skin .mceButtonLabeled span.mceIcon {
float: left;
}
.o2k7Skin span.mceButtonLabel {
display: block;
font-size: 10px;
padding: 4px 6px 0 22px;
}
.o2k7Skin .mceButtonDisabled .mceButtonLabel {
color: #888;
}
/* Separator */
.o2k7Skin .mceSeparator {display:block; background:url(img/button_bg.png) -22px 0; width:5px; height:22px}
.o2k7Skin .mceSeparator {
display: block;
background: url(img/button_bg.png) -22px 0;
width: 5px;
height: 22px;
}
/* ListBox */
.o2k7Skin .mceListBox {padding-left: 3px}
.o2k7Skin .mceListBox, .o2k7Skin .mceListBox a {display:block}
.o2k7Skin .mceListBox .mceText {padding-left:4px; text-align:left; width:70px; border:1px solid #b3c7e1; border-right:0; background:#eaf2fb; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden}
.o2k7Skin .mceListBox .mceOpen {width:14px; height:22px; background:url(img/button_bg.png) -66px 0}
.o2k7Skin table.mceListBoxEnabled:hover .mceText, .o2k7Skin .mceListBoxHover .mceText, .o2k7Skin .mceListBoxSelected .mceText {background:#FFF}
.o2k7Skin table.mceListBoxEnabled:hover .mceOpen, .o2k7Skin .mceListBoxHover .mceOpen, .o2k7Skin .mceListBoxSelected .mceOpen {background-position:-66px -22px}
.o2k7Skin .mceListBoxDisabled .mceText {color:gray}
.o2k7Skin .mceListBoxMenu {overflow:auto; overflow-x:hidden; margin-left:3px}
.o2k7Skin .mceOldBoxModel .mceListBox .mceText {height:22px}
.o2k7Skin select.mceListBox {font-family:Tahoma,Verdana,Arial,Helvetica; font-size:12px; border:1px solid #b3c7e1; background:#FFF;}
.o2k7Skin .mceListBox {
padding-left: 3px;
}
.o2k7Skin .mceListBox,
.o2k7Skin .mceListBox a {
display: block;
}
.o2k7Skin .mceListBox .mceText {
padding-left: 4px;
text-align: left;
width: 70px;
border: 1px solid #b3c7e1;
border-right: 0;
background: #eaf2fb;
font-size: 11px;
height: 20px;
line-height: 20px;
overflow: hidden;
}
.o2k7Skin .mceListBox .mceOpen {
width: 14px;
height: 22px;
background: url(img/button_bg.png) -66px 0;
}
.o2k7Skin table.mceListBoxEnabled:hover .mceText,
.o2k7Skin .mceListBoxHover .mceText,
.o2k7Skin .mceListBoxSelected .mceText {
background: #fff;
}
.o2k7Skin table.mceListBoxEnabled:hover .mceOpen,
.o2k7Skin .mceListBoxHover .mceOpen,
.o2k7Skin .mceListBoxSelected .mceOpen {
background-position: -66px -22px;
}
.o2k7Skin .mceListBoxDisabled .mceText {
color: gray;
}
.o2k7Skin .mceListBoxMenu {
overflow: auto;
overflow-x: hidden;
margin-left: 3px;
}
.o2k7Skin .mceOldBoxModel .mceListBox .mceText {
height: 22px;
}
.o2k7Skin select.mceListBox {
font-size: 12px;
border: 1px solid #b3c7e1;
background: #fff;
}
/* SplitButton */
.o2k7Skin .mceSplitButton, .o2k7Skin .mceSplitButton a, .o2k7Skin .mceSplitButton span {display:block; height:22px; direction:ltr}
.o2k7Skin .mceSplitButton {background:url(img/button_bg.png)}
.o2k7Skin .mceSplitButton a.mceAction {width:22px}
.o2k7Skin .mceSplitButton span.mceAction {width:22px; background-image:url(../../img/icons.gif)}
.o2k7Skin .mceSplitButton a.mceOpen {width:10px; background:url(img/button_bg.png) -44px 0}
.o2k7Skin .mceSplitButton span.mceOpen {display:none}
.o2k7Skin table.mceSplitButtonEnabled:hover a.mceAction, .o2k7Skin .mceSplitButtonHover a.mceAction, .o2k7Skin .mceSplitButtonSelected {background:url(img/button_bg.png) 0 -22px}
.o2k7Skin table.mceSplitButtonEnabled:hover a.mceOpen, .o2k7Skin .mceSplitButtonHover a.mceOpen, .o2k7Skin .mceSplitButtonSelected a.mceOpen {background-position:-44px -44px}
.o2k7Skin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
.o2k7Skin .mceSplitButtonActive {background-position:0 -44px}
.o2k7Skin .mceSplitButton,
.o2k7Skin .mceSplitButton a,
.o2k7Skin .mceSplitButton span {
display: block;
height: 22px;
direction: ltr;
}
.o2k7Skin .mceSplitButton {
background: url(img/button_bg.png);
}
.o2k7Skin .mceSplitButton a.mceAction {
width: 22px;
}
.o2k7Skin .mceSplitButton span.mceAction {
width: 22px;
background-image: url(../../img/icons.gif);
}
.o2k7Skin .mceSplitButton a.mceOpen {
width: 10px;
background: url(img/button_bg.png) -44px 0;
}
.o2k7Skin .mceSplitButton span.mceOpen {
display: none;
}
.o2k7Skin table.mceSplitButtonEnabled:hover a.mceAction,
.o2k7Skin .mceSplitButtonHover a.mceAction,
.o2k7Skin .mceSplitButtonSelected {
background: url(img/button_bg.png) 0 -22px;
}
.o2k7Skin table.mceSplitButtonEnabled:hover a.mceOpen,
.o2k7Skin .mceSplitButtonHover a.mceOpen,
.o2k7Skin .mceSplitButtonSelected a.mceOpen {
background-position: -44px -44px;
}
.o2k7Skin .mceSplitButtonDisabled .mceAction {
opacity: 0.3;
-ms-filter: "alpha(opacity=30)";
filter: alpha(opacity=30);
}
.o2k7Skin .mceSplitButtonActive {
background-position: 0 -44px;
}
/* ColorSplitButton */
.o2k7Skin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray}
.o2k7Skin .mceColorSplitMenu td {padding:2px}
.o2k7Skin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080}
.o2k7Skin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
.o2k7Skin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
.o2k7Skin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2}
.o2k7Skin a.mceMoreColors:hover {border:1px solid #0A246A}
.o2k7Skin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a;overflow:hidden}
.o2k7Skin .mce_forecolor span.mceAction, .o2k7Skin .mce_backcolor span.mceAction {height:15px;overflow:hidden}
.o2k7Skin div.mceColorSplitMenu table {
background: #fff;
border: 1px solid gray;
}
.o2k7Skin .mceColorSplitMenu td {
padding: 2px;
}
.o2k7Skin .mceColorSplitMenu a {
display: block;
width: 9px;
height: 9px;
overflow: hidden;
border: 1px solid #808080;
}
.o2k7Skin .mceColorSplitMenu td.mceMoreColors {
padding: 1px 3px 1px 1px;
}
.o2k7Skin .mceColorSplitMenu a.mceMoreColors {
width: 100%;
height: auto;
text-align: center;
font-size: 11px;
line-height: 20px;
border: 1px solid #fff;
}
.o2k7Skin .mceColorSplitMenu a.mceMoreColors:hover {
border: 1px solid #0a246a;
background-color: #b6bdd2;
}
.o2k7Skin a.mceMoreColors:hover {
border: 1px solid #0a246a;
}
.o2k7Skin .mceColorPreview {
margin-left: 2px;
width: 16px;
height: 4px;
overflow: hidden;
background: #9a9b9a;
overflow: hidden;
}
.o2k7Skin .mce_forecolor span.mceAction,
.o2k7Skin .mce_backcolor span.mceAction {
height: 15px;
overflow: hidden;
}
/* Menu */
.o2k7Skin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #ABC6DD; direction:ltr}
.o2k7Skin .mceNoIcons span.mceIcon {width:0;}
.o2k7Skin .mceNoIcons a .mceText {padding-left:10px}
.o2k7Skin .mceMenu table {background:#FFF}
.o2k7Skin .mceMenu a, .o2k7Skin .mceMenu span, .o2k7Skin .mceMenu {display:block}
.o2k7Skin .mceMenu td {height:20px}
.o2k7Skin .mceMenu a {position:relative;padding:3px 0 4px 0}
.o2k7Skin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block}
.o2k7Skin .mceMenu span.mceText, .o2k7Skin .mceMenu .mcePreview {font-size:11px}
.o2k7Skin .mceMenu pre.mceText {font-family:Monospace}
.o2k7Skin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;}
.o2k7Skin .mceMenu .mceMenuItemEnabled a:hover, .o2k7Skin .mceMenu .mceMenuItemActive {background-color:#dbecf3}
.o2k7Skin td.mceMenuItemSeparator {background:#DDD; height:1px}
.o2k7Skin .mceMenuItemTitle a {border:0; background:#E5EFFD; border-bottom:1px solid #ABC6DD}
.o2k7Skin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px}
.o2k7Skin .mceMenuItemDisabled .mceText {color:#888}
.o2k7Skin .mceMenuItemSelected .mceIcon {background:url(../default/img/menu_check.gif)}
.o2k7Skin .mceNoIcons .mceMenuItemSelected a {background:url(../default/img/menu_arrow.gif) no-repeat -6px center}
.o2k7Skin .mceMenu span.mceMenuLine {display:none}
.o2k7Skin .mceMenuItemSub a {background:url(../default/img/menu_arrow.gif) no-repeat top right;}
.o2k7Skin .mceMenuItem td, .o2k7Skin .mceMenuItem th {line-height: normal}
.o2k7Skin .mceMenu {
position: absolute;
left: 0;
top: 0;
z-index: 1000;
border: 1px solid #abc6dd;
direction: ltr;
}
.o2k7Skin .mceNoIcons span.mceIcon {
width: 0;
}
.o2k7Skin .mceNoIcons a .mceText {
padding-left: 10px;
}
.o2k7Skin .mceMenu table {
background: #fff;
}
.o2k7Skin .mceMenu a,
.o2k7Skin .mceMenu span,
.o2k7Skin .mceMenu {
display: block;
}
.o2k7Skin .mceMenu td {
height: 20px;
}
.o2k7Skin .mceMenu a {
position: relative;
padding: 3px 0 4px 0;
}
.o2k7Skin .mceMenu .mceText {
position: relative;
display: block;
color: #000;
cursor: default;
margin: 0;
padding: 0 25px 0 25px;
display: block;
}
.o2k7Skin .mceMenu span.mceText,
.o2k7Skin .mceMenu .mcePreview {
font-size: 11px;
}
.o2k7Skin .mceMenu .mceIcon {
position: absolute;
top: 0;
left: 0;
width: 22px;
}
.o2k7Skin .mceMenu .mceMenuItemEnabled a:hover,
.o2k7Skin .mceMenu .mceMenuItemActive {
background-color: #dbecf3;
}
.o2k7Skin td.mceMenuItemSeparator {
background: #ddd;
height: 1px;
}
.o2k7Skin .mceMenuItemTitle a {
border: 0;
background: #e5effd;
border-bottom: 1px solid #abc6dd;
}
.o2k7Skin .mceMenuItemTitle span.mceText {
color: #000;
font-weight: bold;
padding-left: 4px;
}
.o2k7Skin .mceMenuItemDisabled .mceText {
color: #888;
}
.o2k7Skin .mceMenuItemSelected .mceIcon {
background: url(../default/img/menu_check.gif);
}
.o2k7Skin .mceNoIcons .mceMenuItemSelected a {
background: url(../default/img/menu_arrow.gif) no-repeat -6px center;
}
.o2k7Skin .mceMenu span.mceMenuLine {
display: none;
}
.o2k7Skin .mceMenuItemSub a {
background: url(../default/img/menu_arrow.gif) no-repeat top right;
}
.o2k7Skin .mceMenuItem td,
.o2k7Skin .mceMenuItem th {
line-height: normal;
}
/* Progress,Resize */
.o2k7Skin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF}
.o2k7Skin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px}
.o2k7Skin .mceBlocker {
position: absolute;
left: 0;
top: 0;
z-index: 1000;
opacity: 0.5;
-ms-filter: "alpha(opacity=30)";
filter: alpha(opacity=50);
background: #fff;
}
.o2k7Skin .mceProgress {
position: absolute;
left: 0;
top: 0;
z-index: 1001;
background: url(../default/img/progress.gif) no-repeat;
width: 32px;
height: 32px;
margin: -16px 0 0 -16px;
}
/* Rtl */
.mceRtl .mceListBox .mceText {text-align: right; padding: 0 4px 0 0}
.mceRtl .mceMenuItem .mceText {text-align: right}
.mceRtl .mceListBox .mceText {
text-align: right;
padding: 0 4px 0 0;
}
.mceRtl .mceMenuItem .mceText {
text-align: right;
}
/* Formats */
.o2k7Skin .mce_formatPreview a {font-size:10px}
.o2k7Skin .mce_p span.mceText {}
.o2k7Skin .mce_address span.mceText {font-style:italic}
.o2k7Skin .mce_pre span.mceText {font-family:monospace}
.o2k7Skin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
.o2k7Skin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
.o2k7Skin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
.o2k7Skin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
.o2k7Skin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
.o2k7Skin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
.o2k7Skin .mce_formatPreview a {
font-size: 10px;
}
.o2k7Skin .mce_p span.mceText {
}
.o2k7Skin .mce_address span.mceText {
font-style: italic;
}
.o2k7Skin .mce_h1 span.mceText {
font-weight: bolder;
font-size: 2em;
}
.o2k7Skin .mce_h2 span.mceText {
font-weight: bolder;
font-size: 1.5em;
}
.o2k7Skin .mce_h3 span.mceText {
font-weight: bolder;
font-size: 1.17em;
}
.o2k7Skin .mce_h4 span.mceText {
font-weight: bolder;
font-size: 1em;
}
.o2k7Skin .mce_h5 span.mceText {
font-weight: bolder;
font-size: 0.83em;
}
.o2k7Skin .mce_h6 span.mceText {
font-weight: bolder;
font-size: 0.75em;
}
/* Theme */
.o2k7Skin span.mce_bold {background-position:0 0}
.o2k7Skin span.mce_italic {background-position:-60px 0}
.o2k7Skin span.mce_underline {background-position:-140px 0}
.o2k7Skin span.mce_strikethrough {background-position:-120px 0}
.o2k7Skin span.mce_undo {background-position:-160px 0}
.o2k7Skin span.mce_redo {background-position:-100px 0}
.o2k7Skin span.mce_cleanup {background-position:-40px 0}
.o2k7Skin span.mce_bullist {background-position:-20px 0}
.o2k7Skin span.mce_numlist {background-position:-80px 0}
.o2k7Skin span.mce_justifyleft {background-position:-460px 0}
.o2k7Skin span.mce_justifyright {background-position:-480px 0}
.o2k7Skin span.mce_justifycenter {background-position:-420px 0}
.o2k7Skin span.mce_justifyfull {background-position:-440px 0}
.o2k7Skin span.mce_anchor {background-position:-200px 0}
.o2k7Skin span.mce_indent {background-position:-400px 0}
.o2k7Skin span.mce_outdent {background-position:-540px 0}
.o2k7Skin span.mce_link {background-position:-500px 0}
.o2k7Skin span.mce_unlink {background-position:-640px 0}
.o2k7Skin span.mce_sub {background-position:-600px 0}
.o2k7Skin span.mce_sup {background-position:-620px 0}
.o2k7Skin span.mce_removeformat {background-position:-580px 0}
.o2k7Skin span.mce_newdocument {background-position:-520px 0}
.o2k7Skin span.mce_image {background-position:-380px 0}
.o2k7Skin span.mce_help {background-position:-340px 0}
.o2k7Skin span.mce_code {background-position:-260px 0}
.o2k7Skin span.mce_hr {background-position:-360px 0}
.o2k7Skin span.mce_visualaid {background-position:-660px 0}
.o2k7Skin span.mce_charmap {background-position:-240px 0}
.o2k7Skin span.mce_paste {background-position:-560px 0}
.o2k7Skin span.mce_copy {background-position:-700px 0}
.o2k7Skin span.mce_cut {background-position:-680px 0}
.o2k7Skin span.mce_blockquote {background-position:-220px 0}
.o2k7Skin .mce_forecolor span.mceAction {background-position:-720px 0}
.o2k7Skin .mce_backcolor span.mceAction {background-position:-760px 0}
.o2k7Skin span.mce_forecolorpicker {background-position:-720px 0}
.o2k7Skin span.mce_backcolorpicker {background-position:-760px 0}
.o2k7Skin span.mce_bold {
background-position: 0 0;
}
.o2k7Skin span.mce_italic {
background-position: -60px 0;
}
.o2k7Skin span.mce_underline {
background-position: -140px 0;
}
.o2k7Skin span.mce_strikethrough {
background-position: -120px 0;
}
.o2k7Skin span.mce_undo {
background-position: -160px 0;
}
.o2k7Skin span.mce_redo {
background-position: -100px 0;
}
.o2k7Skin span.mce_cleanup {
background-position: -40px 0;
}
.o2k7Skin span.mce_bullist {
background-position: -20px 0;
}
.o2k7Skin span.mce_numlist {
background-position: -80px 0;
}
.o2k7Skin span.mce_justifyleft {
background-position: -460px 0;
}
.o2k7Skin span.mce_justifyright {
background-position: -480px 0;
}
.o2k7Skin span.mce_justifycenter {
background-position: -420px 0;
}
.o2k7Skin span.mce_justifyfull {
background-position: -440px 0;
}
.o2k7Skin span.mce_anchor {
background-position: -200px 0;
}
.o2k7Skin span.mce_indent {
background-position: -400px 0;
}
.o2k7Skin span.mce_outdent {
background-position: -540px 0;
}
.o2k7Skin span.mce_link {
background-position: -500px 0;
}
.o2k7Skin span.mce_unlink {
background-position: -640px 0;
}
.o2k7Skin span.mce_sub {
background-position: -600px 0;
}
.o2k7Skin span.mce_sup {
background-position: -620px 0;
}
.o2k7Skin span.mce_removeformat {
background-position: -580px 0;
}
.o2k7Skin span.mce_newdocument {
background-position: -520px 0;
}
.o2k7Skin span.mce_image {
background-position: -380px 0;
}
.o2k7Skin span.mce_help {
background-position: -340px 0;
}
.o2k7Skin span.mce_code {
background-position: -260px 0;
}
.o2k7Skin span.mce_hr {
background-position: -360px 0;
}
.o2k7Skin span.mce_visualaid {
background-position: -660px 0;
}
.o2k7Skin span.mce_charmap {
background-position: -240px 0;
}
.o2k7Skin span.mce_paste {
background-position: -560px 0;
}
.o2k7Skin span.mce_copy {
background-position: -700px 0;
}
.o2k7Skin span.mce_cut {
background-position: -680px 0;
}
.o2k7Skin span.mce_blockquote {
background-position: -220px 0;
}
.o2k7Skin .mce_forecolor span.mceAction {
background-position: -720px 0;
}
.o2k7Skin .mce_backcolor span.mceAction {
background-position: -760px 0;
}
.o2k7Skin span.mce_forecolorpicker {
background-position: -720px 0;
}
.o2k7Skin span.mce_backcolorpicker {
background-position: -760px 0;
}
/* Plugins */
.o2k7Skin span.mce_advhr {background-position:-0px -20px}
.o2k7Skin span.mce_ltr {background-position:-20px -20px}
.o2k7Skin span.mce_rtl {background-position:-40px -20px}
.o2k7Skin span.mce_emotions {background-position:-60px -20px}
.o2k7Skin span.mce_fullpage {background-position:-80px -20px}
.o2k7Skin span.mce_fullscreen {background-position:-100px -20px}
.o2k7Skin span.mce_iespell {background-position:-120px -20px}
.o2k7Skin span.mce_insertdate {background-position:-140px -20px}
.o2k7Skin span.mce_inserttime {background-position:-160px -20px}
.o2k7Skin span.mce_absolute {background-position:-180px -20px}
.o2k7Skin span.mce_backward {background-position:-200px -20px}
.o2k7Skin span.mce_forward {background-position:-220px -20px}
.o2k7Skin span.mce_insert_layer {background-position:-240px -20px}
.o2k7Skin span.mce_insertlayer {background-position:-260px -20px}
.o2k7Skin span.mce_movebackward {background-position:-280px -20px}
.o2k7Skin span.mce_moveforward {background-position:-300px -20px}
.o2k7Skin span.mce_media {background-position:-320px -20px}
.o2k7Skin span.mce_nonbreaking {background-position:-340px -20px}
.o2k7Skin span.mce_pastetext {background-position:-360px -20px}
.o2k7Skin span.mce_pasteword {background-position:-380px -20px}
.o2k7Skin span.mce_selectall {background-position:-400px -20px}
.o2k7Skin span.mce_preview {background-position:-420px -20px}
.o2k7Skin span.mce_print {background-position:-440px -20px}
.o2k7Skin span.mce_cancel {background-position:-460px -20px}
.o2k7Skin span.mce_save {background-position:-480px -20px}
.o2k7Skin span.mce_replace {background-position:-500px -20px}
.o2k7Skin span.mce_search {background-position:-520px -20px}
.o2k7Skin span.mce_styleprops {background-position:-560px -20px}
.o2k7Skin span.mce_table {background-position:-580px -20px}
.o2k7Skin span.mce_cell_props {background-position:-600px -20px}
.o2k7Skin span.mce_delete_table {background-position:-620px -20px}
.o2k7Skin span.mce_delete_col {background-position:-640px -20px}
.o2k7Skin span.mce_delete_row {background-position:-660px -20px}
.o2k7Skin span.mce_col_after {background-position:-680px -20px}
.o2k7Skin span.mce_col_before {background-position:-700px -20px}
.o2k7Skin span.mce_row_after {background-position:-720px -20px}
.o2k7Skin span.mce_row_before {background-position:-740px -20px}
.o2k7Skin span.mce_merge_cells {background-position:-760px -20px}
.o2k7Skin span.mce_table_props {background-position:-980px -20px}
.o2k7Skin span.mce_row_props {background-position:-780px -20px}
.o2k7Skin span.mce_split_cells {background-position:-800px -20px}
.o2k7Skin span.mce_template {background-position:-820px -20px}
.o2k7Skin span.mce_visualchars {background-position:-840px -20px}
.o2k7Skin span.mce_abbr {background-position:-860px -20px}
.o2k7Skin span.mce_acronym {background-position:-880px -20px}
.o2k7Skin span.mce_attribs {background-position:-900px -20px}
.o2k7Skin span.mce_cite {background-position:-920px -20px}
.o2k7Skin span.mce_del {background-position:-940px -20px}
.o2k7Skin span.mce_ins {background-position:-960px -20px}
.o2k7Skin span.mce_pagebreak {background-position:0 -40px}
.o2k7Skin span.mce_restoredraft {background-position:-20px -40px}
.o2k7Skin span.mce_spellchecker {background-position:-540px -20px}
.o2k7Skin span.mce_visualblocks {background-position: -40px -40px}
.o2k7Skin span.mce_advhr {
background-position: -0px -20px;
}
.o2k7Skin span.mce_ltr {
background-position: -20px -20px;
}
.o2k7Skin span.mce_rtl {
background-position: -40px -20px;
}
.o2k7Skin span.mce_emotions {
background-position: -60px -20px;
}
.o2k7Skin span.mce_fullpage {
background-position: -80px -20px;
}
.o2k7Skin span.mce_fullscreen {
background-position: -100px -20px;
}
.o2k7Skin span.mce_iespell {
background-position: -120px -20px;
}
.o2k7Skin span.mce_insertdate {
background-position: -140px -20px;
}
.o2k7Skin span.mce_inserttime {
background-position: -160px -20px;
}
.o2k7Skin span.mce_absolute {
background-position: -180px -20px;
}
.o2k7Skin span.mce_backward {
background-position: -200px -20px;
}
.o2k7Skin span.mce_forward {
background-position: -220px -20px;
}
.o2k7Skin span.mce_insert_layer {
background-position: -240px -20px;
}
.o2k7Skin span.mce_insertlayer {
background-position: -260px -20px;
}
.o2k7Skin span.mce_movebackward {
background-position: -280px -20px;
}
.o2k7Skin span.mce_moveforward {
background-position: -300px -20px;
}
.o2k7Skin span.mce_media {
background-position: -320px -20px;
}
.o2k7Skin span.mce_nonbreaking {
background-position: -340px -20px;
}
.o2k7Skin span.mce_pastetext {
background-position: -360px -20px;
}
.o2k7Skin span.mce_pasteword {
background-position: -380px -20px;
}
.o2k7Skin span.mce_selectall {
background-position: -400px -20px;
}
.o2k7Skin span.mce_preview {
background-position: -420px -20px;
}
.o2k7Skin span.mce_print {
background-position: -440px -20px;
}
.o2k7Skin span.mce_cancel {
background-position: -460px -20px;
}
.o2k7Skin span.mce_save {
background-position: -480px -20px;
}
.o2k7Skin span.mce_replace {
background-position: -500px -20px;
}
.o2k7Skin span.mce_search {
background-position: -520px -20px;
}
.o2k7Skin span.mce_styleprops {
background-position: -560px -20px;
}
.o2k7Skin span.mce_table {
background-position: -580px -20px;
}
.o2k7Skin span.mce_cell_props {
background-position: -600px -20px;
}
.o2k7Skin span.mce_delete_table {
background-position: -620px -20px;
}
.o2k7Skin span.mce_delete_col {
background-position: -640px -20px;
}
.o2k7Skin span.mce_delete_row {
background-position: -660px -20px;
}
.o2k7Skin span.mce_col_after {
background-position: -680px -20px;
}
.o2k7Skin span.mce_col_before {
background-position: -700px -20px;
}
.o2k7Skin span.mce_row_after {
background-position: -720px -20px;
}
.o2k7Skin span.mce_row_before {
background-position: -740px -20px;
}
.o2k7Skin span.mce_merge_cells {
background-position: -760px -20px;
}
.o2k7Skin span.mce_table_props {
background-position: -980px -20px;
}
.o2k7Skin span.mce_row_props {
background-position: -780px -20px;
}
.o2k7Skin span.mce_split_cells {
background-position: -800px -20px;
}
.o2k7Skin span.mce_template {
background-position: -820px -20px;
}
.o2k7Skin span.mce_visualchars {
background-position: -840px -20px;
}
.o2k7Skin span.mce_abbr {
background-position: -860px -20px;
}
.o2k7Skin span.mce_acronym {
background-position: -880px -20px;
}
.o2k7Skin span.mce_attribs {
background-position: -900px -20px;
}
.o2k7Skin span.mce_cite {
background-position: -920px -20px;
}
.o2k7Skin span.mce_del {
background-position: -940px -20px;
}
.o2k7Skin span.mce_ins {
background-position: -960px -20px;
}
.o2k7Skin span.mce_pagebreak {
background-position: 0 -40px;
}
.o2k7Skin span.mce_restoredraft {
background-position: -20px -40px;
}
.o2k7Skin span.mce_spellchecker {
background-position: -540px -20px;
}
.o2k7Skin span.mce_visualblocks {
background-position: -40px -40px;
}

View File

@ -1,25 +1,26 @@
body, td, pre {
font-family: Verdana, Arial, Helvetica, sans-serif;
body,
td,
pre {
font-size: 10px;
}
body {
background-color: #FFFFFF;
background-color: #ffffff;
}
.mceVisualAid {
border: 1px dashed #BBBBBB;
border: 1px dashed #bbbbbb;
}
/* MSIE specific */
* html body {
scrollbar-3dlight-color: #F0F0EE;
scrollbar-3dlight-color: #f0f0ee;
scrollbar-arrow-color: #676662;
scrollbar-base-color: #F0F0EE;
scrollbar-darkshadow-color: #DDDDDD;
scrollbar-face-color: #E0E0DD;
scrollbar-highlight-color: #F0F0EE;
scrollbar-shadow-color: #F0F0EE;
scrollbar-track-color: #F5F5F5;
scrollbar-base-color: #f0f0ee;
scrollbar-darkshadow-color: #dddddd;
scrollbar-face-color: #e0e0dd;
scrollbar-highlight-color: #f0f0ee;
scrollbar-shadow-color: #f0f0ee;
scrollbar-track-color: #f5f5f5;
}

View File

@ -1,17 +1,25 @@
body, td, pre {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
body,
td,
pre {
font-size: 10px;
}
body {background: #FFF;}
.mceVisualAid {border: 1px dashed #BBB;}
body {
background: #fff;
}
.mceVisualAid {
border: 1px dashed #bbb;
}
/* IE */
* html body {
scrollbar-3dlight-color: #F0F0EE;
scrollbar-3dlight-color: #f0f0ee;
scrollbar-arrow-color: #676662;
scrollbar-base-color: #F0F0EE;
scrollbar-darkshadow-color: #DDDDDD;
scrollbar-face-color: #E0E0DD;
scrollbar-highlight-color: #F0F0EE;
scrollbar-shadow-color: #F0F0EE;
scrollbar-track-color: #F5F5F5;
scrollbar-base-color: #f0f0ee;
scrollbar-darkshadow-color: #dddddd;
scrollbar-face-color: #e0e0dd;
scrollbar-highlight-color: #f0f0ee;
scrollbar-shadow-color: #f0f0ee;
scrollbar-track-color: #f5f5f5;
}

View File

@ -1,10 +1,9 @@
text.text-tooltip {
font-family: "lato-bolder", "Open Sans", sans-serif;
font-weight: bold;
font-weight: 700;
}
div#bullets_modules span {
font-family: "lato-bolder", "Open Sans", sans-serif;
font-weight: 700;
}
table#agent_interface_info .noresizevc.graph {
@ -16,7 +15,7 @@ div.agent_details_agent_alias {
}
div.agent_details_agent_alias * {
font-family: "lato-bolder", "Open Sans", sans-serif;
font-weight: 700;
}
#module_list {

View File

@ -62,7 +62,6 @@ ul.sample {
}
span.rule-title {
font-family: "lato-lighter", "Open Sans", sans-serif;
font-weight: normal;
font-size: 2em;
text-align: center;
@ -193,12 +192,10 @@ div#rules.show {
padding-right: 1em;
margin: 0 0.5em 0.5em 0px;
color: #fff;
font-family: "lato-lighter", "Open Sans", sans-serif;
font-weight: 600;
background-color: #333;
word-break: break-all;
height: fit-content;
min-height: 2.3em;
}
.field.opacityElements {
@ -282,7 +279,6 @@ div#rules.show {
background-color: #424242;
border: 0px;
color: #fff;
font-family: "lato-lighter", "Open Sans", sans-serif;
font-weight: 600;
}
#rules select.click-list-elements.fields-elements-log {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,6 @@
/* Debug styles */
pre.debug,
div.backtrace {
font-family: monospace;
text-align: left;
padding: 10px;
margin: 5px;

View File

@ -43,7 +43,6 @@ ul.wizard li.flex-indep {
form#modal_form ul.wizard li textarea {
font-size: 0.8em;
font-family: "Courier New", Courier, monospace;
flex: 1 1 400px;
max-width: 400px;
}

Some files were not shown because too many files have changed in this diff Show More