ninjs 0.9.2 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.bundle/config +2 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +38 -0
- data/README.textile +1 -1
- data/Rakefile +60 -0
- data/VERSION +1 -0
- data/lib/ninjs.rb +0 -1
- data/lib/ninjs/command.rb +16 -1
- data/lib/ninjs/manifest.rb +1 -1
- data/lib/ninjs/project.rb +74 -91
- data/ninjs.gemspec +305 -104
- data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/jquery.easing-1.3.pack.js +72 -0
- data/repository/jquery/fancybox/assets/1.3.1/scss/fancybox.scss +69 -0
- data/repository/jquery/ui/1.8.7.js +783 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.accordion.css +19 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.all.css +11 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.autocomplete.css +53 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.base.css +11 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.button.css +38 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.core.css +41 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.datepicker.css +68 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.dialog.css +21 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.progressbar.css +11 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.resizable.css +20 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.selectable.css +10 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.slider.css +24 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.tabs.css +18 -0
- data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.theme.css +252 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_222222_256x240.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_2e83ff_256x240.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_454545_256x240.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_888888_256x240.png +0 -0
- data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_cd0a0a_256x240.png +0 -0
- data/repository/jquery/ui/latest.js +1 -0
- data/repository/ninjs/core/.core.pdoc.yaml +0 -0
- data/repository/ninjs/core/.existence.pdoc.yaml +12 -0
- data/repository/ninjs/core/.extend.pdoc.yaml +0 -0
- data/repository/ninjs/core/.nin.pdoc.yaml +0 -0
- data/repository/ninjs/core/application.js +43 -0
- data/repository/ninjs/core/existence.js +221 -11
- data/repository/ninjs/core/extend.js +18 -0
- data/repository/ninjs/core/module.js +230 -0
- data/repository/ninjs/core/nin.js +3 -137
- data/repository/ninjs/docs/Data/ClassHierarchy.nd +0 -0
- data/repository/ninjs/docs/Data/ConfigFileInfo.nd +0 -0
- data/repository/ninjs/docs/Data/FileInfo.nd +16 -0
- data/repository/ninjs/docs/Data/ImageFileInfo.nd +0 -0
- data/repository/ninjs/docs/Data/ImageReferenceTable.nd +0 -0
- data/repository/ninjs/docs/Data/IndexInfo.nd +0 -0
- data/repository/ninjs/docs/Data/PreviousMenuState.nd +0 -0
- data/repository/ninjs/docs/Data/PreviousSettings.nd +0 -0
- data/repository/ninjs/docs/Data/SymbolTable.nd +0 -0
- data/repository/ninjs/docs/Languages.txt +113 -0
- data/repository/ninjs/docs/Menu.txt +63 -0
- data/repository/ninjs/docs/Topics.txt +81 -0
- data/repository/ninjs/docs/files/core/application-js.html +44 -0
- data/repository/ninjs/docs/files/core/existence-js.html +60 -0
- data/repository/ninjs/docs/files/core/extend-js.html +46 -0
- data/repository/ninjs/docs/files/core/module-js.html +80 -0
- data/repository/ninjs/docs/files/core/nin-js.html +38 -0
- data/repository/ninjs/docs/files/existence-js.html +54 -0
- data/repository/ninjs/docs/index.html +1 -0
- data/repository/ninjs/docs/index/Classes.html +33 -0
- data/repository/ninjs/docs/index/Files.html +45 -0
- data/repository/ninjs/docs/index/Functions.html +57 -0
- data/repository/ninjs/docs/index/General.html +77 -0
- data/repository/ninjs/docs/index/Variables.html +45 -0
- data/repository/ninjs/docs/javascript/main.js +841 -0
- data/repository/ninjs/docs/javascript/prettify.js +1526 -0
- data/repository/ninjs/docs/javascript/searchdata.js +152 -0
- data/repository/ninjs/docs/search/ClassesN.html +20 -0
- data/repository/ninjs/docs/search/FilesA.html +20 -0
- data/repository/ninjs/docs/search/FilesE.html +20 -0
- data/repository/ninjs/docs/search/FilesM.html +20 -0
- data/repository/ninjs/docs/search/FilesN.html +20 -0
- data/repository/ninjs/docs/search/FunctionsA.html +20 -0
- data/repository/ninjs/docs/search/FunctionsC.html +20 -0
- data/repository/ninjs/docs/search/FunctionsE.html +20 -0
- data/repository/ninjs/docs/search/FunctionsI.html +20 -0
- data/repository/ninjs/docs/search/FunctionsM.html +20 -0
- data/repository/ninjs/docs/search/FunctionsR.html +20 -0
- data/repository/ninjs/docs/search/FunctionsS.html +20 -0
- data/repository/ninjs/docs/search/GeneralA.html +20 -0
- data/repository/ninjs/docs/search/GeneralC.html +20 -0
- data/repository/ninjs/docs/search/GeneralD.html +20 -0
- data/repository/ninjs/docs/search/GeneralE.html +20 -0
- data/repository/ninjs/docs/search/GeneralF.html +20 -0
- data/repository/ninjs/docs/search/GeneralI.html +20 -0
- data/repository/ninjs/docs/search/GeneralM.html +20 -0
- data/repository/ninjs/docs/search/GeneralN.html +20 -0
- data/repository/ninjs/docs/search/GeneralR.html +20 -0
- data/repository/ninjs/docs/search/GeneralS.html +20 -0
- data/repository/ninjs/docs/search/GeneralT.html +20 -0
- data/repository/ninjs/docs/search/GeneralV.html +20 -0
- data/repository/ninjs/docs/search/NoResults.html +15 -0
- data/repository/ninjs/docs/search/VariablesD.html +20 -0
- data/repository/ninjs/docs/search/VariablesN.html +20 -0
- data/repository/ninjs/docs/search/VariablesR.html +20 -0
- data/repository/ninjs/docs/search/VariablesT.html +20 -0
- data/repository/ninjs/docs/styles/main.css +828 -0
- data/repository/ninjs/docs/styles/mystyles.css +828 -0
- data/repository/ninjs/tests/index.html +6 -6
- data/repository/ninjs/tests/ninjs.test.js +94 -43
- data/repository/ninjs/tests/ninjs.utilities.test.js +6 -18
- data/repository/ninjs/tests/qunit/qunit.css +197 -0
- data/repository/ninjs/tests/qunit/qunit.js +1415 -0
- data/repository/ninjs/utilities/all.js +2 -1
- data/repository/ninjs/utilities/array.js +3 -3
- data/repository/ninjs/utilities/cookie.js +0 -0
- data/repository/ninjs/utilities/number.js +2 -2
- data/repository/ninjs/utilities/string.js +3 -3
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCore.css +226 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDefault.css +328 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDjango.css +331 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEclipse.css +339 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEmacs.css +324 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMDUltra.css +324 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMidnight.css +324 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreRDark.css +324 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDefault.css +117 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDjango.css +120 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEclipse.css +128 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEmacs.css +113 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMDUltra.css +113 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMidnight.css +113 -0
- data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeRDark.css +113 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCore.scss +216 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDefault.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDjango.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEclipse.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEmacs.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreFadeToGrey.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMDUltra.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMidnight.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreRDark.scss +2 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDefault.scss +7 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDjango.scss +36 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEclipse.scss +48 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEmacs.scss +32 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeFadeToGrey.scss +36 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMDUltra.scss +32 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMidnight.scss +32 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeRDark.scss +32 -0
- data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_theme_template.scss +120 -0
- data/repository/syntaxhighlighter/default.js +2 -1
- data/repository/syntaxhighlighter/shBrushAppleScript.js +1 -1
- data/repository/syntaxhighlighter/shBrushPerl.js +1 -1
- data/repository/syntaxhighlighter/shBrushPhp.js +4 -4
- metadata +317 -33
@@ -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
|
+
}
|
@@ -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
|
+
}
|
@@ -0,0 +1,216 @@
|
|
1
|
+
@mixin round_corners_custom($top, $right, $bottom, $left) {
|
2
|
+
-moz-border-radius: $top $right $bottom $left !important;
|
3
|
+
-webkit-border-radius: $top $right $bottom $left !important;
|
4
|
+
}
|
5
|
+
|
6
|
+
@mixin round_corners($radius) {
|
7
|
+
@include round_corners_custom($radius, $radius, $radius, $radius);
|
8
|
+
}
|
9
|
+
|
10
|
+
.syntaxhighlighter {
|
11
|
+
a,
|
12
|
+
div,
|
13
|
+
code,
|
14
|
+
table,
|
15
|
+
table td,
|
16
|
+
table tr,
|
17
|
+
table tbody,
|
18
|
+
table thead,
|
19
|
+
table caption,
|
20
|
+
textarea {
|
21
|
+
@include round_corners(0);
|
22
|
+
|
23
|
+
background: none !important;
|
24
|
+
border: 0 !important;
|
25
|
+
bottom: auto !important;
|
26
|
+
float: none !important;
|
27
|
+
height: auto !important;
|
28
|
+
left: auto !important;
|
29
|
+
line-height: 1.1em !important;
|
30
|
+
margin: 0 !important;
|
31
|
+
outline: 0 !important;
|
32
|
+
overflow: visible !important;
|
33
|
+
padding: 0 !important;
|
34
|
+
position: static !important;
|
35
|
+
right: auto !important;
|
36
|
+
text-align: left !important;
|
37
|
+
top: auto !important;
|
38
|
+
vertical-align: baseline !important;
|
39
|
+
width: auto !important;
|
40
|
+
box-sizing: content-box !important;
|
41
|
+
font: {
|
42
|
+
family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
43
|
+
weight: normal !important;
|
44
|
+
style: normal !important;
|
45
|
+
size: 1em !important;
|
46
|
+
}
|
47
|
+
min: {
|
48
|
+
// For IE8, FF & WebKit
|
49
|
+
height: inherit !important;
|
50
|
+
// For IE7
|
51
|
+
height: auto !important;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.syntaxhighlighter {
|
57
|
+
width: 100% !important;
|
58
|
+
margin: 1em 0 1em 0 !important;
|
59
|
+
|
60
|
+
position: relative !important;
|
61
|
+
overflow: auto !important;
|
62
|
+
font-size: 1em !important;
|
63
|
+
|
64
|
+
&.source { overflow: hidden !important; }
|
65
|
+
|
66
|
+
// set up bold and italic
|
67
|
+
.bold { font-weight: bold !important; }
|
68
|
+
.italic { font-style: italic !important; }
|
69
|
+
|
70
|
+
.line { white-space: pre !important; }
|
71
|
+
|
72
|
+
// main table and columns
|
73
|
+
table {
|
74
|
+
width: 100% !important;
|
75
|
+
caption {
|
76
|
+
text-align: left !important;
|
77
|
+
padding: .5em 0 0.5em 1em !important;
|
78
|
+
}
|
79
|
+
|
80
|
+
td.code {
|
81
|
+
width: 100% !important;
|
82
|
+
|
83
|
+
.container {
|
84
|
+
position: relative !important;
|
85
|
+
|
86
|
+
textarea {
|
87
|
+
box-sizing: border-box !important;
|
88
|
+
position: absolute !important;
|
89
|
+
left: 0 !important;
|
90
|
+
top: 0 !important;
|
91
|
+
width: 100% !important;
|
92
|
+
height: 100% !important;
|
93
|
+
border: none !important;
|
94
|
+
background: white !important;
|
95
|
+
padding-left: 1em !important;
|
96
|
+
overflow: hidden !important;
|
97
|
+
white-space: pre !important;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
// middle spacing between line numbers and lines
|
103
|
+
td.gutter .line {
|
104
|
+
text-align: right !important;
|
105
|
+
padding: 0 0.5em 0 1em !important;
|
106
|
+
}
|
107
|
+
|
108
|
+
td.code .line {
|
109
|
+
padding: 0 1em !important;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
&.nogutter {
|
114
|
+
td.code {
|
115
|
+
.container textarea, .line { padding-left: 0em !important; }
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
&.show { display: block !important; }
|
120
|
+
|
121
|
+
// Adjust some properties when collapsed
|
122
|
+
&.collapsed {
|
123
|
+
table { display: none !important; }
|
124
|
+
|
125
|
+
.toolbar {
|
126
|
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
127
|
+
font-size: 1em !important;
|
128
|
+
position: static !important;
|
129
|
+
width: auto !important;
|
130
|
+
height: auto !important;
|
131
|
+
|
132
|
+
span {
|
133
|
+
display: inline !important;
|
134
|
+
margin-right: 1em !important;
|
135
|
+
|
136
|
+
a {
|
137
|
+
padding: 0 !important;
|
138
|
+
display: none !important;
|
139
|
+
&.expandSource { display: inline !important; }
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
// Styles for the toolbar
|
146
|
+
.toolbar {
|
147
|
+
position: absolute !important;
|
148
|
+
right: 1px !important;
|
149
|
+
top: 1px !important;
|
150
|
+
width: 11px !important;
|
151
|
+
height: 11px !important;
|
152
|
+
font-size: 10px !important;
|
153
|
+
z-index: 10 !important;
|
154
|
+
|
155
|
+
span.title { display: inline !important; }
|
156
|
+
|
157
|
+
a {
|
158
|
+
display: block !important;
|
159
|
+
text-align: center !important;
|
160
|
+
text-decoration: none !important;
|
161
|
+
padding-top: 1px !important;
|
162
|
+
|
163
|
+
&.expandSource { display: none !important; }
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
&.ie {
|
168
|
+
font-size: .9em !important;
|
169
|
+
padding: 1px 0 1px 0 !important;
|
170
|
+
|
171
|
+
.toolbar {
|
172
|
+
line-height: 8px !important;
|
173
|
+
a {
|
174
|
+
padding-top: 0px !important;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
// Print view.
|
180
|
+
// Colors are based on the default theme without background.
|
181
|
+
&.printing {
|
182
|
+
.line.alt1 .content,
|
183
|
+
.line.alt2 .content,
|
184
|
+
.line.highlighted .number,
|
185
|
+
.line.highlighted.alt1 .content,
|
186
|
+
.line.highlighted.alt2 .content { background: none !important; }
|
187
|
+
|
188
|
+
// Gutter line numbers
|
189
|
+
.line {
|
190
|
+
.number { color: #bbbbbb !important; }
|
191
|
+
// Add border to the lines
|
192
|
+
.content { color: black !important; }
|
193
|
+
}
|
194
|
+
|
195
|
+
// Toolbar when visible
|
196
|
+
.toolbar { display: none !important; }
|
197
|
+
a { text-decoration: none !important; }
|
198
|
+
.plain, .plain a { color: black !important; }
|
199
|
+
.comments, .comments a { color: #008200 !important; }
|
200
|
+
.string, .string a { color: blue !important; }
|
201
|
+
.keyword {
|
202
|
+
color: #006699 !important;
|
203
|
+
font-weight: bold !important;
|
204
|
+
}
|
205
|
+
.preprocessor { color: gray !important; }
|
206
|
+
.variable { color: #aa7700 !important; }
|
207
|
+
.value { color: #009900 !important; }
|
208
|
+
.functions { color: #ff1493 !important; }
|
209
|
+
.constants { color: #0066cc !important; }
|
210
|
+
.script { font-weight: bold !important; }
|
211
|
+
.color1, .color1 a { color: gray !important; }
|
212
|
+
.color2, .color2 a { color: #ff1493 !important; }
|
213
|
+
.color3, .color3 a { color: red !important; }
|
214
|
+
.break, .break a { color: black !important; }
|
215
|
+
}
|
216
|
+
}
|