From 4c52e12e6eb258cecc43c96813a745e69a977db1 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Tue, 20 Dec 2016 23:20:19 +0100 Subject: [PATCH] concat and minify css too --- README.md | 9 +- _define.php | 4 +- _prepend.php | 2 +- _public.php | 33 +- inc/{Minifier.php => yash3JSMinifier.php} | 4 +- index.php | 70 +++- syntaxhighlighter/css/shThemeConcatened1.css | 1 + syntaxhighlighter/css/shThemeConcatened10.css | 1 + syntaxhighlighter/css/shThemeConcatened2.css | 1 + syntaxhighlighter/css/shThemeConcatened3.css | 111 ++++++ syntaxhighlighter/css/shThemeConcatened4.css | 111 ++++++ syntaxhighlighter/css/shThemeConcatened5.css | 111 ++++++ syntaxhighlighter/css/shThemeConcatened6.css | 1 + syntaxhighlighter/css/shThemeConcatened7.css | 1 + syntaxhighlighter/js/shConcatened10.js | 340 ++++++++++++++++++ 15 files changed, 756 insertions(+), 44 deletions(-) rename inc/{Minifier.php => yash3JSMinifier.php} (99%) create mode 100644 syntaxhighlighter/css/shThemeConcatened1.css create mode 100644 syntaxhighlighter/css/shThemeConcatened10.css create mode 100644 syntaxhighlighter/css/shThemeConcatened2.css create mode 100644 syntaxhighlighter/css/shThemeConcatened3.css create mode 100644 syntaxhighlighter/css/shThemeConcatened4.css create mode 100644 syntaxhighlighter/css/shThemeConcatened5.css create mode 100644 syntaxhighlighter/css/shThemeConcatened6.css create mode 100644 syntaxhighlighter/css/shThemeConcatened7.css create mode 100644 syntaxhighlighter/js/shConcatened10.js diff --git a/README.md b/README.md index 09051aa..b806f1d 100755 --- a/README.md +++ b/README.md @@ -2,18 +2,23 @@ C'est un fork avec des modifications mineures du plugin Yash de [Dotclear](https://fr.dotclear.org/ "dotclear") http://plugins.dotaddict.org/dc2/details/yash (By pep and contributors GNU/GPL v2) # Utilisation + ///yash3 language + some->code->here; + /// -# code tiers +# Code tiers Minifier class was made by Tedious https://github.com/tedious/JShrink BSD License. # Modifications apportées: -Le plugin Yash insère 2 appels à des scripts javascripts, et ajoute des variables JS dans le footer de la page. +Le plugin Yash insère plusieurs appels à des scripts javascripts, et ajoute des variables JS dans le footer de la page. Yash3 concatène tout ça pour ne mettre qu'un seul script en référence. Il y aura quand même des appels à des scripts js (syntaxhighlighter) en fonction du type de code que vous souhaitez coloriser. +De même, les deux fichiers css sont réduits et concaténés en un seul. + # Installation Installez ce plugin en copiant l'url suivante https://www.ventresmous.fr/public/yash/yash3.zip directement dans l'interface de Dotclear pour l'installer. diff --git a/_define.php b/_define.php index 4b5c1ba..bc3cdbe 100755 --- a/_define.php +++ b/_define.php @@ -26,11 +26,11 @@ $this->registerModule( /* Name */ "YASH Fork", /* Description*/ "Fork of Yet Another Syntax Highlighter. Modification: Juste one javascript called on public pages for yash3", /* Author */ "Forked and modified by Gnieark, origin Pep and contributors", - /* Version */ '0.6', + /* Version */ '0.7', array( /* Dependencies */ 'requires' => array(array('core','2.9')), /* Permissions */ 'permissions' => 'contentadmin', /* Priority */ 'priority' => 1001, // Must be higher than dcLegacyEditor priority (ie 1000) - /* Type */ 'type' => 'plugin' + /* Type */ 'type' => 'plugin' ) ); diff --git a/_prepend.php b/_prepend.php index 672c07a..f95877c 100755 --- a/_prepend.php +++ b/_prepend.php @@ -13,5 +13,5 @@ if (!defined('DC_RC_PATH')) { return; } $__autoload['yash3Behaviors'] = dirname(__FILE__).'/inc/yash3.behaviors.php'; -$__autoload['Minifier'] = dirname(__FILE__).'/inc/Minifier.php'; +$__autoload['yash3JSMinifier'] = dirname(__FILE__).'/inc/yash3JSMinifier.php'; $core->addBehavior('coreInitWikiPost',array('yash3Behaviors','coreInitWikiPost')); diff --git a/_public.php b/_public.php index 819eac6..7623973 100755 --- a/_public.php +++ b/_public.php @@ -3,7 +3,7 @@ # This file is part of YASH3, a plugin for DotClear2. # Copyright (c) 2016 Gnieark https://blog-du-grouik.tinad.fr # -# Forked and pimped from Yash Copyright (c) 2008 Pep and contributors +# Forked and modified from Yash Copyright (c) 2008 Pep and contributors # licensed under GNU/GPL license # # This plugin is free software; you can redistribute it and/or modify @@ -36,32 +36,15 @@ class dcYASH $core->blog->settings->addNamespace('yash3'); if ($core->blog->settings->yash3->yash3_active) { - $custom_css = $core->blog->settings->yash3->yash3_custom_css; - if (!empty($custom_css)) { - if (strpos('/',$custom_css) === 0) { - $css = $custom_css; - } - else { - $css = - $core->blog->settings->system->themes_url."/". - $core->blog->settings->system->theme."/". - $custom_css; - } - } - else { - $theme = (string)$core->blog->settings->yash3->yash3_theme; - if ($theme == '') { - $css = $core->blog->getPF('yash3/syntaxhighlighter/css/shThemeDefault.css'); - } else { - $css = $core->blog->getPF('yash3/syntaxhighlighter/css/shTheme'.$theme.'.css'); - } - } - echo - dcUtils::cssLoad($core->blog->getPF('yash3/syntaxhighlighter/css/shCore.css')). - dcUtils::cssLoad($css); + echo dcUtils::cssLoad( + $core->blog->getPF( + "yash3/syntaxhighlighter/css/shThemeConcatened". + $core->blog->settings->yash3->yash3_concat_version. + ".css" + ) + ); } } - public static function publicFooterContent() { global $core; diff --git a/inc/Minifier.php b/inc/yash3JSMinifier.php similarity index 99% rename from inc/Minifier.php rename to inc/yash3JSMinifier.php index aed98a3..805d793 100644 --- a/inc/Minifier.php +++ b/inc/yash3JSMinifier.php @@ -29,7 +29,7 @@ * @author Robert Hafner * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ -class Minifier +class yash3JSMinifier { /** * The input javascript to be minified. @@ -105,7 +105,7 @@ class Minifier try { ob_start(); - $jshrink = new Minifier(); + $jshrink = new yash3JSMinifier(); $js = $jshrink->lock($js); $jshrink->minifyDirectToOutput($js, $options); diff --git a/index.php b/index.php index d5ce533..e89d728 100755 --- a/index.php +++ b/index.php @@ -45,6 +45,7 @@ if (is_null($core->blog->settings->yash3->yash3_active)) { $active = (boolean)$core->blog->settings->yash3->yash3_active; $theme = (string)$core->blog->settings->yash3->yash3_theme; $custom_css = (string)$core->blog->settings->yash3->yash3_custom_css; +$concat_version = (integer)$core->blog->settings->yash3->yash3_concat_version; if (!empty($_REQUEST['popup'])) { $yash3_brushes = array( @@ -110,25 +111,70 @@ if (!empty($_POST['saveconfig'])) { $core->blog->settings->yash3->put('yash3_theme',$theme,'string'); $core->blog->settings->yash3->put('yash3_custom_css',$custom_css,'string'); - //To do, créer le file minifié ici yash3/syntaxhighlighter/js/shConcatened.js - - if(file_exists(dirname(__FILE__)."/syntaxhighlighter/js/shConcatened.js")){ + + $new_concat_version = (integer)$core->blog->settings->yash3->yash3_concat_version + 1; + + //Generate the CSS concatened + if(file_exists(dirname(__FILE__)."/syntaxhighlighter/css/shThemeConcatened".$concat_version.".css")){ //delete It - unlink(dirname(__FILE__)."/syntaxhighlighter/js/shConcatened.js"); + unlink(dirname(__FILE__)."/syntaxhighlighter/css/shThemeConcatened".$concat_version.".css"); } - //concat js files and minify them - + $custom_css = $core->blog->settings->yash3->yash3_custom_css; + if (!empty($custom_css)) { + if (strpos('/',$custom_css) === 0) { + $cssPathFile = DC_RC_PATH.$custom_css; + } + else { + $cssPathFile = DC_RC_PATH. + $core->blog->settings->system->themes_url."/". + $core->blog->settings->system->theme."/". + $custom_css; + } + } + else { + $theme = (string)$core->blog->settings->yash3->yash3_theme; + if ($theme == '') { + $cssPathFile = dirname(__FILE__)."/syntaxhighlighter/css/shThemeDefault.css"; + } else { + $cssPathFile = dirname(__FILE__)."/syntaxhighlighter/css/shTheme".$theme.".css"; + } + } + + $fContent = file_get_contents(dirname(__FILE__)."/syntaxhighlighter/css/shCore.css")."\n". + file_get_contents($cssPathFile); + + // Remove comments + $fContent = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $fContent); + // Remove space after colons + $fContent = str_replace(': ', ':', $fContent); + // Remove whitespace + $fContent = str_replace(array("\r\n", "\r", "\n", "\t", ' ', ' ', ' '), '', $fContent); - include_once(dirname(__FILE__).'/inc/Minifier.php'); - $fContent = Minifier::minify( + file_put_contents( + dirname(__FILE__)."/syntaxhighlighter/css/shThemeConcatened".$new_concat_version.".css", + $fContent + ); + + + //Generate the JS + if(file_exists(dirname(__FILE__)."/syntaxhighlighter/js/shConcatened".$concat_version.".js")){ + //delete It + unlink(dirname(__FILE__)."/syntaxhighlighter/js/shConcatened".$concat_version.".js"); + } + include_once(dirname(__FILE__).'/inc/yash3JSMinifier.php'); + $fContent = yash3JSMinifier::minify( file_get_contents(dirname(__FILE__)."/syntaxhighlighter/js/shCore.js"). file_get_contents(dirname(__FILE__)."/syntaxhighlighter/js/shAutoloader.js"). "\n var yash3_path=\"".$core->blog->getPF('yash3/syntaxhighlighter/js/')."\";\n". file_get_contents(dirname(__FILE__)."/js/public.js") ); - //write the fiule - file_put_contents(dirname(__FILE__)."/syntaxhighlighter/js/shConcatened.js",$fContent); + //write the file + file_put_contents(dirname(__FILE__)."/syntaxhighlighter/js/shConcatened".$new_concat_version.".js",$fContent); + + + //update concat version + $core->blog->settings->yash3->put('yash3_concat_version',$new_concat_version,'integer'); $core->blog->triggerBlog(); dcPage::addSuccessNotice(__('Configuration successfully updated.')); http::redirect($p_url); @@ -141,7 +187,7 @@ if (!empty($_POST['saveconfig'])) { ?> - <?php echo __('YASH'); ?> + <?php echo __('YASH3'); ?> @@ -149,7 +195,7 @@ if (!empty($_POST['saveconfig'])) { echo dcPage::breadcrumb( array( html::escapeHTML($core->blog->name) => '', - __('YASH') => '' + __('YASH3') => '' )); echo dcPage::notices(); diff --git a/syntaxhighlighter/css/shThemeConcatened1.css b/syntaxhighlighter/css/shThemeConcatened1.css new file mode 100644 index 0000000..3223503 --- /dev/null +++ b/syntaxhighlighter/css/shThemeConcatened1.css @@ -0,0 +1 @@ +.syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0!important;-webkit-border-radius:0 0 0 0!important;background:none!important;border:0!important;bottom:auto!important;float:none!important;height:auto!important;left:auto!important;line-height:1.1em!important;margin:0!important;outline:0!important;overflow:visible!important;padding:0!important;position:static!important;right:auto!important;text-align:left!important;top:auto!important;vertical-align:baseline!important;width:auto!important;box-sizing:content-box!important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace!important;font-weight:normal!important;font-style:normal!important;font-size:1em!important;min-height:inherit!important;min-height:auto!important;}.syntaxhighlighter{width:100%!important;margin:1em 0 1em 0!important;position:relative!important;overflow:auto!important;font-size:1em!important;}.syntaxhighlighter.source{overflow:hidden!important;}.syntaxhighlighter.bold{font-weight:bold!important;}.syntaxhighlighter.italic{font-style:italic!important;}.syntaxhighlighter.line{white-space:pre!important;}.syntaxhighlighter table{width:100%!important;}.syntaxhighlighter table caption{text-align:left!important;padding:0.5em 0 0.5em 1em!important;}.syntaxhighlighter table td.code{width:100%!important;}.syntaxhighlighter table td.code.container{position:relative!important;}.syntaxhighlighter table td.code.container textarea{box-sizing:border-box!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;border:none!important;background:white!important;padding-left:1em!important;overflow:hidden!important;white-space:pre!important;}.syntaxhighlighter table td.gutter.line{text-align:right!important;padding:0 0.5em 0 1em!important;}.syntaxhighlighter table td.code.line{padding:0 1em!important;}.syntaxhighlighter.nogutter td.code.container textarea,.syntaxhighlighter.nogutter td.code.line{padding-left:0em!important;}.syntaxhighlighter.show{display:block!important;}.syntaxhighlighter.collapsed table{display:none!important;}.syntaxhighlighter.collapsed.toolbar{padding:0.1em 0.8em 0em 0.8em!important;font-size:1em!important;position:static!important;width:auto!important;height:auto!important;}.syntaxhighlighter.collapsed.toolbar span{display:inline!important;margin-right:1em!important;}.syntaxhighlighter.collapsed.toolbar span a{padding:0!important;display:none!important;}.syntaxhighlighter.collapsed.toolbar span a.expandSource{display:inline!important;}.syntaxhighlighter.toolbar{position:absolute!important;right:1px!important;top:1px!important;width:11px!important;height:11px!important;font-size:10px!important;z-index:10!important;}.syntaxhighlighter.toolbar span.title{display:inline!important;}.syntaxhighlighter.toolbar a{display:block!important;text-align:center!important;text-decoration:none!important;padding-top:1px!important;}.syntaxhighlighter.toolbar a.expandSource{display:none!important;}.syntaxhighlighter.ie{font-size:0.9em!important;padding:1px 0 1px 0!important;}.syntaxhighlighter.ie.toolbar{line-height:8px!important;}.syntaxhighlighter.ie.toolbar a{padding-top:0px!important;}.syntaxhighlighter.printing.line.alt1.content,.syntaxhighlighter.printing.line.alt2.content,.syntaxhighlighter.printing.line.highlighted.number,.syntaxhighlighter.printing.line.highlighted.alt1.content,.syntaxhighlighter.printing.line.highlighted.alt2.content{background:none!important;}.syntaxhighlighter.printing.line.number{color:#bbbbbb!important;}.syntaxhighlighter.printing.line.content{color:black!important;}.syntaxhighlighter.printing.toolbar{display:none!important;}.syntaxhighlighter.printing a{text-decoration:none!important;}.syntaxhighlighter.printing.plain,.syntaxhighlighter.printing.plain a{color:black!important;}.syntaxhighlighter.printing.comments,.syntaxhighlighter.printing.comments a{color:#008200!important;}.syntaxhighlighter.printing.string,.syntaxhighlighter.printing.string a{color:blue!important;}.syntaxhighlighter.printing.keyword{color:#006699!important;font-weight:bold!important;}.syntaxhighlighter.printing.preprocessor{color:gray!important;}.syntaxhighlighter.printing.variable{color:#aa7700!important;}.syntaxhighlighter.printing.value{color:#009900!important;}.syntaxhighlighter.printing.functions{color:deeppink!important;}.syntaxhighlighter.printing.constants{color:#0066cc!important;}.syntaxhighlighter.printing.script{font-weight:bold!important;}.syntaxhighlighter.printing.color1,.syntaxhighlighter.printing.color1 a{color:gray!important;}.syntaxhighlighter.printing.color2,.syntaxhighlighter.printing.color2 a{color:deeppink!important;}.syntaxhighlighter.printing.color3,.syntaxhighlighter.printing.color3 a{color:red!important;}.syntaxhighlighter.printing.break,.syntaxhighlighter.printing.break a{color:black!important;}.syntaxhighlighter{background-color:white!important;}.syntaxhighlighter.line.alt1{background-color:white!important;}.syntaxhighlighter.line.alt2{background-color:white!important;}.syntaxhighlighter.line.highlighted.alt1,.syntaxhighlighter.line.highlighted.alt2{background-color:#e0e0e0!important;}.syntaxhighlighter.line.highlighted.number{color:black!important;}.syntaxhighlighter table caption{color:black!important;}.syntaxhighlighter table td.code.container textarea{background:white;color:black;}.syntaxhighlighter.gutter{color:#afafaf!important;}.syntaxhighlighter.gutter.line{border-right:3px solid#6ce26c!important;}.syntaxhighlighter.gutter.line.highlighted{background-color:#6ce26c!important;color:white!important;}.syntaxhighlighter.printing.line.content{border:none!important;}.syntaxhighlighter.collapsed{overflow:visible!important;}.syntaxhighlighter.collapsed.toolbar{color:blue!important;background:white!important;border:1px solid#6ce26c!important;}.syntaxhighlighter.collapsed.toolbar a{color:blue!important;}.syntaxhighlighter.collapsed.toolbar a:hover{color:red!important;}.syntaxhighlighter.toolbar{color:white!important;background:#6ce26c!important;border:none!important;}.syntaxhighlighter.toolbar a{color:white!important;}.syntaxhighlighter.toolbar a:hover{color:black!important;}.syntaxhighlighter.plain,.syntaxhighlighter.plain a{color:black!important;}.syntaxhighlighter.comments,.syntaxhighlighter.comments a{color:#008200!important;}.syntaxhighlighter.string,.syntaxhighlighter.string a{color:blue!important;}.syntaxhighlighter.keyword{color:#006699!important;}.syntaxhighlighter.preprocessor{color:grey!important;}.syntaxhighlighter.variable{color:#aa7700!important;}.syntaxhighlighter.value{color:#009900!important;}.syntaxhighlighter.functions{color:deeppink!important;}.syntaxhighlighter.constants{color:#0066cc!important;}.syntaxhighlighter.script{font-weight:bold!important;color:#006699!important;background-color:none!important;}.syntaxhighlighter.color1,.syntaxhighlighter.color1 a{color:grey!important;}.syntaxhighlighter.color2,.syntaxhighlighter.color2 a{color:deeppink!important;}.syntaxhighlighter.color3,.syntaxhighlighter.color3 a{color:red!important;}.syntaxhighlighter.keyword{font-weight:bold!important;} \ No newline at end of file diff --git a/syntaxhighlighter/css/shThemeConcatened10.css b/syntaxhighlighter/css/shThemeConcatened10.css new file mode 100644 index 0000000..5fe0a7b --- /dev/null +++ b/syntaxhighlighter/css/shThemeConcatened10.css @@ -0,0 +1 @@ +.syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}.syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}.syntaxhighlighter.source{overflow:hidden !important;}.syntaxhighlighter .bold{font-weight:bold !important;}.syntaxhighlighter .italic{font-style:italic !important;}.syntaxhighlighter .line{white-space:pre !important;}.syntaxhighlighter table{width:100% !important;}.syntaxhighlighter table caption{text-align:left !important;padding:0.5em 0 0.5em 1em !important;}.syntaxhighlighter table td.code{width:100% !important;}.syntaxhighlighter table td.code .container{position:relative !important;}.syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}.syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}.syntaxhighlighter table td.code .line{padding:0 1em !important;}.syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}.syntaxhighlighter.show{display:block !important;}.syntaxhighlighter.collapsed table{display:none !important;}.syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}.syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}.syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}.syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}.syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}.syntaxhighlighter .toolbar span.title{display:inline !important;}.syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}.syntaxhighlighter .toolbar a.expandSource{display:none !important;}.syntaxhighlighter.ie{font-size:0.9em !important;padding:1px 0 1px 0 !important;}.syntaxhighlighter.ie .toolbar{line-height:8px !important;}.syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}.syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}.syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}.syntaxhighlighter.printing .line .content{color:black !important;}.syntaxhighlighter.printing .toolbar{display:none !important;}.syntaxhighlighter.printing a{text-decoration:none !important;}.syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}.syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}.syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}.syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}.syntaxhighlighter.printing .preprocessor{color:gray !important;}.syntaxhighlighter.printing .variable{color:#aa7700 !important;}.syntaxhighlighter.printing .value{color:#009900 !important;}.syntaxhighlighter.printing .functions{color:deeppink !important;}.syntaxhighlighter.printing .constants{color:#0066cc !important;}.syntaxhighlighter.printing .script{font-weight:bold !important;}.syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}.syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:deeppink !important;}.syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}.syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}.syntaxhighlighter{background-color:#1b2426 !important;}.syntaxhighlighter .line.alt1{background-color:#1b2426 !important;}.syntaxhighlighter .line.alt2{background-color:#1b2426 !important;}.syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#323e41 !important;}.syntaxhighlighter .line.highlighted.number{color:#b9bdb6 !important;}.syntaxhighlighter table caption{color:#b9bdb6 !important;}.syntaxhighlighter table td.code .container textarea{background:#1b2426;color:#b9bdb6;}.syntaxhighlighter .gutter{color:#afafaf !important;}.syntaxhighlighter .gutter .line{border-right:3px solid #435a5f !important;}.syntaxhighlighter .gutter .line.highlighted{background-color:#435a5f !important;color:#1b2426 !important;}.syntaxhighlighter.printing .line .content{border:none !important;}.syntaxhighlighter.collapsed{overflow:visible !important;}.syntaxhighlighter.collapsed .toolbar{color:#5ba1cf !important;background:black !important;border:1px solid #435a5f !important;}.syntaxhighlighter.collapsed .toolbar a{color:#5ba1cf !important;}.syntaxhighlighter.collapsed .toolbar a:hover{color:#5ce638 !important;}.syntaxhighlighter .toolbar{color:white !important;background:#435a5f !important;border:none !important;}.syntaxhighlighter .toolbar a{color:white !important;}.syntaxhighlighter .toolbar a:hover{color:#e0e8ff !important;}.syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#b9bdb6 !important;}.syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#878a85 !important;}.syntaxhighlighter .string,.syntaxhighlighter .string a{color:#5ce638 !important;}.syntaxhighlighter .keyword{color:#5ba1cf !important;}.syntaxhighlighter .preprocessor{color:#435a5f !important;}.syntaxhighlighter .variable{color:#ffaa3e !important;}.syntaxhighlighter .value{color:#009900 !important;}.syntaxhighlighter .functions{color:#ffaa3e !important;}.syntaxhighlighter .constants{color:#e0e8ff !important;}.syntaxhighlighter .script{font-weight:bold !important;color:#5ba1cf !important;background-color:none !important;}.syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#e0e8ff !important;}.syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:white !important;}.syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#ffaa3e !important;} \ No newline at end of file diff --git a/syntaxhighlighter/css/shThemeConcatened2.css b/syntaxhighlighter/css/shThemeConcatened2.css new file mode 100644 index 0000000..3223503 --- /dev/null +++ b/syntaxhighlighter/css/shThemeConcatened2.css @@ -0,0 +1 @@ +.syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0!important;-webkit-border-radius:0 0 0 0!important;background:none!important;border:0!important;bottom:auto!important;float:none!important;height:auto!important;left:auto!important;line-height:1.1em!important;margin:0!important;outline:0!important;overflow:visible!important;padding:0!important;position:static!important;right:auto!important;text-align:left!important;top:auto!important;vertical-align:baseline!important;width:auto!important;box-sizing:content-box!important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace!important;font-weight:normal!important;font-style:normal!important;font-size:1em!important;min-height:inherit!important;min-height:auto!important;}.syntaxhighlighter{width:100%!important;margin:1em 0 1em 0!important;position:relative!important;overflow:auto!important;font-size:1em!important;}.syntaxhighlighter.source{overflow:hidden!important;}.syntaxhighlighter.bold{font-weight:bold!important;}.syntaxhighlighter.italic{font-style:italic!important;}.syntaxhighlighter.line{white-space:pre!important;}.syntaxhighlighter table{width:100%!important;}.syntaxhighlighter table caption{text-align:left!important;padding:0.5em 0 0.5em 1em!important;}.syntaxhighlighter table td.code{width:100%!important;}.syntaxhighlighter table td.code.container{position:relative!important;}.syntaxhighlighter table td.code.container textarea{box-sizing:border-box!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;border:none!important;background:white!important;padding-left:1em!important;overflow:hidden!important;white-space:pre!important;}.syntaxhighlighter table td.gutter.line{text-align:right!important;padding:0 0.5em 0 1em!important;}.syntaxhighlighter table td.code.line{padding:0 1em!important;}.syntaxhighlighter.nogutter td.code.container textarea,.syntaxhighlighter.nogutter td.code.line{padding-left:0em!important;}.syntaxhighlighter.show{display:block!important;}.syntaxhighlighter.collapsed table{display:none!important;}.syntaxhighlighter.collapsed.toolbar{padding:0.1em 0.8em 0em 0.8em!important;font-size:1em!important;position:static!important;width:auto!important;height:auto!important;}.syntaxhighlighter.collapsed.toolbar span{display:inline!important;margin-right:1em!important;}.syntaxhighlighter.collapsed.toolbar span a{padding:0!important;display:none!important;}.syntaxhighlighter.collapsed.toolbar span a.expandSource{display:inline!important;}.syntaxhighlighter.toolbar{position:absolute!important;right:1px!important;top:1px!important;width:11px!important;height:11px!important;font-size:10px!important;z-index:10!important;}.syntaxhighlighter.toolbar span.title{display:inline!important;}.syntaxhighlighter.toolbar a{display:block!important;text-align:center!important;text-decoration:none!important;padding-top:1px!important;}.syntaxhighlighter.toolbar a.expandSource{display:none!important;}.syntaxhighlighter.ie{font-size:0.9em!important;padding:1px 0 1px 0!important;}.syntaxhighlighter.ie.toolbar{line-height:8px!important;}.syntaxhighlighter.ie.toolbar a{padding-top:0px!important;}.syntaxhighlighter.printing.line.alt1.content,.syntaxhighlighter.printing.line.alt2.content,.syntaxhighlighter.printing.line.highlighted.number,.syntaxhighlighter.printing.line.highlighted.alt1.content,.syntaxhighlighter.printing.line.highlighted.alt2.content{background:none!important;}.syntaxhighlighter.printing.line.number{color:#bbbbbb!important;}.syntaxhighlighter.printing.line.content{color:black!important;}.syntaxhighlighter.printing.toolbar{display:none!important;}.syntaxhighlighter.printing a{text-decoration:none!important;}.syntaxhighlighter.printing.plain,.syntaxhighlighter.printing.plain a{color:black!important;}.syntaxhighlighter.printing.comments,.syntaxhighlighter.printing.comments a{color:#008200!important;}.syntaxhighlighter.printing.string,.syntaxhighlighter.printing.string a{color:blue!important;}.syntaxhighlighter.printing.keyword{color:#006699!important;font-weight:bold!important;}.syntaxhighlighter.printing.preprocessor{color:gray!important;}.syntaxhighlighter.printing.variable{color:#aa7700!important;}.syntaxhighlighter.printing.value{color:#009900!important;}.syntaxhighlighter.printing.functions{color:deeppink!important;}.syntaxhighlighter.printing.constants{color:#0066cc!important;}.syntaxhighlighter.printing.script{font-weight:bold!important;}.syntaxhighlighter.printing.color1,.syntaxhighlighter.printing.color1 a{color:gray!important;}.syntaxhighlighter.printing.color2,.syntaxhighlighter.printing.color2 a{color:deeppink!important;}.syntaxhighlighter.printing.color3,.syntaxhighlighter.printing.color3 a{color:red!important;}.syntaxhighlighter.printing.break,.syntaxhighlighter.printing.break a{color:black!important;}.syntaxhighlighter{background-color:white!important;}.syntaxhighlighter.line.alt1{background-color:white!important;}.syntaxhighlighter.line.alt2{background-color:white!important;}.syntaxhighlighter.line.highlighted.alt1,.syntaxhighlighter.line.highlighted.alt2{background-color:#e0e0e0!important;}.syntaxhighlighter.line.highlighted.number{color:black!important;}.syntaxhighlighter table caption{color:black!important;}.syntaxhighlighter table td.code.container textarea{background:white;color:black;}.syntaxhighlighter.gutter{color:#afafaf!important;}.syntaxhighlighter.gutter.line{border-right:3px solid#6ce26c!important;}.syntaxhighlighter.gutter.line.highlighted{background-color:#6ce26c!important;color:white!important;}.syntaxhighlighter.printing.line.content{border:none!important;}.syntaxhighlighter.collapsed{overflow:visible!important;}.syntaxhighlighter.collapsed.toolbar{color:blue!important;background:white!important;border:1px solid#6ce26c!important;}.syntaxhighlighter.collapsed.toolbar a{color:blue!important;}.syntaxhighlighter.collapsed.toolbar a:hover{color:red!important;}.syntaxhighlighter.toolbar{color:white!important;background:#6ce26c!important;border:none!important;}.syntaxhighlighter.toolbar a{color:white!important;}.syntaxhighlighter.toolbar a:hover{color:black!important;}.syntaxhighlighter.plain,.syntaxhighlighter.plain a{color:black!important;}.syntaxhighlighter.comments,.syntaxhighlighter.comments a{color:#008200!important;}.syntaxhighlighter.string,.syntaxhighlighter.string a{color:blue!important;}.syntaxhighlighter.keyword{color:#006699!important;}.syntaxhighlighter.preprocessor{color:grey!important;}.syntaxhighlighter.variable{color:#aa7700!important;}.syntaxhighlighter.value{color:#009900!important;}.syntaxhighlighter.functions{color:deeppink!important;}.syntaxhighlighter.constants{color:#0066cc!important;}.syntaxhighlighter.script{font-weight:bold!important;color:#006699!important;background-color:none!important;}.syntaxhighlighter.color1,.syntaxhighlighter.color1 a{color:grey!important;}.syntaxhighlighter.color2,.syntaxhighlighter.color2 a{color:deeppink!important;}.syntaxhighlighter.color3,.syntaxhighlighter.color3 a{color:red!important;}.syntaxhighlighter.keyword{font-weight:bold!important;} \ No newline at end of file diff --git a/syntaxhighlighter/css/shThemeConcatened3.css b/syntaxhighlighter/css/shThemeConcatened3.css new file mode 100644 index 0000000..b75ee61 --- /dev/null +++ b/syntaxhighlighter/css/shThemeConcatened3.css @@ -0,0 +1,111 @@ +/** + * SyntaxHighlighter + * http://alexgorbatchev.com/SyntaxHighlighter + * + * SyntaxHighlighter is donationware. If you are using it, please donate. + * http://alexgorbatchev.com/SyntaxHighlighter/donate.html + * + * @version + * 3.0.9 (Thu, 04 Dec 2014 12:32:21 GMT) + * + * @copyright + * Copyright (C) 2004-2013 Alex Gorbatchev. + * + * @license + * Dual licensed under the MIT and GPL licenses. + */ +.syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;} +.syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;} +.syntaxhighlighter.source{overflow:hidden !important;} +.syntaxhighlighter .bold{font-weight:bold !important;} +.syntaxhighlighter .italic{font-style:italic !important;} +.syntaxhighlighter .line{white-space:pre !important;} +.syntaxhighlighter table{width:100% !important;} +.syntaxhighlighter table caption{text-align:left !important;padding:0.5em 0 0.5em 1em !important;} +.syntaxhighlighter table td.code{width:100% !important;} +.syntaxhighlighter table td.code .container{position:relative !important;} +.syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;} +.syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;} +.syntaxhighlighter table td.code .line{padding:0 1em !important;} +.syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;} +.syntaxhighlighter.show{display:block !important;} +.syntaxhighlighter.collapsed table{display:none !important;} +.syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;} +.syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;} +.syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;} +.syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;} +.syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;} +.syntaxhighlighter .toolbar span.title{display:inline !important;} +.syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;} +.syntaxhighlighter .toolbar a.expandSource{display:none !important;} +.syntaxhighlighter.ie{font-size:0.9em !important;padding:1px 0 1px 0 !important;} +.syntaxhighlighter.ie .toolbar{line-height:8px !important;} +.syntaxhighlighter.ie .toolbar a{padding-top:0px !important;} +.syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;} +.syntaxhighlighter.printing .line .number{color:#bbbbbb !important;} +.syntaxhighlighter.printing .line .content{color:black !important;} +.syntaxhighlighter.printing .toolbar{display:none !important;} +.syntaxhighlighter.printing a{text-decoration:none !important;} +.syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;} +.syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;} +.syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;} +.syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;} +.syntaxhighlighter.printing .preprocessor{color:gray !important;} +.syntaxhighlighter.printing .variable{color:#aa7700 !important;} +.syntaxhighlighter.printing .value{color:#009900 !important;} +.syntaxhighlighter.printing .functions{color:deeppink !important;} +.syntaxhighlighter.printing .constants{color:#0066cc !important;} +.syntaxhighlighter.printing .script{font-weight:bold !important;} +.syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;} +.syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:deeppink !important;} +.syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;} +.syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;} + +/** + * SyntaxHighlighter + * http://alexgorbatchev.com/SyntaxHighlighter + * + * SyntaxHighlighter is donationware. If you are using it, please donate. + * http://alexgorbatchev.com/SyntaxHighlighter/donate.html + * + * @version + * 3.0.9 (Thu, 04 Dec 2014 12:32:21 GMT) + * + * @copyright + * Copyright (C) 2004-2013 Alex Gorbatchev. + * + * @license + * Dual licensed under the MIT and GPL licenses. + */ +.syntaxhighlighter{background-color:white !important;} +.syntaxhighlighter .line.alt1{background-color:white !important;} +.syntaxhighlighter .line.alt2{background-color:white !important;} +.syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;} +.syntaxhighlighter .line.highlighted.number{color:black !important;} +.syntaxhighlighter table caption{color:black !important;} +.syntaxhighlighter table td.code .container textarea{background:white;color:black;} +.syntaxhighlighter .gutter{color:#afafaf !important;} +.syntaxhighlighter .gutter .line{border-right:3px solid #6ce26c !important;} +.syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c !important;color:white !important;} +.syntaxhighlighter.printing .line .content{border:none !important;} +.syntaxhighlighter.collapsed{overflow:visible !important;} +.syntaxhighlighter.collapsed .toolbar{color:blue !important;background:white !important;border:1px solid #6ce26c !important;} +.syntaxhighlighter.collapsed .toolbar a{color:blue !important;} +.syntaxhighlighter.collapsed .toolbar a:hover{color:red !important;} +.syntaxhighlighter .toolbar{color:white !important;background:#6ce26c !important;border:none !important;} +.syntaxhighlighter .toolbar a{color:white !important;} +.syntaxhighlighter .toolbar a:hover{color:black !important;} +.syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;} +.syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200 !important;} +.syntaxhighlighter .string,.syntaxhighlighter .string a{color:blue !important;} +.syntaxhighlighter .keyword{color:#006699 !important;} +.syntaxhighlighter .preprocessor{color:grey !important;} +.syntaxhighlighter .variable{color:#aa7700 !important;} +.syntaxhighlighter .value{color:#009900 !important;} +.syntaxhighlighter .functions{color:deeppink !important;} +.syntaxhighlighter .constants{color:#0066cc !important;} +.syntaxhighlighter .script{font-weight:bold !important;color:#006699 !important;background-color:none !important;} +.syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:grey !important;} +.syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:deeppink !important;} +.syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;} +.syntaxhighlighter .keyword{font-weight:bold !important;} diff --git a/syntaxhighlighter/css/shThemeConcatened4.css b/syntaxhighlighter/css/shThemeConcatened4.css new file mode 100644 index 0000000..b75ee61 --- /dev/null +++ b/syntaxhighlighter/css/shThemeConcatened4.css @@ -0,0 +1,111 @@ +/** + * SyntaxHighlighter + * http://alexgorbatchev.com/SyntaxHighlighter + * + * SyntaxHighlighter is donationware. If you are using it, please donate. + * http://alexgorbatchev.com/SyntaxHighlighter/donate.html + * + * @version + * 3.0.9 (Thu, 04 Dec 2014 12:32:21 GMT) + * + * @copyright + * Copyright (C) 2004-2013 Alex Gorbatchev. + * + * @license + * Dual licensed under the MIT and GPL licenses. + */ +.syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;} +.syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;} +.syntaxhighlighter.source{overflow:hidden !important;} +.syntaxhighlighter .bold{font-weight:bold !important;} +.syntaxhighlighter .italic{font-style:italic !important;} +.syntaxhighlighter .line{white-space:pre !important;} +.syntaxhighlighter table{width:100% !important;} +.syntaxhighlighter table caption{text-align:left !important;padding:0.5em 0 0.5em 1em !important;} +.syntaxhighlighter table td.code{width:100% !important;} +.syntaxhighlighter table td.code .container{position:relative !important;} +.syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;} +.syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;} +.syntaxhighlighter table td.code .line{padding:0 1em !important;} +.syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;} +.syntaxhighlighter.show{display:block !important;} +.syntaxhighlighter.collapsed table{display:none !important;} +.syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;} +.syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;} +.syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;} +.syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;} +.syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;} +.syntaxhighlighter .toolbar span.title{display:inline !important;} +.syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;} +.syntaxhighlighter .toolbar a.expandSource{display:none !important;} +.syntaxhighlighter.ie{font-size:0.9em !important;padding:1px 0 1px 0 !important;} +.syntaxhighlighter.ie .toolbar{line-height:8px !important;} +.syntaxhighlighter.ie .toolbar a{padding-top:0px !important;} +.syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;} +.syntaxhighlighter.printing .line .number{color:#bbbbbb !important;} +.syntaxhighlighter.printing .line .content{color:black !important;} +.syntaxhighlighter.printing .toolbar{display:none !important;} +.syntaxhighlighter.printing a{text-decoration:none !important;} +.syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;} +.syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;} +.syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;} +.syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;} +.syntaxhighlighter.printing .preprocessor{color:gray !important;} +.syntaxhighlighter.printing .variable{color:#aa7700 !important;} +.syntaxhighlighter.printing .value{color:#009900 !important;} +.syntaxhighlighter.printing .functions{color:deeppink !important;} +.syntaxhighlighter.printing .constants{color:#0066cc !important;} +.syntaxhighlighter.printing .script{font-weight:bold !important;} +.syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;} +.syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:deeppink !important;} +.syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;} +.syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;} + +/** + * SyntaxHighlighter + * http://alexgorbatchev.com/SyntaxHighlighter + * + * SyntaxHighlighter is donationware. If you are using it, please donate. + * http://alexgorbatchev.com/SyntaxHighlighter/donate.html + * + * @version + * 3.0.9 (Thu, 04 Dec 2014 12:32:21 GMT) + * + * @copyright + * Copyright (C) 2004-2013 Alex Gorbatchev. + * + * @license + * Dual licensed under the MIT and GPL licenses. + */ +.syntaxhighlighter{background-color:white !important;} +.syntaxhighlighter .line.alt1{background-color:white !important;} +.syntaxhighlighter .line.alt2{background-color:white !important;} +.syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;} +.syntaxhighlighter .line.highlighted.number{color:black !important;} +.syntaxhighlighter table caption{color:black !important;} +.syntaxhighlighter table td.code .container textarea{background:white;color:black;} +.syntaxhighlighter .gutter{color:#afafaf !important;} +.syntaxhighlighter .gutter .line{border-right:3px solid #6ce26c !important;} +.syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c !important;color:white !important;} +.syntaxhighlighter.printing .line .content{border:none !important;} +.syntaxhighlighter.collapsed{overflow:visible !important;} +.syntaxhighlighter.collapsed .toolbar{color:blue !important;background:white !important;border:1px solid #6ce26c !important;} +.syntaxhighlighter.collapsed .toolbar a{color:blue !important;} +.syntaxhighlighter.collapsed .toolbar a:hover{color:red !important;} +.syntaxhighlighter .toolbar{color:white !important;background:#6ce26c !important;border:none !important;} +.syntaxhighlighter .toolbar a{color:white !important;} +.syntaxhighlighter .toolbar a:hover{color:black !important;} +.syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;} +.syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200 !important;} +.syntaxhighlighter .string,.syntaxhighlighter .string a{color:blue !important;} +.syntaxhighlighter .keyword{color:#006699 !important;} +.syntaxhighlighter .preprocessor{color:grey !important;} +.syntaxhighlighter .variable{color:#aa7700 !important;} +.syntaxhighlighter .value{color:#009900 !important;} +.syntaxhighlighter .functions{color:deeppink !important;} +.syntaxhighlighter .constants{color:#0066cc !important;} +.syntaxhighlighter .script{font-weight:bold !important;color:#006699 !important;background-color:none !important;} +.syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:grey !important;} +.syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:deeppink !important;} +.syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;} +.syntaxhighlighter .keyword{font-weight:bold !important;} diff --git a/syntaxhighlighter/css/shThemeConcatened5.css b/syntaxhighlighter/css/shThemeConcatened5.css new file mode 100644 index 0000000..b75ee61 --- /dev/null +++ b/syntaxhighlighter/css/shThemeConcatened5.css @@ -0,0 +1,111 @@ +/** + * SyntaxHighlighter + * http://alexgorbatchev.com/SyntaxHighlighter + * + * SyntaxHighlighter is donationware. If you are using it, please donate. + * http://alexgorbatchev.com/SyntaxHighlighter/donate.html + * + * @version + * 3.0.9 (Thu, 04 Dec 2014 12:32:21 GMT) + * + * @copyright + * Copyright (C) 2004-2013 Alex Gorbatchev. + * + * @license + * Dual licensed under the MIT and GPL licenses. + */ +.syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;} +.syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;} +.syntaxhighlighter.source{overflow:hidden !important;} +.syntaxhighlighter .bold{font-weight:bold !important;} +.syntaxhighlighter .italic{font-style:italic !important;} +.syntaxhighlighter .line{white-space:pre !important;} +.syntaxhighlighter table{width:100% !important;} +.syntaxhighlighter table caption{text-align:left !important;padding:0.5em 0 0.5em 1em !important;} +.syntaxhighlighter table td.code{width:100% !important;} +.syntaxhighlighter table td.code .container{position:relative !important;} +.syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;} +.syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;} +.syntaxhighlighter table td.code .line{padding:0 1em !important;} +.syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;} +.syntaxhighlighter.show{display:block !important;} +.syntaxhighlighter.collapsed table{display:none !important;} +.syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;} +.syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;} +.syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;} +.syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;} +.syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;} +.syntaxhighlighter .toolbar span.title{display:inline !important;} +.syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;} +.syntaxhighlighter .toolbar a.expandSource{display:none !important;} +.syntaxhighlighter.ie{font-size:0.9em !important;padding:1px 0 1px 0 !important;} +.syntaxhighlighter.ie .toolbar{line-height:8px !important;} +.syntaxhighlighter.ie .toolbar a{padding-top:0px !important;} +.syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;} +.syntaxhighlighter.printing .line .number{color:#bbbbbb !important;} +.syntaxhighlighter.printing .line .content{color:black !important;} +.syntaxhighlighter.printing .toolbar{display:none !important;} +.syntaxhighlighter.printing a{text-decoration:none !important;} +.syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;} +.syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;} +.syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;} +.syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;} +.syntaxhighlighter.printing .preprocessor{color:gray !important;} +.syntaxhighlighter.printing .variable{color:#aa7700 !important;} +.syntaxhighlighter.printing .value{color:#009900 !important;} +.syntaxhighlighter.printing .functions{color:deeppink !important;} +.syntaxhighlighter.printing .constants{color:#0066cc !important;} +.syntaxhighlighter.printing .script{font-weight:bold !important;} +.syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;} +.syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:deeppink !important;} +.syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;} +.syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;} + +/** + * SyntaxHighlighter + * http://alexgorbatchev.com/SyntaxHighlighter + * + * SyntaxHighlighter is donationware. If you are using it, please donate. + * http://alexgorbatchev.com/SyntaxHighlighter/donate.html + * + * @version + * 3.0.9 (Thu, 04 Dec 2014 12:32:21 GMT) + * + * @copyright + * Copyright (C) 2004-2013 Alex Gorbatchev. + * + * @license + * Dual licensed under the MIT and GPL licenses. + */ +.syntaxhighlighter{background-color:white !important;} +.syntaxhighlighter .line.alt1{background-color:white !important;} +.syntaxhighlighter .line.alt2{background-color:white !important;} +.syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;} +.syntaxhighlighter .line.highlighted.number{color:black !important;} +.syntaxhighlighter table caption{color:black !important;} +.syntaxhighlighter table td.code .container textarea{background:white;color:black;} +.syntaxhighlighter .gutter{color:#afafaf !important;} +.syntaxhighlighter .gutter .line{border-right:3px solid #6ce26c !important;} +.syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c !important;color:white !important;} +.syntaxhighlighter.printing .line .content{border:none !important;} +.syntaxhighlighter.collapsed{overflow:visible !important;} +.syntaxhighlighter.collapsed .toolbar{color:blue !important;background:white !important;border:1px solid #6ce26c !important;} +.syntaxhighlighter.collapsed .toolbar a{color:blue !important;} +.syntaxhighlighter.collapsed .toolbar a:hover{color:red !important;} +.syntaxhighlighter .toolbar{color:white !important;background:#6ce26c !important;border:none !important;} +.syntaxhighlighter .toolbar a{color:white !important;} +.syntaxhighlighter .toolbar a:hover{color:black !important;} +.syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;} +.syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200 !important;} +.syntaxhighlighter .string,.syntaxhighlighter .string a{color:blue !important;} +.syntaxhighlighter .keyword{color:#006699 !important;} +.syntaxhighlighter .preprocessor{color:grey !important;} +.syntaxhighlighter .variable{color:#aa7700 !important;} +.syntaxhighlighter .value{color:#009900 !important;} +.syntaxhighlighter .functions{color:deeppink !important;} +.syntaxhighlighter .constants{color:#0066cc !important;} +.syntaxhighlighter .script{font-weight:bold !important;color:#006699 !important;background-color:none !important;} +.syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:grey !important;} +.syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:deeppink !important;} +.syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;} +.syntaxhighlighter .keyword{font-weight:bold !important;} diff --git a/syntaxhighlighter/css/shThemeConcatened6.css b/syntaxhighlighter/css/shThemeConcatened6.css new file mode 100644 index 0000000..236aca8 --- /dev/null +++ b/syntaxhighlighter/css/shThemeConcatened6.css @@ -0,0 +1 @@ +.syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}.syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}.syntaxhighlighter.source{overflow:hidden !important;}.syntaxhighlighter .bold{font-weight:bold !important;}.syntaxhighlighter .italic{font-style:italic !important;}.syntaxhighlighter .line{white-space:pre !important;}.syntaxhighlighter table{width:100% !important;}.syntaxhighlighter table caption{text-align:left !important;padding:0.5em 0 0.5em 1em !important;}.syntaxhighlighter table td.code{width:100% !important;}.syntaxhighlighter table td.code .container{position:relative !important;}.syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}.syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}.syntaxhighlighter table td.code .line{padding:0 1em !important;}.syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}.syntaxhighlighter.show{display:block !important;}.syntaxhighlighter.collapsed table{display:none !important;}.syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}.syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}.syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}.syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}.syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}.syntaxhighlighter .toolbar span.title{display:inline !important;}.syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}.syntaxhighlighter .toolbar a.expandSource{display:none !important;}.syntaxhighlighter.ie{font-size:0.9em !important;padding:1px 0 1px 0 !important;}.syntaxhighlighter.ie .toolbar{line-height:8px !important;}.syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}.syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}.syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}.syntaxhighlighter.printing .line .content{color:black !important;}.syntaxhighlighter.printing .toolbar{display:none !important;}.syntaxhighlighter.printing a{text-decoration:none !important;}.syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}.syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}.syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}.syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}.syntaxhighlighter.printing .preprocessor{color:gray !important;}.syntaxhighlighter.printing .variable{color:#aa7700 !important;}.syntaxhighlighter.printing .value{color:#009900 !important;}.syntaxhighlighter.printing .functions{color:deeppink !important;}.syntaxhighlighter.printing .constants{color:#0066cc !important;}.syntaxhighlighter.printing .script{font-weight:bold !important;}.syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}.syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:deeppink !important;}.syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}.syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}.syntaxhighlighter{background-color:white !important;}.syntaxhighlighter .line.alt1{background-color:white !important;}.syntaxhighlighter .line.alt2{background-color:white !important;}.syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;}.syntaxhighlighter .line.highlighted.number{color:black !important;}.syntaxhighlighter table caption{color:black !important;}.syntaxhighlighter table td.code .container textarea{background:white;color:black;}.syntaxhighlighter .gutter{color:#afafaf !important;}.syntaxhighlighter .gutter .line{border-right:3px solid #6ce26c !important;}.syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c !important;color:white !important;}.syntaxhighlighter.printing .line .content{border:none !important;}.syntaxhighlighter.collapsed{overflow:visible !important;}.syntaxhighlighter.collapsed .toolbar{color:blue !important;background:white !important;border:1px solid #6ce26c !important;}.syntaxhighlighter.collapsed .toolbar a{color:blue !important;}.syntaxhighlighter.collapsed .toolbar a:hover{color:red !important;}.syntaxhighlighter .toolbar{color:white !important;background:#6ce26c !important;border:none !important;}.syntaxhighlighter .toolbar a{color:white !important;}.syntaxhighlighter .toolbar a:hover{color:black !important;}.syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;}.syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200 !important;}.syntaxhighlighter .string,.syntaxhighlighter .string a{color:blue !important;}.syntaxhighlighter .keyword{color:#006699 !important;}.syntaxhighlighter .preprocessor{color:grey !important;}.syntaxhighlighter .variable{color:#aa7700 !important;}.syntaxhighlighter .value{color:#009900 !important;}.syntaxhighlighter .functions{color:deeppink !important;}.syntaxhighlighter .constants{color:#0066cc !important;}.syntaxhighlighter .script{font-weight:bold !important;color:#006699 !important;background-color:none !important;}.syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:grey !important;}.syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:deeppink !important;}.syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;}.syntaxhighlighter .keyword{font-weight:bold !important;} \ No newline at end of file diff --git a/syntaxhighlighter/css/shThemeConcatened7.css b/syntaxhighlighter/css/shThemeConcatened7.css new file mode 100644 index 0000000..236aca8 --- /dev/null +++ b/syntaxhighlighter/css/shThemeConcatened7.css @@ -0,0 +1 @@ +.syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}.syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}.syntaxhighlighter.source{overflow:hidden !important;}.syntaxhighlighter .bold{font-weight:bold !important;}.syntaxhighlighter .italic{font-style:italic !important;}.syntaxhighlighter .line{white-space:pre !important;}.syntaxhighlighter table{width:100% !important;}.syntaxhighlighter table caption{text-align:left !important;padding:0.5em 0 0.5em 1em !important;}.syntaxhighlighter table td.code{width:100% !important;}.syntaxhighlighter table td.code .container{position:relative !important;}.syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}.syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}.syntaxhighlighter table td.code .line{padding:0 1em !important;}.syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}.syntaxhighlighter.show{display:block !important;}.syntaxhighlighter.collapsed table{display:none !important;}.syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}.syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}.syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}.syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}.syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}.syntaxhighlighter .toolbar span.title{display:inline !important;}.syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}.syntaxhighlighter .toolbar a.expandSource{display:none !important;}.syntaxhighlighter.ie{font-size:0.9em !important;padding:1px 0 1px 0 !important;}.syntaxhighlighter.ie .toolbar{line-height:8px !important;}.syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}.syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}.syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}.syntaxhighlighter.printing .line .content{color:black !important;}.syntaxhighlighter.printing .toolbar{display:none !important;}.syntaxhighlighter.printing a{text-decoration:none !important;}.syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}.syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}.syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}.syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}.syntaxhighlighter.printing .preprocessor{color:gray !important;}.syntaxhighlighter.printing .variable{color:#aa7700 !important;}.syntaxhighlighter.printing .value{color:#009900 !important;}.syntaxhighlighter.printing .functions{color:deeppink !important;}.syntaxhighlighter.printing .constants{color:#0066cc !important;}.syntaxhighlighter.printing .script{font-weight:bold !important;}.syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}.syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:deeppink !important;}.syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}.syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}.syntaxhighlighter{background-color:white !important;}.syntaxhighlighter .line.alt1{background-color:white !important;}.syntaxhighlighter .line.alt2{background-color:white !important;}.syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;}.syntaxhighlighter .line.highlighted.number{color:black !important;}.syntaxhighlighter table caption{color:black !important;}.syntaxhighlighter table td.code .container textarea{background:white;color:black;}.syntaxhighlighter .gutter{color:#afafaf !important;}.syntaxhighlighter .gutter .line{border-right:3px solid #6ce26c !important;}.syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c !important;color:white !important;}.syntaxhighlighter.printing .line .content{border:none !important;}.syntaxhighlighter.collapsed{overflow:visible !important;}.syntaxhighlighter.collapsed .toolbar{color:blue !important;background:white !important;border:1px solid #6ce26c !important;}.syntaxhighlighter.collapsed .toolbar a{color:blue !important;}.syntaxhighlighter.collapsed .toolbar a:hover{color:red !important;}.syntaxhighlighter .toolbar{color:white !important;background:#6ce26c !important;border:none !important;}.syntaxhighlighter .toolbar a{color:white !important;}.syntaxhighlighter .toolbar a:hover{color:black !important;}.syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;}.syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200 !important;}.syntaxhighlighter .string,.syntaxhighlighter .string a{color:blue !important;}.syntaxhighlighter .keyword{color:#006699 !important;}.syntaxhighlighter .preprocessor{color:grey !important;}.syntaxhighlighter .variable{color:#aa7700 !important;}.syntaxhighlighter .value{color:#009900 !important;}.syntaxhighlighter .functions{color:deeppink !important;}.syntaxhighlighter .constants{color:#0066cc !important;}.syntaxhighlighter .script{font-weight:bold !important;color:#006699 !important;background-color:none !important;}.syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:grey !important;}.syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:deeppink !important;}.syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;}.syntaxhighlighter .keyword{font-weight:bold !important;} \ No newline at end of file diff --git a/syntaxhighlighter/js/shConcatened10.js b/syntaxhighlighter/js/shConcatened10.js new file mode 100644 index 0000000..7e6f332 --- /dev/null +++ b/syntaxhighlighter/js/shConcatened10.js @@ -0,0 +1,340 @@ +/*! + * XRegExp v2.0.0 + * (c) 2007-2012 Steven Levithan + * MIT License + */ +var XRegExp;XRegExp=XRegExp||(function(undef){"use strict";var self,addToken,add,features={natives:false,extensibility:false},nativ={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},fixed={},cache={},tokens=[],defaultScope="default",classScope="class",nativeTokens={"default":/^(?:\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|\(\?[:=!]|[?*+]\?|{\d+(?:,\d*)?}\??)/,"class":/^(?:\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S]))/},replacementToken=/\$(?:{([\w$]+)}|(\d\d?|[\s\S]))/g,duplicateFlags=/([\s\S])(?=[\s\S]*\1)/g,quantifier=/^(?:[?*+]|{\d+(?:,\d*)?})\??/,compliantExecNpcg=nativ.exec.call(/()??/,"")[1]===undef,hasNativeY=RegExp.prototype.sticky!==undef,isInsideConstructor=false,registeredFlags="gim"+(hasNativeY?"y":"");function augment(regex,captureNames,isNative){var p;for(p in self.prototype){if(self.prototype.hasOwnProperty(p)){regex[p]=self.prototype[p];}} +regex.xregexp={captureNames:captureNames,isNative:!!isNative};return regex;} +function getNativeFlags(regex){return(regex.global?"g":"")+ +(regex.ignoreCase?"i":"")+ +(regex.multiline?"m":"")+ +(regex.extended?"x":"")+ +(regex.sticky?"y":"");} +function copy(regex,addFlags,removeFlags){if(!self.isRegExp(regex)){throw new TypeError("type RegExp expected");} +var flags=nativ.replace.call(getNativeFlags(regex)+(addFlags||""),duplicateFlags,"");if(removeFlags){flags=nativ.replace.call(flags,new RegExp("["+removeFlags+"]+","g"),"");} +if(regex.xregexp&&!regex.xregexp.isNative){regex=augment(self(regex.source,flags),regex.xregexp.captureNames?regex.xregexp.captureNames.slice(0):null);}else{regex=augment(new RegExp(regex.source,flags),null,true);} +return regex;} +function lastIndexOf(array,value){var i=array.length;if(Array.prototype.lastIndexOf){return array.lastIndexOf(value);} +while(i--){if(array[i]===value){return i;}} +return-1;} +function isType(value,type){return Object.prototype.toString.call(value).toLowerCase()==="[object "+type+"]";} +function prepareOptions(value){value=value||{};if(value==="all"||value.all){value={natives:true,extensibility:true};}else if(isType(value,"string")){value=self.forEach(value,/[^\s,]+/,function(m){this[m]=true;},{});} +return value;} +function runTokens(pattern,pos,scope,context){var i=tokens.length,result=null,match,t;isInsideConstructor=true;try{while(i--){t=tokens[i];if((t.scope==="all"||t.scope===scope)&&(!t.trigger||t.trigger.call(context))){t.pattern.lastIndex=pos;match=fixed.exec.call(t.pattern,pattern);if(match&&match.index===pos){result={output:t.handler.call(context,match,scope),match:match};break;}}}}catch(err){throw err;}finally{isInsideConstructor=false;} +return result;} +function setExtensibility(on){self.addToken=addToken[on?"on":"off"];features.extensibility=on;} +function setNatives(on){RegExp.prototype.exec=(on?fixed:nativ).exec;RegExp.prototype.test=(on?fixed:nativ).test;String.prototype.match=(on?fixed:nativ).match;String.prototype.replace=(on?fixed:nativ).replace;String.prototype.split=(on?fixed:nativ).split;features.natives=on;} +self=function(pattern,flags){if(self.isRegExp(pattern)){if(flags!==undef){throw new TypeError("can't supply flags when constructing one RegExp from another");} +return copy(pattern);} +if(isInsideConstructor){throw new Error("can't call the XRegExp constructor within token definition functions");} +var output=[],scope=defaultScope,tokenContext={hasNamedCapture:false,captureNames:[],hasFlag:function(flag){return flags.indexOf(flag)>-1;}},pos=0,tokenResult,match,chr;pattern=pattern===undef?"":String(pattern);flags=flags===undef?"":String(flags);if(nativ.match.call(flags,duplicateFlags)){throw new SyntaxError("invalid duplicate regular expression flag");} +pattern=nativ.replace.call(pattern,/^\(\?([\w$]+)\)/,function($0,$1){if(nativ.test.call(/[gy]/,$1)){throw new SyntaxError("can't use flag g or y in mode modifier");} +flags=nativ.replace.call(flags+$1,duplicateFlags,"");return"";});self.forEach(flags,/[\s\S]/,function(m){if(registeredFlags.indexOf(m[0])<0){throw new SyntaxError("invalid regular expression flag "+m[0]);}});while(pos";}}else if(backref){return"\\"+(+backref+numPriorCaptures);} +return match;},output=[],pattern,i;if(!(isType(patterns,"array")&&patterns.length)){throw new TypeError("patterns must be a nonempty array");} +for(i=0;i1&&lastIndexOf(match,"")>-1){r2=new RegExp(this.source,nativ.replace.call(getNativeFlags(this),"g",""));nativ.replace.call(String(str).slice(match.index),r2,function(){var i;for(i=1;imatch.index)){this.lastIndex=match.index;}} +if(!this.global){this.lastIndex=origLastIndex;} +return match;};fixed.test=function(str){return!!fixed.exec.call(this,str);};fixed.match=function(regex){if(!self.isRegExp(regex)){regex=new RegExp(regex);}else if(regex.global){var result=nativ.match.apply(this,arguments);regex.lastIndex=0;return result;} +return fixed.exec.call(regex,this);};fixed.replace=function(search,replacement){var isRegex=self.isRegExp(search),captureNames,result,str,origLastIndex;if(isRegex){if(search.xregexp){captureNames=search.xregexp.captureNames;} +if(!search.global){origLastIndex=search.lastIndex;}}else{search+="";} +if(isType(replacement,"function")){result=nativ.replace.call(String(this),search,function(){var args=arguments,i;if(captureNames){args[0]=new String(args[0]);for(i=0;iargs.length-3){throw new SyntaxError("backreference to undefined group "+$0);} +return args[$2]||"";} +throw new SyntaxError("invalid token "+$0);});});} +if(isRegex){if(search.global){search.lastIndex=0;}else{search.lastIndex=origLastIndex;}} +return result;};fixed.split=function(separator,limit){if(!self.isRegExp(separator)){return nativ.split.apply(this,arguments);} +var str=String(this),origLastIndex=separator.lastIndex,output=[],lastLastIndex=0,lastLength;limit=(limit===undef?-1:limit)>>>0;self.forEach(str,separator,function(match){if((match.index+match[0].length)>lastLastIndex){output.push(str.slice(lastLastIndex,match.index));if(match.length>1&&match.indexlimit?output.slice(0,limit):output;};add=addToken.on;add(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4})|x(?![\dA-Fa-f]{2}))/,function(match,scope){if(match[1]==="B"&&scope===defaultScope){return match[0];} +throw new SyntaxError("invalid escape "+match[0]);},{scope:"all"});add(/\[(\^?)]/,function(match){return match[1]?"[\\s\\S]":"\\b\\B";});add(/(?:\(\?#[^)]*\))+/,function(match){return nativ.test.call(quantifier,match.input.slice(match.index+match[0].length))?"":"(?:)";});add(/\\k<([\w$]+)>/,function(match){var index=isNaN(match[1])?(lastIndexOf(this.captureNames,match[1])+1):+match[1],endIndex=match.index+match[0].length;if(!index||index>this.captureNames.length){throw new SyntaxError("backreference to undefined group "+match[0]);} +return"\\"+index+(endIndex===match.input.length||isNaN(match.input.charAt(endIndex))?"":"(?:)");});add(/(?:\s+|#.*)+/,function(match){return nativ.test.call(quantifier,match.input.slice(match.index+match[0].length))?"":"(?:)";},{trigger:function(){return this.hasFlag("x");},customFlags:"x"});add(/\./,function(){return"[\\s\\S]";},{trigger:function(){return this.hasFlag("s");},customFlags:"s"});add(/\(\?P?<([\w$]+)>/,function(match){if(!isNaN(match[1])){throw new SyntaxError("can't use integer as capture name "+match[0]);} +this.captureNames.push(match[1]);this.hasNamedCapture=true;return"(";});add(/\\(\d+)/,function(match,scope){if(!(scope===defaultScope&&/^[1-9]/.test(match[1])&&+match[1]<=this.captureNames.length)&&match[1]!=="0"){throw new SyntaxError("can't use octal escape or backreference to undefined group "+match[0]);} +return match[0];},{scope:"all"});add(/\((?!\?)/,function(){if(this.hasFlag("n")){return"(?:";} +this.captureNames.push(null);return"(";},{customFlags:"n"});if(typeof exports!=="undefined"){exports.XRegExp=self;} +return self;}());if(typeof(SyntaxHighlighter)=='undefined')var SyntaxHighlighter=function(){if(typeof(require)!='undefined'&&typeof(XRegExp)=='undefined') +{XRegExp=require('xregexp').XRegExp;} +var sh={defaults:{'class-name':'','first-line':1,'pad-line-numbers':false,'highlight':null,'title':null,'smart-tabs':true,'tab-size':4,'gutter':true,'toolbar':true,'quick-code':true,'collapse':false,'auto-links':true,'light':false,'unindent':true,'html-script':false},config:{space:' ',useScriptTags:true,bloggerMode:false,stripBrs:false,tagName:'pre',strings:{expandSource:'expand source',help:'?',alert:'SyntaxHighlighter\n\n',noBrush:'Can\'t find brush for: ',brushNotHtmlScript:'Brush wasn\'t configured for html-script option: ',aboutDialog:'About SyntaxHighlighter
SyntaxHighlighter
version 3.0.9 (Thu, 04 Dec 2014 12:32:21 GMT)
JavaScript code syntax highlighter.
Copyright 2004-2013 Alex Gorbatchev.
If you like this script, please donate to
keep development active!
'}},vars:{highlighters:{}},brushes:{},regexLib:{multiLineCComments:XRegExp('/\\*.*?\\*/','gs'),singleLineCComments:/\/\/.*$/gm,singleLinePerlComments:/#.*$/gm,doubleQuotedString:/"([^\\"\n]|\\.)*"/g,singleQuotedString:/'([^\\'\n]|\\.)*'/g,multiLineDoubleQuotedString:XRegExp('"([^\\\\"]|\\\\.)*"','gs'),multiLineSingleQuotedString:XRegExp("'([^\\\\']|\\\\.)*'",'gs'),xmlComments:XRegExp('(<|<)!--.*?--(>|>)','gs'),url:/\w+:\/\/[\w-.\/?%&=:@;#]*/g,phpScriptTags:{left:/(<|<)\?(?:=|php)?/g,right:/\?(>|>)/g,'eof':true},aspScriptTags:{left:/(<|<)%=?/g,right:/%(>|>)/g},scriptScriptTags:{left:/(<|<)\s*script.*?(>|>)/gi,right:/(<|<)\/\s*script\s*(>|>)/gi}},toolbar:{getHtml:function(highlighter) +{var html='
',items=sh.toolbar.items,list=items.list;function defaultGetHtml(highlighter,name) +{return sh.toolbar.getButtonHtml(highlighter,name,sh.config.strings[name]);} +for(var i=0,l=list.length;i'+escapeHtml(label)+'';},handler:function(e) +{var target=e.target,className=target.className||'';function getValue(name) +{var r=new RegExp(name+'_(\\w+)'),match=r.exec(className);return match?match[1]:null;} +var highlighter=getHighlighterById(findParentElement(target,'.syntaxhighlighter').id),commandName=getValue('command');if(highlighter&&commandName) +sh.toolbar.items[commandName].execute(highlighter);e.preventDefault();},items:{list:['expandSource','help'],expandSource:{getHtml:function(highlighter) +{if(highlighter.getParam('collapse')!=true) +return'';var title=highlighter.getParam('title');return sh.toolbar.getButtonHtml(highlighter,'expandSource',title?title:sh.config.strings.expandSource);},execute:function(highlighter) +{var div=getHighlighterDivById(highlighter.id);removeClass(div,'collapsed');}},help:{execute:function(highlighter) +{var wnd=popup('','_blank',500,250,'scrollbars=0'),doc=wnd.document;doc.write(sh.config.strings.aboutDialog);doc.close();wnd.focus();}}}},findElements:function(globalParams,element) +{var elements=element?[element]:toArray(document.getElementsByTagName(sh.config.tagName)),conf=sh.config,result=[];if(conf.useScriptTags) +elements=elements.concat(getSyntaxHighlighterScriptTags());if(elements.length===0) +return result;for(var i=0,l=elements.length;i(.*?))\\]$"),pos=0,regex=XRegExp("(?[\\w-]+)"+"\\s*:\\s*"+"(?"+"[\\w%#-]+|"+"\\[.*?\\]|"+'".*?"|'+"'.*?'"+")\\s*;?","g");while((match=XRegExp.exec(str,regex,pos))!=null) +{var value=match.value.replace(/^['"]|['"]$/g,'');if(value!=null&&arrayRegex.test(value)) +{var m=XRegExp.exec(value,arrayRegex);value=m.values.length>0?m.values.split(/\s*,\s*/):[];} +result[match.name]=value;pos=match.index+match[0].length;} +return result;};function wrapLinesWithCode(str,css) +{if(str==null||str.length==0||str=='\n') +return str;str=str.replace(/'+line+'';});return str;};function padNumber(number,length) +{var result=number.toString();while(result.length|<br\s*\/?>/gi;if(sh.config.bloggerMode==true) +str=str.replace(br,'\n');if(sh.config.stripBrs==true) +str=str.replace(br,'');return str;};function trim(str) +{return str.replace(/^\s+|\s+$/g,'');};function unindent(str) +{var lines=splitLines(fixInputString(str)),indents=new Array(),regex=/^\s*/,min=1000;for(var i=0,l=lines.length;i0;i++) +{var line=lines[i];if(trim(line).length==0) +continue;var matches=regex.exec(line);if(matches==null) +return str;min=Math.min(matches[0].length,min);} +if(min>0) +for(var i=0,l=lines.length;im2.index) +return 1;else +{if(m1.lengthm2.length) +return 1;} +return 0;};function getMatches(code,regexInfo) +{function defaultAdd(match,regexInfo) +{return match[0];};var index=0,match=null,matches=[],func=regexInfo.func?regexInfo.func:defaultAdd +pos=0;while((match=XRegExp.exec(code,regexInfo.regex,pos))!=null) +{var resultMatch=func(match,regexInfo);if(typeof(resultMatch)=='string') +resultMatch=[new sh.Match(resultMatch,match.index,regexInfo.css)];matches=matches.concat(resultMatch);pos=match.index+match[0].length;} +return matches;};function processUrls(code) +{var gt=/(.*)((>|<).*)/;return code.replace(sh.regexLib.url,function(m) +{var suffix='',match=null;if(match=gt.exec(m)) +{m=match[1];suffix=match[2];} +return''+m+''+suffix;});};function getSyntaxHighlighterScriptTags() +{var tags=document.getElementsByTagName('script'),result=[];for(var i=0,l=tags.length;iitemIEndPos) +break;else if(itemJ.index==itemI.index&&itemJ.length>itemI.length) +matches[i]=null;else if(itemJ.index>=itemI.index&&itemJ.index'+code+'
';},getLineNumbersHtml:function(code,lineNumbers) +{var html='',count=splitLines(code).length,firstLine=parseInt(this.getParam('first-line')),pad=this.getParam('pad-line-numbers');if(pad==true) +pad=(firstLine+count-1).toString().length;else if(isNaN(pad)==true) +pad=0;for(var i=0;i'+spaces+'':'')+line);} +return html;},getTitleHtml:function(title) +{return title?''+escapeHtml(title)+'':'';},getMatchesHtml:function(code,matches) +{var pos=0,result='',brushName=this.getParam('brush','');function getBrushNameCss(match) +{var result=match?(match.brushName||brushName):brushName;return result?result+' ':'';};for(var i=0,l=matches.length;i' ++(this.getParam('toolbar')?sh.toolbar.getHtml(this):'') ++'' ++this.getTitleHtml(this.getParam('title')) ++'' ++'' ++(gutter?'':'') ++'' ++'' ++'' ++'
'+this.getLineNumbersHtml(code)+'' ++'
' ++html ++'
' ++'
' ++'';return html;},getDiv:function(code) +{if(code===null) +code='';this.code=code;var div=this.create('div');div.innerHTML=this.getHtml(code);if(this.getParam('toolbar')) +attachEvent(findElement(div,'.toolbar'),'click',sh.toolbar.handler);if(this.getParam('quick-code')) +attachEvent(findElement(div,'.code'),'dblclick',quickCodeHandler);return div;},init:function(params) +{this.id=guid();storeHighlighter(this);this.params=merge(sh.defaults,params||{}) +if(this.getParam('light')==true) +this.params.toolbar=this.params.gutter=false;},getKeywords:function(str) +{str=str.replace(/^\s+|\s+$/g,'').replace(/\s+/g,'|');return'\\b(?:'+str+')\\b';},forHtmlScript:function(regexGroup) +{var regex={'end':regexGroup.right.source};if(regexGroup.eof) +regex.end="(?:(?:"+regex.end+")|$)";this.htmlScript={left:{regex:regexGroup.left,css:'script'},right:{regex:regexGroup.right,css:'script'},code:XRegExp("(?"+regexGroup.left.source+")"+"(?.*?)"+"(?"+regex.end+")","sgi")};}};return sh;}();typeof(exports)!='undefined'?exports.SyntaxHighlighter=SyntaxHighlighter:null;(function(){var sh=SyntaxHighlighter;sh.autoloader=function() +{var list=arguments,elements=sh.findElements(),brushes={},scripts={},all=SyntaxHighlighter.all,allCalled=false,allParams=null,i;SyntaxHighlighter.all=function(params) +{allParams=params;allCalled=true;};function addBrush(aliases,url) +{for(var i=0;i