syntax-highlighter-rails 3.0.83
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/Gemfile +4 -0
- data/LICENSE +20 -0
- data/README.md +49 -0
- data/Rakefile +1 -0
- data/lib/syntax/highlighter/rails.rb +10 -0
- data/lib/syntax/highlighter/rails/version.rb +7 -0
- data/syntax-highlighter-rails.gemspec +22 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shAutoloader.js +122 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushAS3.js +43 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushAppleScript.js +84 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushBash.js +59 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushCSharp.js +49 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushColdFusion.js +84 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushCpp.js +97 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushCss.js +75 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushDelphi.js +39 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushDiff.js +25 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushErlang.js +36 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushGroovy.js +51 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushHaxe.js +64 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushJScript.js +36 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushJava.js +41 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushJavaFX.js +42 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushPerl.js +80 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushPhp.js +72 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushPlain.js +17 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushPowerShell.js +59 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushPython.js +48 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushRuby.js +39 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushSass.js +83 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushScala.js +35 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushSql.js +51 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushTAP.js +46 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushTypeScript.js +39 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushVb.js +40 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shBrushXml.js +55 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shCore.js +17 -0
- data/vendor/assets/javascripts/syntax-highlighter-rails/shLegacy.js +141 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/_theme_template.scss +129 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shCore.scss +216 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shCoreDefault.scss +2 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shCoreDjango.scss +2 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shCoreEclipse.css +230 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shCoreEclipse.scss +2 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shCoreEmacs.scss +2 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shCoreFadeToGrey.scss +2 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shCoreMDUltra.scss +2 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shCoreMidnight.scss +2 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shCoreRDark.scss +2 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shThemeDefault.scss +7 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shThemeDjango.scss +36 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shThemeEclipse.scss +48 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shThemeEmacs.scss +32 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shThemeFadeToGrey.scss +36 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shThemeMDUltra.scss +32 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shThemeMidnight.scss +32 -0
- data/vendor/assets/stylesheets/syntax-highlighter-rails/shThemeRDark.scss +32 -0
- metadata +126 -0
@@ -0,0 +1,129 @@
|
|
1
|
+
$background: white !default;
|
2
|
+
|
3
|
+
$line_alt1_background: $background !default;
|
4
|
+
$line_alt2_background: $background !default;
|
5
|
+
|
6
|
+
$line_highlighted_background: #e0e0e0 !default;
|
7
|
+
$line_highlighted_number: black !default;
|
8
|
+
|
9
|
+
$gutter_text: #afafaf !default;
|
10
|
+
$gutter_border_color: #6ce26c !default;
|
11
|
+
$gutter_border: 3px solid $gutter_border_color !default;
|
12
|
+
|
13
|
+
$toolbar_collapsed_a: #00f !default;
|
14
|
+
$toolbar_collapsed_a_hover: #f00 !default;
|
15
|
+
$toolbar_collapsed_background: #fff !default;
|
16
|
+
$toolbar_collapsed_border: 1px solid $gutter_border_color !default;
|
17
|
+
|
18
|
+
$toolbar_a: #fff !default;
|
19
|
+
$toolbar_a_hover: #000 !default;
|
20
|
+
$toolbar_background: $gutter_border_color !default;
|
21
|
+
$toolbar_border: none !default;
|
22
|
+
|
23
|
+
$code_plain: black !default;
|
24
|
+
$code_comments: #008200 !default;
|
25
|
+
$code_string: blue !default;
|
26
|
+
$code_keyword: #006699 !default;
|
27
|
+
$code_preprocessor: gray !default;
|
28
|
+
$code_variable: #aa7700 !default;
|
29
|
+
$code_value: #009900 !default;
|
30
|
+
$code_functions: #ff1493 !default;
|
31
|
+
$code_constants: #0066cc !default;
|
32
|
+
$code_script: $code_keyword !default;
|
33
|
+
$code_script_background: none !default;
|
34
|
+
$code_color1: gray !default;
|
35
|
+
$code_color2: #ff1493 !default;
|
36
|
+
$code_color3: red !default;
|
37
|
+
|
38
|
+
$caption_color: $code_plain !default;
|
39
|
+
|
40
|
+
// Interface elements.
|
41
|
+
.syntaxhighlighter {
|
42
|
+
background-color: $background !important;
|
43
|
+
|
44
|
+
// Highlighed line number
|
45
|
+
.line {
|
46
|
+
&.alt1 { background-color: $line_alt1_background !important; }
|
47
|
+
&.alt2 { background-color: $line_alt2_background !important; }
|
48
|
+
|
49
|
+
// Highlighed line
|
50
|
+
&.highlighted {
|
51
|
+
&.alt1, &.alt2 { background-color: $line_highlighted_background !important; }
|
52
|
+
&.number { color: $line_highlighted_number !important; }
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
table {
|
57
|
+
caption {
|
58
|
+
color: $caption_color !important;
|
59
|
+
}
|
60
|
+
|
61
|
+
td.code {
|
62
|
+
.container {
|
63
|
+
textarea {
|
64
|
+
background: $background;
|
65
|
+
color: $code_plain;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
// Add border to the lines
|
72
|
+
.gutter {
|
73
|
+
color: $gutter_text !important;
|
74
|
+
.line {
|
75
|
+
border-right: $gutter_border !important;
|
76
|
+
|
77
|
+
&.highlighted {
|
78
|
+
background-color: $gutter_border_color !important;
|
79
|
+
color: $background !important;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
&.printing .line .content { border: none !important; }
|
85
|
+
|
86
|
+
&.collapsed {
|
87
|
+
overflow: visible !important;
|
88
|
+
|
89
|
+
.toolbar {
|
90
|
+
color: $toolbar_collapsed_a !important;
|
91
|
+
background: $toolbar_collapsed_background !important;
|
92
|
+
border: $toolbar_collapsed_border !important;
|
93
|
+
|
94
|
+
a {
|
95
|
+
color: $toolbar_collapsed_a !important;
|
96
|
+
&:hover { color: $toolbar_collapsed_a_hover !important; }
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
.toolbar {
|
102
|
+
color: $toolbar_a !important;
|
103
|
+
background: $toolbar_background !important;
|
104
|
+
border: $toolbar_border !important;
|
105
|
+
a {
|
106
|
+
color: $toolbar_a !important;
|
107
|
+
&:hover { color: $toolbar_a_hover !important; }
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
// Actual syntax highlighter colors.
|
112
|
+
.plain, .plain a { color: $code_plain !important; }
|
113
|
+
.comments, .comments a { color: $code_comments !important; }
|
114
|
+
.string, .string a { color: $code_string !important; }
|
115
|
+
.keyword { color: $code_keyword !important; }
|
116
|
+
.preprocessor { color: $code_preprocessor !important; }
|
117
|
+
.variable { color: $code_variable !important; }
|
118
|
+
.value { color: $code_value !important; }
|
119
|
+
.functions { color: $code_functions !important; }
|
120
|
+
.constants { color: $code_constants !important; }
|
121
|
+
.script {
|
122
|
+
font-weight: bold !important;
|
123
|
+
color: $code_script !important;
|
124
|
+
background-color: $code_script_background !important;
|
125
|
+
}
|
126
|
+
.color1, .color1 a { color: $code_color1 !important; }
|
127
|
+
.color2, .color2 a { color: $code_color2 !important; }
|
128
|
+
.color3, .color3 a { color: $code_color3 !important; }
|
129
|
+
}
|
@@ -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
|
+
}
|
@@ -0,0 +1,230 @@
|
|
1
|
+
.syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, .syntaxhighlighter table, .syntaxhighlighter table td, .syntaxhighlighter table tr, .syntaxhighlighter table tbody, .syntaxhighlighter table thead, .syntaxhighlighter table caption, .syntaxhighlighter textarea {
|
2
|
+
-moz-border-radius: 0 0 0 0 !important;
|
3
|
+
-webkit-border-radius: 0 0 0 0 !important;
|
4
|
+
background: none !important;
|
5
|
+
border: 0 !important;
|
6
|
+
bottom: auto !important;
|
7
|
+
float: none !important;
|
8
|
+
height: auto !important;
|
9
|
+
left: auto !important;
|
10
|
+
line-height: 1.1em !important;
|
11
|
+
margin: 0 !important;
|
12
|
+
outline: 0 !important;
|
13
|
+
overflow: visible !important;
|
14
|
+
padding: 0 !important;
|
15
|
+
position: static !important;
|
16
|
+
right: auto !important;
|
17
|
+
text-align: left !important;
|
18
|
+
top: auto !important;
|
19
|
+
vertical-align: baseline !important;
|
20
|
+
width: auto !important;
|
21
|
+
box-sizing: content-box !important;
|
22
|
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
23
|
+
font-weight: normal !important;
|
24
|
+
font-style: normal !important;
|
25
|
+
font-size: 1em !important;
|
26
|
+
min-height: inherit !important;
|
27
|
+
min-height: auto !important; }
|
28
|
+
|
29
|
+
.syntaxhighlighter {
|
30
|
+
width: 100% !important;
|
31
|
+
margin: 1em 0 1em 0 !important;
|
32
|
+
position: relative !important;
|
33
|
+
overflow: auto !important;
|
34
|
+
font-size: 1em !important; }
|
35
|
+
.syntaxhighlighter.source {
|
36
|
+
overflow: hidden !important; }
|
37
|
+
.syntaxhighlighter .bold {
|
38
|
+
font-weight: bold !important; }
|
39
|
+
.syntaxhighlighter .italic {
|
40
|
+
font-style: italic !important; }
|
41
|
+
.syntaxhighlighter .line {
|
42
|
+
white-space: pre !important; }
|
43
|
+
.syntaxhighlighter table {
|
44
|
+
width: 100% !important; }
|
45
|
+
.syntaxhighlighter table caption {
|
46
|
+
text-align: left !important;
|
47
|
+
padding: .5em 0 0.5em 1em !important; }
|
48
|
+
.syntaxhighlighter table td.code {
|
49
|
+
width: 100% !important; }
|
50
|
+
.syntaxhighlighter table td.code .container {
|
51
|
+
position: relative !important; }
|
52
|
+
.syntaxhighlighter table td.code .container textarea {
|
53
|
+
box-sizing: border-box !important;
|
54
|
+
position: absolute !important;
|
55
|
+
left: 0 !important;
|
56
|
+
top: 0 !important;
|
57
|
+
width: 100% !important;
|
58
|
+
height: 100% !important;
|
59
|
+
border: none !important;
|
60
|
+
background: white !important;
|
61
|
+
padding-left: 1em !important;
|
62
|
+
overflow: hidden !important;
|
63
|
+
white-space: pre !important; }
|
64
|
+
.syntaxhighlighter table td.gutter .line {
|
65
|
+
text-align: right !important;
|
66
|
+
padding: 0 0.5em 0 1em !important; }
|
67
|
+
.syntaxhighlighter table td.code .line {
|
68
|
+
padding: 0 1em !important; }
|
69
|
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
70
|
+
padding-left: 0em !important; }
|
71
|
+
.syntaxhighlighter.show {
|
72
|
+
display: block !important; }
|
73
|
+
.syntaxhighlighter.collapsed table {
|
74
|
+
display: none !important; }
|
75
|
+
.syntaxhighlighter.collapsed .toolbar {
|
76
|
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
77
|
+
font-size: 1em !important;
|
78
|
+
position: static !important;
|
79
|
+
width: auto !important;
|
80
|
+
height: auto !important; }
|
81
|
+
.syntaxhighlighter.collapsed .toolbar span {
|
82
|
+
display: inline !important;
|
83
|
+
margin-right: 1em !important; }
|
84
|
+
.syntaxhighlighter.collapsed .toolbar span a {
|
85
|
+
padding: 0 !important;
|
86
|
+
display: none !important; }
|
87
|
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
88
|
+
display: inline !important; }
|
89
|
+
.syntaxhighlighter .toolbar {
|
90
|
+
position: absolute !important;
|
91
|
+
right: 1px !important;
|
92
|
+
top: 1px !important;
|
93
|
+
width: 11px !important;
|
94
|
+
height: 11px !important;
|
95
|
+
font-size: 10px !important;
|
96
|
+
z-index: 10 !important; }
|
97
|
+
.syntaxhighlighter .toolbar span.title {
|
98
|
+
display: inline !important; }
|
99
|
+
.syntaxhighlighter .toolbar a {
|
100
|
+
display: block !important;
|
101
|
+
text-align: center !important;
|
102
|
+
text-decoration: none !important;
|
103
|
+
padding-top: 1px !important; }
|
104
|
+
.syntaxhighlighter .toolbar a.expandSource {
|
105
|
+
display: none !important; }
|
106
|
+
.syntaxhighlighter.ie {
|
107
|
+
font-size: .9em !important;
|
108
|
+
padding: 1px 0 1px 0 !important; }
|
109
|
+
.syntaxhighlighter.ie .toolbar {
|
110
|
+
line-height: 8px !important; }
|
111
|
+
.syntaxhighlighter.ie .toolbar a {
|
112
|
+
padding-top: 0px !important; }
|
113
|
+
.syntaxhighlighter.printing .line.alt1 .content, .syntaxhighlighter.printing .line.alt2 .content, .syntaxhighlighter.printing .line.highlighted .number, .syntaxhighlighter.printing .line.highlighted.alt1 .content, .syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
114
|
+
background: none !important; }
|
115
|
+
.syntaxhighlighter.printing .line .number {
|
116
|
+
color: #bbbbbb !important; }
|
117
|
+
.syntaxhighlighter.printing .line .content {
|
118
|
+
color: black !important; }
|
119
|
+
.syntaxhighlighter.printing .toolbar {
|
120
|
+
display: none !important; }
|
121
|
+
.syntaxhighlighter.printing a {
|
122
|
+
text-decoration: none !important; }
|
123
|
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
124
|
+
color: black !important; }
|
125
|
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
126
|
+
color: #008200 !important; }
|
127
|
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
128
|
+
color: blue !important; }
|
129
|
+
.syntaxhighlighter.printing .keyword {
|
130
|
+
color: #006699 !important;
|
131
|
+
font-weight: bold !important; }
|
132
|
+
.syntaxhighlighter.printing .preprocessor {
|
133
|
+
color: gray !important; }
|
134
|
+
.syntaxhighlighter.printing .variable {
|
135
|
+
color: #aa7700 !important; }
|
136
|
+
.syntaxhighlighter.printing .value {
|
137
|
+
color: #009900 !important; }
|
138
|
+
.syntaxhighlighter.printing .functions {
|
139
|
+
color: #ff1493 !important; }
|
140
|
+
.syntaxhighlighter.printing .constants {
|
141
|
+
color: #0066cc !important; }
|
142
|
+
.syntaxhighlighter.printing .script {
|
143
|
+
font-weight: bold !important; }
|
144
|
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
145
|
+
color: gray !important; }
|
146
|
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
147
|
+
color: #ff1493 !important; }
|
148
|
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
149
|
+
color: red !important; }
|
150
|
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
151
|
+
color: black !important; }
|
152
|
+
|
153
|
+
.syntaxhighlighter {
|
154
|
+
background-color: white !important; }
|
155
|
+
.syntaxhighlighter .line.alt1 {
|
156
|
+
background-color: white !important; }
|
157
|
+
.syntaxhighlighter .line.alt2 {
|
158
|
+
background-color: white !important; }
|
159
|
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
160
|
+
background-color: #c3defe !important; }
|
161
|
+
.syntaxhighlighter .line.highlighted.number {
|
162
|
+
color: white !important; }
|
163
|
+
.syntaxhighlighter table caption {
|
164
|
+
color: black !important; }
|
165
|
+
.syntaxhighlighter .gutter {
|
166
|
+
color: #787878 !important; }
|
167
|
+
.syntaxhighlighter .gutter .line {
|
168
|
+
border-right: 3px solid #d4d0c8 !important; }
|
169
|
+
.syntaxhighlighter .gutter .line.highlighted {
|
170
|
+
background-color: #d4d0c8 !important;
|
171
|
+
color: white !important; }
|
172
|
+
.syntaxhighlighter.printing .line .content {
|
173
|
+
border: none !important; }
|
174
|
+
.syntaxhighlighter.collapsed {
|
175
|
+
overflow: visible !important; }
|
176
|
+
.syntaxhighlighter.collapsed .toolbar {
|
177
|
+
color: #3f5fbf !important;
|
178
|
+
background: white !important;
|
179
|
+
border: 1px solid #d4d0c8 !important; }
|
180
|
+
.syntaxhighlighter.collapsed .toolbar a {
|
181
|
+
color: #3f5fbf !important; }
|
182
|
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
183
|
+
color: #aa7700 !important; }
|
184
|
+
.syntaxhighlighter .toolbar {
|
185
|
+
color: #a0a0a0 !important;
|
186
|
+
background: #d4d0c8 !important;
|
187
|
+
border: none !important; }
|
188
|
+
.syntaxhighlighter .toolbar a {
|
189
|
+
color: #a0a0a0 !important; }
|
190
|
+
.syntaxhighlighter .toolbar a:hover {
|
191
|
+
color: red !important; }
|
192
|
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
193
|
+
color: black !important; }
|
194
|
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
195
|
+
color: #3f5fbf !important; }
|
196
|
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
197
|
+
color: #2a00ff !important; }
|
198
|
+
.syntaxhighlighter .keyword {
|
199
|
+
color: #7f0055 !important; }
|
200
|
+
.syntaxhighlighter .preprocessor {
|
201
|
+
color: #646464 !important; }
|
202
|
+
.syntaxhighlighter .variable {
|
203
|
+
color: #aa7700 !important; }
|
204
|
+
.syntaxhighlighter .value {
|
205
|
+
color: #009900 !important; }
|
206
|
+
.syntaxhighlighter .functions {
|
207
|
+
color: #ff1493 !important; }
|
208
|
+
.syntaxhighlighter .constants {
|
209
|
+
color: #0066cc !important; }
|
210
|
+
.syntaxhighlighter .script {
|
211
|
+
font-weight: bold !important;
|
212
|
+
color: #7f0055 !important;
|
213
|
+
background-color: none !important; }
|
214
|
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
215
|
+
color: #808080 !important; }
|
216
|
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
217
|
+
color: #ff1493 !important; }
|
218
|
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
219
|
+
color: red !important; }
|
220
|
+
|
221
|
+
.syntaxhighlighter .keyword {
|
222
|
+
font-weight: bold !important; }
|
223
|
+
.syntaxhighlighter .xml .keyword {
|
224
|
+
color: #3f7f7f !important;
|
225
|
+
font-weight: normal !important; }
|
226
|
+
.syntaxhighlighter .xml .color1, .syntaxhighlighter .xml .color1 a {
|
227
|
+
color: #7f007f !important; }
|
228
|
+
.syntaxhighlighter .xml .string {
|
229
|
+
font-style: italic !important;
|
230
|
+
color: #2a00ff !important; }
|