blog_basic 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +24 -0
- data/MIT-LICENSE +20 -0
- data/Manifest +0 -0
- data/README.md +186 -0
- data/Rakefile +47 -0
- data/app/admin/blog_basic_blog_posts.rb +9 -0
- data/app/admin/dashboards.rb +38 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/javascripts/active_admin.js +1 -0
- data/app/assets/javascripts/application.js +9 -0
- data/app/assets/stylesheets/active_admin.css.scss +6 -0
- data/app/assets/stylesheets/application.css +7 -0
- data/app/controllers/application_controller.rb +3 -0
- data/app/controllers/blog_basic/app_controller.rb +27 -0
- data/app/controllers/blog_basic/application_controller.rb +4 -0
- data/app/controllers/blog_basic/blog_comments_controller.rb +69 -0
- data/app/controllers/blog_basic/blog_posts_controller.rb +149 -0
- data/app/controllers/blog_basic/sessions_controller.rb +32 -0
- data/app/controllers/blog_basic/tags_controller.rb +11 -0
- data/app/helpers/application_helper.rb +2 -0
- data/app/helpers/blog_basic/application_helper.rb +21 -0
- data/app/helpers/blog_basic/blog_posts_helper.rb +17 -0
- data/app/helpers/blog_basic/shared_helper.rb +36 -0
- data/app/helpers/blog_basic/tags_helper.rb +5 -0
- data/app/models/admin_user.rb +9 -0
- data/app/models/blog_basic/blog_comment.rb +78 -0
- data/app/models/blog_basic/blog_content.rb +4 -0
- data/app/models/blog_basic/blog_image.rb +23 -0
- data/app/models/blog_basic/blog_post.rb +104 -0
- data/app/models/blog_basic/session.rb +5 -0
- data/app/models/blog_basic/user.rb +22 -0
- data/app/views/blog_basic/blog_comments/_new_blog_comment.html.erb +43 -0
- data/app/views/blog_basic/blog_posts/_admin_links.html.erb +9 -0
- data/app/views/blog_basic/blog_posts/_blog_post.html.erb +62 -0
- data/app/views/blog_basic/blog_posts/_comment.html.erb +18 -0
- data/app/views/blog_basic/blog_posts/_comments.html.erb +6 -0
- data/app/views/blog_basic/blog_posts/_form.html.erb +133 -0
- data/app/views/blog_basic/blog_posts/_image.html.erb +20 -0
- data/app/views/blog_basic/blog_posts/drafts.html.erb +21 -0
- data/app/views/blog_basic/blog_posts/edit.html.erb +6 -0
- data/app/views/blog_basic/blog_posts/index.atom.builder +12 -0
- data/app/views/blog_basic/blog_posts/index.html.erb +31 -0
- data/app/views/blog_basic/blog_posts/new.html.erb +6 -0
- data/app/views/blog_basic/blog_posts/show.html.erb +8 -0
- data/app/views/blog_basic/shared/_footer.html.erb +15 -0
- data/app/views/blog_basic/shared/_index_top.html.erb +12 -0
- data/app/views/blog_basic/shared/_topbar.html.erb +24 -0
- data/app/views/layouts/application.html.erb +14 -0
- data/blog_basic.gemspec +57 -0
- data/config/routes.rb +21 -0
- data/db/migrate/1_blog_tables.rb +86 -0
- data/init.rb +9 -0
- data/lib/akismetor.rb +77 -0
- data/lib/blog_basic/active_admin.rb +103 -0
- data/lib/blog_basic/blog_basic_model_helper.rb +85 -0
- data/lib/blog_basic/blog_conf.rb +36 -0
- data/lib/blog_basic/engine.rb +13 -0
- data/lib/blog_basic/engine.rb.backup +80 -0
- data/lib/blog_basic.rb +16 -0
- data/lib/generators/blog_basic/create_assets/blog_assets_generator.rb +49 -0
- data/lib/generators/blog_basic/create_assets/templates/blog_comments_migration.rb +23 -0
- data/lib/generators/blog_basic/create_assets/templates/blog_images_migration.rb +19 -0
- data/lib/generators/blog_basic/create_assets/templates/blog_posts_migration.rb +17 -0
- data/lib/generators/blog_basic/create_assets/templates/config/blog_basic.yml +52 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/active4d.css +114 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/all_hallows_eve.css +72 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/amy.css +147 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/blackboard.css +88 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/brilliance_black.css +605 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/brilliance_dull.css +599 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/cobalt.css +149 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/dawn.css +121 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/eiffel.css +121 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/espresso_libre.css +109 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/idle.css +62 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/iplastic.css +80 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/lazy.css +73 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/mac_classic.css +123 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/magicwb_amiga.css +104 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/pastels_on_dark.css +188 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/slush_poppies.css +85 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/spacecadet.css +51 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/sunburst.css +180 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/twilight.css +137 -0
- data/lib/generators/blog_basic/create_assets/templates/syntax/zenburnesque.css +91 -0
- data/lib/generators/blog_basic/install/install_generator.rb +53 -0
- data/lib/generators/blog_basic/install/templates/active_admin.rb +103 -0
- data/lib/generators/blog_basic/install/templates/blog_basic.yml +52 -0
- data/lib/generators/blog_basic/install/templates/blog_kit.css +75 -0
- data/lib/generators/blog_basic/install/templates/devise.en.yml +58 -0
- data/lib/generators/blog_basic/install/templates/devise.rb +209 -0
- data/lib/generators/blog_basic/install/templates/migrations/1_blog_tables.rb +86 -0
- data/lib/generators/blog_basic/install/templates/migrations/20111213104240_devise_create_admin_users.rb +28 -0
- data/lib/generators/blog_basic/install/templates/migrations/20111213114257_create_admin_notes.rb +16 -0
- data/lib/generators/blog_basic/install/templates/migrations/20111213114258_move_admin_notes_to_comments.rb +25 -0
- data/lib/generators/blog_basic/install/templates/omniauth.rb.erb +10 -0
- data/lib/tasks/blog_basic_tasks.rake +0 -0
- data/lib/url_validator.rb +24 -0
- data/test/database.yml +4 -0
- data/test/fixtures/admin_users.yml +11 -0
- data/test/functional/blog_assets_generator_test.rb +35 -0
- data/test/functional/blog_comments_controller_test.rb +0 -0
- data/test/functional/blog_posts_controller_test.rb +84 -0
- data/test/performance/browsing_test.rb +12 -0
- data/test/schema.rb +61 -0
- data/test/test_helper.rb +13 -0
- data/test/unit/admin_user_test.rb +7 -0
- data/uninstall.rb +1 -0
- metadata +310 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# BlogKit Setup - handles settings
|
|
2
|
+
|
|
3
|
+
# require 'tm_syntax_highlighting'
|
|
4
|
+
# require 'rubygems'
|
|
5
|
+
# require 'uv'
|
|
6
|
+
require 'blog_basic'
|
|
7
|
+
require 'rails'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
require 'paperclip'
|
|
11
|
+
#require 'ruby-openid'
|
|
12
|
+
#require 'authlogic-oid'
|
|
13
|
+
require 'activeadmin'
|
|
14
|
+
require 'will_paginate'
|
|
15
|
+
require "action_controller"
|
|
16
|
+
require 'acts-as-taggable-on'
|
|
17
|
+
require 'blog_basic/blog_basic_model_helper'
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# # takes about a second to this, if we don't do it now, then the first call to highlight will take a little longer
|
|
22
|
+
# Uv.init_syntaxes
|
|
23
|
+
#
|
|
24
|
+
# ActionView::Base.send(:include, TmSyntaxHighlighting::Helper)
|
|
25
|
+
# ActionController::Base.send(:extend, TmSyntaxHighlighting::Controller)
|
|
26
|
+
|
|
27
|
+
# require 'tm_syntax_highlighting'
|
|
28
|
+
module BlogBasic
|
|
29
|
+
|
|
30
|
+
def self.included(base)
|
|
31
|
+
base.extend BlogBasic
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
class Engine < Rails::Engine
|
|
35
|
+
engine_name :blog_basic
|
|
36
|
+
isolate_namespace BlogBasic
|
|
37
|
+
|
|
38
|
+
include Singleton
|
|
39
|
+
|
|
40
|
+
config.to_prepare do
|
|
41
|
+
ApplicationController.helper(AuthenticationHelper)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def initialize
|
|
45
|
+
load_config
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def load_config
|
|
49
|
+
config_filename = "blog_basic.yml"
|
|
50
|
+
|
|
51
|
+
if defined?(Rails)
|
|
52
|
+
rails_root = Rails.root
|
|
53
|
+
elsif defined?(RAILS_ROOT)
|
|
54
|
+
rails_root = RAILS_ROOT
|
|
55
|
+
else
|
|
56
|
+
puts "Unable to load rails"
|
|
57
|
+
return
|
|
58
|
+
end
|
|
59
|
+
file_name = "#{rails_root}/config/" + config_filename
|
|
60
|
+
if File.exists?(file_name)
|
|
61
|
+
begin
|
|
62
|
+
@settings = YAML::load(File.open(file_name).read)
|
|
63
|
+
rescue Exception => e
|
|
64
|
+
puts config_filename + "config file is invalid"
|
|
65
|
+
end
|
|
66
|
+
else
|
|
67
|
+
puts 'No ' + config_filename + ' config file'
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
def settings
|
|
72
|
+
@settings
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def paperclip_support?
|
|
76
|
+
BlogImage.respond_to?(:has_attached_file)
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
end
|
data/lib/blog_basic.rb
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
###require 'activeadmin'
|
|
2
|
+
|
|
3
|
+
module BlogBasic
|
|
4
|
+
require 'blog_basic/engine' if defined?(Rails) && Rails::VERSION::MAJOR == 3
|
|
5
|
+
require 'blog_basic/blog_basic_model_helper'
|
|
6
|
+
require 'blog_basic/blog_conf'
|
|
7
|
+
#BlogConf.new
|
|
8
|
+
require 'akismetor'
|
|
9
|
+
require 'url_validator'
|
|
10
|
+
require 'acts-as-taggable-on'
|
|
11
|
+
require 'will_paginate'
|
|
12
|
+
require 'paperclip'
|
|
13
|
+
# require 'activeadmin'
|
|
14
|
+
#module BlogBasic
|
|
15
|
+
|
|
16
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
require 'rails/generators/migration'
|
|
2
|
+
module BlogBasic
|
|
3
|
+
module Generators
|
|
4
|
+
class AssetsGenerator < Rails::Generators::Base
|
|
5
|
+
|
|
6
|
+
include Rails::Generators::Migration
|
|
7
|
+
|
|
8
|
+
def self.next_migration_number(dirname)
|
|
9
|
+
if ActiveRecord::Base.timestamped_migrations
|
|
10
|
+
@current_time ||= Time.now
|
|
11
|
+
@current_time += 1
|
|
12
|
+
@current_time.utc.strftime("%Y%m%d%H%M%S")
|
|
13
|
+
else
|
|
14
|
+
"%.3d" % (current_migration_number(dirname) + 1)
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def self.source_root
|
|
20
|
+
@source_root ||= File.join(File.dirname(__FILE__), 'templates')
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def create_assets
|
|
24
|
+
# Copy highlighting bundles
|
|
25
|
+
empty_directory "public/stylesheets/syntax"
|
|
26
|
+
copy_file "syntax/active4d.css", "public/stylesheets/syntax/active4d.css"
|
|
27
|
+
copy_file "syntax/all_hallows_eve.css", "public/stylesheets/syntax/all_hallows_eve.css"
|
|
28
|
+
copy_file "syntax/amy.css", "public/stylesheets/syntax/amy.css"
|
|
29
|
+
copy_file "syntax/blackboard.css", "public/stylesheets/syntax/blackboard.css"
|
|
30
|
+
copy_file "syntax/brilliance_black.css", "public/stylesheets/syntax/brilliance_black.css"
|
|
31
|
+
copy_file "syntax/brilliance_dull.css", "public/stylesheets/syntax/brilliance_dull.css"
|
|
32
|
+
copy_file "syntax/cobalt.css", "public/stylesheets/syntax/cobalt.css"
|
|
33
|
+
copy_file "syntax/dawn.css", "public/stylesheets/syntax/dawn.css"
|
|
34
|
+
copy_file "syntax/eiffel.css", "public/stylesheets/syntax/eiffel.css"
|
|
35
|
+
copy_file "syntax/espresso_libre.css", "public/stylesheets/syntax/espresso_libre.css"
|
|
36
|
+
copy_file "syntax/idle.css", "public/stylesheets/syntax/idle.css"
|
|
37
|
+
copy_file "syntax/iplastic.css", "public/stylesheets/syntax/iplastic.css"
|
|
38
|
+
copy_file "syntax/lazy.css", "public/stylesheets/syntax/lazy.css"
|
|
39
|
+
copy_file "syntax/mac_classic.css", "public/stylesheets/syntax/mac_classic.css"
|
|
40
|
+
copy_file "syntax/magicwb_amiga.css", "public/stylesheets/syntax/magicwb_amiga.css"
|
|
41
|
+
copy_file "syntax/pastels_on_dark.css", "public/stylesheets/syntax/pastels_on_dark.css"
|
|
42
|
+
copy_file "syntax/slush_poppies.css", "public/stylesheets/syntax/slush_poppies.css"
|
|
43
|
+
copy_file "syntax/spacecadet.css", "public/stylesheets/syntax/spacecadet.css"
|
|
44
|
+
copy_file "syntax/sunburst.css", "public/stylesheets/syntax/sunburst.css"
|
|
45
|
+
copy_file "syntax/twilight.css", "public/stylesheets/syntax/twilight.css"
|
|
46
|
+
copy_file "syntax/zenburnesque.css", "public/stylesheets/syntax/zenburnesque.css"
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
class CreateBlogComments < ActiveRecord::Migration
|
|
2
|
+
def self.up
|
|
3
|
+
create_table :blog_comments do |t|
|
|
4
|
+
t.column :blog_post_id, :integer
|
|
5
|
+
t.column :user_id, :integer
|
|
6
|
+
t.column :user_ip, :string
|
|
7
|
+
t.column :user_agent, :string
|
|
8
|
+
t.column :referrer, :string
|
|
9
|
+
t.column :name, :string
|
|
10
|
+
t.column :site_url, :string
|
|
11
|
+
t.column :email, :string
|
|
12
|
+
t.column :body, :text
|
|
13
|
+
t.column :created_at, :datetime
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
add_index :blog_comments, :blog_post_id
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def self.down
|
|
20
|
+
remove_index :blog_comments, :blog_post_id
|
|
21
|
+
drop_table :blog_comments
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
class CreateBlogImages < ActiveRecord::Migration
|
|
2
|
+
def self.up
|
|
3
|
+
create_table :blog_images, :force => true do |t|
|
|
4
|
+
t.string :image_file_name
|
|
5
|
+
t.string :image_content_type
|
|
6
|
+
t.integer :image_file_size
|
|
7
|
+
t.datetime :image_updated_at
|
|
8
|
+
t.integer :blog_post_id
|
|
9
|
+
t.timestamps
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
add_index :blog_images, :blog_post_id
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def self.down
|
|
16
|
+
remove_index :blog_images, :blog_post_id
|
|
17
|
+
drop_table :blog_images
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
class CreateBlogPosts < ActiveRecord::Migration
|
|
2
|
+
def self.up
|
|
3
|
+
create_table :blog_posts do |t|
|
|
4
|
+
t.column :title, :string, :null => false
|
|
5
|
+
t.column :body, :text
|
|
6
|
+
t.column :created_at, :datetime
|
|
7
|
+
t.column :updated_at, :datetime
|
|
8
|
+
t.column :published, :boolean, :null => false, :default => false
|
|
9
|
+
t.column :user_id, :integer
|
|
10
|
+
t.column :published_at, :datetime
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def self.down
|
|
15
|
+
drop_table :blog_posts
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# BlogKit configuration file
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# ================ Visual settings ================
|
|
5
|
+
|
|
6
|
+
blog_name: '__EDIT BLOG_NAME__'
|
|
7
|
+
|
|
8
|
+
# Show "Published By ..."
|
|
9
|
+
show_user_who_published: true
|
|
10
|
+
|
|
11
|
+
post_date_format: '%m/%d/%Y at %I:%M%p' # strftime format
|
|
12
|
+
|
|
13
|
+
# Enable gravatar support next to comments and posts
|
|
14
|
+
gravatar: true
|
|
15
|
+
|
|
16
|
+
# Allow people who are not logged in to post anonymous comments
|
|
17
|
+
anonymous_comments: true
|
|
18
|
+
|
|
19
|
+
# User Markdown for parsing posts
|
|
20
|
+
use_markdown: true
|
|
21
|
+
|
|
22
|
+
# Only enabled if you don't use markdown
|
|
23
|
+
# html_editor: true
|
|
24
|
+
|
|
25
|
+
layout: 'application'
|
|
26
|
+
admin_layout: 'application'
|
|
27
|
+
|
|
28
|
+
theme: 'mac_classic'
|
|
29
|
+
|
|
30
|
+
# Link to the default user path (/users/[id])
|
|
31
|
+
link_to_user: true
|
|
32
|
+
|
|
33
|
+
# Show line numbers next to code
|
|
34
|
+
show_link_numbers: false
|
|
35
|
+
|
|
36
|
+
# Akismet settings (spam filtering)
|
|
37
|
+
# akismet_key: '__your_key_here__'
|
|
38
|
+
|
|
39
|
+
# Blog URL - required for akismet
|
|
40
|
+
# blog_url: '__your_blog_url_here__'
|
|
41
|
+
|
|
42
|
+
# Image Uploading options - assume paperclip is installed
|
|
43
|
+
paperclip:
|
|
44
|
+
# path: ':rails_root/public/system/:attachment/:id/:style/:filename'
|
|
45
|
+
|
|
46
|
+
# # S3 support
|
|
47
|
+
# :storage: :s3
|
|
48
|
+
# :s3_credentials: "config/s3.yml"
|
|
49
|
+
# :path: ":attachment/:id/:style.:extension"
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
# You can also override the image sizes for paperclip
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
pre.active4d .DiffHeader {
|
|
2
|
+
background-color: #656565;
|
|
3
|
+
color: #FFFFFF;
|
|
4
|
+
}
|
|
5
|
+
pre.active4d .Operator {
|
|
6
|
+
}
|
|
7
|
+
pre.active4d .InheritedClass {
|
|
8
|
+
}
|
|
9
|
+
pre.active4d .TypeName {
|
|
10
|
+
color: #21439C;
|
|
11
|
+
}
|
|
12
|
+
pre.active4d .Number {
|
|
13
|
+
color: #A8017E;
|
|
14
|
+
}
|
|
15
|
+
pre.active4d .EmbeddedSource {
|
|
16
|
+
background-color: #ECF1FF;
|
|
17
|
+
}
|
|
18
|
+
pre.active4d {
|
|
19
|
+
background-color: #FFFFFF;
|
|
20
|
+
color: #000000;
|
|
21
|
+
}
|
|
22
|
+
pre.active4d .DiffInsertedLine {
|
|
23
|
+
background-color: #98FF9A;
|
|
24
|
+
color: #000000;
|
|
25
|
+
}
|
|
26
|
+
pre.active4d .LibraryVariable {
|
|
27
|
+
color: #A535AE;
|
|
28
|
+
}
|
|
29
|
+
pre.active4d .Storage {
|
|
30
|
+
color: #FF5600;
|
|
31
|
+
}
|
|
32
|
+
pre.active4d .InterpolatedEntity {
|
|
33
|
+
font-weight: bold;
|
|
34
|
+
color: #66CCFF;
|
|
35
|
+
}
|
|
36
|
+
pre.active4d .line-numbers {
|
|
37
|
+
background-color: #BAD6FD;
|
|
38
|
+
color: #000000;
|
|
39
|
+
}
|
|
40
|
+
pre.active4d .LocalVariable {
|
|
41
|
+
font-weight: bold;
|
|
42
|
+
color: #6392FF;
|
|
43
|
+
}
|
|
44
|
+
pre.active4d .DiffLineRange {
|
|
45
|
+
background-color: #1B63FF;
|
|
46
|
+
color: #FFFFFF;
|
|
47
|
+
}
|
|
48
|
+
pre.active4d .BlockComment {
|
|
49
|
+
color: #D33435;
|
|
50
|
+
}
|
|
51
|
+
pre.active4d .TagName {
|
|
52
|
+
color: #016CFF;
|
|
53
|
+
}
|
|
54
|
+
pre.active4d .FunctionArgument {
|
|
55
|
+
}
|
|
56
|
+
pre.active4d .BuiltInConstant {
|
|
57
|
+
color: #A535AE;
|
|
58
|
+
}
|
|
59
|
+
pre.active4d .LineComment {
|
|
60
|
+
color: #D33535;
|
|
61
|
+
}
|
|
62
|
+
pre.active4d .DiffDeletedLine {
|
|
63
|
+
background-color: #FF7880;
|
|
64
|
+
color: #000000;
|
|
65
|
+
}
|
|
66
|
+
pre.active4d .NamedConstant {
|
|
67
|
+
color: #B7734C;
|
|
68
|
+
}
|
|
69
|
+
pre.active4d .CommandMethod {
|
|
70
|
+
font-weight: bold;
|
|
71
|
+
color: #45AE34;
|
|
72
|
+
}
|
|
73
|
+
pre.active4d .TableField {
|
|
74
|
+
color: #0BB600;
|
|
75
|
+
}
|
|
76
|
+
pre.active4d .PlainXmlText {
|
|
77
|
+
color: #000000;
|
|
78
|
+
}
|
|
79
|
+
pre.active4d .Invalid {
|
|
80
|
+
background-color: #990000;
|
|
81
|
+
color: #FFFFFF;
|
|
82
|
+
}
|
|
83
|
+
pre.active4d .LibraryClassType {
|
|
84
|
+
color: #A535AE;
|
|
85
|
+
}
|
|
86
|
+
pre.active4d .TagAttribute {
|
|
87
|
+
color: #963DFF;
|
|
88
|
+
}
|
|
89
|
+
pre.active4d .Keyword {
|
|
90
|
+
font-weight: bold;
|
|
91
|
+
color: #006699;
|
|
92
|
+
}
|
|
93
|
+
pre.active4d .UserDefinedConstant {
|
|
94
|
+
}
|
|
95
|
+
pre.active4d .String {
|
|
96
|
+
color: #666666;
|
|
97
|
+
}
|
|
98
|
+
pre.active4d .DiffUnchangedLine {
|
|
99
|
+
color: #5E5E5E;
|
|
100
|
+
}
|
|
101
|
+
pre.active4d .TagContainer {
|
|
102
|
+
color: #7A7A7A;
|
|
103
|
+
}
|
|
104
|
+
pre.active4d .FunctionName {
|
|
105
|
+
color: #21439C;
|
|
106
|
+
}
|
|
107
|
+
pre.active4d .Variable {
|
|
108
|
+
font-weight: bold;
|
|
109
|
+
color: #0053FF;
|
|
110
|
+
}
|
|
111
|
+
pre.active4d .DateTimeLiteral {
|
|
112
|
+
font-weight: bold;
|
|
113
|
+
color: #66CCFF;
|
|
114
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
pre.all_hallows_eve .ClassInheritance {
|
|
2
|
+
font-style: italic;
|
|
3
|
+
}
|
|
4
|
+
pre.all_hallows_eve .Constant {
|
|
5
|
+
color: #3387CC;
|
|
6
|
+
}
|
|
7
|
+
pre.all_hallows_eve .TypeName {
|
|
8
|
+
text-decoration: underline;
|
|
9
|
+
}
|
|
10
|
+
pre.all_hallows_eve .TextBase {
|
|
11
|
+
background-color: #434242;
|
|
12
|
+
color: #FFFFFF;
|
|
13
|
+
}
|
|
14
|
+
pre.all_hallows_eve {
|
|
15
|
+
background-color: #000000;
|
|
16
|
+
color: #FFFFFF;
|
|
17
|
+
}
|
|
18
|
+
pre.all_hallows_eve .StringEscapesExecuted {
|
|
19
|
+
color: #555555;
|
|
20
|
+
}
|
|
21
|
+
pre.all_hallows_eve .line-numbers {
|
|
22
|
+
background-color: #73597E;
|
|
23
|
+
color: #FFFFFF;
|
|
24
|
+
}
|
|
25
|
+
pre.all_hallows_eve .StringExecuted {
|
|
26
|
+
background-color: #CCCC33;
|
|
27
|
+
color: #000000;
|
|
28
|
+
}
|
|
29
|
+
pre.all_hallows_eve .BlockComment {
|
|
30
|
+
background-color: #9B9B9B;
|
|
31
|
+
color: #FFFFFF;
|
|
32
|
+
}
|
|
33
|
+
pre.all_hallows_eve .TagName {
|
|
34
|
+
text-decoration: underline;
|
|
35
|
+
}
|
|
36
|
+
pre.all_hallows_eve .PreProcessorLine {
|
|
37
|
+
color: #D0D0FF;
|
|
38
|
+
}
|
|
39
|
+
pre.all_hallows_eve .SupportFunction {
|
|
40
|
+
color: #C83730;
|
|
41
|
+
}
|
|
42
|
+
pre.all_hallows_eve .FunctionArgument {
|
|
43
|
+
font-style: italic;
|
|
44
|
+
}
|
|
45
|
+
pre.all_hallows_eve .PreProcessorDirective {
|
|
46
|
+
}
|
|
47
|
+
pre.all_hallows_eve .StringEscapes {
|
|
48
|
+
color: #AAAAAA;
|
|
49
|
+
}
|
|
50
|
+
pre.all_hallows_eve .SourceBase {
|
|
51
|
+
background-color: #000000;
|
|
52
|
+
color: #FFFFFF;
|
|
53
|
+
}
|
|
54
|
+
pre.all_hallows_eve .TagAttribute {
|
|
55
|
+
}
|
|
56
|
+
pre.all_hallows_eve .StringLiteral {
|
|
57
|
+
color: #CCCC33;
|
|
58
|
+
}
|
|
59
|
+
pre.all_hallows_eve .String {
|
|
60
|
+
color: #66CC33;
|
|
61
|
+
}
|
|
62
|
+
pre.all_hallows_eve .Keyword {
|
|
63
|
+
color: #CC7833;
|
|
64
|
+
}
|
|
65
|
+
pre.all_hallows_eve .RegularExpression {
|
|
66
|
+
color: #CCCC33;
|
|
67
|
+
}
|
|
68
|
+
pre.all_hallows_eve .FunctionName {
|
|
69
|
+
}
|
|
70
|
+
pre.all_hallows_eve .Comment {
|
|
71
|
+
color: #9933CC;
|
|
72
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
pre.amy .PolymorphicVariants {
|
|
2
|
+
color: #60B0FF;
|
|
3
|
+
font-style: italic;
|
|
4
|
+
}
|
|
5
|
+
pre.amy .KeywordDecorator {
|
|
6
|
+
color: #D0D0FF;
|
|
7
|
+
}
|
|
8
|
+
pre.amy .Punctuation {
|
|
9
|
+
color: #805080;
|
|
10
|
+
}
|
|
11
|
+
pre.amy .InheritedClass {
|
|
12
|
+
}
|
|
13
|
+
pre.amy .InvalidDepricated {
|
|
14
|
+
background-color: #CC66FF;
|
|
15
|
+
color: #200020;
|
|
16
|
+
}
|
|
17
|
+
pre.amy .LibraryVariable {
|
|
18
|
+
}
|
|
19
|
+
pre.amy .TokenReferenceOcamlyacc {
|
|
20
|
+
color: #3CB0D0;
|
|
21
|
+
}
|
|
22
|
+
pre.amy .Storage {
|
|
23
|
+
color: #B0FFF0;
|
|
24
|
+
}
|
|
25
|
+
pre.amy .KeywordOperator {
|
|
26
|
+
color: #A0A0FF;
|
|
27
|
+
}
|
|
28
|
+
pre.amy .CharacterConstant {
|
|
29
|
+
color: #666666;
|
|
30
|
+
}
|
|
31
|
+
pre.amy .line-numbers {
|
|
32
|
+
background-color: #800000;
|
|
33
|
+
color: #000000;
|
|
34
|
+
}
|
|
35
|
+
pre.amy .ClassName {
|
|
36
|
+
color: #70E080;
|
|
37
|
+
}
|
|
38
|
+
pre.amy .Int64Constant {
|
|
39
|
+
font-style: italic;
|
|
40
|
+
}
|
|
41
|
+
pre.amy .NonTerminalReferenceOcamlyacc {
|
|
42
|
+
color: #C0F0F0;
|
|
43
|
+
}
|
|
44
|
+
pre.amy .TokenDefinitionOcamlyacc {
|
|
45
|
+
color: #3080A0;
|
|
46
|
+
}
|
|
47
|
+
pre.amy .ClassType {
|
|
48
|
+
color: #70E0A0;
|
|
49
|
+
}
|
|
50
|
+
pre.amy .ControlKeyword {
|
|
51
|
+
color: #80A0FF;
|
|
52
|
+
}
|
|
53
|
+
pre.amy .LineNumberDirectives {
|
|
54
|
+
text-decoration: underline;
|
|
55
|
+
color: #C080C0;
|
|
56
|
+
}
|
|
57
|
+
pre.amy .FloatingPointConstant {
|
|
58
|
+
text-decoration: underline;
|
|
59
|
+
}
|
|
60
|
+
pre.amy .Int32Constant {
|
|
61
|
+
font-weight: bold;
|
|
62
|
+
}
|
|
63
|
+
pre.amy .TagName {
|
|
64
|
+
color: #009090;
|
|
65
|
+
}
|
|
66
|
+
pre.amy .ModuleTypeDefinitions {
|
|
67
|
+
text-decoration: underline;
|
|
68
|
+
color: #B000B0;
|
|
69
|
+
}
|
|
70
|
+
pre.amy .Integer {
|
|
71
|
+
color: #7090B0;
|
|
72
|
+
}
|
|
73
|
+
pre.amy .Camlp4TempParser {
|
|
74
|
+
}
|
|
75
|
+
pre.amy .InvalidIllegal {
|
|
76
|
+
font-weight: bold;
|
|
77
|
+
background-color: #FFFF00;
|
|
78
|
+
color: #400080;
|
|
79
|
+
}
|
|
80
|
+
pre.amy .LibraryConstant {
|
|
81
|
+
background-color: #200020;
|
|
82
|
+
}
|
|
83
|
+
pre.amy .ModuleDefinitions {
|
|
84
|
+
color: #B000B0;
|
|
85
|
+
}
|
|
86
|
+
pre.amy .Variants {
|
|
87
|
+
color: #60B0FF;
|
|
88
|
+
}
|
|
89
|
+
pre.amy .CompilerDirectives {
|
|
90
|
+
color: #C080C0;
|
|
91
|
+
}
|
|
92
|
+
pre.amy .FloatingPointInfixOperator {
|
|
93
|
+
text-decoration: underline;
|
|
94
|
+
}
|
|
95
|
+
pre.amy .BuiltInConstant1 {
|
|
96
|
+
}
|
|
97
|
+
pre.amy {
|
|
98
|
+
background-color: #200020;
|
|
99
|
+
color: #D0D0FF;
|
|
100
|
+
}
|
|
101
|
+
pre.amy .FunctionArgument {
|
|
102
|
+
color: #80B0B0;
|
|
103
|
+
}
|
|
104
|
+
pre.amy .FloatingPointPrefixOperator {
|
|
105
|
+
text-decoration: underline;
|
|
106
|
+
}
|
|
107
|
+
pre.amy .NativeintConstant {
|
|
108
|
+
font-weight: bold;
|
|
109
|
+
}
|
|
110
|
+
pre.amy .BuiltInConstant {
|
|
111
|
+
color: #707090;
|
|
112
|
+
}
|
|
113
|
+
pre.amy .BooleanConstant {
|
|
114
|
+
color: #8080A0;
|
|
115
|
+
}
|
|
116
|
+
pre.amy .LibraryClassType {
|
|
117
|
+
}
|
|
118
|
+
pre.amy .TagAttribute {
|
|
119
|
+
}
|
|
120
|
+
pre.amy .Keyword {
|
|
121
|
+
color: #A080FF;
|
|
122
|
+
}
|
|
123
|
+
pre.amy .UserDefinedConstant {
|
|
124
|
+
}
|
|
125
|
+
pre.amy .String {
|
|
126
|
+
color: #999999;
|
|
127
|
+
}
|
|
128
|
+
pre.amy .Camlp4Code {
|
|
129
|
+
background-color: #350060;
|
|
130
|
+
}
|
|
131
|
+
pre.amy .NonTerminalDefinitionOcamlyacc {
|
|
132
|
+
color: #90E0E0;
|
|
133
|
+
}
|
|
134
|
+
pre.amy .FunctionName {
|
|
135
|
+
color: #50A0A0;
|
|
136
|
+
}
|
|
137
|
+
pre.amy .SupportModules {
|
|
138
|
+
color: #A00050;
|
|
139
|
+
}
|
|
140
|
+
pre.amy .Variable {
|
|
141
|
+
color: #008080;
|
|
142
|
+
}
|
|
143
|
+
pre.amy .Comment {
|
|
144
|
+
background-color: #200020;
|
|
145
|
+
color: #404080;
|
|
146
|
+
font-style: italic;
|
|
147
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
pre.blackboard .LatexSupport {
|
|
2
|
+
color: #FBDE2D;
|
|
3
|
+
}
|
|
4
|
+
pre.blackboard .OcamlInfixOperator {
|
|
5
|
+
color: #8DA6CE;
|
|
6
|
+
}
|
|
7
|
+
pre.blackboard .MetaFunctionCallPy {
|
|
8
|
+
color: #BECDE6;
|
|
9
|
+
}
|
|
10
|
+
pre.blackboard .Superclass {
|
|
11
|
+
color: #FF6400;
|
|
12
|
+
font-style: italic;
|
|
13
|
+
}
|
|
14
|
+
pre.blackboard .Constant {
|
|
15
|
+
color: #D8FA3C;
|
|
16
|
+
}
|
|
17
|
+
pre.blackboard {
|
|
18
|
+
background-color: #0C1021;
|
|
19
|
+
color: #F8F8F8;
|
|
20
|
+
}
|
|
21
|
+
pre.blackboard .OcamlFPConstant {
|
|
22
|
+
text-decoration: underline;
|
|
23
|
+
}
|
|
24
|
+
pre.blackboard .OcamlFPInfixOperator {
|
|
25
|
+
text-decoration: underline;
|
|
26
|
+
}
|
|
27
|
+
pre.blackboard .Support {
|
|
28
|
+
color: #8DA6CE;
|
|
29
|
+
}
|
|
30
|
+
pre.blackboard .OcamlOperator {
|
|
31
|
+
color: #F8F8F8;
|
|
32
|
+
}
|
|
33
|
+
pre.blackboard .Storage {
|
|
34
|
+
color: #FBDE2D;
|
|
35
|
+
}
|
|
36
|
+
pre.blackboard .line-numbers {
|
|
37
|
+
background-color: #253B76;
|
|
38
|
+
color: #FFFFFF;
|
|
39
|
+
}
|
|
40
|
+
pre.blackboard .StringInterpolation {
|
|
41
|
+
color: #FF6400;
|
|
42
|
+
}
|
|
43
|
+
pre.blackboard .InvalidIllegal {
|
|
44
|
+
background-color: #9D1E15;
|
|
45
|
+
color: #F8F8F8;
|
|
46
|
+
}
|
|
47
|
+
pre.blackboard .PlistUnquotedString {
|
|
48
|
+
color: #FFFFFF;
|
|
49
|
+
}
|
|
50
|
+
pre.blackboard .OcamlVariant {
|
|
51
|
+
color: #D5E0F3;
|
|
52
|
+
}
|
|
53
|
+
pre.blackboard .MetaTag {
|
|
54
|
+
color: #7F90AA;
|
|
55
|
+
}
|
|
56
|
+
pre.blackboard .LatexEnvironment {
|
|
57
|
+
background-color: #F7F7F8;
|
|
58
|
+
}
|
|
59
|
+
pre.blackboard .OcamlFPPrefixOperator {
|
|
60
|
+
text-decoration: underline;
|
|
61
|
+
}
|
|
62
|
+
pre.blackboard .OcamlPrefixOperator {
|
|
63
|
+
color: #8DA6CE;
|
|
64
|
+
}
|
|
65
|
+
pre.blackboard .EntityNameSection {
|
|
66
|
+
color: #FFFFFF;
|
|
67
|
+
}
|
|
68
|
+
pre.blackboard .String {
|
|
69
|
+
color: #61CE3C;
|
|
70
|
+
}
|
|
71
|
+
pre.blackboard .Keyword {
|
|
72
|
+
color: #FBDE2D;
|
|
73
|
+
}
|
|
74
|
+
pre.blackboard .LatexEnvironmentNested {
|
|
75
|
+
background-color: #7691F3;
|
|
76
|
+
}
|
|
77
|
+
pre.blackboard .InvalidDeprecated {
|
|
78
|
+
color: #AB2A1D;
|
|
79
|
+
font-style: italic;
|
|
80
|
+
}
|
|
81
|
+
pre.blackboard .Variable {
|
|
82
|
+
}
|
|
83
|
+
pre.blackboard .Entity {
|
|
84
|
+
color: #FF6400;
|
|
85
|
+
}
|
|
86
|
+
pre.blackboard .Comment {
|
|
87
|
+
color: #AEAEAE;
|
|
88
|
+
}
|