Version Notes
Added support for FishPig's WordPress Integration
Download this release
Release Info
Developer | Magento Core Team |
Extension | Syntax_Highlighter |
Version | 1.0.2 |
Comparing to | |
See all releases |
Version 1.0.2
- app/code/community/Fishpig/SyntaxHighlighter/Helper/Data.php +30 -0
- app/code/community/Fishpig/SyntaxHighlighter/Model/Observer.php +130 -0
- app/code/community/Fishpig/SyntaxHighlighter/Model/System/Config/Source/Theme.php +27 -0
- app/code/community/Fishpig/SyntaxHighlighter/etc/config.xml +42 -0
- app/code/community/Fishpig/SyntaxHighlighter/etc/system.xml +109 -0
- app/code/community/Fishpig/SyntaxHighlighter/notes.txt +21 -0
- app/design/frontend/base/default/template/syntaxhighlighter/trigger.phtml +50 -0
- app/etc/modules/Fishpig_SyntaxHighlighter.xml +9 -0
- js/syntaxhighlighter/shAutoloader.js +17 -0
- js/syntaxhighlighter/shBrushAS3.js +59 -0
- js/syntaxhighlighter/shBrushAppleScript.js +75 -0
- js/syntaxhighlighter/shBrushBash.js +59 -0
- js/syntaxhighlighter/shBrushCSharp.js +65 -0
- js/syntaxhighlighter/shBrushColdFusion.js +100 -0
- js/syntaxhighlighter/shBrushCpp.js +97 -0
- js/syntaxhighlighter/shBrushCss.js +91 -0
- js/syntaxhighlighter/shBrushDelphi.js +55 -0
- js/syntaxhighlighter/shBrushDiff.js +41 -0
- js/syntaxhighlighter/shBrushErlang.js +52 -0
- js/syntaxhighlighter/shBrushGroovy.js +67 -0
- js/syntaxhighlighter/shBrushJScript.js +52 -0
- js/syntaxhighlighter/shBrushJava.js +57 -0
- js/syntaxhighlighter/shBrushJavaFX.js +58 -0
- js/syntaxhighlighter/shBrushPerl.js +72 -0
- js/syntaxhighlighter/shBrushPhp.js +88 -0
- js/syntaxhighlighter/shBrushPlain.js +33 -0
- js/syntaxhighlighter/shBrushPowerShell.js +74 -0
- js/syntaxhighlighter/shBrushPython.js +64 -0
- js/syntaxhighlighter/shBrushRuby.js +55 -0
- js/syntaxhighlighter/shBrushSass.js +94 -0
- js/syntaxhighlighter/shBrushScala.js +51 -0
- js/syntaxhighlighter/shBrushSql.js +66 -0
- js/syntaxhighlighter/shBrushVb.js +56 -0
- js/syntaxhighlighter/shBrushXml.js +69 -0
- js/syntaxhighlighter/shCore.js +17 -0
- js/syntaxhighlighter/shLegacy.js +17 -0
- package.xml +18 -0
- skin/frontend/base/default/css/syntaxhighlighter/shCore.css +226 -0
- skin/frontend/base/default/css/syntaxhighlighter/shCoreDefault.css +328 -0
- skin/frontend/base/default/css/syntaxhighlighter/shCoreDjango.css +331 -0
- skin/frontend/base/default/css/syntaxhighlighter/shCoreEclipse.css +339 -0
- skin/frontend/base/default/css/syntaxhighlighter/shCoreEmacs.css +324 -0
- skin/frontend/base/default/css/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
- skin/frontend/base/default/css/syntaxhighlighter/shCoreMDUltra.css +324 -0
- skin/frontend/base/default/css/syntaxhighlighter/shCoreMidnight.css +324 -0
- skin/frontend/base/default/css/syntaxhighlighter/shCoreRDark.css +324 -0
- skin/frontend/base/default/css/syntaxhighlighter/shThemeDefault.css +117 -0
- skin/frontend/base/default/css/syntaxhighlighter/shThemeDjango.css +120 -0
- skin/frontend/base/default/css/syntaxhighlighter/shThemeEclipse.css +128 -0
- skin/frontend/base/default/css/syntaxhighlighter/shThemeEmacs.css +113 -0
- skin/frontend/base/default/css/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
- skin/frontend/base/default/css/syntaxhighlighter/shThemeMDUltra.css +113 -0
- skin/frontend/base/default/css/syntaxhighlighter/shThemeMidnight.css +113 -0
- skin/frontend/base/default/css/syntaxhighlighter/shThemeRDark.css +113 -0
app/code/community/Fishpig/SyntaxHighlighter/Helper/Data.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @category Fishpig
|
4 |
+
* @package Fishpig_SyntaxHighlighter
|
5 |
+
* @author Ben Tideswell <help@fishpig.co.uk>
|
6 |
+
* @notes The Syntax Highlighter javascript library that powers this extension was written by Alex Gorbatchev (http://alexgorbatchev.com/SyntaxHighlighter/)
|
7 |
+
*/
|
8 |
+
|
9 |
+
class Fishpig_SyntaxHighlighter_Helper_Data extends Mage_Core_Helper_Abstract
|
10 |
+
{
|
11 |
+
/**
|
12 |
+
* Retrieve the current SyntaxHighlighter library version
|
13 |
+
*
|
14 |
+
* @return string
|
15 |
+
*/
|
16 |
+
public function getLibraryVersion()
|
17 |
+
{
|
18 |
+
return '3.0.83';
|
19 |
+
}
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Determine whether the Syntax Highlighter is enabled
|
23 |
+
*
|
24 |
+
* @return bool
|
25 |
+
*/
|
26 |
+
public function isEnabled()
|
27 |
+
{
|
28 |
+
return Mage::getStoreConfig('cms/syntaxhighlighter/is_enabled');
|
29 |
+
}
|
30 |
+
}
|
app/code/community/Fishpig/SyntaxHighlighter/Model/Observer.php
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @category Fishpig
|
4 |
+
* @package Fishpig_SyntaxHighlighter
|
5 |
+
* @author Ben Tideswell <help@fishpig.co.uk>
|
6 |
+
* @notes The Syntax Highlighter javascript library that powers this extension was written by Alex Gorbatchev (http://alexgorbatchev.com/SyntaxHighlighter/)
|
7 |
+
*/
|
8 |
+
|
9 |
+
class Fishpig_SyntaxHighlighter_Model_Observer extends Varien_Object
|
10 |
+
{
|
11 |
+
/**
|
12 |
+
* Singleton flag to stop double execution
|
13 |
+
*
|
14 |
+
* @var static bool
|
15 |
+
*/
|
16 |
+
static protected $_singleton = false;
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Inject the JS library files
|
20 |
+
*
|
21 |
+
* @param Varien_Event_Observer $observer
|
22 |
+
*/
|
23 |
+
public function inject(Varien_Event_Observer $observer)
|
24 |
+
{
|
25 |
+
if (!self::$_singleton) {
|
26 |
+
self::$_singleton = true;
|
27 |
+
|
28 |
+
if ($this->getHelper()->isEnabled()) {
|
29 |
+
$layout = $observer->getEvent()->getLayout();
|
30 |
+
|
31 |
+
if ($this->shouldInject($layout->getUpdate()->getHandles())) {
|
32 |
+
if ($headBlock = $layout->getBlock('head')) {
|
33 |
+
$headBlock->addJs('syntaxhighlighter/shCore.js');
|
34 |
+
$headBlock->addJs('syntaxhighlighter/shAutoloader.js');
|
35 |
+
|
36 |
+
$theme = Mage::getStoreConfig('cms/syntaxhighlighter/theme');
|
37 |
+
|
38 |
+
$headBlock->addCss('css' . DS . 'syntaxhighlighter' . DS . 'shCore' . $theme . '.css');
|
39 |
+
$headBlock->addCss('css' . DS . 'syntaxhighlighter' . DS . 'shTheme' . $theme . '.css');
|
40 |
+
|
41 |
+
if ($beforeBodyEnd = $layout->getBlock('before_body_end')) {
|
42 |
+
$triggerBlock = $layout->createBlock('core/template', 'syntaxhighlighter.trigger', array('template' => 'syntaxhighlighter/trigger.phtml'));
|
43 |
+
|
44 |
+
if ($triggerBlock) {
|
45 |
+
$beforeBodyEnd->insert($triggerBlock, '', false, 'syntaxhighlighter.trigger');
|
46 |
+
}
|
47 |
+
}
|
48 |
+
}
|
49 |
+
}
|
50 |
+
}
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
/**
|
55 |
+
* Determine whether the current page should have the JS included
|
56 |
+
*
|
57 |
+
* @param array $currentHandles
|
58 |
+
* @return bool
|
59 |
+
*/
|
60 |
+
public function shouldInject(array $currentHandles)
|
61 |
+
{
|
62 |
+
if ($applicableHandles = $this->getApplicableLayoutHandles()) {
|
63 |
+
foreach($currentHandles as $handle) {
|
64 |
+
if (array_search($handle, $applicableHandles) !== false) {
|
65 |
+
return true;
|
66 |
+
}
|
67 |
+
}
|
68 |
+
}
|
69 |
+
|
70 |
+
return false;
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* Retrieve the helper associated with this module
|
75 |
+
*
|
76 |
+
* @return Fishpig_SyntaxHighlighter_Helper_Data
|
77 |
+
*/
|
78 |
+
public function getHelper()
|
79 |
+
{
|
80 |
+
return Mage::helper('syntaxhighlighter');
|
81 |
+
}
|
82 |
+
|
83 |
+
/**
|
84 |
+
* Retrieve the layout handles that require the JS
|
85 |
+
*
|
86 |
+
* @return array
|
87 |
+
*/
|
88 |
+
public function getApplicableLayoutHandles()
|
89 |
+
{
|
90 |
+
$handles = array();
|
91 |
+
|
92 |
+
if (Mage::getStoreConfigFlag('cms/syntaxhighlighter/load_globally')) {
|
93 |
+
$handles[] = 'default';
|
94 |
+
}
|
95 |
+
|
96 |
+
if (Mage::getStoreConfigFlag('cms/syntaxhighlighter/load_on_homepage')) {
|
97 |
+
$handles[] = 'cms_index_index';
|
98 |
+
}
|
99 |
+
|
100 |
+
if (Mage::getStoreConfigFlag('cms/syntaxhighlighter/load_on_cms_page_view')) {
|
101 |
+
$handles[] = 'cms_page_view';
|
102 |
+
}
|
103 |
+
|
104 |
+
if (Mage::getStoreConfigFlag('cms/syntaxhighlighter/load_on_product_view')) {
|
105 |
+
$handles[] = 'catalog_product_view';
|
106 |
+
}
|
107 |
+
|
108 |
+
if (Mage::getStoreConfigFlag('cms/syntaxhighlighter/load_on_wordpress_post_view')) {
|
109 |
+
$handles[] = 'wordpress_post_view_index';
|
110 |
+
}
|
111 |
+
|
112 |
+
if (Mage::getStoreConfigFlag('cms/syntaxhighlighter/load_on_wordpress_post_list')) {
|
113 |
+
$handles[] = 'wordpress_homepage_index';
|
114 |
+
$handles[] = 'wordpress_tag_index';
|
115 |
+
$handles[] = 'wordpress_search_index';
|
116 |
+
$handles[] = 'wordpress_category_index';
|
117 |
+
$handles[] = 'wordpress_author_index';
|
118 |
+
$handles[] = 'wordpress_archive_view_index';
|
119 |
+
}
|
120 |
+
|
121 |
+
|
122 |
+
if ($customHandles = trim(Mage::getStoreConfig('cms/syntaxhighlighter/custom_layout_handles'), "\r\n, ")) {
|
123 |
+
$customHandles = explode(',', str_replace(',,', ',', preg_replace("/\r|\n|\t/", ',', $customHandles)));
|
124 |
+
|
125 |
+
$handles = array_merge($handles, $customHandles);
|
126 |
+
}
|
127 |
+
|
128 |
+
return array_unique($handles);
|
129 |
+
}
|
130 |
+
}
|
app/code/community/Fishpig/SyntaxHighlighter/Model/System/Config/Source/Theme.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @category Fishpig
|
4 |
+
* @package Fishpig_SyntaxHighlighter
|
5 |
+
* @author Ben Tideswell <help@fishpig.co.uk>
|
6 |
+
* @notes The Syntax Highlighter javascript library that powers this extension was written by Alex Gorbatchev (http://alexgorbatchev.com/SyntaxHighlighter/)
|
7 |
+
*/
|
8 |
+
|
9 |
+
class Fishpig_SyntaxHighlighter_Model_System_Config_Source_Theme
|
10 |
+
{
|
11 |
+
/**
|
12 |
+
* Retrieve an option array of all valid themes
|
13 |
+
*
|
14 |
+
* @return array
|
15 |
+
*/
|
16 |
+
public function toOptionArray()
|
17 |
+
{
|
18 |
+
$files = array('Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'MDUltra', 'Midnight', 'RDark');
|
19 |
+
$options = array();
|
20 |
+
|
21 |
+
foreach($files as $theme) {
|
22 |
+
$options[] = array('value' => $theme, 'label' => $theme);
|
23 |
+
}
|
24 |
+
|
25 |
+
return $options;
|
26 |
+
}
|
27 |
+
}
|
app/code/community/Fishpig/SyntaxHighlighter/etc/config.xml
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Fishpig_SyntaxHighlighter>
|
5 |
+
<version>1.0.2</version>
|
6 |
+
</Fishpig_SyntaxHighlighter>
|
7 |
+
</modules>
|
8 |
+
<global>
|
9 |
+
<helpers>
|
10 |
+
<syntaxhighlighter>
|
11 |
+
<class>Fishpig_SyntaxHighlighter_Helper</class>
|
12 |
+
</syntaxhighlighter>
|
13 |
+
</helpers>
|
14 |
+
<models>
|
15 |
+
<syntaxhighlighter>
|
16 |
+
<class>Fishpig_SyntaxHighlighter_Model</class>
|
17 |
+
</syntaxhighlighter>
|
18 |
+
</models>
|
19 |
+
</global>
|
20 |
+
<default>
|
21 |
+
<cms>
|
22 |
+
<syntaxhighlighter>
|
23 |
+
<is_enabled>1</is_enabled>
|
24 |
+
<theme>Default</theme>
|
25 |
+
<load_globally>1</load_globally>
|
26 |
+
</syntaxhighlighter>
|
27 |
+
</cms>
|
28 |
+
</default>
|
29 |
+
<frontend>
|
30 |
+
<events>
|
31 |
+
<controller_action_layout_generate_blocks_after>
|
32 |
+
<observers>
|
33 |
+
<syntaxhighlighter_inject>
|
34 |
+
<type>singleton</type>
|
35 |
+
<class>syntaxhighlighter/observer</class>
|
36 |
+
<method>inject</method>
|
37 |
+
</syntaxhighlighter_inject>
|
38 |
+
</observers>
|
39 |
+
</controller_action_layout_generate_blocks_after>
|
40 |
+
</events>
|
41 |
+
</frontend>
|
42 |
+
</config>
|
app/code/community/Fishpig/SyntaxHighlighter/etc/system.xml
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<sections>
|
4 |
+
<cms>
|
5 |
+
<groups>
|
6 |
+
<syntaxhighlighter translate="label comment" module="syntaxhighlighter">
|
7 |
+
<label>Syntax Highlighter</label>
|
8 |
+
<comment><![CDATA[The Javascript Syntax Highlighter library was written by <a href="http://alexgorbatchev.com/SyntaxHighlighter/" target="_blank">Alex Gorbatchev</a>.]]></comment>
|
9 |
+
<sort_order>990</sort_order>
|
10 |
+
<show_in_default>1</show_in_default>
|
11 |
+
<show_in_website>1</show_in_website>
|
12 |
+
<show_in_store>1</show_in_store>
|
13 |
+
<fields>
|
14 |
+
<is_enabled>
|
15 |
+
<label>Enabled</label>
|
16 |
+
<comment>Enabling this will automatically add splash page links into the layered navigation.</comment>
|
17 |
+
<frontend_type>select</frontend_type>
|
18 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
19 |
+
<sort_order>6</sort_order>
|
20 |
+
<show_in_default>1</show_in_default>
|
21 |
+
<show_in_website>1</show_in_website>
|
22 |
+
<show_in_store>1</show_in_store>
|
23 |
+
</is_enabled>
|
24 |
+
<theme>
|
25 |
+
<label>Theme</label>
|
26 |
+
<frontend_type>select</frontend_type>
|
27 |
+
<source_model>syntaxhighlighter/system_config_source_theme</source_model>
|
28 |
+
<sort_order>21</sort_order>
|
29 |
+
<show_in_default>1</show_in_default>
|
30 |
+
<show_in_website>1</show_in_website>
|
31 |
+
<show_in_store>1</show_in_store>
|
32 |
+
</theme>
|
33 |
+
<load_globally>
|
34 |
+
<label>Load JS Globally</label>
|
35 |
+
<frontend_type>select</frontend_type>
|
36 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
37 |
+
<sort_order>41</sort_order>
|
38 |
+
<show_in_default>1</show_in_default>
|
39 |
+
<show_in_website>1</show_in_website>
|
40 |
+
<show_in_store>1</show_in_store>
|
41 |
+
</load_globally>
|
42 |
+
<load_on_homepage>
|
43 |
+
<label>Load On Homepage</label>
|
44 |
+
<frontend_type>select</frontend_type>
|
45 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
46 |
+
<sort_order>46</sort_order>
|
47 |
+
<show_in_default>1</show_in_default>
|
48 |
+
<show_in_website>1</show_in_website>
|
49 |
+
<show_in_store>1</show_in_store>
|
50 |
+
<depends><load_globally>0</load_globally></depends>
|
51 |
+
</load_on_homepage>
|
52 |
+
<load_on_cms_page_view>
|
53 |
+
<label>Load On CMS Page</label>
|
54 |
+
<frontend_type>select</frontend_type>
|
55 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
56 |
+
<sort_order>51</sort_order>
|
57 |
+
<show_in_default>1</show_in_default>
|
58 |
+
<show_in_website>1</show_in_website>
|
59 |
+
<show_in_store>1</show_in_store>
|
60 |
+
<depends><load_globally>0</load_globally></depends>
|
61 |
+
</load_on_cms_page_view>
|
62 |
+
<load_on_product_view>
|
63 |
+
<label>Load On Product Page</label>
|
64 |
+
<frontend_type>select</frontend_type>
|
65 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
66 |
+
<sort_order>56</sort_order>
|
67 |
+
<show_in_default>1</show_in_default>
|
68 |
+
<show_in_website>1</show_in_website>
|
69 |
+
<show_in_store>1</show_in_store>
|
70 |
+
<depends><load_globally>0</load_globally></depends>
|
71 |
+
</load_on_product_view>
|
72 |
+
<load_on_wordpress_post_list>
|
73 |
+
<label>Load On WordPress Blog Post List</label>
|
74 |
+
<comment>For this to work, you must install FishPig's WordPress Integration</comment>
|
75 |
+
<frontend_type>select</frontend_type>
|
76 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
77 |
+
<sort_order>61</sort_order>
|
78 |
+
<show_in_default>1</show_in_default>
|
79 |
+
<show_in_website>1</show_in_website>
|
80 |
+
<show_in_store>1</show_in_store>
|
81 |
+
<depends><load_globally>0</load_globally></depends>
|
82 |
+
</load_on_wordpress_post_list>
|
83 |
+
<load_on_wordpress_post_view>
|
84 |
+
<label>Load On WordPress Blog Post</label>
|
85 |
+
<comment>For this to work, you must install FishPig's WordPress Integration</comment>
|
86 |
+
<frontend_type>select</frontend_type>
|
87 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
88 |
+
<sort_order>66</sort_order>
|
89 |
+
<show_in_default>1</show_in_default>
|
90 |
+
<show_in_website>1</show_in_website>
|
91 |
+
<show_in_store>1</show_in_store>
|
92 |
+
<depends><load_globally>0</load_globally></depends>
|
93 |
+
</load_on_wordpress_post_view>
|
94 |
+
<custom_layout_handles>
|
95 |
+
<label>Custom Layout Handles</label>
|
96 |
+
<comment>Enter comma or new line separated custom layout handles that you want to load the JS files for.</comment>
|
97 |
+
<frontend_type>editor</frontend_type>
|
98 |
+
<sort_order>101</sort_order>
|
99 |
+
<show_in_default>1</show_in_default>
|
100 |
+
<show_in_website>1</show_in_website>
|
101 |
+
<show_in_store>1</show_in_store>
|
102 |
+
<depends><load_globally>0</load_globally></depends>
|
103 |
+
</custom_layout_handles>
|
104 |
+
</fields>
|
105 |
+
</syntaxhighlighter>
|
106 |
+
</groups>
|
107 |
+
</cms>
|
108 |
+
</sections>
|
109 |
+
</config>
|
app/code/community/Fishpig/SyntaxHighlighter/notes.txt
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @category Fishpig
|
3 |
+
* @package Fishpig_SyntaxHighlighter
|
4 |
+
* @author Ben Tideswell <help@fishpig.co.uk>
|
5 |
+
* @license MIT License <http://www.opensource.org/licenses/mit-license.php>
|
6 |
+
* @notes The Syntax Highlighter javascript library that powers this extension was written by Alex Gorbatchev (http://alexgorbatchev.com/SyntaxHighlighter/)
|
7 |
+
*/
|
8 |
+
|
9 |
+
## PLEASE READ ##
|
10 |
+
# I, fishpig, wrote this extension but have to hand it to Alex Gorbatchev who did all of the hard work by writing the JavaScript for the Syntax Highlighter library.
|
11 |
+
# If you use this extension, please donate to Alex so he can keep on working on the Syntax Highlighter code
|
12 |
+
##
|
13 |
+
|
14 |
+
31/07/2011 - v1.0.2
|
15 |
+
- Added support for FishPig's WordPress Integration
|
16 |
+
|
17 |
+
18/06/2011 - v1.0.1
|
18 |
+
- Added missing trigger template
|
19 |
+
|
20 |
+
18/06/2011 - v1.0.0
|
21 |
+
- Launched initial version
|
app/design/frontend/base/default/template/syntaxhighlighter/trigger.phtml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @category Fishpig
|
4 |
+
* @package Fishpig_SyntaxHighlighter
|
5 |
+
* @author Ben Tideswell <help@fishpig.co.uk>
|
6 |
+
* @notes The Syntax Highlighter javascript library that powers this extension was written by Alex Gorbatchev (http://alexgorbatchev.com/SyntaxHighlighter/)
|
7 |
+
*/
|
8 |
+
?>
|
9 |
+
<?php if ($this->helper('syntaxhighlighter')->isEnabled()): ?>
|
10 |
+
<script type="text/javascript">
|
11 |
+
//<![CDATA[
|
12 |
+
function SyntaxHighlighterBrushPath() {
|
13 |
+
var args = arguments, result = [];
|
14 |
+
for(var i = 0; i < args.length; i++) {
|
15 |
+
result.push(args[i].replace('@', '<?php echo $this->getUrl("js/syntaxhighlighter/") ?>'));
|
16 |
+
}
|
17 |
+
return result;
|
18 |
+
}
|
19 |
+
|
20 |
+
SyntaxHighlighter.autoloader.apply(null, SyntaxHighlighterBrushPath(
|
21 |
+
'applescript @shBrushAppleScript.js',
|
22 |
+
'actionscript3 as3 @shBrushAS3.js',
|
23 |
+
'bash shell @shBrushBash.js',
|
24 |
+
'coldfusion cf @shBrushColdFusion.js',
|
25 |
+
'cpp c @shBrushCpp.js',
|
26 |
+
'c# c-sharp csharp @shBrushCSharp.js',
|
27 |
+
'css @shBrushCss.js',
|
28 |
+
'delphi pascal @shBrushDelphi.js',
|
29 |
+
'diff patch pas @shBrushDiff.js',
|
30 |
+
'erl erlang @shBrushErlang.js',
|
31 |
+
'groovy @shBrushGroovy.js',
|
32 |
+
'java @shBrushJava.js',
|
33 |
+
'jfx javafx @shBrushJavaFX.js',
|
34 |
+
'js jscript javascript @shBrushJScript.js',
|
35 |
+
'perl pl @shBrushPerl.js',
|
36 |
+
'php @shBrushPhp.js',
|
37 |
+
'text plain @shBrushPlain.js',
|
38 |
+
'py python @shBrushPython.js',
|
39 |
+
'ruby rails ror rb @shBrushRuby.js',
|
40 |
+
'sass scss @shBrushSass.js',
|
41 |
+
'scala @shBrushScala.js',
|
42 |
+
'sql @shBrushSql.js',
|
43 |
+
'vb vbnet @shBrushVb.js',
|
44 |
+
'xml xhtml xslt html @shBrushXml.js'
|
45 |
+
));
|
46 |
+
|
47 |
+
SyntaxHighlighter.all();
|
48 |
+
//]]>
|
49 |
+
</script>
|
50 |
+
<?php endif; ?>
|
app/etc/modules/Fishpig_SyntaxHighlighter.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Fishpig_SyntaxHighlighter>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
</Fishpig_SyntaxHighlighter>
|
8 |
+
</modules>
|
9 |
+
</config>
|
js/syntaxhighlighter/shAutoloader.js
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(2(){1 h=5;h.I=2(){2 n(c,a){4(1 d=0;d<c.9;d++)i[c[d]]=a}2 o(c){1 a=r.H("J"),d=3;a.K=c;a.M="L/t";a.G="t";a.u=a.v=2(){6(!d&&(!8.7||8.7=="F"||8.7=="z")){d=q;e[c]=q;a:{4(1 p y e)6(e[p]==3)B a;j&&5.C(k)}a.u=a.v=x;a.D.O(a)}};r.N.R(a)}1 f=Q,l=h.P(),i={},e={},j=3,k=x,b;5.T=2(c){k=c;j=q};4(b=0;b<f.9;b++){1 m=f[b].w?f[b]:f[b].S(/\\s+/),g=m.w();n(m,g)}4(b=0;b<l.9;b++)6(g=i[l[b].E.A]){e[g]=3;o(g)}}})();',56,56,'|var|function|false|for|SyntaxHighlighter|if|readyState|this|length|||||||||||||||||true|document||javascript|onload|onreadystatechange|pop|null|in|complete|brush|break|highlight|parentNode|params|loaded|language|createElement|autoloader|script|src|text|type|body|removeChild|findElements|arguments|appendChild|split|all'.split('|'),0,{}))
|
js/syntaxhighlighter/shBrushAS3.js
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Created by Peter Atoria @ http://iAtoria.com
|
25 |
+
|
26 |
+
var inits = 'class interface function package';
|
27 |
+
|
28 |
+
var keywords = '-Infinity ...rest Array as AS3 Boolean break case catch const continue Date decodeURI ' +
|
29 |
+
'decodeURIComponent default delete do dynamic each else encodeURI encodeURIComponent escape ' +
|
30 |
+
'extends false final finally flash_proxy for get if implements import in include Infinity ' +
|
31 |
+
'instanceof int internal is isFinite isNaN isXMLName label namespace NaN native new null ' +
|
32 |
+
'Null Number Object object_proxy override parseFloat parseInt private protected public ' +
|
33 |
+
'return set static String super switch this throw true try typeof uint undefined unescape ' +
|
34 |
+
'use void while with'
|
35 |
+
;
|
36 |
+
|
37 |
+
this.regexList = [
|
38 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
39 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
40 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
41 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
42 |
+
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
|
43 |
+
{ regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations
|
44 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
45 |
+
{ regex: new RegExp('var', 'gm'), css: 'variable' }, // variable
|
46 |
+
{ regex: new RegExp('trace', 'gm'), css: 'color1' } // trace
|
47 |
+
];
|
48 |
+
|
49 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
|
50 |
+
};
|
51 |
+
|
52 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
53 |
+
Brush.aliases = ['actionscript3', 'as3'];
|
54 |
+
|
55 |
+
SyntaxHighlighter.brushes.AS3 = Brush;
|
56 |
+
|
57 |
+
// CommonJS
|
58 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
59 |
+
})();
|
js/syntaxhighlighter/shBrushAppleScript.js
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// AppleScript brush by David Chambers
|
25 |
+
// http://davidchambersdesign.com/
|
26 |
+
var keywords = 'after before beginning continue copy each end every from return get global in local named of set some that the then times to where whose with without';
|
27 |
+
var ordinals = 'first second third fourth fifth sixth seventh eighth ninth tenth last front back middle';
|
28 |
+
var specials = 'activate add alias AppleScript ask attachment boolean class constant delete duplicate empty exists false id integer list make message modal modified new no paragraph pi properties quit real record remove rest result reveal reverse run running save string true word yes';
|
29 |
+
|
30 |
+
this.regexList = [
|
31 |
+
|
32 |
+
{ regex: /(--|#).*$/gm,
|
33 |
+
css: 'comments' },
|
34 |
+
|
35 |
+
{ regex: /\(\*(?:[\s\S]*?\(\*[\s\S]*?\*\))*[\s\S]*?\*\)/gm, // support nested comments
|
36 |
+
css: 'comments' },
|
37 |
+
|
38 |
+
{ regex: /"[\s\S]*?"/gm,
|
39 |
+
css: 'string' },
|
40 |
+
|
41 |
+
{ regex: /(?:,|:|¬|'s\b|\(|\)|\{|\}|«|\b\w*»)/g,
|
42 |
+
css: 'color1' },
|
43 |
+
|
44 |
+
{ regex: /(-)?(\d)+(\.(\d)?)?(E\+(\d)+)?/g, // numbers
|
45 |
+
css: 'color1' },
|
46 |
+
|
47 |
+
{ regex: /(?:&(amp;|gt;|lt;)?|=|� |>|<|≥|>=|≤|<=|\*|\+|-|\/|÷|\^)/g,
|
48 |
+
css: 'color2' },
|
49 |
+
|
50 |
+
{ regex: /\b(?:and|as|div|mod|not|or|return(?!\s&)(ing)?|equals|(is(n't| not)? )?equal( to)?|does(n't| not) equal|(is(n't| not)? )?(greater|less) than( or equal( to)?)?|(comes|does(n't| not) come) (after|before)|is(n't| not)?( in)? (back|front) of|is(n't| not)? behind|is(n't| not)?( (in|contained by))?|does(n't| not) contain|contain(s)?|(start|begin|end)(s)? with|((but|end) )?(consider|ignor)ing|prop(erty)?|(a )?ref(erence)?( to)?|repeat (until|while|with)|((end|exit) )?repeat|((else|end) )?if|else|(end )?(script|tell|try)|(on )?error|(put )?into|(of )?(it|me)|its|my|with (timeout( of)?|transaction)|end (timeout|transaction))\b/g,
|
51 |
+
css: 'keyword' },
|
52 |
+
|
53 |
+
{ regex: /\b\d+(st|nd|rd|th)\b/g, // ordinals
|
54 |
+
css: 'keyword' },
|
55 |
+
|
56 |
+
{ regex: /\b(?:about|above|against|around|at|below|beneath|beside|between|by|(apart|aside) from|(instead|out) of|into|on(to)?|over|since|thr(ough|u)|under)\b/g,
|
57 |
+
css: 'color3' },
|
58 |
+
|
59 |
+
{ regex: /\b(?:adding folder items to|after receiving|choose( ((remote )?application|color|folder|from list|URL))?|clipboard info|set the clipboard to|(the )?clipboard|entire contents|display(ing| (alert|dialog|mode))?|document( (edited|file|nib name))?|file( (name|type))?|(info )?for|giving up after|(name )?extension|quoted form|return(ed)?|second(?! item)(s)?|list (disks|folder)|text item(s| delimiters)?|(Unicode )?text|(disk )?item(s)?|((current|list) )?view|((container|key) )?window|with (data|icon( (caution|note|stop))?|parameter(s)?|prompt|properties|seed|title)|case|diacriticals|hyphens|numeric strings|punctuation|white space|folder creation|application(s( folder)?| (processes|scripts position|support))?|((desktop )?(pictures )?|(documents|downloads|favorites|home|keychain|library|movies|music|public|scripts|sites|system|users|utilities|workflows) )folder|desktop|Folder Action scripts|font(s| panel)?|help|internet plugins|modem scripts|(system )?preferences|printer descriptions|scripting (additions|components)|shared (documents|libraries)|startup (disk|items)|temporary items|trash|on server|in AppleTalk zone|((as|long|short) )?user name|user (ID|locale)|(with )?password|in (bundle( with identifier)?|directory)|(close|open for) access|read|write( permission)?|(g|s)et eof|using( delimiters)?|starting at|default (answer|button|color|country code|entr(y|ies)|identifiers|items|name|location|script editor)|hidden( answer)?|open(ed| (location|untitled))?|error (handling|reporting)|(do( shell)?|load|run|store) script|administrator privileges|altering line endings|get volume settings|(alert|boot|input|mount|output|set) volume|output muted|(fax|random )?number|round(ing)?|up|down|toward zero|to nearest|as taught in school|system (attribute|info)|((AppleScript( Studio)?|system) )?version|(home )?directory|(IPv4|primary Ethernet) address|CPU (type|speed)|physical memory|time (stamp|to GMT)|replacing|ASCII (character|number)|localized string|from table|offset|summarize|beep|delay|say|(empty|multiple) selections allowed|(of|preferred) type|invisibles|showing( package contents)?|editable URL|(File|FTP|News|Media|Web) [Ss]ervers|Telnet hosts|Directory services|Remote applications|waiting until completion|saving( (in|to))?|path (for|to( (((current|frontmost) )?application|resource))?)|POSIX (file|path)|(background|RGB) color|(OK|cancel) button name|cancel button|button(s)?|cubic ((centi)?met(re|er)s|yards|feet|inches)|square ((kilo)?met(re|er)s|miles|yards|feet)|(centi|kilo)?met(re|er)s|miles|yards|feet|inches|lit(re|er)s|gallons|quarts|(kilo)?grams|ounces|pounds|degrees (Celsius|Fahrenheit|Kelvin)|print( (dialog|settings))?|clos(e(able)?|ing)|(de)?miniaturized|miniaturizable|zoom(ed|able)|attribute run|action (method|property|title)|phone|email|((start|end)ing|home) page|((birth|creation|current|custom|modification) )?date|((((phonetic )?(first|last|middle))|computer|host|maiden|related) |nick)?name|aim|icq|jabber|msn|yahoo|address(es)?|save addressbook|should enable action|city|country( code)?|formatte(r|d address)|(palette )?label|state|street|zip|AIM [Hh]andle(s)?|my card|select(ion| all)?|unsaved|(alpha )?value|entr(y|ies)|group|(ICQ|Jabber|MSN) handle|person|people|company|department|icon image|job title|note|organization|suffix|vcard|url|copies|collating|pages (across|down)|request print time|target( printer)?|((GUI Scripting|Script menu) )?enabled|show Computer scripts|(de)?activated|awake from nib|became (key|main)|call method|of (class|object)|center|clicked toolbar item|closed|for document|exposed|(can )?hide|idle|keyboard (down|up)|event( (number|type))?|launch(ed)?|load (image|movie|nib|sound)|owner|log|mouse (down|dragged|entered|exited|moved|up)|move|column|localization|resource|script|register|drag (info|types)|resigned (active|key|main)|resiz(e(d)?|able)|right mouse (down|dragged|up)|scroll wheel|(at )?index|should (close|open( untitled)?|quit( after last window closed)?|zoom)|((proposed|screen) )?bounds|show(n)?|behind|in front of|size (mode|to fit)|update(d| toolbar item)?|was (hidden|miniaturized)|will (become active|close|finish launching|hide|miniaturize|move|open|quit|(resign )?active|((maximum|minimum|proposed) )?size|show|zoom)|bundle|data source|movie|pasteboard|sound|tool(bar| tip)|(color|open|save) panel|coordinate system|frontmost|main( (bundle|menu|window))?|((services|(excluded from )?windows) )?menu|((executable|frameworks|resource|scripts|shared (frameworks|support)) )?path|(selected item )?identifier|data|content(s| view)?|character(s)?|click count|(command|control|option|shift) key down|context|delta (x|y|z)|key( code)?|location|pressure|unmodified characters|types|(first )?responder|playing|(allowed|selectable) identifiers|allows customization|(auto saves )?configuration|visible|image( name)?|menu form representation|tag|user(-| )defaults|associated file name|(auto|needs) display|current field editor|floating|has (resize indicator|shadow)|hides when deactivated|level|minimized (image|title)|opaque|position|release when closed|sheet|title(d)?)\b/g,
|
60 |
+
css: 'color3' },
|
61 |
+
|
62 |
+
{ regex: new RegExp(this.getKeywords(specials), 'gm'), css: 'color3' },
|
63 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
|
64 |
+
{ regex: new RegExp(this.getKeywords(ordinals), 'gm'), css: 'keyword' }
|
65 |
+
];
|
66 |
+
};
|
67 |
+
|
68 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
69 |
+
Brush.aliases = ['applescript'];
|
70 |
+
|
71 |
+
SyntaxHighlighter.brushes.AppleScript = Brush;
|
72 |
+
|
73 |
+
// CommonJS
|
74 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
75 |
+
})();
|
js/syntaxhighlighter/shBrushBash.js
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne ge le';
|
25 |
+
var commands = 'alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
|
26 |
+
'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' +
|
27 |
+
'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
|
28 |
+
'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
|
29 |
+
'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' +
|
30 |
+
'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
|
31 |
+
'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
|
32 |
+
'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' +
|
33 |
+
'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +
|
34 |
+
'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +
|
35 |
+
'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' +
|
36 |
+
'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
|
37 |
+
'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
|
38 |
+
'vi watch wc whereis which who whoami Wget xargs yes'
|
39 |
+
;
|
40 |
+
|
41 |
+
this.regexList = [
|
42 |
+
{ regex: /^#!.*$/gm, css: 'preprocessor bold' },
|
43 |
+
{ regex: /\/[\w-\/]+/gm, css: 'plain' },
|
44 |
+
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
|
45 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
46 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
47 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
48 |
+
{ regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands
|
49 |
+
];
|
50 |
+
}
|
51 |
+
|
52 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
53 |
+
Brush.aliases = ['bash', 'shell'];
|
54 |
+
|
55 |
+
SyntaxHighlighter.brushes.Bash = Brush;
|
56 |
+
|
57 |
+
// CommonJS
|
58 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
59 |
+
})();
|
js/syntaxhighlighter/shBrushCSharp.js
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'abstract as base bool break byte case catch char checked class const ' +
|
25 |
+
'continue decimal default delegate do double else enum event explicit ' +
|
26 |
+
'extern false finally fixed float for foreach get goto if implicit in int ' +
|
27 |
+
'interface internal is lock long namespace new null object operator out ' +
|
28 |
+
'override params private protected public readonly ref return sbyte sealed set ' +
|
29 |
+
'short sizeof stackalloc static string struct switch this throw true try ' +
|
30 |
+
'typeof uint ulong unchecked unsafe ushort using virtual void while';
|
31 |
+
|
32 |
+
function fixComments(match, regexInfo)
|
33 |
+
{
|
34 |
+
var css = (match[0].indexOf("///") == 0)
|
35 |
+
? 'color1'
|
36 |
+
: 'comments'
|
37 |
+
;
|
38 |
+
|
39 |
+
return [new SyntaxHighlighter.Match(match[0], match.index, css)];
|
40 |
+
}
|
41 |
+
|
42 |
+
this.regexList = [
|
43 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments
|
44 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
45 |
+
{ regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings
|
46 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
47 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
48 |
+
{ regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
49 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword
|
50 |
+
{ regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keyword: 'partial'
|
51 |
+
{ regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield'
|
52 |
+
];
|
53 |
+
|
54 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
55 |
+
};
|
56 |
+
|
57 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
58 |
+
Brush.aliases = ['c#', 'c-sharp', 'csharp'];
|
59 |
+
|
60 |
+
SyntaxHighlighter.brushes.CSharp = Brush;
|
61 |
+
|
62 |
+
// CommonJS
|
63 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
64 |
+
})();
|
65 |
+
|
js/syntaxhighlighter/shBrushColdFusion.js
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Jen
|
25 |
+
// http://www.jensbits.com/2009/05/14/coldfusion-brush-for-syntaxhighlighter-plus
|
26 |
+
|
27 |
+
var funcs = 'Abs ACos AddSOAPRequestHeader AddSOAPResponseHeader AjaxLink AjaxOnLoad ArrayAppend ArrayAvg ArrayClear ArrayDeleteAt ' +
|
28 |
+
'ArrayInsertAt ArrayIsDefined ArrayIsEmpty ArrayLen ArrayMax ArrayMin ArraySet ArraySort ArraySum ArraySwap ArrayToList ' +
|
29 |
+
'Asc ASin Atn BinaryDecode BinaryEncode BitAnd BitMaskClear BitMaskRead BitMaskSet BitNot BitOr BitSHLN BitSHRN BitXor ' +
|
30 |
+
'Ceiling CharsetDecode CharsetEncode Chr CJustify Compare CompareNoCase Cos CreateDate CreateDateTime CreateObject ' +
|
31 |
+
'CreateODBCDate CreateODBCDateTime CreateODBCTime CreateTime CreateTimeSpan CreateUUID DateAdd DateCompare DateConvert ' +
|
32 |
+
'DateDiff DateFormat DatePart Day DayOfWeek DayOfWeekAsString DayOfYear DaysInMonth DaysInYear DE DecimalFormat DecrementValue ' +
|
33 |
+
'Decrypt DecryptBinary DeleteClientVariable DeserializeJSON DirectoryExists DollarFormat DotNetToCFType Duplicate Encrypt ' +
|
34 |
+
'EncryptBinary Evaluate Exp ExpandPath FileClose FileCopy FileDelete FileExists FileIsEOF FileMove FileOpen FileRead ' +
|
35 |
+
'FileReadBinary FileReadLine FileSetAccessMode FileSetAttribute FileSetLastModified FileWrite Find FindNoCase FindOneOf ' +
|
36 |
+
'FirstDayOfMonth Fix FormatBaseN GenerateSecretKey GetAuthUser GetBaseTagData GetBaseTagList GetBaseTemplatePath ' +
|
37 |
+
'GetClientVariablesList GetComponentMetaData GetContextRoot GetCurrentTemplatePath GetDirectoryFromPath GetEncoding ' +
|
38 |
+
'GetException GetFileFromPath GetFileInfo GetFunctionList GetGatewayHelper GetHttpRequestData GetHttpTimeString ' +
|
39 |
+
'GetK2ServerDocCount GetK2ServerDocCountLimit GetLocale GetLocaleDisplayName GetLocalHostIP GetMetaData GetMetricData ' +
|
40 |
+
'GetPageContext GetPrinterInfo GetProfileSections GetProfileString GetReadableImageFormats GetSOAPRequest GetSOAPRequestHeader ' +
|
41 |
+
'GetSOAPResponse GetSOAPResponseHeader GetTempDirectory GetTempFile GetTemplatePath GetTickCount GetTimeZoneInfo GetToken ' +
|
42 |
+
'GetUserRoles GetWriteableImageFormats Hash Hour HTMLCodeFormat HTMLEditFormat IIf ImageAddBorder ImageBlur ImageClearRect ' +
|
43 |
+
'ImageCopy ImageCrop ImageDrawArc ImageDrawBeveledRect ImageDrawCubicCurve ImageDrawLine ImageDrawLines ImageDrawOval ' +
|
44 |
+
'ImageDrawPoint ImageDrawQuadraticCurve ImageDrawRect ImageDrawRoundRect ImageDrawText ImageFlip ImageGetBlob ImageGetBufferedImage ' +
|
45 |
+
'ImageGetEXIFTag ImageGetHeight ImageGetIPTCTag ImageGetWidth ImageGrayscale ImageInfo ImageNegative ImageNew ImageOverlay ImagePaste ' +
|
46 |
+
'ImageRead ImageReadBase64 ImageResize ImageRotate ImageRotateDrawingAxis ImageScaleToFit ImageSetAntialiasing ImageSetBackgroundColor ' +
|
47 |
+
'ImageSetDrawingColor ImageSetDrawingStroke ImageSetDrawingTransparency ImageSharpen ImageShear ImageShearDrawingAxis ImageTranslate ' +
|
48 |
+
'ImageTranslateDrawingAxis ImageWrite ImageWriteBase64 ImageXORDrawingMode IncrementValue InputBaseN Insert Int IsArray IsBinary ' +
|
49 |
+
'IsBoolean IsCustomFunction IsDate IsDDX IsDebugMode IsDefined IsImage IsImageFile IsInstanceOf IsJSON IsLeapYear IsLocalHost ' +
|
50 |
+
'IsNumeric IsNumericDate IsObject IsPDFFile IsPDFObject IsQuery IsSimpleValue IsSOAPRequest IsStruct IsUserInAnyRole IsUserInRole ' +
|
51 |
+
'IsUserLoggedIn IsValid IsWDDX IsXML IsXmlAttribute IsXmlDoc IsXmlElem IsXmlNode IsXmlRoot JavaCast JSStringFormat LCase Left Len ' +
|
52 |
+
'ListAppend ListChangeDelims ListContains ListContainsNoCase ListDeleteAt ListFind ListFindNoCase ListFirst ListGetAt ListInsertAt ' +
|
53 |
+
'ListLast ListLen ListPrepend ListQualify ListRest ListSetAt ListSort ListToArray ListValueCount ListValueCountNoCase LJustify Log ' +
|
54 |
+
'Log10 LSCurrencyFormat LSDateFormat LSEuroCurrencyFormat LSIsCurrency LSIsDate LSIsNumeric LSNumberFormat LSParseCurrency LSParseDateTime ' +
|
55 |
+
'LSParseEuroCurrency LSParseNumber LSTimeFormat LTrim Max Mid Min Minute Month MonthAsString Now NumberFormat ParagraphFormat ParseDateTime ' +
|
56 |
+
'Pi PrecisionEvaluate PreserveSingleQuotes Quarter QueryAddColumn QueryAddRow QueryConvertForGrid QueryNew QuerySetCell QuotedValueList Rand ' +
|
57 |
+
'Randomize RandRange REFind REFindNoCase ReleaseComObject REMatch REMatchNoCase RemoveChars RepeatString Replace ReplaceList ReplaceNoCase ' +
|
58 |
+
'REReplace REReplaceNoCase Reverse Right RJustify Round RTrim Second SendGatewayMessage SerializeJSON SetEncoding SetLocale SetProfileString ' +
|
59 |
+
'SetVariable Sgn Sin Sleep SpanExcluding SpanIncluding Sqr StripCR StructAppend StructClear StructCopy StructCount StructDelete StructFind ' +
|
60 |
+
'StructFindKey StructFindValue StructGet StructInsert StructIsEmpty StructKeyArray StructKeyExists StructKeyList StructKeyList StructNew ' +
|
61 |
+
'StructSort StructUpdate Tan TimeFormat ToBase64 ToBinary ToScript ToString Trim UCase URLDecode URLEncodedFormat URLSessionFormat Val ' +
|
62 |
+
'ValueList VerifyClient Week Wrap Wrap WriteOutput XmlChildPos XmlElemNew XmlFormat XmlGetNodeType XmlNew XmlParse XmlSearch XmlTransform ' +
|
63 |
+
'XmlValidate Year YesNoFormat';
|
64 |
+
|
65 |
+
var keywords = 'cfabort cfajaximport cfajaxproxy cfapplet cfapplication cfargument cfassociate cfbreak cfcache cfcalendar ' +
|
66 |
+
'cfcase cfcatch cfchart cfchartdata cfchartseries cfcol cfcollection cfcomponent cfcontent cfcookie cfdbinfo ' +
|
67 |
+
'cfdefaultcase cfdirectory cfdiv cfdocument cfdocumentitem cfdocumentsection cfdump cfelse cfelseif cferror ' +
|
68 |
+
'cfexchangecalendar cfexchangeconnection cfexchangecontact cfexchangefilter cfexchangemail cfexchangetask ' +
|
69 |
+
'cfexecute cfexit cffeed cffile cfflush cfform cfformgroup cfformitem cfftp cffunction cfgrid cfgridcolumn ' +
|
70 |
+
'cfgridrow cfgridupdate cfheader cfhtmlhead cfhttp cfhttpparam cfif cfimage cfimport cfinclude cfindex ' +
|
71 |
+
'cfinput cfinsert cfinterface cfinvoke cfinvokeargument cflayout cflayoutarea cfldap cflocation cflock cflog ' +
|
72 |
+
'cflogin cfloginuser cflogout cfloop cfmail cfmailparam cfmailpart cfmenu cfmenuitem cfmodule cfNTauthenticate ' +
|
73 |
+
'cfobject cfobjectcache cfoutput cfparam cfpdf cfpdfform cfpdfformparam cfpdfparam cfpdfsubform cfpod cfpop ' +
|
74 |
+
'cfpresentation cfpresentationslide cfpresenter cfprint cfprocessingdirective cfprocparam cfprocresult ' +
|
75 |
+
'cfproperty cfquery cfqueryparam cfregistry cfreport cfreportparam cfrethrow cfreturn cfsavecontent cfschedule ' +
|
76 |
+
'cfscript cfsearch cfselect cfset cfsetting cfsilent cfslider cfsprydataset cfstoredproc cfswitch cftable ' +
|
77 |
+
'cftextarea cfthread cfthrow cftimer cftooltip cftrace cftransaction cftree cftreeitem cftry cfupdate cfwddx ' +
|
78 |
+
'cfwindow cfxml cfzip cfzipparam';
|
79 |
+
|
80 |
+
var operators = 'all and any between cross in join like not null or outer some';
|
81 |
+
|
82 |
+
this.regexList = [
|
83 |
+
{ regex: new RegExp('--(.*)$', 'gm'), css: 'comments' }, // one line and multiline comments
|
84 |
+
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // single quoted strings
|
85 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
86 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
87 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // functions
|
88 |
+
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
|
89 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
90 |
+
];
|
91 |
+
}
|
92 |
+
|
93 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
94 |
+
Brush.aliases = ['coldfusion','cf'];
|
95 |
+
|
96 |
+
SyntaxHighlighter.brushes.ColdFusion = Brush;
|
97 |
+
|
98 |
+
// CommonJS
|
99 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
100 |
+
})();
|
js/syntaxhighlighter/shBrushCpp.js
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Copyright 2006 Shin, YoungJin
|
25 |
+
|
26 |
+
var datatypes = 'ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR ' +
|
27 |
+
'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH ' +
|
28 |
+
'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP ' +
|
29 |
+
'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY ' +
|
30 |
+
'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT ' +
|
31 |
+
'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE ' +
|
32 |
+
'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF ' +
|
33 |
+
'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR ' +
|
34 |
+
'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR ' +
|
35 |
+
'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT ' +
|
36 |
+
'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 ' +
|
37 |
+
'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR ' +
|
38 |
+
'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 ' +
|
39 |
+
'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT ' +
|
40 |
+
'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG ' +
|
41 |
+
'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM ' +
|
42 |
+
'char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t ' +
|
43 |
+
'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS ' +
|
44 |
+
'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t ' +
|
45 |
+
'__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t ' +
|
46 |
+
'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' +
|
47 |
+
'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' +
|
48 |
+
'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' +
|
49 |
+
'va_list wchar_t wctrans_t wctype_t wint_t signed';
|
50 |
+
|
51 |
+
var keywords = 'break case catch class const __finally __exception __try ' +
|
52 |
+
'const_cast continue private public protected __declspec ' +
|
53 |
+
'default delete deprecated dllexport dllimport do dynamic_cast ' +
|
54 |
+
'else enum explicit extern if for friend goto inline ' +
|
55 |
+
'mutable naked namespace new noinline noreturn nothrow ' +
|
56 |
+
'register reinterpret_cast return selectany ' +
|
57 |
+
'sizeof static static_cast struct switch template this ' +
|
58 |
+
'thread throw true false try typedef typeid typename union ' +
|
59 |
+
'using uuid virtual void volatile whcar_t while';
|
60 |
+
|
61 |
+
var functions = 'assert isalnum isalpha iscntrl isdigit isgraph islower isprint' +
|
62 |
+
'ispunct isspace isupper isxdigit tolower toupper errno localeconv ' +
|
63 |
+
'setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod ' +
|
64 |
+
'frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf ' +
|
65 |
+
'longjmp setjmp raise signal sig_atomic_t va_arg va_end va_start ' +
|
66 |
+
'clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen ' +
|
67 |
+
'fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell ' +
|
68 |
+
'fwrite getc getchar gets perror printf putc putchar puts remove ' +
|
69 |
+
'rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ' +
|
70 |
+
'ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol ' +
|
71 |
+
'bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs ' +
|
72 |
+
'mbtowc qsort rand realloc srand strtod strtol strtoul system ' +
|
73 |
+
'wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr ' +
|
74 |
+
'strcmp strcoll strcpy strcspn strerror strlen strncat strncmp ' +
|
75 |
+
'strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime ' +
|
76 |
+
'clock ctime difftime gmtime localtime mktime strftime time';
|
77 |
+
|
78 |
+
this.regexList = [
|
79 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
80 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
81 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
82 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
83 |
+
{ regex: /^ *#.*/gm, css: 'preprocessor' },
|
84 |
+
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' },
|
85 |
+
{ regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' },
|
86 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' }
|
87 |
+
];
|
88 |
+
};
|
89 |
+
|
90 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
91 |
+
Brush.aliases = ['cpp', 'c'];
|
92 |
+
|
93 |
+
SyntaxHighlighter.brushes.Cpp = Brush;
|
94 |
+
|
95 |
+
// CommonJS
|
96 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
97 |
+
})();
|
js/syntaxhighlighter/shBrushCss.js
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
function getKeywordsCSS(str)
|
25 |
+
{
|
26 |
+
return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
|
27 |
+
};
|
28 |
+
|
29 |
+
function getValuesCSS(str)
|
30 |
+
{
|
31 |
+
return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
|
32 |
+
};
|
33 |
+
|
34 |
+
var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
|
35 |
+
'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
|
36 |
+
'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
|
37 |
+
'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
|
38 |
+
'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
|
39 |
+
'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
|
40 |
+
'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
|
41 |
+
'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
|
42 |
+
'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
|
43 |
+
'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
|
44 |
+
'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
|
45 |
+
'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
|
46 |
+
'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
|
47 |
+
'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
|
48 |
+
|
49 |
+
var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
|
50 |
+
'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
|
51 |
+
'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+
|
52 |
+
'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
|
53 |
+
'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
|
54 |
+
'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
|
55 |
+
'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
|
56 |
+
'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
|
57 |
+
'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
|
58 |
+
'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
|
59 |
+
'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
|
60 |
+
'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
|
61 |
+
'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
|
62 |
+
'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
|
63 |
+
|
64 |
+
var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
|
65 |
+
|
66 |
+
this.regexList = [
|
67 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
68 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
69 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
70 |
+
{ regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
|
71 |
+
{ regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes
|
72 |
+
{ regex: /!important/g, css: 'color3' }, // !important
|
73 |
+
{ regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
|
74 |
+
{ regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
|
75 |
+
{ regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
|
76 |
+
];
|
77 |
+
|
78 |
+
this.forHtmlScript({
|
79 |
+
left: /(<|<)\s*style.*?(>|>)/gi,
|
80 |
+
right: /(<|<)\/\s*style\s*(>|>)/gi
|
81 |
+
});
|
82 |
+
};
|
83 |
+
|
84 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
85 |
+
Brush.aliases = ['css'];
|
86 |
+
|
87 |
+
SyntaxHighlighter.brushes.CSS = Brush;
|
88 |
+
|
89 |
+
// CommonJS
|
90 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
91 |
+
})();
|
js/syntaxhighlighter/shBrushDelphi.js
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' +
|
25 |
+
'case char class comp const constructor currency destructor div do double ' +
|
26 |
+
'downto else end except exports extended false file finalization finally ' +
|
27 |
+
'for function goto if implementation in inherited int64 initialization ' +
|
28 |
+
'integer interface is label library longint longword mod nil not object ' +
|
29 |
+
'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended ' +
|
30 |
+
'pint64 pointer private procedure program property pshortstring pstring ' +
|
31 |
+
'pvariant pwidechar pwidestring protected public published raise real real48 ' +
|
32 |
+
'record repeat set shl shortint shortstring shr single smallint string then ' +
|
33 |
+
'threadvar to true try type unit until uses val var varirnt while widechar ' +
|
34 |
+
'widestring with word write writeln xor';
|
35 |
+
|
36 |
+
this.regexList = [
|
37 |
+
{ regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *)
|
38 |
+
{ regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { }
|
39 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line
|
40 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
41 |
+
{ regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags
|
42 |
+
{ regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345
|
43 |
+
{ regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3
|
44 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
45 |
+
];
|
46 |
+
};
|
47 |
+
|
48 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
49 |
+
Brush.aliases = ['delphi', 'pascal', 'pas'];
|
50 |
+
|
51 |
+
SyntaxHighlighter.brushes.Delphi = Brush;
|
52 |
+
|
53 |
+
// CommonJS
|
54 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
55 |
+
})();
|
js/syntaxhighlighter/shBrushDiff.js
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
this.regexList = [
|
25 |
+
{ regex: /^\+\+\+.*$/gm, css: 'color2' },
|
26 |
+
{ regex: /^\-\-\-.*$/gm, css: 'color2' },
|
27 |
+
{ regex: /^\s.*$/gm, css: 'color1' },
|
28 |
+
{ regex: /^@@.*@@$/gm, css: 'variable' },
|
29 |
+
{ regex: /^\+[^\+]{1}.*$/gm, css: 'string' },
|
30 |
+
{ regex: /^\-[^\-]{1}.*$/gm, css: 'comments' }
|
31 |
+
];
|
32 |
+
};
|
33 |
+
|
34 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
35 |
+
Brush.aliases = ['diff', 'patch'];
|
36 |
+
|
37 |
+
SyntaxHighlighter.brushes.Diff = Brush;
|
38 |
+
|
39 |
+
// CommonJS
|
40 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
41 |
+
})();
|
js/syntaxhighlighter/shBrushErlang.js
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Jean-Lou Dupont
|
25 |
+
// http://jldupont.blogspot.com/2009/06/erlang-syntax-highlighter.html
|
26 |
+
|
27 |
+
// According to: http://erlang.org/doc/reference_manual/introduction.html#1.5
|
28 |
+
var keywords = 'after and andalso band begin bnot bor bsl bsr bxor '+
|
29 |
+
'case catch cond div end fun if let not of or orelse '+
|
30 |
+
'query receive rem try when xor'+
|
31 |
+
// additional
|
32 |
+
' module export import define';
|
33 |
+
|
34 |
+
this.regexList = [
|
35 |
+
{ regex: new RegExp("[A-Z][A-Za-z0-9_]+", 'g'), css: 'constants' },
|
36 |
+
{ regex: new RegExp("\\%.+", 'gm'), css: 'comments' },
|
37 |
+
{ regex: new RegExp("\\?[A-Za-z0-9_]+", 'g'), css: 'preprocessor' },
|
38 |
+
{ regex: new RegExp("[a-z0-9_]+:[a-z0-9_]+", 'g'), css: 'functions' },
|
39 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
40 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
41 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
42 |
+
];
|
43 |
+
};
|
44 |
+
|
45 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
46 |
+
Brush.aliases = ['erl', 'erlang'];
|
47 |
+
|
48 |
+
SyntaxHighlighter.brushes.Erland = Brush;
|
49 |
+
|
50 |
+
// CommonJS
|
51 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
52 |
+
})();
|
js/syntaxhighlighter/shBrushGroovy.js
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Andres Almiray
|
25 |
+
// http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter
|
26 |
+
|
27 |
+
var keywords = 'as assert break case catch class continue def default do else extends finally ' +
|
28 |
+
'if in implements import instanceof interface new package property return switch ' +
|
29 |
+
'throw throws try while public protected private static';
|
30 |
+
var types = 'void boolean byte char short int long float double';
|
31 |
+
var constants = 'null';
|
32 |
+
var methods = 'allProperties count get size '+
|
33 |
+
'collect each eachProperty eachPropertyName eachWithIndex find findAll ' +
|
34 |
+
'findIndexOf grep inject max min reverseEach sort ' +
|
35 |
+
'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' +
|
36 |
+
'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' +
|
37 |
+
'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' +
|
38 |
+
'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' +
|
39 |
+
'transformChar transformLine withOutputStream withPrintWriter withStream ' +
|
40 |
+
'withStreams withWriter withWriterAppend write writeLine '+
|
41 |
+
'dump inspect invokeMethod print println step times upto use waitForOrKill '+
|
42 |
+
'getText';
|
43 |
+
|
44 |
+
this.regexList = [
|
45 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
46 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
47 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
48 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
49 |
+
{ regex: /""".*"""/g, css: 'string' }, // GStrings
|
50 |
+
{ regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers
|
51 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword
|
52 |
+
{ regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type
|
53 |
+
{ regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants
|
54 |
+
{ regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods
|
55 |
+
];
|
56 |
+
|
57 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
58 |
+
}
|
59 |
+
|
60 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
61 |
+
Brush.aliases = ['groovy'];
|
62 |
+
|
63 |
+
SyntaxHighlighter.brushes.Groovy = Brush;
|
64 |
+
|
65 |
+
// CommonJS
|
66 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
67 |
+
})();
|
js/syntaxhighlighter/shBrushJScript.js
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'break case catch continue ' +
|
25 |
+
'default delete do else false ' +
|
26 |
+
'for function if in instanceof ' +
|
27 |
+
'new null return super switch ' +
|
28 |
+
'this throw true try typeof var while with'
|
29 |
+
;
|
30 |
+
|
31 |
+
var r = SyntaxHighlighter.regexLib;
|
32 |
+
|
33 |
+
this.regexList = [
|
34 |
+
{ regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
|
35 |
+
{ regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
|
36 |
+
{ regex: r.singleLineCComments, css: 'comments' }, // one line comments
|
37 |
+
{ regex: r.multiLineCComments, css: 'comments' }, // multiline comments
|
38 |
+
{ regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
39 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
|
40 |
+
];
|
41 |
+
|
42 |
+
this.forHtmlScript(r.scriptScriptTags);
|
43 |
+
};
|
44 |
+
|
45 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
46 |
+
Brush.aliases = ['js', 'jscript', 'javascript'];
|
47 |
+
|
48 |
+
SyntaxHighlighter.brushes.JScript = Brush;
|
49 |
+
|
50 |
+
// CommonJS
|
51 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
52 |
+
})();
|
js/syntaxhighlighter/shBrushJava.js
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'abstract assert boolean break byte case catch char class const ' +
|
25 |
+
'continue default do double else enum extends ' +
|
26 |
+
'false final finally float for goto if implements import ' +
|
27 |
+
'instanceof int interface long native new null ' +
|
28 |
+
'package private protected public return ' +
|
29 |
+
'short static strictfp super switch synchronized this throw throws true ' +
|
30 |
+
'transient try void volatile while';
|
31 |
+
|
32 |
+
this.regexList = [
|
33 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
34 |
+
{ regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments
|
35 |
+
{ regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments
|
36 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
37 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
38 |
+
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
|
39 |
+
{ regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno
|
40 |
+
{ regex: /\@interface\b/g, css: 'color2' }, // @interface keyword
|
41 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword
|
42 |
+
];
|
43 |
+
|
44 |
+
this.forHtmlScript({
|
45 |
+
left : /(<|<)%[@!=]?/g,
|
46 |
+
right : /%(>|>)/g
|
47 |
+
});
|
48 |
+
};
|
49 |
+
|
50 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
51 |
+
Brush.aliases = ['java'];
|
52 |
+
|
53 |
+
SyntaxHighlighter.brushes.Java = Brush;
|
54 |
+
|
55 |
+
// CommonJS
|
56 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
57 |
+
})();
|
js/syntaxhighlighter/shBrushJavaFX.js
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Patrick Webster
|
25 |
+
// http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html
|
26 |
+
var datatypes = 'Boolean Byte Character Double Duration '
|
27 |
+
+ 'Float Integer Long Number Short String Void'
|
28 |
+
;
|
29 |
+
|
30 |
+
var keywords = 'abstract after and as assert at before bind bound break catch class '
|
31 |
+
+ 'continue def delete else exclusive extends false finally first for from '
|
32 |
+
+ 'function if import in indexof init insert instanceof into inverse last '
|
33 |
+
+ 'lazy mixin mod nativearray new not null on or override package postinit '
|
34 |
+
+ 'protected public public-init public-read replace return reverse sizeof '
|
35 |
+
+ 'step super then this throw true try tween typeof var where while with '
|
36 |
+
+ 'attribute let private readonly static trigger'
|
37 |
+
;
|
38 |
+
|
39 |
+
this.regexList = [
|
40 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' },
|
41 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' },
|
42 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
43 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
44 |
+
{ regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers
|
45 |
+
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes
|
46 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
47 |
+
];
|
48 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
49 |
+
};
|
50 |
+
|
51 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
52 |
+
Brush.aliases = ['jfx', 'javafx'];
|
53 |
+
|
54 |
+
SyntaxHighlighter.brushes.JavaFX = Brush;
|
55 |
+
|
56 |
+
// CommonJS
|
57 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
58 |
+
})();
|
js/syntaxhighlighter/shBrushPerl.js
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by David Simmons-Duffin and Marty Kube
|
25 |
+
|
26 |
+
var funcs =
|
27 |
+
'abs accept alarm atan2 bind binmode chdir chmod chomp chop chown chr ' +
|
28 |
+
'chroot close closedir connect cos crypt defined delete each endgrent ' +
|
29 |
+
'endhostent endnetent endprotoent endpwent endservent eof exec exists ' +
|
30 |
+
'exp fcntl fileno flock fork format formline getc getgrent getgrgid ' +
|
31 |
+
'getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr ' +
|
32 |
+
'getnetbyname getnetent getpeername getpgrp getppid getpriority ' +
|
33 |
+
'getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid ' +
|
34 |
+
'getservbyname getservbyport getservent getsockname getsockopt glob ' +
|
35 |
+
'gmtime grep hex index int ioctl join keys kill lc lcfirst length link ' +
|
36 |
+
'listen localtime lock log lstat map mkdir msgctl msgget msgrcv msgsnd ' +
|
37 |
+
'oct open opendir ord pack pipe pop pos print printf prototype push ' +
|
38 |
+
'quotemeta rand read readdir readline readlink readpipe recv rename ' +
|
39 |
+
'reset reverse rewinddir rindex rmdir scalar seek seekdir select semctl ' +
|
40 |
+
'semget semop send setgrent sethostent setnetent setpgrp setpriority ' +
|
41 |
+
'setprotoent setpwent setservent setsockopt shift shmctl shmget shmread ' +
|
42 |
+
'shmwrite shutdown sin sleep socket socketpair sort splice split sprintf ' +
|
43 |
+
'sqrt srand stat study substr symlink syscall sysopen sysread sysseek ' +
|
44 |
+
'system syswrite tell telldir time times tr truncate uc ucfirst umask ' +
|
45 |
+
'undef unlink unpack unshift utime values vec wait waitpid warn write';
|
46 |
+
|
47 |
+
var keywords =
|
48 |
+
'bless caller continue dbmclose dbmopen die do dump else elsif eval exit ' +
|
49 |
+
'for foreach goto if import last local my next no our package redo ref ' +
|
50 |
+
'require return sub tie tied unless untie until use wantarray while';
|
51 |
+
|
52 |
+
this.regexList = [
|
53 |
+
{ regex: new RegExp('#[^!].*$', 'gm'), css: 'comments' },
|
54 |
+
{ regex: new RegExp('^\\s*#!.*$', 'gm'), css: 'preprocessor' }, // shebang
|
55 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
56 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
57 |
+
{ regex: new RegExp('(\\$|@|%)\\w+', 'g'), css: 'variable' },
|
58 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
|
59 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
60 |
+
];
|
61 |
+
|
62 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
|
63 |
+
}
|
64 |
+
|
65 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
66 |
+
Brush.aliases = ['perl', 'Perl', 'pl'];
|
67 |
+
|
68 |
+
SyntaxHighlighter.brushes.Perl = Brush;
|
69 |
+
|
70 |
+
// CommonJS
|
71 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
72 |
+
})();
|
js/syntaxhighlighter/shBrushPhp.js
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var funcs = 'abs acos acosh addcslashes addslashes ' +
|
25 |
+
'array_change_key_case array_chunk array_combine array_count_values array_diff '+
|
26 |
+
'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+
|
27 |
+
'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+
|
28 |
+
'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+
|
29 |
+
'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+
|
30 |
+
'array_push array_rand array_reduce array_reverse array_search array_shift '+
|
31 |
+
'array_slice array_splice array_sum array_udiff array_udiff_assoc '+
|
32 |
+
'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
|
33 |
+
'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
|
34 |
+
'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
|
35 |
+
'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+
|
36 |
+
'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+
|
37 |
+
'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+
|
38 |
+
'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+
|
39 |
+
'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+
|
40 |
+
'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+
|
41 |
+
'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+
|
42 |
+
'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+
|
43 |
+
'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+
|
44 |
+
'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+
|
45 |
+
'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+
|
46 |
+
'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+
|
47 |
+
'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+
|
48 |
+
'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+
|
49 |
+
'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+
|
50 |
+
'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+
|
51 |
+
'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+
|
52 |
+
'parse_ini_file parse_str parse_url passthru pathinfo print readlink realpath rewind rewinddir rmdir '+
|
53 |
+
'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+
|
54 |
+
'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+
|
55 |
+
'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+
|
56 |
+
'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+
|
57 |
+
'strtoupper strtr strval substr substr_compare';
|
58 |
+
|
59 |
+
var keywords = 'abstract and array as break case catch cfunction class clone const continue declare default die do ' +
|
60 |
+
'else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach ' +
|
61 |
+
'function include include_once global goto if implements interface instanceof namespace new ' +
|
62 |
+
'old_function or private protected public return require require_once static switch ' +
|
63 |
+
'throw try use var while xor ';
|
64 |
+
|
65 |
+
var constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';
|
66 |
+
|
67 |
+
this.regexList = [
|
68 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
69 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
70 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
71 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
72 |
+
{ regex: /\$\w+/g, css: 'variable' }, // variables
|
73 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
|
74 |
+
{ regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
|
75 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
|
76 |
+
];
|
77 |
+
|
78 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
|
79 |
+
};
|
80 |
+
|
81 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
82 |
+
Brush.aliases = ['php'];
|
83 |
+
|
84 |
+
SyntaxHighlighter.brushes.Php = Brush;
|
85 |
+
|
86 |
+
// CommonJS
|
87 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
88 |
+
})();
|
js/syntaxhighlighter/shBrushPlain.js
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
};
|
25 |
+
|
26 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
27 |
+
Brush.aliases = ['text', 'plain'];
|
28 |
+
|
29 |
+
SyntaxHighlighter.brushes.Plain = Brush;
|
30 |
+
|
31 |
+
// CommonJS
|
32 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
33 |
+
})();
|
js/syntaxhighlighter/shBrushPowerShell.js
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributes by B.v.Zanten, Getronics
|
25 |
+
// http://confluence.atlassian.com/display/CONFEXT/New+Code+Macro
|
26 |
+
|
27 |
+
var keywords = 'Add-Content Add-History Add-Member Add-PSSnapin Clear(-Content)? Clear-Item ' +
|
28 |
+
'Clear-ItemProperty Clear-Variable Compare-Object ConvertFrom-SecureString Convert-Path ' +
|
29 |
+
'ConvertTo-Html ConvertTo-SecureString Copy(-Item)? Copy-ItemProperty Export-Alias ' +
|
30 |
+
'Export-Clixml Export-Console Export-Csv ForEach(-Object)? Format-Custom Format-List ' +
|
31 |
+
'Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command ' +
|
32 |
+
'Get-Content Get-Credential Get-Culture Get-Date Get-EventLog Get-ExecutionPolicy ' +
|
33 |
+
'Get-Help Get-History Get-Host Get-Item Get-ItemProperty Get-Location Get-Member ' +
|
34 |
+
'Get-PfxCertificate Get-Process Get-PSDrive Get-PSProvider Get-PSSnapin Get-Service ' +
|
35 |
+
'Get-TraceSource Get-UICulture Get-Unique Get-Variable Get-WmiObject Group-Object ' +
|
36 |
+
'Import-Alias Import-Clixml Import-Csv Invoke-Expression Invoke-History Invoke-Item ' +
|
37 |
+
'Join-Path Measure-Command Measure-Object Move(-Item)? Move-ItemProperty New-Alias ' +
|
38 |
+
'New-Item New-ItemProperty New-Object New-PSDrive New-Service New-TimeSpan ' +
|
39 |
+
'New-Variable Out-Default Out-File Out-Host Out-Null Out-Printer Out-String Pop-Location ' +
|
40 |
+
'Push-Location Read-Host Remove-Item Remove-ItemProperty Remove-PSDrive Remove-PSSnapin ' +
|
41 |
+
'Remove-Variable Rename-Item Rename-ItemProperty Resolve-Path Restart-Service Resume-Service ' +
|
42 |
+
'Select-Object Select-String Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content ' +
|
43 |
+
'Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-Location Set-PSDebug ' +
|
44 |
+
'Set-Service Set-TraceSource Set(-Variable)? Sort-Object Split-Path Start-Service ' +
|
45 |
+
'Start-Sleep Start-Transcript Stop-Process Stop-Service Stop-Transcript Suspend-Service ' +
|
46 |
+
'Tee-Object Test-Path Trace-Command Update-FormatData Update-TypeData Where(-Object)? ' +
|
47 |
+
'Write-Debug Write-Error Write(-Host)? Write-Output Write-Progress Write-Verbose Write-Warning';
|
48 |
+
var alias = 'ac asnp clc cli clp clv cpi cpp cvpa diff epal epcsv fc fl ' +
|
49 |
+
'ft fw gal gc gci gcm gdr ghy gi gl gm gp gps group gsv ' +
|
50 |
+
'gsnp gu gv gwmi iex ihy ii ipal ipcsv mi mp nal ndr ni nv oh rdr ' +
|
51 |
+
'ri rni rnp rp rsnp rv rvpa sal sasv sc select si sl sleep sort sp ' +
|
52 |
+
'spps spsv sv tee cat cd cp h history kill lp ls ' +
|
53 |
+
'mount mv popd ps pushd pwd r rm rmdir echo cls chdir del dir ' +
|
54 |
+
'erase rd ren type % \\?';
|
55 |
+
|
56 |
+
this.regexList = [
|
57 |
+
{ regex: /#.*$/gm, css: 'comments' }, // one line comments
|
58 |
+
{ regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // variables $Computer1
|
59 |
+
{ regex: /\-[a-zA-Z]+\b/g, css: 'keyword' }, // Operators -not -and -eq
|
60 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
61 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
62 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' },
|
63 |
+
{ regex: new RegExp(this.getKeywords(alias), 'gmi'), css: 'keyword' }
|
64 |
+
];
|
65 |
+
};
|
66 |
+
|
67 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
68 |
+
Brush.aliases = ['powershell', 'ps'];
|
69 |
+
|
70 |
+
SyntaxHighlighter.brushes.PowerShell = Brush;
|
71 |
+
|
72 |
+
// CommonJS
|
73 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
74 |
+
})();
|
js/syntaxhighlighter/shBrushPython.js
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Gheorghe Milas and Ahmad Sherif
|
25 |
+
|
26 |
+
var keywords = 'and assert break class continue def del elif else ' +
|
27 |
+
'except exec finally for from global if import in is ' +
|
28 |
+
'lambda not or pass print raise return try yield while';
|
29 |
+
|
30 |
+
var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' +
|
31 |
+
'chr classmethod cmp coerce compile complex delattr dict dir ' +
|
32 |
+
'divmod enumerate eval execfile file filter float format frozenset ' +
|
33 |
+
'getattr globals hasattr hash help hex id input int intern ' +
|
34 |
+
'isinstance issubclass iter len list locals long map max min next ' +
|
35 |
+
'object oct open ord pow print property range raw_input reduce ' +
|
36 |
+
'reload repr reversed round set setattr slice sorted staticmethod ' +
|
37 |
+
'str sum super tuple type type unichr unicode vars xrange zip';
|
38 |
+
|
39 |
+
var special = 'None True False self cls class_';
|
40 |
+
|
41 |
+
this.regexList = [
|
42 |
+
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
|
43 |
+
{ regex: /^\s*@\w+/gm, css: 'decorator' },
|
44 |
+
{ regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' },
|
45 |
+
{ regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' },
|
46 |
+
{ regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' },
|
47 |
+
{ regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' },
|
48 |
+
{ regex: /\b\d+\.?\w*/g, css: 'value' },
|
49 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
|
50 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
|
51 |
+
{ regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' }
|
52 |
+
];
|
53 |
+
|
54 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
55 |
+
};
|
56 |
+
|
57 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
58 |
+
Brush.aliases = ['py', 'python'];
|
59 |
+
|
60 |
+
SyntaxHighlighter.brushes.Python = Brush;
|
61 |
+
|
62 |
+
// CommonJS
|
63 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
64 |
+
})();
|
js/syntaxhighlighter/shBrushRuby.js
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Erik Peterson.
|
25 |
+
|
26 |
+
var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' +
|
27 |
+
'END end ensure false for if in module new next nil not or raise redo rescue retry return ' +
|
28 |
+
'self super then throw true undef unless until when while yield';
|
29 |
+
|
30 |
+
var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' +
|
31 |
+
'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' +
|
32 |
+
'ThreadGroup Thread Time TrueClass';
|
33 |
+
|
34 |
+
this.regexList = [
|
35 |
+
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
|
36 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
37 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
38 |
+
{ regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants
|
39 |
+
{ regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols
|
40 |
+
{ regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables
|
41 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
42 |
+
{ regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins
|
43 |
+
];
|
44 |
+
|
45 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
46 |
+
};
|
47 |
+
|
48 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
49 |
+
Brush.aliases = ['ruby', 'rails', 'ror', 'rb'];
|
50 |
+
|
51 |
+
SyntaxHighlighter.brushes.Ruby = Brush;
|
52 |
+
|
53 |
+
// CommonJS
|
54 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
55 |
+
})();
|
js/syntaxhighlighter/shBrushSass.js
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
function getKeywordsCSS(str)
|
25 |
+
{
|
26 |
+
return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
|
27 |
+
};
|
28 |
+
|
29 |
+
function getValuesCSS(str)
|
30 |
+
{
|
31 |
+
return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
|
32 |
+
};
|
33 |
+
|
34 |
+
var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
|
35 |
+
'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
|
36 |
+
'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
|
37 |
+
'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
|
38 |
+
'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
|
39 |
+
'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
|
40 |
+
'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
|
41 |
+
'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
|
42 |
+
'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
|
43 |
+
'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
|
44 |
+
'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
|
45 |
+
'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
|
46 |
+
'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
|
47 |
+
'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
|
48 |
+
|
49 |
+
var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
|
50 |
+
'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
|
51 |
+
'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero digits disc dotted double '+
|
52 |
+
'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
|
53 |
+
'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
|
54 |
+
'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
|
55 |
+
'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
|
56 |
+
'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
|
57 |
+
'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
|
58 |
+
'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
|
59 |
+
'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
|
60 |
+
'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
|
61 |
+
'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
|
62 |
+
'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
|
63 |
+
|
64 |
+
var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
|
65 |
+
|
66 |
+
var statements = '!important !default';
|
67 |
+
var preprocessor = '@import @extend @debug @warn @if @for @while @mixin @include';
|
68 |
+
|
69 |
+
var r = SyntaxHighlighter.regexLib;
|
70 |
+
|
71 |
+
this.regexList = [
|
72 |
+
{ regex: r.multiLineCComments, css: 'comments' }, // multiline comments
|
73 |
+
{ regex: r.singleLineCComments, css: 'comments' }, // singleline comments
|
74 |
+
{ regex: r.doubleQuotedString, css: 'string' }, // double quoted strings
|
75 |
+
{ regex: r.singleQuotedString, css: 'string' }, // single quoted strings
|
76 |
+
{ regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
|
77 |
+
{ regex: /\b(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)\b/g, css: 'value' }, // sizes
|
78 |
+
{ regex: /\$\w+/g, css: 'variable' }, // variables
|
79 |
+
{ regex: new RegExp(this.getKeywords(statements), 'g'), css: 'color3' }, // statements
|
80 |
+
{ regex: new RegExp(this.getKeywords(preprocessor), 'g'), css: 'preprocessor' }, // preprocessor
|
81 |
+
{ regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
|
82 |
+
{ regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
|
83 |
+
{ regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
|
84 |
+
];
|
85 |
+
};
|
86 |
+
|
87 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
88 |
+
Brush.aliases = ['sass', 'scss'];
|
89 |
+
|
90 |
+
SyntaxHighlighter.brushes.Sass = Brush;
|
91 |
+
|
92 |
+
// CommonJS
|
93 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
94 |
+
})();
|
js/syntaxhighlighter/shBrushScala.js
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Yegor Jbanov and David Bernard.
|
25 |
+
|
26 |
+
var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' +
|
27 |
+
'override try lazy for var catch throw type extends class while with new final yield abstract ' +
|
28 |
+
'else do if return protected private this package false';
|
29 |
+
|
30 |
+
var keyops = '[_:=><%#@]+';
|
31 |
+
|
32 |
+
this.regexList = [
|
33 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
34 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
35 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings
|
36 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string
|
37 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
38 |
+
{ regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers
|
39 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
40 |
+
{ regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword
|
41 |
+
];
|
42 |
+
}
|
43 |
+
|
44 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
45 |
+
Brush.aliases = ['scala'];
|
46 |
+
|
47 |
+
SyntaxHighlighter.brushes.Scala = Brush;
|
48 |
+
|
49 |
+
// CommonJS
|
50 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
51 |
+
})();
|
js/syntaxhighlighter/shBrushSql.js
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var funcs = 'abs avg case cast coalesce convert count current_timestamp ' +
|
25 |
+
'current_user day isnull left lower month nullif replace right ' +
|
26 |
+
'session_user space substring sum system_user upper user year';
|
27 |
+
|
28 |
+
var keywords = 'absolute action add after alter as asc at authorization begin bigint ' +
|
29 |
+
'binary bit by cascade char character check checkpoint close collate ' +
|
30 |
+
'column commit committed connect connection constraint contains continue ' +
|
31 |
+
'create cube current current_date current_time cursor database date ' +
|
32 |
+
'deallocate dec decimal declare default delete desc distinct double drop ' +
|
33 |
+
'dynamic else end end-exec escape except exec execute false fetch first ' +
|
34 |
+
'float for force foreign forward free from full function global goto grant ' +
|
35 |
+
'group grouping having hour ignore index inner insensitive insert instead ' +
|
36 |
+
'int integer intersect into is isolation key last level load local max min ' +
|
37 |
+
'minute modify move name national nchar next no numeric of off on only ' +
|
38 |
+
'open option order out output partial password precision prepare primary ' +
|
39 |
+
'prior privileges procedure public read real references relative repeatable ' +
|
40 |
+
'restrict return returns revoke rollback rollup rows rule schema scroll ' +
|
41 |
+
'second section select sequence serializable set size smallint static ' +
|
42 |
+
'statistics table temp temporary then time timestamp to top transaction ' +
|
43 |
+
'translation trigger true truncate uncommitted union unique update values ' +
|
44 |
+
'varchar varying view when where with work';
|
45 |
+
|
46 |
+
var operators = 'all and any between cross in join like not null or outer some';
|
47 |
+
|
48 |
+
this.regexList = [
|
49 |
+
{ regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments
|
50 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
|
51 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
|
52 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions
|
53 |
+
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
|
54 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
55 |
+
];
|
56 |
+
};
|
57 |
+
|
58 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
59 |
+
Brush.aliases = ['sql'];
|
60 |
+
|
61 |
+
SyntaxHighlighter.brushes.Sql = Brush;
|
62 |
+
|
63 |
+
// CommonJS
|
64 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
65 |
+
})();
|
66 |
+
|
js/syntaxhighlighter/shBrushVb.js
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' +
|
25 |
+
'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' +
|
26 |
+
'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' +
|
27 |
+
'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' +
|
28 |
+
'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' +
|
29 |
+
'Function Get GetType GoSub GoTo Handles If Implements Imports In ' +
|
30 |
+
'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' +
|
31 |
+
'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' +
|
32 |
+
'NotInheritable NotOverridable Object On Option Optional Or OrElse ' +
|
33 |
+
'Overloads Overridable Overrides ParamArray Preserve Private Property ' +
|
34 |
+
'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' +
|
35 |
+
'Return Select Set Shadows Shared Short Single Static Step Stop String ' +
|
36 |
+
'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' +
|
37 |
+
'Variant When While With WithEvents WriteOnly Xor';
|
38 |
+
|
39 |
+
this.regexList = [
|
40 |
+
{ regex: /'.*$/gm, css: 'comments' }, // one line comments
|
41 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
42 |
+
{ regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
43 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword
|
44 |
+
];
|
45 |
+
|
46 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
47 |
+
};
|
48 |
+
|
49 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
50 |
+
Brush.aliases = ['vb', 'vbnet'];
|
51 |
+
|
52 |
+
SyntaxHighlighter.brushes.Vb = Brush;
|
53 |
+
|
54 |
+
// CommonJS
|
55 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
56 |
+
})();
|
js/syntaxhighlighter/shBrushXml.js
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
function process(match, regexInfo)
|
25 |
+
{
|
26 |
+
var constructor = SyntaxHighlighter.Match,
|
27 |
+
code = match[0],
|
28 |
+
tag = new XRegExp('(<|<)[\\s\\/\\?]*(?<name>[:\\w-\\.]+)', 'xg').exec(code),
|
29 |
+
result = []
|
30 |
+
;
|
31 |
+
|
32 |
+
if (match.attributes != null)
|
33 |
+
{
|
34 |
+
var attributes,
|
35 |
+
regex = new XRegExp('(?<name> [\\w:\\-\\.]+)' +
|
36 |
+
'\\s*=\\s*' +
|
37 |
+
'(?<value> ".*?"|\'.*?\'|\\w+)',
|
38 |
+
'xg');
|
39 |
+
|
40 |
+
while ((attributes = regex.exec(code)) != null)
|
41 |
+
{
|
42 |
+
result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
|
43 |
+
result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
|
44 |
+
}
|
45 |
+
}
|
46 |
+
|
47 |
+
if (tag != null)
|
48 |
+
result.push(
|
49 |
+
new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
|
50 |
+
);
|
51 |
+
|
52 |
+
return result;
|
53 |
+
}
|
54 |
+
|
55 |
+
this.regexList = [
|
56 |
+
{ regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, // <![ ... [ ... ]]>
|
57 |
+
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // <!-- ... -->
|
58 |
+
{ regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process }
|
59 |
+
];
|
60 |
+
};
|
61 |
+
|
62 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
63 |
+
Brush.aliases = ['xml', 'xhtml', 'xslt', 'html'];
|
64 |
+
|
65 |
+
SyntaxHighlighter.brushes.Xml = Brush;
|
66 |
+
|
67 |
+
// CommonJS
|
68 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
69 |
+
})();
|
js/syntaxhighlighter/shCore.js
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('K M;I(M)1S 2U("2a\'t 4k M 4K 2g 3l 4G 4H");(6(){6 r(f,e){I(!M.1R(f))1S 3m("3s 15 4R");K a=f.1w;f=M(f.1m,t(f)+(e||""));I(a)f.1w={1m:a.1m,19:a.19?a.19.1a(0):N};H f}6 t(f){H(f.1J?"g":"")+(f.4s?"i":"")+(f.4p?"m":"")+(f.4v?"x":"")+(f.3n?"y":"")}6 B(f,e,a,b){K c=u.L,d,h,g;v=R;5K{O(;c--;){g=u[c];I(a&g.3r&&(!g.2p||g.2p.W(b))){g.2q.12=e;I((h=g.2q.X(f))&&h.P===e){d={3k:g.2b.W(b,h,a),1C:h};1N}}}}5v(i){1S i}5q{v=11}H d}6 p(f,e,a){I(3b.Z.1i)H f.1i(e,a);O(a=a||0;a<f.L;a++)I(f[a]===e)H a;H-1}M=6(f,e){K a=[],b=M.1B,c=0,d,h;I(M.1R(f)){I(e!==1d)1S 3m("2a\'t 5r 5I 5F 5B 5C 15 5E 5p");H r(f)}I(v)1S 2U("2a\'t W 3l M 59 5m 5g 5x 5i");e=e||"";O(d={2N:11,19:[],2K:6(g){H e.1i(g)>-1},3d:6(g){e+=g}};c<f.L;)I(h=B(f,c,b,d)){a.U(h.3k);c+=h.1C[0].L||1}Y I(h=n.X.W(z[b],f.1a(c))){a.U(h[0]);c+=h[0].L}Y{h=f.3a(c);I(h==="[")b=M.2I;Y I(h==="]")b=M.1B;a.U(h);c++}a=15(a.1K(""),n.Q.W(e,w,""));a.1w={1m:f,19:d.2N?d.19:N};H a};M.3v="1.5.0";M.2I=1;M.1B=2;K C=/\\$(?:(\\d\\d?|[$&`\'])|{([$\\w]+)})/g,w=/[^5h]+|([\\s\\S])(?=[\\s\\S]*\\1)/g,A=/^(?:[?*+]|{\\d+(?:,\\d*)?})\\??/,v=11,u=[],n={X:15.Z.X,1A:15.Z.1A,1C:1r.Z.1C,Q:1r.Z.Q,1e:1r.Z.1e},x=n.X.W(/()??/,"")[1]===1d,D=6(){K f=/^/g;n.1A.W(f,"");H!f.12}(),y=6(){K f=/x/g;n.Q.W("x",f,"");H!f.12}(),E=15.Z.3n!==1d,z={};z[M.2I]=/^(?:\\\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\\29-26-f]{2}|u[\\29-26-f]{4}|c[A-3o-z]|[\\s\\S]))/;z[M.1B]=/^(?:\\\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\\d*|x[\\29-26-f]{2}|u[\\29-26-f]{4}|c[A-3o-z]|[\\s\\S])|\\(\\?[:=!]|[?*+]\\?|{\\d+(?:,\\d*)?}\\??)/;M.1h=6(f,e,a,b){u.U({2q:r(f,"g"+(E?"y":"")),2b:e,3r:a||M.1B,2p:b||N})};M.2n=6(f,e){K a=f+"/"+(e||"");H M.2n[a]||(M.2n[a]=M(f,e))};M.3c=6(f){H r(f,"g")};M.5l=6(f){H f.Q(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,"\\\\$&")};M.5e=6(f,e,a,b){e=r(e,"g"+(b&&E?"y":""));e.12=a=a||0;f=e.X(f);H b?f&&f.P===a?f:N:f};M.3q=6(){M.1h=6(){1S 2U("2a\'t 55 1h 54 3q")}};M.1R=6(f){H 53.Z.1q.W(f)==="[2m 15]"};M.3p=6(f,e,a,b){O(K c=r(e,"g"),d=-1,h;h=c.X(f);){a.W(b,h,++d,f,c);c.12===h.P&&c.12++}I(e.1J)e.12=0};M.57=6(f,e){H 6 a(b,c){K d=e[c].1I?e[c]:{1I:e[c]},h=r(d.1I,"g"),g=[],i;O(i=0;i<b.L;i++)M.3p(b[i],h,6(k){g.U(d.3j?k[d.3j]||"":k[0])});H c===e.L-1||!g.L?g:a(g,c+1)}([f],0)};15.Z.1p=6(f,e){H J.X(e[0])};15.Z.W=6(f,e){H J.X(e)};15.Z.X=6(f){K e=n.X.1p(J,14),a;I(e){I(!x&&e.L>1&&p(e,"")>-1){a=15(J.1m,n.Q.W(t(J),"g",""));n.Q.W(f.1a(e.P),a,6(){O(K c=1;c<14.L-2;c++)I(14[c]===1d)e[c]=1d})}I(J.1w&&J.1w.19)O(K b=1;b<e.L;b++)I(a=J.1w.19[b-1])e[a]=e[b];!D&&J.1J&&!e[0].L&&J.12>e.P&&J.12--}H e};I(!D)15.Z.1A=6(f){(f=n.X.W(J,f))&&J.1J&&!f[0].L&&J.12>f.P&&J.12--;H!!f};1r.Z.1C=6(f){M.1R(f)||(f=15(f));I(f.1J){K e=n.1C.1p(J,14);f.12=0;H e}H f.X(J)};1r.Z.Q=6(f,e){K a=M.1R(f),b,c;I(a&&1j e.58()==="3f"&&e.1i("${")===-1&&y)H n.Q.1p(J,14);I(a){I(f.1w)b=f.1w.19}Y f+="";I(1j e==="6")c=n.Q.W(J,f,6(){I(b){14[0]=1f 1r(14[0]);O(K d=0;d<b.L;d++)I(b[d])14[0][b[d]]=14[d+1]}I(a&&f.1J)f.12=14[14.L-2]+14[0].L;H e.1p(N,14)});Y{c=J+"";c=n.Q.W(c,f,6(){K d=14;H n.Q.W(e,C,6(h,g,i){I(g)5b(g){24"$":H"$";24"&":H d[0];24"`":H d[d.L-1].1a(0,d[d.L-2]);24"\'":H d[d.L-1].1a(d[d.L-2]+d[0].L);5a:i="";g=+g;I(!g)H h;O(;g>d.L-3;){i=1r.Z.1a.W(g,-1)+i;g=1Q.3i(g/10)}H(g?d[g]||"":"$")+i}Y{g=+i;I(g<=d.L-3)H d[g];g=b?p(b,i):-1;H g>-1?d[g+1]:h}})})}I(a&&f.1J)f.12=0;H c};1r.Z.1e=6(f,e){I(!M.1R(f))H n.1e.1p(J,14);K a=J+"",b=[],c=0,d,h;I(e===1d||+e<0)e=5D;Y{e=1Q.3i(+e);I(!e)H[]}O(f=M.3c(f);d=f.X(a);){I(f.12>c){b.U(a.1a(c,d.P));d.L>1&&d.P<a.L&&3b.Z.U.1p(b,d.1a(1));h=d[0].L;c=f.12;I(b.L>=e)1N}f.12===d.P&&f.12++}I(c===a.L){I(!n.1A.W(f,"")||h)b.U("")}Y b.U(a.1a(c));H b.L>e?b.1a(0,e):b};M.1h(/\\(\\?#[^)]*\\)/,6(f){H n.1A.W(A,f.2S.1a(f.P+f[0].L))?"":"(?:)"});M.1h(/\\((?!\\?)/,6(){J.19.U(N);H"("});M.1h(/\\(\\?<([$\\w]+)>/,6(f){J.19.U(f[1]);J.2N=R;H"("});M.1h(/\\\\k<([\\w$]+)>/,6(f){K e=p(J.19,f[1]);H e>-1?"\\\\"+(e+1)+(3R(f.2S.3a(f.P+f[0].L))?"":"(?:)"):f[0]});M.1h(/\\[\\^?]/,6(f){H f[0]==="[]"?"\\\\b\\\\B":"[\\\\s\\\\S]"});M.1h(/^\\(\\?([5A]+)\\)/,6(f){J.3d(f[1]);H""});M.1h(/(?:\\s+|#.*)+/,6(f){H n.1A.W(A,f.2S.1a(f.P+f[0].L))?"":"(?:)"},M.1B,6(){H J.2K("x")});M.1h(/\\./,6(){H"[\\\\s\\\\S]"},M.1B,6(){H J.2K("s")})})();1j 2e!="1d"&&(2e.M=M);K 1v=6(){6 r(a,b){a.1l.1i(b)!=-1||(a.1l+=" "+b)}6 t(a){H a.1i("3e")==0?a:"3e"+a}6 B(a){H e.1Y.2A[t(a)]}6 p(a,b,c){I(a==N)H N;K d=c!=R?a.3G:[a.2G],h={"#":"1c",".":"1l"}[b.1o(0,1)]||"3h",g,i;g=h!="3h"?b.1o(1):b.5u();I((a[h]||"").1i(g)!=-1)H a;O(a=0;d&&a<d.L&&i==N;a++)i=p(d[a],b,c);H i}6 C(a,b){K c={},d;O(d 2g a)c[d]=a[d];O(d 2g b)c[d]=b[d];H c}6 w(a,b,c,d){6 h(g){g=g||1P.5y;I(!g.1F){g.1F=g.52;g.3N=6(){J.5w=11}}c.W(d||1P,g)}a.3g?a.3g("4U"+b,h):a.4y(b,h,11)}6 A(a,b){K c=e.1Y.2j,d=N;I(c==N){c={};O(K h 2g e.1U){K g=e.1U[h];d=g.4x;I(d!=N){g.1V=h.4w();O(g=0;g<d.L;g++)c[d[g]]=h}}e.1Y.2j=c}d=e.1U[c[a]];d==N&&b!=11&&1P.1X(e.13.1x.1X+(e.13.1x.3E+a));H d}6 v(a,b){O(K c=a.1e("\\n"),d=0;d<c.L;d++)c[d]=b(c[d],d);H c.1K("\\n")}6 u(a,b){I(a==N||a.L==0||a=="\\n")H a;a=a.Q(/</g,"&1y;");a=a.Q(/ {2,}/g,6(c){O(K d="",h=0;h<c.L-1;h++)d+=e.13.1W;H d+" "});I(b!=N)a=v(a,6(c){I(c.L==0)H"";K d="";c=c.Q(/^(&2s;| )+/,6(h){d=h;H""});I(c.L==0)H d;H d+\'<17 1g="\'+b+\'">\'+c+"</17>"});H a}6 n(a,b){a.1e("\\n");O(K c="",d=0;d<50;d++)c+=" ";H a=v(a,6(h){I(h.1i("\\t")==-1)H h;O(K g=0;(g=h.1i("\\t"))!=-1;)h=h.1o(0,g)+c.1o(0,b-g%b)+h.1o(g+1,h.L);H h})}6 x(a){H a.Q(/^\\s+|\\s+$/g,"")}6 D(a,b){I(a.P<b.P)H-1;Y I(a.P>b.P)H 1;Y I(a.L<b.L)H-1;Y I(a.L>b.L)H 1;H 0}6 y(a,b){6 c(k){H k[0]}O(K d=N,h=[],g=b.2D?b.2D:c;(d=b.1I.X(a))!=N;){K i=g(d,b);I(1j i=="3f")i=[1f e.2L(i,d.P,b.23)];h=h.1O(i)}H h}6 E(a){K b=/(.*)((&1G;|&1y;).*)/;H a.Q(e.3A.3M,6(c){K d="",h=N;I(h=b.X(c)){c=h[1];d=h[2]}H\'<a 2h="\'+c+\'">\'+c+"</a>"+d})}6 z(){O(K a=1E.36("1k"),b=[],c=0;c<a.L;c++)a[c].3s=="20"&&b.U(a[c]);H b}6 f(a){a=a.1F;K b=p(a,".20",R);a=p(a,".3O",R);K c=1E.4i("3t");I(!(!a||!b||p(a,"3t"))){B(b.1c);r(b,"1m");O(K d=a.3G,h=[],g=0;g<d.L;g++)h.U(d[g].4z||d[g].4A);h=h.1K("\\r");c.39(1E.4D(h));a.39(c);c.2C();c.4C();w(c,"4u",6(){c.2G.4E(c);b.1l=b.1l.Q("1m","")})}}I(1j 3F!="1d"&&1j M=="1d")M=3F("M").M;K e={2v:{"1g-27":"","2i-1s":1,"2z-1s-2t":11,1M:N,1t:N,"42-45":R,"43-22":4,1u:R,16:R,"3V-17":R,2l:11,"41-40":R,2k:11,"1z-1k":11},13:{1W:"&2s;",2M:R,46:11,44:11,34:"4n",1x:{21:"4o 1m",2P:"?",1X:"1v\\n\\n",3E:"4r\'t 4t 1D O: ",4g:"4m 4B\'t 51 O 1z-1k 4F: ",37:\'<!4T 1z 4S "-//4V//3H 4W 1.0 4Z//4Y" "1Z://2y.3L.3K/4X/3I/3H/3I-4P.4J"><1z 4I="1Z://2y.3L.3K/4L/5L"><3J><4N 1Z-4M="5G-5M" 6K="2O/1z; 6J=6I-8" /><1t>6L 1v</1t></3J><3B 1L="25-6M:6Q,6P,6O,6N-6F;6y-2f:#6x;2f:#6w;25-22:6v;2O-3D:3C;"><T 1L="2O-3D:3C;3w-32:1.6z;"><T 1L="25-22:6A-6E;">1v</T><T 1L="25-22:.6C;3w-6B:6R;"><T>3v 3.0.76 (72 73 3x)</T><T><a 2h="1Z://3u.2w/1v" 1F="38" 1L="2f:#3y">1Z://3u.2w/1v</a></T><T>70 17 6U 71.</T><T>6T 6X-3x 6Y 6D.</T></T><T>6t 61 60 J 1k, 5Z <a 2h="6u://2y.62.2w/63-66/65?64=5X-5W&5P=5O" 1L="2f:#3y">5R</a> 5V <2R/>5U 5T 5S!</T></T></3B></1z>\'}},1Y:{2j:N,2A:{}},1U:{},3A:{6n:/\\/\\*[\\s\\S]*?\\*\\//2c,6m:/\\/\\/.*$/2c,6l:/#.*$/2c,6k:/"([^\\\\"\\n]|\\\\.)*"/g,6o:/\'([^\\\\\'\\n]|\\\\.)*\'/g,6p:1f M(\'"([^\\\\\\\\"]|\\\\\\\\.)*"\',"3z"),6s:1f M("\'([^\\\\\\\\\']|\\\\\\\\.)*\'","3z"),6q:/(&1y;|<)!--[\\s\\S]*?--(&1G;|>)/2c,3M:/\\w+:\\/\\/[\\w-.\\/?%&=:@;]*/g,6a:{18:/(&1y;|<)\\?=?/g,1b:/\\?(&1G;|>)/g},69:{18:/(&1y;|<)%=?/g,1b:/%(&1G;|>)/g},6d:{18:/(&1y;|<)\\s*1k.*?(&1G;|>)/2T,1b:/(&1y;|<)\\/\\s*1k\\s*(&1G;|>)/2T}},16:{1H:6(a){6 b(i,k){H e.16.2o(i,k,e.13.1x[k])}O(K c=\'<T 1g="16">\',d=e.16.2x,h=d.2X,g=0;g<h.L;g++)c+=(d[h[g]].1H||b)(a,h[g]);c+="</T>";H c},2o:6(a,b,c){H\'<2W><a 2h="#" 1g="6e 6h\'+b+" "+b+\'">\'+c+"</a></2W>"},2b:6(a){K b=a.1F,c=b.1l||"";b=B(p(b,".20",R).1c);K d=6(h){H(h=15(h+"6f(\\\\w+)").X(c))?h[1]:N}("6g");b&&d&&e.16.2x[d].2B(b);a.3N()},2x:{2X:["21","2P"],21:{1H:6(a){I(a.V("2l")!=R)H"";K b=a.V("1t");H e.16.2o(a,"21",b?b:e.13.1x.21)},2B:6(a){a=1E.6j(t(a.1c));a.1l=a.1l.Q("47","")}},2P:{2B:6(){K a="68=0";a+=", 18="+(31.30-33)/2+", 32="+(31.2Z-2Y)/2+", 30=33, 2Z=2Y";a=a.Q(/^,/,"");a=1P.6Z("","38",a);a.2C();K b=a.1E;b.6W(e.13.1x.37);b.6V();a.2C()}}}},35:6(a,b){K c;I(b)c=[b];Y{c=1E.36(e.13.34);O(K d=[],h=0;h<c.L;h++)d.U(c[h]);c=d}c=c;d=[];I(e.13.2M)c=c.1O(z());I(c.L===0)H d;O(h=0;h<c.L;h++){O(K g=c[h],i=a,k=c[h].1l,j=3W 0,l={},m=1f M("^\\\\[(?<2V>(.*?))\\\\]$"),s=1f M("(?<27>[\\\\w-]+)\\\\s*:\\\\s*(?<1T>[\\\\w-%#]+|\\\\[.*?\\\\]|\\".*?\\"|\'.*?\')\\\\s*;?","g");(j=s.X(k))!=N;){K o=j.1T.Q(/^[\'"]|[\'"]$/g,"");I(o!=N&&m.1A(o)){o=m.X(o);o=o.2V.L>0?o.2V.1e(/\\s*,\\s*/):[]}l[j.27]=o}g={1F:g,1n:C(i,l)};g.1n.1D!=N&&d.U(g)}H d},1M:6(a,b){K c=J.35(a,b),d=N,h=e.13;I(c.L!==0)O(K g=0;g<c.L;g++){b=c[g];K i=b.1F,k=b.1n,j=k.1D,l;I(j!=N){I(k["1z-1k"]=="R"||e.2v["1z-1k"]==R){d=1f e.4l(j);j="4O"}Y I(d=A(j))d=1f d;Y 6H;l=i.3X;I(h.2M){l=l;K m=x(l),s=11;I(m.1i("<![6G[")==0){m=m.4h(9);s=R}K o=m.L;I(m.1i("]]\\>")==o-3){m=m.4h(0,o-3);s=R}l=s?m:l}I((i.1t||"")!="")k.1t=i.1t;k.1D=j;d.2Q(k);b=d.2F(l);I((i.1c||"")!="")b.1c=i.1c;i.2G.74(b,i)}}},2E:6(a){w(1P,"4k",6(){e.1M(a)})}};e.2E=e.2E;e.1M=e.1M;e.2L=6(a,b,c){J.1T=a;J.P=b;J.L=a.L;J.23=c;J.1V=N};e.2L.Z.1q=6(){H J.1T};e.4l=6(a){6 b(j,l){O(K m=0;m<j.L;m++)j[m].P+=l}K c=A(a),d,h=1f e.1U.5Y,g=J,i="2F 1H 2Q".1e(" ");I(c!=N){d=1f c;O(K k=0;k<i.L;k++)(6(){K j=i[k];g[j]=6(){H h[j].1p(h,14)}})();d.28==N?1P.1X(e.13.1x.1X+(e.13.1x.4g+a)):h.2J.U({1I:d.28.17,2D:6(j){O(K l=j.17,m=[],s=d.2J,o=j.P+j.18.L,F=d.28,q,G=0;G<s.L;G++){q=y(l,s[G]);b(q,o);m=m.1O(q)}I(F.18!=N&&j.18!=N){q=y(j.18,F.18);b(q,j.P);m=m.1O(q)}I(F.1b!=N&&j.1b!=N){q=y(j.1b,F.1b);b(q,j.P+j[0].5Q(j.1b));m=m.1O(q)}O(j=0;j<m.L;j++)m[j].1V=c.1V;H m}})}};e.4j=6(){};e.4j.Z={V:6(a,b){K c=J.1n[a];c=c==N?b:c;K d={"R":R,"11":11}[c];H d==N?c:d},3Y:6(a){H 1E.4i(a)},4c:6(a,b){K c=[];I(a!=N)O(K d=0;d<a.L;d++)I(1j a[d]=="2m")c=c.1O(y(b,a[d]));H J.4e(c.6b(D))},4e:6(a){O(K b=0;b<a.L;b++)I(a[b]!==N)O(K c=a[b],d=c.P+c.L,h=b+1;h<a.L&&a[b]!==N;h++){K g=a[h];I(g!==N)I(g.P>d)1N;Y I(g.P==c.P&&g.L>c.L)a[b]=N;Y I(g.P>=c.P&&g.P<d)a[h]=N}H a},4d:6(a){K b=[],c=2u(J.V("2i-1s"));v(a,6(d,h){b.U(h+c)});H b},3U:6(a){K b=J.V("1M",[]);I(1j b!="2m"&&b.U==N)b=[b];a:{a=a.1q();K c=3W 0;O(c=c=1Q.6c(c||0,0);c<b.L;c++)I(b[c]==a){b=c;1N a}b=-1}H b!=-1},2r:6(a,b,c){a=["1s","6i"+b,"P"+a,"6r"+(b%2==0?1:2).1q()];J.3U(b)&&a.U("67");b==0&&a.U("1N");H\'<T 1g="\'+a.1K(" ")+\'">\'+c+"</T>"},3Q:6(a,b){K c="",d=a.1e("\\n").L,h=2u(J.V("2i-1s")),g=J.V("2z-1s-2t");I(g==R)g=(h+d-1).1q().L;Y I(3R(g)==R)g=0;O(K i=0;i<d;i++){K k=b?b[i]:h+i,j;I(k==0)j=e.13.1W;Y{j=g;O(K l=k.1q();l.L<j;)l="0"+l;j=l}a=j;c+=J.2r(i,k,a)}H c},49:6(a,b){a=x(a);K c=a.1e("\\n");J.V("2z-1s-2t");K d=2u(J.V("2i-1s"));a="";O(K h=J.V("1D"),g=0;g<c.L;g++){K i=c[g],k=/^(&2s;|\\s)+/.X(i),j=N,l=b?b[g]:d+g;I(k!=N){j=k[0].1q();i=i.1o(j.L);j=j.Q(" ",e.13.1W)}i=x(i);I(i.L==0)i=e.13.1W;a+=J.2r(g,l,(j!=N?\'<17 1g="\'+h+\' 5N">\'+j+"</17>":"")+i)}H a},4f:6(a){H a?"<4a>"+a+"</4a>":""},4b:6(a,b){6 c(l){H(l=l?l.1V||g:g)?l+" ":""}O(K d=0,h="",g=J.V("1D",""),i=0;i<b.L;i++){K k=b[i],j;I(!(k===N||k.L===0)){j=c(k);h+=u(a.1o(d,k.P-d),j+"48")+u(k.1T,j+k.23);d=k.P+k.L+(k.75||0)}}h+=u(a.1o(d),c()+"48");H h},1H:6(a){K b="",c=["20"],d;I(J.V("2k")==R)J.1n.16=J.1n.1u=11;1l="20";J.V("2l")==R&&c.U("47");I((1u=J.V("1u"))==11)c.U("6S");c.U(J.V("1g-27"));c.U(J.V("1D"));a=a.Q(/^[ ]*[\\n]+|[\\n]*[ ]*$/g,"").Q(/\\r/g," ");b=J.V("43-22");I(J.V("42-45")==R)a=n(a,b);Y{O(K h="",g=0;g<b;g++)h+=" ";a=a.Q(/\\t/g,h)}a=a;a:{b=a=a;h=/<2R\\s*\\/?>|&1y;2R\\s*\\/?&1G;/2T;I(e.13.46==R)b=b.Q(h,"\\n");I(e.13.44==R)b=b.Q(h,"");b=b.1e("\\n");h=/^\\s*/;g=4Q;O(K i=0;i<b.L&&g>0;i++){K k=b[i];I(x(k).L!=0){k=h.X(k);I(k==N){a=a;1N a}g=1Q.4q(k[0].L,g)}}I(g>0)O(i=0;i<b.L;i++)b[i]=b[i].1o(g);a=b.1K("\\n")}I(1u)d=J.4d(a);b=J.4c(J.2J,a);b=J.4b(a,b);b=J.49(b,d);I(J.V("41-40"))b=E(b);1j 2H!="1d"&&2H.3S&&2H.3S.1C(/5s/)&&c.U("5t");H b=\'<T 1c="\'+t(J.1c)+\'" 1g="\'+c.1K(" ")+\'">\'+(J.V("16")?e.16.1H(J):"")+\'<3Z 5z="0" 5H="0" 5J="0">\'+J.4f(J.V("1t"))+"<3T><3P>"+(1u?\'<2d 1g="1u">\'+J.3Q(a)+"</2d>":"")+\'<2d 1g="17"><T 1g="3O">\'+b+"</T></2d></3P></3T></3Z></T>"},2F:6(a){I(a===N)a="";J.17=a;K b=J.3Y("T");b.3X=J.1H(a);J.V("16")&&w(p(b,".16"),"5c",e.16.2b);J.V("3V-17")&&w(p(b,".17"),"56",f);H b},2Q:6(a){J.1c=""+1Q.5d(1Q.5n()*5k).1q();e.1Y.2A[t(J.1c)]=J;J.1n=C(e.2v,a||{});I(J.V("2k")==R)J.1n.16=J.1n.1u=11},5j:6(a){a=a.Q(/^\\s+|\\s+$/g,"").Q(/\\s+/g,"|");H"\\\\b(?:"+a+")\\\\b"},5f:6(a){J.28={18:{1I:a.18,23:"1k"},1b:{1I:a.1b,23:"1k"},17:1f M("(?<18>"+a.18.1m+")(?<17>.*?)(?<1b>"+a.1b.1m+")","5o")}}};H e}();1j 2e!="1d"&&(2e.1v=1v);',62,441,'||||||function|||||||||||||||||||||||||||||||||||||return|if|this|var|length|XRegExp|null|for|index|replace|true||div|push|getParam|call|exec|else|prototype||false|lastIndex|config|arguments|RegExp|toolbar|code|left|captureNames|slice|right|id|undefined|split|new|class|addToken|indexOf|typeof|script|className|source|params|substr|apply|toString|String|line|title|gutter|SyntaxHighlighter|_xregexp|strings|lt|html|test|OUTSIDE_CLASS|match|brush|document|target|gt|getHtml|regex|global|join|style|highlight|break|concat|window|Math|isRegExp|throw|value|brushes|brushName|space|alert|vars|http|syntaxhighlighter|expandSource|size|css|case|font|Fa|name|htmlScript|dA|can|handler|gm|td|exports|color|in|href|first|discoveredBrushes|light|collapse|object|cache|getButtonHtml|trigger|pattern|getLineHtml|nbsp|numbers|parseInt|defaults|com|items|www|pad|highlighters|execute|focus|func|all|getDiv|parentNode|navigator|INSIDE_CLASS|regexList|hasFlag|Match|useScriptTags|hasNamedCapture|text|help|init|br|input|gi|Error|values|span|list|250|height|width|screen|top|500|tagName|findElements|getElementsByTagName|aboutDialog|_blank|appendChild|charAt|Array|copyAsGlobal|setFlag|highlighter_|string|attachEvent|nodeName|floor|backref|output|the|TypeError|sticky|Za|iterate|freezeTokens|scope|type|textarea|alexgorbatchev|version|margin|2010|005896|gs|regexLib|body|center|align|noBrush|require|childNodes|DTD|xhtml1|head|org|w3|url|preventDefault|container|tr|getLineNumbersHtml|isNaN|userAgent|tbody|isLineHighlighted|quick|void|innerHTML|create|table|links|auto|smart|tab|stripBrs|tabs|bloggerMode|collapsed|plain|getCodeLinesHtml|caption|getMatchesHtml|findMatches|figureOutLineNumbers|removeNestedMatches|getTitleHtml|brushNotHtmlScript|substring|createElement|Highlighter|load|HtmlScript|Brush|pre|expand|multiline|min|Can|ignoreCase|find|blur|extended|toLowerCase|aliases|addEventListener|innerText|textContent|wasn|select|createTextNode|removeChild|option|same|frame|xmlns|dtd|twice|1999|equiv|meta|htmlscript|transitional|1E3|expected|PUBLIC|DOCTYPE|on|W3C|XHTML|TR|EN|Transitional||configured|srcElement|Object|after|run|dblclick|matchChain|valueOf|constructor|default|switch|click|round|execAt|forHtmlScript|token|gimy|functions|getKeywords|1E6|escape|within|random|sgi|another|finally|supply|MSIE|ie|toUpperCase|catch|returnValue|definition|event|border|imsx|constructing|one|Infinity|from|when|Content|cellpadding|flags|cellspacing|try|xhtml|Type|spaces|2930402|hosted_button_id|lastIndexOf|donate|active|development|keep|to|xclick|_s|Xml|please|like|you|paypal|cgi|cmd|webscr|bin|highlighted|scrollbars|aspScriptTags|phpScriptTags|sort|max|scriptScriptTags|toolbar_item|_|command|command_|number|getElementById|doubleQuotedString|singleLinePerlComments|singleLineCComments|multiLineCComments|singleQuotedString|multiLineDoubleQuotedString|xmlComments|alt|multiLineSingleQuotedString|If|https|1em|000|fff|background|5em|xx|bottom|75em|Gorbatchev|large|serif|CDATA|continue|utf|charset|content|About|family|sans|Helvetica|Arial|Geneva|3em|nogutter|Copyright|syntax|close|write|2004|Alex|open|JavaScript|highlighter|July|02|replaceChild|offset|83'.split('|'),0,{}))
|
js/syntaxhighlighter/shLegacy.js
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('3 u={8:{}};u.8={A:4(c,k,l,m,n,o){4 d(a,b){2 a!=1?a:b}4 f(a){2 a!=1?a.E():1}c=c.I(":");3 g=c[0],e={};t={"r":K};M=1;5=8.5;9(3 j R c)e[c[j]]="r";k=f(d(k,5.C));l=f(d(l,5.D));m=f(d(m,5.s));o=f(d(o,5.Q));n=f(d(n,5["x-y"]));2{P:g,C:d(t[e.O],k),D:d(t[e.N],l),s:d({"r":r}[e.s],m),"x-y":d(4(a,b){9(3 h=T S("^"+b+"\\\\[(?<q>\\\\w+)\\\\]$","U"),i=1,p=0;p<a.7;p++)6((i=h.J(a[p]))!=1)2 i.q;2 1}(c,"G"),n)}},F:4(c,k,l,m,n,o){4 d(){9(3 a=H,b=0;b<a.7;b++)6(a[b]!==1){6(z a[b]=="L"&&a[b]!="")2 a[b]+"";6(z a[b]=="X"&&a[b].q!="")2 a[b].q+""}2 1}4 f(a,b,h){h=12.13(h);9(3 i=0;i<h.7;i++)h[i].V("15")==b&&a.Y(h[i])}3 g=[];f(g,c,"Z");f(g,c,"W");6(g.7!==0)9(c=0;c<g.7;c++){3 e=g[c],j=d(e.B["14"],e.10,e.B.v,e.v);6(j!==1){j=u.8.A(j,k,l,m,n,o);8.11(j,e)}}}};',62,68,'|null|return|var|function|defaults|if|length|SyntaxHighlighter|for|||||||||||||||||value|true|collapse|reverse|dp|language||first|line|typeof|parseParams|attributes|gutter|toolbar|toString|HighlightAll|firstline|arguments|split|exec|false|string|result|nocontrols|nogutter|brush|ruler|in|XRegExp|new|gi|getAttribute|textarea|object|push|pre|className|highlight|document|getElementsByTagName|class|name'.split('|'),0,{}))
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Syntax_Highlighter</name>
|
4 |
+
<version>1.0.2</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Automatically highlight your syntax using Alex Gorbatchev's Syntax Highlighter.</summary>
|
10 |
+
<description>Automatically highlight your syntax using Alex Gorbatchev's Syntax Highlighter.</description>
|
11 |
+
<notes>Added support for FishPig's WordPress Integration</notes>
|
12 |
+
<authors><author><name>fishpig</name><user>auto-converted</user><email>ben@fishpig.co.uk</email></author></authors>
|
13 |
+
<date>2011-07-31</date>
|
14 |
+
<time>13:33:20</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Fishpig"><dir name="SyntaxHighlighter"><dir name="Helper"><file name="Data.php" hash="e5cca5a37d549077f459bede15bee2a0"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Theme.php" hash="3a278dbddb54210ed8aaee2cfc94aba6"/></dir></dir></dir><file name="Observer.php" hash="1a9bfd19d47a949518af692ca27c1011"/></dir><dir name="etc"><file name="config.xml" hash="b16b2ad4296e792bab92cbf1b8e3db5c"/><file name="system.xml" hash="003652c8f75f3dfee7f97d62a45de1a6"/></dir><file name="notes.txt" hash="ce13ac1c7e9840472096e01a2a6101cf"/></dir></dir></target><target name="mageweb"><dir name="app"><dir name="etc"><dir name="modules"><file name="Fishpig_SyntaxHighlighter.xml" hash="d3aaf7dcc63e857384088fdff0b32178"/></dir></dir></dir><dir name="js"><dir name="syntaxhighlighter"><file name="shAutoloader.js" hash="a122e7137e224f646b22b910a779d211"/><file name="shBrushAS3.js" hash="442d259478af459cb198f1c7920cd6bf"/><file name="shBrushAppleScript.js" hash="74a77dcec7dd7bd0c996c312d10569bc"/><file name="shBrushBash.js" hash="2d78054b479066ae1555e9c3ff2982e8"/><file name="shBrushCSharp.js" hash="b280eea611e5ed28f08ea552b59dfef0"/><file name="shBrushColdFusion.js" hash="915874e18d8380902cb7eca143fcee13"/><file name="shBrushCpp.js" hash="f88b763be0c3069581db71bae6025bd8"/><file name="shBrushCss.js" hash="a07a03d9b8a586105267106ed629339e"/><file name="shBrushDelphi.js" hash="29db1af76facf2deb013621981c43ab7"/><file name="shBrushDiff.js" hash="2e12da4b8224909fc0b92131bb04fb7e"/><file name="shBrushErlang.js" hash="112da02c9c7c83494f3764540aec6cdd"/><file name="shBrushGroovy.js" hash="9c6ede0ba21cb804301e156e2b4fd03c"/><file name="shBrushJScript.js" hash="cdae918e2156986f76ada6d301c45f27"/><file name="shBrushJava.js" hash="c374a5018773714f971543dc273fceed"/><file name="shBrushJavaFX.js" hash="0afafd1298c5870e7f3bf8ab761ccb6e"/><file name="shBrushPerl.js" hash="b5300568d34b9182117922e8fc7c540a"/><file name="shBrushPhp.js" hash="0a52933147cb95e4860a81c6c86863f8"/><file name="shBrushPlain.js" hash="87fdca14e9886310a4e4b3ceb429c7f8"/><file name="shBrushPowerShell.js" hash="3939e2b31f99d06960e56b24697773fd"/><file name="shBrushPython.js" hash="734fbf7c3eb377282d42c6ea110b1ef1"/><file name="shBrushRuby.js" hash="8da67ffc8de2d75073fc6b31d9af78f9"/><file name="shBrushSass.js" hash="ebb4bef932492672be74fd925513fc9a"/><file name="shBrushScala.js" hash="ec43414a7d9f971e1b6e3b7bdc4d75b6"/><file name="shBrushSql.js" hash="3de8eb19c0c7a60c1c3e0680c18709ab"/><file name="shBrushVb.js" hash="bb8a98a95fabbd96b6c94582716c57cd"/><file name="shBrushXml.js" hash="ba290ac0111d2c3f8e1ce36fbaf6a239"/><file name="shCore.js" hash="488ca2f56c37f84283fc9be63219304f"/><file name="shLegacy.js" hash="b37bc74a8cdb69d5e11e02e9b989189d"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="syntaxhighlighter"><file name="shCore.css" hash="604c1b198731fd52673cd931f426e3a9"/><file name="shCoreDefault.css" hash="59ac5fd29f70cd58fa40d0d09cdca405"/><file name="shCoreDjango.css" hash="da28e936b60674752b73a967588818d1"/><file name="shCoreEclipse.css" hash="e81b25b3b31a59feca9525b49f91994a"/><file name="shCoreEmacs.css" hash="c8f75fb596cace7faf34be09c51d22a3"/><file name="shCoreFadeToGrey.css" hash="b9baeffaf032296b7a26f12312258dc7"/><file name="shCoreMDUltra.css" hash="c93ec05089a8016e6362f2ec5d6335b0"/><file name="shCoreMidnight.css" hash="d3e8e4c027922776e8eb5cec16fa8385"/><file name="shCoreRDark.css" hash="6a7002ebaa87adaf07cc9f9d5d8a3986"/><file name="shThemeDefault.css" hash="d4d54a01169ef8077807f15f72a65aa2"/><file name="shThemeDjango.css" hash="6a66f7ba8e38f0c371cdf5d3ee2cfd68"/><file name="shThemeEclipse.css" hash="9fc30d54157a99b7f664a4e3315b7678"/><file name="shThemeEmacs.css" hash="f8f53227853266e7dc41f6c021f952b5"/><file name="shThemeFadeToGrey.css" hash="f7120b6892a1a5358fd6f2fe1aba6486"/><file name="shThemeMDUltra.css" hash="06d906701dc2bbe1a4a46804f4dacf10"/><file name="shThemeMidnight.css" hash="541a100434df11845d79b1a003328053"/><file name="shThemeRDark.css" hash="f830d35d0b9e893228931b29040459c0"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="syntaxhighlighter"><file name="trigger.phtml" hash="91b14e0a2f4ab0eee1a385dc40a4b308"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies/>
|
18 |
+
</package>
|
skin/frontend/base/default/css/syntaxhighlighter/shCore.css
ADDED
@@ -0,0 +1,226 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shCoreDefault.css
ADDED
@@ -0,0 +1,328 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: white !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: white !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: white !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #e0e0e0 !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: black !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: black !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #afafaf !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #6ce26c !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #6ce26c !important;
|
254 |
+
color: white !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: blue !important;
|
264 |
+
background: white !important;
|
265 |
+
border: 1px solid #6ce26c !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: blue !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: red !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: white !important;
|
275 |
+
background: #6ce26c !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: white !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: black !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: black !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #008200 !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: blue !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #006699 !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: gray !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #aa7700 !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #009900 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ff1493 !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #0066cc !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #006699 !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: gray !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: #ff1493 !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: red !important;
|
324 |
+
}
|
325 |
+
|
326 |
+
.syntaxhighlighter .keyword {
|
327 |
+
font-weight: bold !important;
|
328 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shCoreDjango.css
ADDED
@@ -0,0 +1,331 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: #0a2b1d !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: #0a2b1d !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: #0a2b1d !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #233729 !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: white !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: #f8f8f8 !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #497958 !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #41a83e !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #41a83e !important;
|
254 |
+
color: #0a2b1d !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #96dd3b !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #41a83e !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #96dd3b !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: white !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: white !important;
|
275 |
+
background: #41a83e !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: white !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #ffe862 !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: #f8f8f8 !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #336442 !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #9df39f !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #96dd3b !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #91bb9e !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #ffaa3e !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #f7e741 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ffaa3e !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #e0e8ff !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #96dd3b !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: #eb939a !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: #91bb9e !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #edef7d !important;
|
324 |
+
}
|
325 |
+
|
326 |
+
.syntaxhighlighter .comments {
|
327 |
+
font-style: italic !important;
|
328 |
+
}
|
329 |
+
.syntaxhighlighter .keyword {
|
330 |
+
font-weight: bold !important;
|
331 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shCoreEclipse.css
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: white !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: white !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: white !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #c3defe !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: white !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: black !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #787878 !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #d4d0c8 !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #d4d0c8 !important;
|
254 |
+
color: white !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #3f5fbf !important;
|
264 |
+
background: white !important;
|
265 |
+
border: 1px solid #d4d0c8 !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #3f5fbf !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: #aa7700 !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: #a0a0a0 !important;
|
275 |
+
background: #d4d0c8 !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: #a0a0a0 !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: red !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: black !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #3f5fbf !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #2a00ff !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #7f0055 !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #646464 !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #aa7700 !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #009900 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ff1493 !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #0066cc !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #7f0055 !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: gray !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: #ff1493 !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: red !important;
|
324 |
+
}
|
325 |
+
|
326 |
+
.syntaxhighlighter .keyword {
|
327 |
+
font-weight: bold !important;
|
328 |
+
}
|
329 |
+
.syntaxhighlighter .xml .keyword {
|
330 |
+
color: #3f7f7f !important;
|
331 |
+
font-weight: normal !important;
|
332 |
+
}
|
333 |
+
.syntaxhighlighter .xml .color1, .syntaxhighlighter .xml .color1 a {
|
334 |
+
color: #7f007f !important;
|
335 |
+
}
|
336 |
+
.syntaxhighlighter .xml .string {
|
337 |
+
font-style: italic !important;
|
338 |
+
color: #2a00ff !important;
|
339 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shCoreEmacs.css
ADDED
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: black !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: black !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: black !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #2a3133 !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: white !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: #d3d3d3 !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #d3d3d3 !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #990000 !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #990000 !important;
|
254 |
+
color: black !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #ebdb8d !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #990000 !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #ebdb8d !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: #ff7d27 !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: white !important;
|
275 |
+
background: #990000 !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: white !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #9ccff4 !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: #d3d3d3 !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #ff7d27 !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #ff9e7b !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: aqua !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #aec4de !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #ffaa3e !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #009900 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #81cef9 !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #ff9e7b !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: aqua !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: #ebdb8d !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: #ff7d27 !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #aec4de !important;
|
324 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shCoreFadeToGrey.css
ADDED
@@ -0,0 +1,328 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: #121212 !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: #121212 !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: #121212 !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #2c2c29 !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: white !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: white !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #afafaf !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #3185b9 !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #3185b9 !important;
|
254 |
+
color: #121212 !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #3185b9 !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #3185b9 !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #3185b9 !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: #d01d33 !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: white !important;
|
275 |
+
background: #3185b9 !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: white !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #96daff !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: white !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #696854 !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #e3e658 !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #d01d33 !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #435a5f !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #898989 !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #009900 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #aaaaaa !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #96daff !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #d01d33 !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: #ffc074 !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: #4a8cdb !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #96daff !important;
|
324 |
+
}
|
325 |
+
|
326 |
+
.syntaxhighlighter .functions {
|
327 |
+
font-weight: bold !important;
|
328 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shCoreMDUltra.css
ADDED
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: #222222 !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: #222222 !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: #222222 !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #253e5a !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: white !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: lime !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #38566f !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #435a5f !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #435a5f !important;
|
254 |
+
color: #222222 !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #428bdd !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #435a5f !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #428bdd !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: lime !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: #aaaaff !important;
|
275 |
+
background: #435a5f !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: #aaaaff !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #9ccff4 !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: lime !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #428bdd !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: lime !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #aaaaff !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #8aa6c1 !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: aqua !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #f7e741 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ff8000 !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: yellow !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #aaaaff !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: red !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: yellow !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #ffaa3e !important;
|
324 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shCoreMidnight.css
ADDED
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: #0f192a !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: #0f192a !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: #0f192a !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #253e5a !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: #38566f !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: #d1edff !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #afafaf !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #435a5f !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #435a5f !important;
|
254 |
+
color: #0f192a !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #428bdd !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #435a5f !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #428bdd !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: #1dc116 !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: #d1edff !important;
|
275 |
+
background: #435a5f !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: #d1edff !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #8aa6c1 !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: #d1edff !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #428bdd !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #1dc116 !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #b43d3d !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #8aa6c1 !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #ffaa3e !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #f7e741 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ffaa3e !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #e0e8ff !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #b43d3d !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: #f8bb00 !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: white !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #ffaa3e !important;
|
324 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shCoreRDark.css
ADDED
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: #1b2426 !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: #1b2426 !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: #1b2426 !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #323e41 !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: #b9bdb6 !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: #b9bdb6 !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #afafaf !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #435a5f !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #435a5f !important;
|
254 |
+
color: #1b2426 !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #5ba1cf !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #435a5f !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #5ba1cf !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: #5ce638 !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: white !important;
|
275 |
+
background: #435a5f !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: white !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #e0e8ff !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: #b9bdb6 !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #878a85 !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #5ce638 !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #5ba1cf !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #435a5f !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #ffaa3e !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #009900 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ffaa3e !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #e0e8ff !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #5ba1cf !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: #e0e8ff !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: white !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #ffaa3e !important;
|
324 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shThemeDefault.css
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: white !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: white !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: white !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #e0e0e0 !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: black !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: black !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #afafaf !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #6ce26c !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #6ce26c !important;
|
43 |
+
color: white !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: blue !important;
|
53 |
+
background: white !important;
|
54 |
+
border: 1px solid #6ce26c !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: blue !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: red !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: white !important;
|
64 |
+
background: #6ce26c !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: white !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: black !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: black !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #008200 !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: blue !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #006699 !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: gray !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #aa7700 !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #009900 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ff1493 !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #0066cc !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #006699 !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: gray !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: #ff1493 !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: red !important;
|
113 |
+
}
|
114 |
+
|
115 |
+
.syntaxhighlighter .keyword {
|
116 |
+
font-weight: bold !important;
|
117 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shThemeDjango.css
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: #0a2b1d !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: #0a2b1d !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: #0a2b1d !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #233729 !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: #f8f8f8 !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #497958 !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #41a83e !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #41a83e !important;
|
43 |
+
color: #0a2b1d !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #96dd3b !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #41a83e !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #96dd3b !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: white !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: white !important;
|
64 |
+
background: #41a83e !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: white !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #ffe862 !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: #f8f8f8 !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #336442 !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #9df39f !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #96dd3b !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #91bb9e !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #ffaa3e !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #f7e741 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ffaa3e !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #e0e8ff !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #96dd3b !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: #eb939a !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: #91bb9e !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #edef7d !important;
|
113 |
+
}
|
114 |
+
|
115 |
+
.syntaxhighlighter .comments {
|
116 |
+
font-style: italic !important;
|
117 |
+
}
|
118 |
+
.syntaxhighlighter .keyword {
|
119 |
+
font-weight: bold !important;
|
120 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shThemeEclipse.css
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: white !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: white !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: white !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #c3defe !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: black !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #787878 !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #d4d0c8 !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #d4d0c8 !important;
|
43 |
+
color: white !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #3f5fbf !important;
|
53 |
+
background: white !important;
|
54 |
+
border: 1px solid #d4d0c8 !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #3f5fbf !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: #aa7700 !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: #a0a0a0 !important;
|
64 |
+
background: #d4d0c8 !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: #a0a0a0 !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: red !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: black !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #3f5fbf !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #2a00ff !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #7f0055 !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #646464 !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #aa7700 !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #009900 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ff1493 !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #0066cc !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #7f0055 !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: gray !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: #ff1493 !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: red !important;
|
113 |
+
}
|
114 |
+
|
115 |
+
.syntaxhighlighter .keyword {
|
116 |
+
font-weight: bold !important;
|
117 |
+
}
|
118 |
+
.syntaxhighlighter .xml .keyword {
|
119 |
+
color: #3f7f7f !important;
|
120 |
+
font-weight: normal !important;
|
121 |
+
}
|
122 |
+
.syntaxhighlighter .xml .color1, .syntaxhighlighter .xml .color1 a {
|
123 |
+
color: #7f007f !important;
|
124 |
+
}
|
125 |
+
.syntaxhighlighter .xml .string {
|
126 |
+
font-style: italic !important;
|
127 |
+
color: #2a00ff !important;
|
128 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shThemeEmacs.css
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: black !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: black !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: black !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #2a3133 !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: #d3d3d3 !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #d3d3d3 !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #990000 !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #990000 !important;
|
43 |
+
color: black !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #ebdb8d !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #990000 !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #ebdb8d !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: #ff7d27 !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: white !important;
|
64 |
+
background: #990000 !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: white !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #9ccff4 !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: #d3d3d3 !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #ff7d27 !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #ff9e7b !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: aqua !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #aec4de !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #ffaa3e !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #009900 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #81cef9 !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #ff9e7b !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: aqua !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: #ebdb8d !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: #ff7d27 !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #aec4de !important;
|
113 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shThemeFadeToGrey.css
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: #121212 !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: #121212 !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: #121212 !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #2c2c29 !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: white !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #afafaf !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #3185b9 !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #3185b9 !important;
|
43 |
+
color: #121212 !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #3185b9 !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #3185b9 !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #3185b9 !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: #d01d33 !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: white !important;
|
64 |
+
background: #3185b9 !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: white !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #96daff !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: white !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #696854 !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #e3e658 !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #d01d33 !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #435a5f !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #898989 !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #009900 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #aaaaaa !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #96daff !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #d01d33 !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: #ffc074 !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: #4a8cdb !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #96daff !important;
|
113 |
+
}
|
114 |
+
|
115 |
+
.syntaxhighlighter .functions {
|
116 |
+
font-weight: bold !important;
|
117 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shThemeMDUltra.css
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: #222222 !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: #222222 !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: #222222 !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #253e5a !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: lime !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #38566f !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #435a5f !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #435a5f !important;
|
43 |
+
color: #222222 !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #428bdd !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #435a5f !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #428bdd !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: lime !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: #aaaaff !important;
|
64 |
+
background: #435a5f !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: #aaaaff !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #9ccff4 !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: lime !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #428bdd !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: lime !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #aaaaff !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #8aa6c1 !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: aqua !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #f7e741 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ff8000 !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: yellow !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #aaaaff !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: red !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: yellow !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #ffaa3e !important;
|
113 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shThemeMidnight.css
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: #0f192a !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: #0f192a !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: #0f192a !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #253e5a !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: #38566f !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: #d1edff !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #afafaf !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #435a5f !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #435a5f !important;
|
43 |
+
color: #0f192a !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #428bdd !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #435a5f !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #428bdd !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: #1dc116 !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: #d1edff !important;
|
64 |
+
background: #435a5f !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: #d1edff !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #8aa6c1 !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: #d1edff !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #428bdd !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #1dc116 !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #b43d3d !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #8aa6c1 !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #ffaa3e !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #f7e741 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ffaa3e !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #e0e8ff !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #b43d3d !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: #f8bb00 !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: white !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #ffaa3e !important;
|
113 |
+
}
|
skin/frontend/base/default/css/syntaxhighlighter/shThemeRDark.css
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: #1b2426 !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: #1b2426 !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: #1b2426 !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #323e41 !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: #b9bdb6 !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: #b9bdb6 !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #afafaf !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #435a5f !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #435a5f !important;
|
43 |
+
color: #1b2426 !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #5ba1cf !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #435a5f !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #5ba1cf !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: #5ce638 !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: white !important;
|
64 |
+
background: #435a5f !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: white !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #e0e8ff !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: #b9bdb6 !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #878a85 !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #5ce638 !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #5ba1cf !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #435a5f !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #ffaa3e !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #009900 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ffaa3e !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #e0e8ff !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #5ba1cf !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: #e0e8ff !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: white !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #ffaa3e !important;
|
113 |
+
}
|