@@ -1,87 +1,87 | |||||
1 | source :rubygems |
|
1 | source :rubygems | |
2 |
|
2 | |||
3 | gem "rails", "2.3.14" |
|
3 | gem "rails", "2.3.14" | |
4 | gem "i18n", "~> 0.4.2" |
|
4 | gem "i18n", "~> 0.4.2" | |
5 |
gem "coderay", "~> 1.0. |
|
5 | gem "coderay", "~> 1.0.6" | |
6 | gem "fastercsv", "~> 1.5.0", :platforms => [:mri_18, :mingw_18, :jruby] |
|
6 | gem "fastercsv", "~> 1.5.0", :platforms => [:mri_18, :mingw_18, :jruby] | |
7 | gem "tzinfo", "~> 0.3.31" |
|
7 | gem "tzinfo", "~> 0.3.31" | |
8 |
|
8 | |||
9 | # Optional gem for LDAP authentication |
|
9 | # Optional gem for LDAP authentication | |
10 | group :ldap do |
|
10 | group :ldap do | |
11 | gem "net-ldap", "~> 0.3.1" |
|
11 | gem "net-ldap", "~> 0.3.1" | |
12 | end |
|
12 | end | |
13 |
|
13 | |||
14 | # Optional gem for OpenID authentication |
|
14 | # Optional gem for OpenID authentication | |
15 | group :openid do |
|
15 | group :openid do | |
16 | gem "ruby-openid", "~> 2.1.4", :require => "openid" |
|
16 | gem "ruby-openid", "~> 2.1.4", :require => "openid" | |
17 | end |
|
17 | end | |
18 |
|
18 | |||
19 | # Optional gem for exporting the gantt to a PNG file, not supported with jruby |
|
19 | # Optional gem for exporting the gantt to a PNG file, not supported with jruby | |
20 | platforms :mri, :mingw do |
|
20 | platforms :mri, :mingw do | |
21 | group :rmagick do |
|
21 | group :rmagick do | |
22 | # RMagick 2 supports ruby 1.9 |
|
22 | # RMagick 2 supports ruby 1.9 | |
23 | # RMagick 1 would be fine for ruby 1.8 but Bundler does not support |
|
23 | # RMagick 1 would be fine for ruby 1.8 but Bundler does not support | |
24 | # different requirements for the same gem on different platforms |
|
24 | # different requirements for the same gem on different platforms | |
25 | gem "rmagick", ">= 2.0.0" |
|
25 | gem "rmagick", ">= 2.0.0" | |
26 | end |
|
26 | end | |
27 | end |
|
27 | end | |
28 |
|
28 | |||
29 | # Database gems |
|
29 | # Database gems | |
30 | platforms :mri, :mingw do |
|
30 | platforms :mri, :mingw do | |
31 | group :postgresql do |
|
31 | group :postgresql do | |
32 | gem "pg", ">= 0.11.0" |
|
32 | gem "pg", ">= 0.11.0" | |
33 | end |
|
33 | end | |
34 |
|
34 | |||
35 | group :sqlite do |
|
35 | group :sqlite do | |
36 | gem "sqlite3" |
|
36 | gem "sqlite3" | |
37 | end |
|
37 | end | |
38 | end |
|
38 | end | |
39 |
|
39 | |||
40 | platforms :mri_18, :mingw_18 do |
|
40 | platforms :mri_18, :mingw_18 do | |
41 | group :mysql do |
|
41 | group :mysql do | |
42 | gem "mysql" |
|
42 | gem "mysql" | |
43 | end |
|
43 | end | |
44 | end |
|
44 | end | |
45 |
|
45 | |||
46 | platforms :mri_19, :mingw_19 do |
|
46 | platforms :mri_19, :mingw_19 do | |
47 | group :mysql do |
|
47 | group :mysql do | |
48 | gem "mysql2", "~> 0.2.7" |
|
48 | gem "mysql2", "~> 0.2.7" | |
49 | end |
|
49 | end | |
50 | end |
|
50 | end | |
51 |
|
51 | |||
52 | platforms :jruby do |
|
52 | platforms :jruby do | |
53 | gem "jruby-openssl" |
|
53 | gem "jruby-openssl" | |
54 |
|
54 | |||
55 | group :mysql do |
|
55 | group :mysql do | |
56 | gem "activerecord-jdbcmysql-adapter" |
|
56 | gem "activerecord-jdbcmysql-adapter" | |
57 | end |
|
57 | end | |
58 |
|
58 | |||
59 | group :postgresql do |
|
59 | group :postgresql do | |
60 | gem "activerecord-jdbcpostgresql-adapter" |
|
60 | gem "activerecord-jdbcpostgresql-adapter" | |
61 | end |
|
61 | end | |
62 |
|
62 | |||
63 | group :sqlite do |
|
63 | group :sqlite do | |
64 | gem "activerecord-jdbcsqlite3-adapter" |
|
64 | gem "activerecord-jdbcsqlite3-adapter" | |
65 | end |
|
65 | end | |
66 | end |
|
66 | end | |
67 |
|
67 | |||
68 | group :development do |
|
68 | group :development do | |
69 | gem "rdoc", ">= 2.4.2" |
|
69 | gem "rdoc", ">= 2.4.2" | |
70 | end |
|
70 | end | |
71 |
|
71 | |||
72 | group :test do |
|
72 | group :test do | |
73 | gem "shoulda", "~> 2.10.3" |
|
73 | gem "shoulda", "~> 2.10.3" | |
74 | gem "edavis10-object_daddy", :require => "object_daddy" |
|
74 | gem "edavis10-object_daddy", :require => "object_daddy" | |
75 | gem "mocha" |
|
75 | gem "mocha" | |
76 | end |
|
76 | end | |
77 |
|
77 | |||
78 | if File.exists?('Gemfile.local') |
|
78 | if File.exists?('Gemfile.local') | |
79 | puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v` |
|
79 | puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v` | |
80 | instance_eval File.read('Gemfile.local') |
|
80 | instance_eval File.read('Gemfile.local') | |
81 | end |
|
81 | end | |
82 |
|
82 | |||
83 | # Load plugins' Gemfiles |
|
83 | # Load plugins' Gemfiles | |
84 | Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file| |
|
84 | Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file| | |
85 | puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v` |
|
85 | puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v` | |
86 | instance_eval File.read(file) |
|
86 | instance_eval File.read(file) | |
87 | end |
|
87 | end |
@@ -1,56 +1,56 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2011 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2011 Jean-Philippe Lang | |
3 | # |
|
3 | # | |
4 | # This program is free software; you can redistribute it and/or |
|
4 | # This program is free software; you can redistribute it and/or | |
5 | # modify it under the terms of the GNU General Public License |
|
5 | # modify it under the terms of the GNU General Public License | |
6 | # as published by the Free Software Foundation; either version 2 |
|
6 | # as published by the Free Software Foundation; either version 2 | |
7 | # of the License, or (at your option) any later version. |
|
7 | # of the License, or (at your option) any later version. | |
8 | # |
|
8 | # | |
9 | # This program is distributed in the hope that it will be useful, |
|
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. |
|
12 | # GNU General Public License for more details. | |
13 | # |
|
13 | # | |
14 | # You should have received a copy of the GNU General Public License |
|
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software |
|
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
17 |
|
17 | |||
18 | module Redmine |
|
18 | module Redmine | |
19 | module SyntaxHighlighting |
|
19 | module SyntaxHighlighting | |
20 |
|
20 | |||
21 | class << self |
|
21 | class << self | |
22 | attr_reader :highlighter |
|
22 | attr_reader :highlighter | |
23 | delegate :highlight_by_filename, :highlight_by_language, :to => :highlighter |
|
23 | delegate :highlight_by_filename, :highlight_by_language, :to => :highlighter | |
24 |
|
24 | |||
25 | def highlighter=(name) |
|
25 | def highlighter=(name) | |
26 | if name.is_a?(Module) |
|
26 | if name.is_a?(Module) | |
27 | @highlighter = name |
|
27 | @highlighter = name | |
28 | else |
|
28 | else | |
29 | @highlighter = const_get(name) |
|
29 | @highlighter = const_get(name) | |
30 | end |
|
30 | end | |
31 | end |
|
31 | end | |
32 | end |
|
32 | end | |
33 |
|
33 | |||
34 | module CodeRay |
|
34 | module CodeRay | |
35 | require 'coderay' |
|
35 | require 'coderay' | |
36 | require 'coderay/helpers/file_type' |
|
36 | require 'coderay/helpers/file_type' | |
37 |
|
37 | |||
38 | class << self |
|
38 | class << self | |
39 | # Highlights +text+ as the content of +filename+ |
|
39 | # Highlights +text+ as the content of +filename+ | |
40 | # Should not return line numbers nor outer pre tag |
|
40 | # Should not return line numbers nor outer pre tag | |
41 | def highlight_by_filename(text, filename) |
|
41 | def highlight_by_filename(text, filename) | |
42 | language = ::CodeRay::FileType[filename] |
|
42 | language = ::CodeRay::FileType[filename] | |
43 | language ? ::CodeRay.scan(text, language).html : ERB::Util.h(text) |
|
43 | language ? ::CodeRay.scan(text, language).html(:break_lines => true) : ERB::Util.h(text) | |
44 | end |
|
44 | end | |
45 |
|
45 | |||
46 | # Highlights +text+ using +language+ syntax |
|
46 | # Highlights +text+ using +language+ syntax | |
47 | # Should not return outer pre tag |
|
47 | # Should not return outer pre tag | |
48 | def highlight_by_language(text, language) |
|
48 | def highlight_by_language(text, language) | |
49 | ::CodeRay.scan(text, language).html(:line_numbers => :inline, :line_number_anchors => false, :wrap => :span) |
|
49 | ::CodeRay.scan(text, language).html(:line_numbers => :inline, :line_number_anchors => false, :wrap => :span) | |
50 | end |
|
50 | end | |
51 | end |
|
51 | end | |
52 | end |
|
52 | end | |
53 | end |
|
53 | end | |
54 |
|
54 | |||
55 | SyntaxHighlighting.highlighter = 'CodeRay' |
|
55 | SyntaxHighlighting.highlighter = 'CodeRay' | |
56 | end |
|
56 | end |
@@ -1,201 +1,198 | |||||
1 |
|
1 | |||
2 | table.revision-info td { |
|
2 | table.revision-info td { | |
3 | margin: 0px; |
|
3 | margin: 0px; | |
4 | padding: 0px; |
|
4 | padding: 0px; | |
5 | } |
|
5 | } | |
6 |
|
6 | |||
7 | div.revision-graph { position: absolute; } |
|
7 | div.revision-graph { position: absolute; } | |
8 |
|
8 | |||
9 | div.changeset-changes ul { margin: 0; padding: 0; } |
|
9 | div.changeset-changes ul { margin: 0; padding: 0; } | |
10 | div.changeset-changes ul > ul { margin-left: 18px; padding: 0; } |
|
10 | div.changeset-changes ul > ul { margin-left: 18px; padding: 0; } | |
11 |
|
11 | |||
12 | li.change { |
|
12 | li.change { | |
13 | list-style-type:none; |
|
13 | list-style-type:none; | |
14 | background-image: url(../images/bullet_black.png); |
|
14 | background-image: url(../images/bullet_black.png); | |
15 | background-position: 1px 1px; |
|
15 | background-position: 1px 1px; | |
16 | background-repeat: no-repeat; |
|
16 | background-repeat: no-repeat; | |
17 | padding-top: 1px; |
|
17 | padding-top: 1px; | |
18 | padding-bottom: 1px; |
|
18 | padding-bottom: 1px; | |
19 | padding-left: 20px; |
|
19 | padding-left: 20px; | |
20 | margin: 0; |
|
20 | margin: 0; | |
21 | } |
|
21 | } | |
22 | li.change.folder { background-image: url(../images/folder_open.png); } |
|
22 | li.change.folder { background-image: url(../images/folder_open.png); } | |
23 | li.change.folder.change-A { background-image: url(../images/folder_open_add.png); } |
|
23 | li.change.folder.change-A { background-image: url(../images/folder_open_add.png); } | |
24 | li.change.folder.change-M { background-image: url(../images/folder_open_orange.png); } |
|
24 | li.change.folder.change-M { background-image: url(../images/folder_open_orange.png); } | |
25 | li.change.change-A { background-image: url(../images/bullet_add.png); } |
|
25 | li.change.change-A { background-image: url(../images/bullet_add.png); } | |
26 | li.change.change-M { background-image: url(../images/bullet_orange.png); } |
|
26 | li.change.change-M { background-image: url(../images/bullet_orange.png); } | |
27 | li.change.change-C { background-image: url(../images/bullet_blue.png); } |
|
27 | li.change.change-C { background-image: url(../images/bullet_blue.png); } | |
28 | li.change.change-R { background-image: url(../images/bullet_purple.png); } |
|
28 | li.change.change-R { background-image: url(../images/bullet_purple.png); } | |
29 | li.change.change-D { background-image: url(../images/bullet_delete.png); } |
|
29 | li.change.change-D { background-image: url(../images/bullet_delete.png); } | |
30 |
|
30 | |||
31 | li.change .copied-from { font-style: italic; color: #999; font-size: 0.9em; } |
|
31 | li.change .copied-from { font-style: italic; color: #999; font-size: 0.9em; } | |
32 | li.change .copied-from:before { content: " - "} |
|
32 | li.change .copied-from:before { content: " - "} | |
33 |
|
33 | |||
34 | #changes-legend { float: right; font-size: 0.8em; margin: 0; } |
|
34 | #changes-legend { float: right; font-size: 0.8em; margin: 0; } | |
35 | #changes-legend li { float: left; background-position: 5px 0; } |
|
35 | #changes-legend li { float: left; background-position: 5px 0; } | |
36 |
|
36 | |||
37 | table.filecontent { border: 1px solid #ccc; border-collapse: collapse; width:98%; background-color: #fafafa; } |
|
37 | table.filecontent { border: 1px solid #ccc; border-collapse: collapse; width:98%; background-color: #fafafa; } | |
38 | table.filecontent th { border: 1px solid #ccc; background-color: #eee; } |
|
38 | table.filecontent th { border: 1px solid #ccc; background-color: #eee; } | |
39 | table.filecontent th.filename { background-color: #e4e4d4; text-align: left; padding: 0.2em;} |
|
39 | table.filecontent th.filename { background-color: #e4e4d4; text-align: left; padding: 0.2em;} | |
40 | table.filecontent tr.spacing th { text-align:center; } |
|
40 | table.filecontent tr.spacing th { text-align:center; } | |
41 | table.filecontent tr.spacing td { height: 0.4em; background: #EAF2F5;} |
|
41 | table.filecontent tr.spacing td { height: 0.4em; background: #EAF2F5;} | |
42 | table.filecontent th.line-num { |
|
42 | table.filecontent th.line-num { | |
43 | border: 1px solid #d7d7d7; |
|
43 | border: 1px solid #d7d7d7; | |
44 | font-size: 0.8em; |
|
44 | font-size: 0.8em; | |
45 | text-align: right; |
|
45 | text-align: right; | |
46 | width: 2%; |
|
46 | width: 2%; | |
47 | padding-right: 3px; |
|
47 | padding-right: 3px; | |
48 | color: #999; |
|
48 | color: #999; | |
49 | user-select: none; |
|
49 | user-select: none; | |
50 | -moz-user-select: none; |
|
50 | -moz-user-select: none; | |
51 | -o-user-select: none; |
|
51 | -o-user-select: none; | |
52 | -ms-user-select: none; |
|
52 | -ms-user-select: none; | |
53 | -webkit-user-select: none; |
|
53 | -webkit-user-select: none; | |
54 | } |
|
54 | } | |
55 | table.filecontent th.line-num a { |
|
55 | table.filecontent th.line-num a { | |
56 | text-decoration: none; |
|
56 | text-decoration: none; | |
57 | color: inherit; |
|
57 | color: inherit; | |
58 | } |
|
58 | } | |
59 | table.filecontent td.line-code pre { |
|
59 | table.filecontent td.line-code pre { | |
60 | margin: 0px; |
|
60 | margin: 0px; | |
61 | white-space: pre-wrap; |
|
61 | white-space: pre-wrap; | |
62 | } |
|
62 | } | |
63 |
|
63 | |||
64 | /* 12 different colors for the annonate view */ |
|
64 | /* 12 different colors for the annonate view */ | |
65 | table.annotate tr.bloc-0 {background: #FFFFBF;} |
|
65 | table.annotate tr.bloc-0 {background: #FFFFBF;} | |
66 | table.annotate tr.bloc-1 {background: #EABFFF;} |
|
66 | table.annotate tr.bloc-1 {background: #EABFFF;} | |
67 | table.annotate tr.bloc-2 {background: #BFFFFF;} |
|
67 | table.annotate tr.bloc-2 {background: #BFFFFF;} | |
68 | table.annotate tr.bloc-3 {background: #FFD9BF;} |
|
68 | table.annotate tr.bloc-3 {background: #FFD9BF;} | |
69 | table.annotate tr.bloc-4 {background: #E6FFBF;} |
|
69 | table.annotate tr.bloc-4 {background: #E6FFBF;} | |
70 | table.annotate tr.bloc-5 {background: #BFCFFF;} |
|
70 | table.annotate tr.bloc-5 {background: #BFCFFF;} | |
71 | table.annotate tr.bloc-6 {background: #FFBFEF;} |
|
71 | table.annotate tr.bloc-6 {background: #FFBFEF;} | |
72 | table.annotate tr.bloc-7 {background: #FFE6BF;} |
|
72 | table.annotate tr.bloc-7 {background: #FFE6BF;} | |
73 | table.annotate tr.bloc-8 {background: #FFE680;} |
|
73 | table.annotate tr.bloc-8 {background: #FFE680;} | |
74 | table.annotate tr.bloc-9 {background: #AA80FF;} |
|
74 | table.annotate tr.bloc-9 {background: #AA80FF;} | |
75 | table.annotate tr.bloc-10 {background: #FFBFDC;} |
|
75 | table.annotate tr.bloc-10 {background: #FFBFDC;} | |
76 | table.annotate tr.bloc-11 {background: #BFE4FF;} |
|
76 | table.annotate tr.bloc-11 {background: #BFE4FF;} | |
77 |
|
77 | |||
78 | table.annotate td.revision { |
|
78 | table.annotate td.revision { | |
79 | text-align: center; |
|
79 | text-align: center; | |
80 | width: 2%; |
|
80 | width: 2%; | |
81 | padding-left: 1em; |
|
81 | padding-left: 1em; | |
82 | background: inherit; |
|
82 | background: inherit; | |
83 | } |
|
83 | } | |
84 |
|
84 | |||
85 | table.annotate td.author { |
|
85 | table.annotate td.author { | |
86 | text-align: center; |
|
86 | text-align: center; | |
87 | border-right: 1px solid #d7d7d7; |
|
87 | border-right: 1px solid #d7d7d7; | |
88 | white-space: nowrap; |
|
88 | white-space: nowrap; | |
89 | padding-left: 1em; |
|
89 | padding-left: 1em; | |
90 | padding-right: 1em; |
|
90 | padding-right: 1em; | |
91 | width: 3%; |
|
91 | width: 3%; | |
92 | background: inherit; |
|
92 | background: inherit; | |
93 | font-size: 90%; |
|
93 | font-size: 90%; | |
94 | } |
|
94 | } | |
95 |
|
95 | |||
96 | table.annotate td.line-code { background-color: #fafafa; } |
|
96 | table.annotate td.line-code { background-color: #fafafa; } | |
97 |
|
97 | |||
98 | div.action_M { background: #fd8 } |
|
98 | div.action_M { background: #fd8 } | |
99 | div.action_D { background: #f88 } |
|
99 | div.action_D { background: #f88 } | |
100 | div.action_A { background: #bfb } |
|
100 | div.action_A { background: #bfb } | |
101 |
|
101 | |||
102 | /************* CodeRay styles *************/ |
|
102 | /************* CodeRay styles *************/ | |
103 | .syntaxhl div {display: inline;} |
|
103 | .syntaxhl div {display: inline;} | |
104 | .syntaxhl .line-numbers { |
|
104 | .syntaxhl .line-numbers { | |
105 | padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px; |
|
105 | padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px; | |
106 | user-select: none; |
|
106 | user-select: none; | |
107 | -moz-user-select: none; |
|
107 | -moz-user-select: none; | |
108 | -o-user-select: none; |
|
108 | -o-user-select: none; | |
109 | -ms-user-select: none; |
|
109 | -ms-user-select: none; | |
110 | -webkit-user-select: none; |
|
110 | -webkit-user-select: none; | |
111 | } |
|
111 | } | |
112 | .syntaxhl .code pre { overflow: auto } |
|
112 | .syntaxhl .code pre { overflow: auto } | |
113 |
.syntaxhl .debug { color:white ! |
|
113 | .syntaxhl .debug { color: white !important; background: blue !important; } | |
114 |
|
114 | |||
115 | .syntaxhl .attribute-name { color:#b48 } |
|
|||
116 | .syntaxhl .annotation { color:#007 } |
|
115 | .syntaxhl .annotation { color:#007 } | |
|
116 | .syntaxhl .attribute-name { color:#b48 } | |||
117 | .syntaxhl .attribute-value { color:#700 } |
|
117 | .syntaxhl .attribute-value { color:#700 } | |
118 | .syntaxhl .binary { color:#509 } |
|
118 | .syntaxhl .binary { color:#509 } | |
119 |
|
||||
120 | .syntaxhl .comment { color:#777 } |
|
|||
121 | .syntaxhl .comment .char { color:#444 } |
|
|||
122 | .syntaxhl .comment .delimiter { color:#444 } |
|
|||
123 |
|
||||
124 | .syntaxhl .char { color:#D20 } |
|
|||
125 | .syntaxhl .char .content { color:#D20 } |
|
119 | .syntaxhl .char .content { color:#D20 } | |
126 | .syntaxhl .char .delimiter { color:#710 } |
|
120 | .syntaxhl .char .delimiter { color:#710 } | |
127 |
|
121 | .syntaxhl .char { color:#D20 } | ||
128 | .syntaxhl .class { color:#B06; font-weight:bold } |
|
122 | .syntaxhl .class { color:#B06; font-weight:bold } | |
|
123 | .syntaxhl .class-variable { color:#369 } | |||
|
124 | .syntaxhl .color { color:#0A0 } | |||
|
125 | .syntaxhl .comment { color:#777 } | |||
|
126 | .syntaxhl .comment .char { color:#444 } | |||
|
127 | .syntaxhl .comment .delimiter { color:#444 } | |||
129 | .syntaxhl .complex { color:#A08 } |
|
128 | .syntaxhl .complex { color:#A08 } | |
130 | .syntaxhl .constant { color:#036; font-weight:bold } |
|
129 | .syntaxhl .constant { color:#036; font-weight:bold } | |
131 | .syntaxhl .color { color:#0A0 } |
|
|||
132 | .syntaxhl .class-variable { color:#369 } |
|
|||
133 | .syntaxhl .decorator { color:#B0B } |
|
130 | .syntaxhl .decorator { color:#B0B } | |
134 | .syntaxhl .definition { color:#099; font-weight:bold } |
|
131 | .syntaxhl .definition { color:#099; font-weight:bold } | |
135 | .syntaxhl .directive { color:#088; font-weight:bold } |
|
|||
136 | .syntaxhl .delimiter { color:black } |
|
132 | .syntaxhl .delimiter { color:black } | |
|
133 | .syntaxhl .directive { color:#088; font-weight:bold } | |||
137 | .syntaxhl .doc { color:#970 } |
|
134 | .syntaxhl .doc { color:#970 } | |
138 | .syntaxhl .doctype { color:#34b } |
|
|||
139 | .syntaxhl .doc-string { color:#D42; font-weight:bold } |
|
135 | .syntaxhl .doc-string { color:#D42; font-weight:bold } | |
140 |
.syntaxhl . |
|
136 | .syntaxhl .doctype { color:#34b } | |
141 | .syntaxhl .entity { color:#800; font-weight:bold } |
|
137 | .syntaxhl .entity { color:#800; font-weight:bold } | |
142 | .syntaxhl .error { color:#F00; background-color:#FAA } |
|
138 | .syntaxhl .error { color:#F00; background-color:#FAA } | |
|
139 | .syntaxhl .escape { color:#666 } | |||
143 | .syntaxhl .exception { color:#C00; font-weight:bold } |
|
140 | .syntaxhl .exception { color:#C00; font-weight:bold } | |
144 | .syntaxhl .float { color:#60E } |
|
141 | .syntaxhl .float { color:#60E } | |
145 | .syntaxhl .function { color:#06B; font-weight:bold } |
|
142 | .syntaxhl .function { color:#06B; font-weight:bold } | |
146 | .syntaxhl .global-variable { color:#d70 } |
|
143 | .syntaxhl .global-variable { color:#d70 } | |
147 | .syntaxhl .hex { color:#02b } |
|
144 | .syntaxhl .hex { color:#02b } | |
148 | .syntaxhl .integer { color:#00D } |
|
|||
149 | .syntaxhl .include { color:#B44; font-weight:bold } |
|
|||
150 | .syntaxhl .imaginary { color:#f00 } |
|
145 | .syntaxhl .imaginary { color:#f00 } | |
151 |
|
146 | .syntaxhl .include { color:#B44; font-weight:bold } | ||
152 | .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black } |
|
147 | .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black } | |
153 | .syntaxhl .inline-delimiter { font-weight: bold; color: #666 } |
|
148 | .syntaxhl .inline-delimiter { font-weight: bold; color: #666 } | |
154 |
|
||||
155 | .syntaxhl .instance-variable { color:#33B } |
|
149 | .syntaxhl .instance-variable { color:#33B } | |
|
150 | .syntaxhl .integer { color:#00D } | |||
|
151 | .syntaxhl .key .char { color: #60f } | |||
|
152 | .syntaxhl .key .delimiter { color: #404 } | |||
|
153 | .syntaxhl .key { color: #606 } | |||
|
154 | .syntaxhl .keyword { color:#080; font-weight:bold } | |||
156 | .syntaxhl .label { color:#970; font-weight:bold } |
|
155 | .syntaxhl .label { color:#970; font-weight:bold } | |
157 | .syntaxhl .local-variable { color:#963 } |
|
156 | .syntaxhl .local-variable { color:#963 } | |
158 | .syntaxhl .namespace { color:#707; font-weight:bold } |
|
157 | .syntaxhl .namespace { color:#707; font-weight:bold } | |
159 | .syntaxhl .octal { color:#40E } |
|
158 | .syntaxhl .octal { color:#40E } | |
160 | .syntaxhl .operator { } |
|
159 | .syntaxhl .operator { } | |
161 | .syntaxhl .predefined-constant { color:#069 } |
|
|||
162 | .syntaxhl .predefined { color:#369; font-weight:bold } |
|
160 | .syntaxhl .predefined { color:#369; font-weight:bold } | |
|
161 | .syntaxhl .predefined-constant { color:#069 } | |||
163 | .syntaxhl .predefined-type { color:#0a5; font-weight:bold } |
|
162 | .syntaxhl .predefined-type { color:#0a5; font-weight:bold } | |
164 | .syntaxhl .preprocessor { color:#579 } |
|
163 | .syntaxhl .preprocessor { color:#579 } | |
165 | .syntaxhl .pseudo-class { color:#00C; font-weight:bold } |
|
164 | .syntaxhl .pseudo-class { color:#00C; font-weight:bold } | |
166 | .syntaxhl .reserved { color:#080; font-weight:bold } |
|
|||
167 |
|
||||
168 | .syntaxhl .key .char { color: #60f } |
|
|||
169 | .syntaxhl .key .delimiter { color: #404 } |
|
|||
170 | .syntaxhl .key { color: #606 } |
|
|||
171 | .syntaxhl .keyword { color:#080; font-weight:bold } |
|
|||
172 |
|
||||
173 | .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); } |
|
|||
174 | .syntaxhl .regexp .content { color:#808 } |
|
165 | .syntaxhl .regexp .content { color:#808 } | |
175 | .syntaxhl .regexp .delimiter { color:#404 } |
|
166 | .syntaxhl .regexp .delimiter { color:#404 } | |
176 | .syntaxhl .regexp .modifier { color:#C2C } |
|
167 | .syntaxhl .regexp .modifier { color:#C2C } | |
177 |
|
168 | .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); } | ||
178 | .syntaxhl .string { background-color:hsla(0,100%,50%,0.05); } |
|
169 | .syntaxhl .reserved { color:#080; font-weight:bold } | |
179 |
.syntaxhl .s |
|
170 | .syntaxhl .shell .content { color:#2B2 } | |
|
171 | .syntaxhl .shell .delimiter { color:#161 } | |||
|
172 | .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); } | |||
180 | .syntaxhl .string .char { color: #b0b } |
|
173 | .syntaxhl .string .char { color: #b0b } | |
|
174 | .syntaxhl .string .content { color: #D20 } | |||
181 | .syntaxhl .string .delimiter { color: #710 } |
|
175 | .syntaxhl .string .delimiter { color: #710 } | |
182 | .syntaxhl .string .modifier { color: #E40 } |
|
176 | .syntaxhl .string .modifier { color: #E40 } | |
183 |
|
177 | .syntaxhl .string { background-color:hsla(0,100%,50%,0.05); } | ||
184 | .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); } |
|
|||
185 | .syntaxhl .shell .content { color:#2B2 } |
|
|||
186 | .syntaxhl .shell .delimiter { color:#161 } |
|
|||
187 |
|
||||
188 | .syntaxhl .symbol { color:#A60 } |
|
|||
189 | .syntaxhl .symbol .content { color:#A60 } |
|
178 | .syntaxhl .symbol .content { color:#A60 } | |
190 | .syntaxhl .symbol .delimiter { color:#630 } |
|
179 | .syntaxhl .symbol .delimiter { color:#630 } | |
191 |
|
180 | .syntaxhl .symbol { color:#A60 } | ||
192 | .syntaxhl .tag { color:#070 } |
|
181 | .syntaxhl .tag { color:#070 } | |
193 | .syntaxhl .type { color:#339; font-weight:bold } |
|
182 | .syntaxhl .type { color:#339; font-weight:bold } | |
194 | .syntaxhl .value { color: #088; } |
|
183 | .syntaxhl .value { color: #088; } | |
195 | .syntaxhl .variable { color:#037 } |
|
184 | .syntaxhl .variable { color:#037 } | |
196 |
|
185 | |||
197 | .syntaxhl .insert { background: hsla(120,100%,50%,0.12) } |
|
186 | .syntaxhl .insert { background: hsla(120,100%,50%,0.12) } | |
198 | .syntaxhl .delete { background: hsla(0,100%,50%,0.12) } |
|
187 | .syntaxhl .delete { background: hsla(0,100%,50%,0.12) } | |
199 | .syntaxhl .change { color: #bbf; background: #007; } |
|
188 | .syntaxhl .change { color: #bbf; background: #007; } | |
200 | .syntaxhl .head { color: #f8f; background: #505 } |
|
189 | .syntaxhl .head { color: #f8f; background: #505 } | |
201 | .syntaxhl .head .filename { color: white; } |
|
190 | .syntaxhl .head .filename { color: white; } | |
|
191 | ||||
|
192 | .syntaxhl .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; } | |||
|
193 | .syntaxhl .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } | |||
|
194 | ||||
|
195 | .syntaxhl .insert .insert { color: #0c0; background:transparent; font-weight:bold } | |||
|
196 | .syntaxhl .delete .delete { color: #c00; background:transparent; font-weight:bold } | |||
|
197 | .syntaxhl .change .change { color: #88f } | |||
|
198 | .syntaxhl .head .head { color: #f4f } |
General Comments 0
You need to be logged in to leave comments.
Login now