tawork 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +16 -0
- data/Gemfile +91 -0
- data/Gemfile.lock +295 -0
- data/MIT-LICENSE +20 -0
- data/Procfile +2 -0
- data/README.md +1 -0
- data/Rakefile +6 -0
- data/app/assets/images/.keep +0 -0
- data/app/assets/javascripts/application.js +31 -0
- data/app/assets/javascripts/backbone/models/.gitkeep +0 -0
- data/app/assets/javascripts/backbone/routers/.gitkeep +0 -0
- data/app/assets/javascripts/backbone/tawork.js.coffee +11 -0
- data/app/assets/javascripts/backbone/templates/.gitkeep +0 -0
- data/app/assets/javascripts/backbone/views/.gitkeep +0 -0
- data/app/assets/javascripts/backbone/views/page.js.coffee +75 -0
- data/app/assets/javascripts/backbone/views/ticket.js.coffee +110 -0
- data/app/assets/javascripts/backbone/views/tree_node_page.js.coffee +16 -0
- data/app/assets/javascripts/backbone/views/tree_node_ticket.js.coffee +14 -0
- data/app/assets/javascripts/wiki/pages.js.coffee +3 -0
- data/app/assets/stylesheets/application.css +22 -0
- data/app/assets/stylesheets/bootstrap_and_overrides.sass +208 -0
- data/app/assets/stylesheets/diff.css +14 -0
- data/app/assets/stylesheets/wiki/pages.css.scss +3 -0
- data/app/controllers/application_controller.rb +15 -0
- data/app/controllers/assignments_controller.rb +30 -0
- data/app/controllers/attachments_controller.rb +10 -0
- data/app/controllers/comments_controller.rb +24 -0
- data/app/controllers/concerns/.keep +0 -0
- data/app/controllers/home_controller.rb +7 -0
- data/app/controllers/projects_controller.rb +31 -0
- data/app/controllers/search_controller.rb +49 -0
- data/app/controllers/sink_controller.rb +10 -0
- data/app/controllers/tickets_controller.rb +147 -0
- data/app/controllers/users/omniauth_callbacks_controller.rb +23 -0
- data/app/controllers/wiki/pages_controller.rb +115 -0
- data/app/controllers/wiki/spaces_controller.rb +37 -0
- data/app/helpers/application_helper.rb +20 -0
- data/app/helpers/wiki/pages_helper.rb +2 -0
- data/app/inputs/fake_input.rb +6 -0
- data/app/mailers/.keep +0 -0
- data/app/models/.keep +0 -0
- data/app/models/assignment.rb +5 -0
- data/app/models/attachment.rb +54 -0
- data/app/models/bug.rb +2 -0
- data/app/models/comment.rb +6 -0
- data/app/models/concerns/.keep +0 -0
- data/app/models/page.rb +68 -0
- data/app/models/project.rb +2 -0
- data/app/models/space.rb +2 -0
- data/app/models/story.rb +29 -0
- data/app/models/story_detail.rb +3 -0
- data/app/models/task.rb +2 -0
- data/app/models/ticket.rb +127 -0
- data/app/models/user.rb +36 -0
- data/app/models/user_verifier.rb +2 -0
- data/app/views/comments/_comment.html.haml +6 -0
- data/app/views/comments/_form.html.haml +4 -0
- data/app/views/comments/create.js.coffee +7 -0
- data/app/views/devise/confirmations/new.html.erb +12 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.erb +16 -0
- data/app/views/devise/passwords/new.html.erb +12 -0
- data/app/views/devise/registrations/edit.html.erb +29 -0
- data/app/views/devise/registrations/new.html.erb +18 -0
- data/app/views/devise/sessions/new.html.erb +17 -0
- data/app/views/devise/shared/_links.erb +25 -0
- data/app/views/devise/unlocks/new.html.erb +12 -0
- data/app/views/home/index.html.haml +4 -0
- data/app/views/layouts/_activity_wrapper.html.haml +17 -0
- data/app/views/layouts/_nav_header.html.haml +26 -0
- data/app/views/layouts/_spaces.html.haml +34 -0
- data/app/views/layouts/application.html.haml +39 -0
- data/app/views/layouts/minimal.html.haml +22 -0
- data/app/views/projects/index.html.haml +16 -0
- data/app/views/projects/new.html.haml +6 -0
- data/app/views/public_activity/ticket/_assignment.html.haml +14 -0
- data/app/views/public_activity/ticket/_create_comment.html.haml +10 -0
- data/app/views/public_activity/ticket/_created.html.haml +3 -0
- data/app/views/public_activity/ticket/_reorder.html.haml +2 -0
- data/app/views/public_activity/ticket/_state_change.html.haml +2 -0
- data/app/views/public_activity/ticket/_update_details.html.haml +13 -0
- data/app/views/tickets/_activity.html.haml +3 -0
- data/app/views/tickets/_breadcrumb.html.haml +7 -0
- data/app/views/tickets/_bug_form.html.haml +1 -0
- data/app/views/tickets/_events_dropdown.html.haml +4 -0
- data/app/views/tickets/_form.html.haml +28 -0
- data/app/views/tickets/_project_form.html.haml +1 -0
- data/app/views/tickets/_story_form.html.haml +15 -0
- data/app/views/tickets/_task_form.html.haml +8 -0
- data/app/views/tickets/_tickets_listing.html.haml +5 -0
- data/app/views/tickets/_title_and_description.html.haml +8 -0
- data/app/views/tickets/_tree_node.html.haml +28 -0
- data/app/views/tickets/assignment.js.coffee +3 -0
- data/app/views/tickets/create.js.coffee +7 -0
- data/app/views/tickets/new.html.haml +1 -0
- data/app/views/tickets/show.html.haml +64 -0
- data/app/views/tickets/trigger_event.js.coffee +12 -0
- data/app/views/tickets/update.js.coffee +12 -0
- data/app/views/wiki/pages/_attachment.html.haml +5 -0
- data/app/views/wiki/pages/_attachments.html.haml +22 -0
- data/app/views/wiki/pages/_breadcrumb.html.haml +9 -0
- data/app/views/wiki/pages/_child_menu.html.haml +9 -0
- data/app/views/wiki/pages/_display.html.haml +138 -0
- data/app/views/wiki/pages/_page_header.html.haml +13 -0
- data/app/views/wiki/pages/_subpages_dropdown.html.haml +6 -0
- data/app/views/wiki/pages/_subtree.html.haml +7 -0
- data/app/views/wiki/pages/_tree_node.html.haml +21 -0
- data/app/views/wiki/pages/attach.js.coffee +2 -0
- data/app/views/wiki/pages/combined.html.haml +8 -0
- data/app/views/wiki/pages/create.js.coffee +5 -0
- data/app/views/wiki/pages/edit.html.haml +2 -0
- data/app/views/wiki/pages/history.html.haml +13 -0
- data/app/views/wiki/pages/index.html.haml +2 -0
- data/app/views/wiki/pages/new.html.haml +13 -0
- data/app/views/wiki/pages/show.html.haml +14 -0
- data/app/views/wiki/pages/update.html.haml +2 -0
- data/app/views/wiki/spaces/_page_list_item.html.haml +11 -0
- data/app/views/wiki/spaces/_space_list.html.haml +4 -0
- data/app/views/wiki/spaces/new.html.haml +5 -0
- data/app/views/wiki/spaces/space_list.html.haml +1 -0
- data/bin/bundle +3 -0
- data/bin/rails +4 -0
- data/bin/rake +4 -0
- data/config/application.rb +30 -0
- data/config/boot.rb +4 -0
- data/config/database.yml +39 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +35 -0
- data/config/environments/production.rb +80 -0
- data/config/environments/test.rb +36 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/config.rb +4 -0
- data/config/initializers/devise.rb +257 -0
- data/config/initializers/elasticsearch.rb +9 -0
- data/config/initializers/filter_parameter_logging.rb +4 -0
- data/config/initializers/gollum.rb +31 -0
- data/config/initializers/haml_gfm.rb +66 -0
- data/config/initializers/inflections.rb +16 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/secret_token.rb +12 -0
- data/config/initializers/session_store.rb +3 -0
- data/config/initializers/simple_form.rb +145 -0
- data/config/initializers/simple_form_bootstrap.rb +73 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/devise.en.yml +59 -0
- data/config/locales/en.yml +23 -0
- data/config/locales/simple_form.en.yml +26 -0
- data/config/routes.rb +101 -0
- data/config/tinymce.yml +10 -0
- data/config.ru +4 -0
- data/db/migrate/20131209041251_create_tickets.rb +13 -0
- data/db/migrate/20131210041050_devise_create_users.rb +42 -0
- data/db/migrate/20131210043014_add_username_to_users.rb +5 -0
- data/db/migrate/20131210045348_add_creator_to_ticket.rb +5 -0
- data/db/migrate/20131211034104_create_comments.rb +11 -0
- data/db/migrate/20131212073014_create_assignments.rb +12 -0
- data/db/migrate/20131215220825_add_position_to_ticket.rb +5 -0
- data/db/migrate/20131216044331_create_story_details.rb +12 -0
- data/db/migrate/20131218060557_create_activities.rb +23 -0
- data/db/migrate/20140109235844_create_pages.rb +14 -0
- data/db/migrate/20140112004346_create_attachments.rb +13 -0
- data/db/migrate/20140120030547_add_name_to_users.rb +5 -0
- data/db/schema.rb +125 -0
- data/db/seeds.rb +7 -0
- data/init.rb +1 -0
- data/lib/assets/.keep +0 -0
- data/lib/tasks/.keep +0 -0
- data/lib/tawork/engine.rb +13 -0
- data/lib/tawork/version.rb +3 -0
- data/lib/tawork.rb +4 -0
- data/lib/templates/haml/scaffold/_form.html.haml +10 -0
- data/lib/ticket_assignment.rb +25 -0
- data/log/.keep +0 -0
- data/public/401.html +57 -0
- data/public/404.html +58 -0
- data/public/422.html +58 -0
- data/public/500.html +57 -0
- data/public/favicon.ico +0 -0
- data/public/robots.txt +5 -0
- data/tags +279 -0
- data/tawork.gemspec +24 -0
- data/vendor/.DS_Store +0 -0
- data/vendor/assets/.DS_Store +0 -0
- data/vendor/assets/javascripts/.keep +0 -0
- data/vendor/assets/javascripts/bootstrap-tagsinput.js +503 -0
- data/vendor/assets/javascripts/bootstrap-tree.js +15 -0
- data/vendor/assets/javascripts/bootstrap-typeahead.js +335 -0
- data/vendor/assets/javascripts/hallo.js +2949 -0
- data/vendor/assets/javascripts/highlight.pack.js +1 -0
- data/vendor/assets/javascripts/jquery.autosize.js +250 -0
- data/vendor/assets/javascripts/jquery.mjs.nestedSortable.js +613 -0
- data/vendor/assets/javascripts/rangy-core.js +94 -0
- data/vendor/assets/javascripts/tinymce/mention/plugin.js +358 -0
- data/vendor/assets/stylesheets/.keep +0 -0
- data/vendor/assets/stylesheets/bootflat-extensions.css +356 -0
- data/vendor/assets/stylesheets/bootflat-square.css +69 -0
- data/vendor/assets/stylesheets/bootflat.css +1556 -0
- data/vendor/assets/stylesheets/bootstrap-tagsinput.css +45 -0
- data/vendor/assets/stylesheets/bootstrap-tree.sass +82 -0
- data/vendor/assets/stylesheets/highlight/arta.css +160 -0
- data/vendor/assets/stylesheets/highlight/ascetic.css +50 -0
- data/vendor/assets/stylesheets/highlight/brown_paper.css +105 -0
- data/vendor/assets/stylesheets/highlight/brown_papersq.png +0 -0
- data/vendor/assets/stylesheets/highlight/dark.css +105 -0
- data/vendor/assets/stylesheets/highlight/default.css +153 -0
- data/vendor/assets/stylesheets/highlight/docco.css +132 -0
- data/vendor/assets/stylesheets/highlight/far.css +113 -0
- data/vendor/assets/stylesheets/highlight/foundation.css +133 -0
- data/vendor/assets/stylesheets/highlight/github.css +130 -0
- data/vendor/assets/stylesheets/highlight/googlecode.css +146 -0
- data/vendor/assets/stylesheets/highlight/idea.css +122 -0
- data/vendor/assets/stylesheets/highlight/ir_black.css +105 -0
- data/vendor/assets/stylesheets/highlight/magula.css +123 -0
- data/vendor/assets/stylesheets/highlight/mono-blue.css +62 -0
- data/vendor/assets/stylesheets/highlight/monokai.css +127 -0
- data/vendor/assets/stylesheets/highlight/monokai_sublime.css +102 -0
- data/vendor/assets/stylesheets/highlight/obsidian.css +154 -0
- data/vendor/assets/stylesheets/highlight/pojoaque.css +105 -0
- data/vendor/assets/stylesheets/highlight/pojoaque.jpg +0 -0
- data/vendor/assets/stylesheets/highlight/railscasts.css +182 -0
- data/vendor/assets/stylesheets/highlight/rainbow.css +115 -0
- data/vendor/assets/stylesheets/highlight/school_book.css +113 -0
- data/vendor/assets/stylesheets/highlight/school_book.png +0 -0
- data/vendor/assets/stylesheets/highlight/solarized_dark.css +92 -0
- data/vendor/assets/stylesheets/highlight/solarized_light.css +92 -0
- data/vendor/assets/stylesheets/highlight/sunburst.css +160 -0
- data/vendor/assets/stylesheets/highlight/tomorrow-night-blue.css +52 -0
- data/vendor/assets/stylesheets/highlight/tomorrow-night-bright.css +51 -0
- data/vendor/assets/stylesheets/highlight/tomorrow-night-eighties.css +51 -0
- data/vendor/assets/stylesheets/highlight/tomorrow-night.css +52 -0
- data/vendor/assets/stylesheets/highlight/tomorrow.css +49 -0
- data/vendor/assets/stylesheets/highlight/vs.css +89 -0
- data/vendor/assets/stylesheets/highlight/xcode.css +157 -0
- data/vendor/assets/stylesheets/highlight/zenburn.css +117 -0
- metadata +299 -0
@@ -0,0 +1,154 @@
|
|
1
|
+
/**
|
2
|
+
* Obsidian style
|
3
|
+
* ported by Alexander Marenin (http://github.com/ioncreature)
|
4
|
+
*/
|
5
|
+
|
6
|
+
pre code {
|
7
|
+
display: block; padding: 0.5em;
|
8
|
+
background: #282B2E;
|
9
|
+
}
|
10
|
+
|
11
|
+
pre .keyword,
|
12
|
+
pre .literal,
|
13
|
+
pre .change,
|
14
|
+
pre .winutils,
|
15
|
+
pre .flow,
|
16
|
+
pre .lisp .title,
|
17
|
+
pre .clojure .built_in,
|
18
|
+
pre .nginx .title,
|
19
|
+
pre .css .id,
|
20
|
+
pre .tex .special {
|
21
|
+
color: #93C763;
|
22
|
+
}
|
23
|
+
|
24
|
+
pre .number {
|
25
|
+
color: #FFCD22;
|
26
|
+
}
|
27
|
+
|
28
|
+
pre code {
|
29
|
+
color: #E0E2E4;
|
30
|
+
}
|
31
|
+
|
32
|
+
pre .css .tag,
|
33
|
+
pre .css .pseudo {
|
34
|
+
color: #D0D2B5;
|
35
|
+
}
|
36
|
+
|
37
|
+
pre .attribute,
|
38
|
+
pre code .constant {
|
39
|
+
color: #668BB0;
|
40
|
+
}
|
41
|
+
|
42
|
+
pre .xml .attribute {
|
43
|
+
color: #B3B689;
|
44
|
+
}
|
45
|
+
|
46
|
+
pre .xml .tag .value {
|
47
|
+
color: #E8E2B7;
|
48
|
+
}
|
49
|
+
|
50
|
+
pre .code,
|
51
|
+
pre .class .title,
|
52
|
+
pre .header {
|
53
|
+
color: white;
|
54
|
+
}
|
55
|
+
|
56
|
+
pre .class,
|
57
|
+
pre .hexcolor {
|
58
|
+
color: #93C763;
|
59
|
+
}
|
60
|
+
|
61
|
+
pre .regexp {
|
62
|
+
color: #D39745;
|
63
|
+
}
|
64
|
+
|
65
|
+
pre .at_rule,
|
66
|
+
pre .at_rule .keyword {
|
67
|
+
color: #A082BD;
|
68
|
+
}
|
69
|
+
|
70
|
+
pre .doctype {
|
71
|
+
color: #557182;
|
72
|
+
}
|
73
|
+
|
74
|
+
pre .link_url,
|
75
|
+
pre .tag,
|
76
|
+
pre .tag .title,
|
77
|
+
pre .bullet,
|
78
|
+
pre .subst,
|
79
|
+
pre .emphasis,
|
80
|
+
pre .haskell .type,
|
81
|
+
pre .preprocessor,
|
82
|
+
pre .pragma,
|
83
|
+
pre .ruby .class .parent,
|
84
|
+
pre .built_in,
|
85
|
+
pre .sql .aggregate,
|
86
|
+
pre .django .template_tag,
|
87
|
+
pre .django .variable,
|
88
|
+
pre .smalltalk .class,
|
89
|
+
pre .javadoc,
|
90
|
+
pre .django .filter .argument,
|
91
|
+
pre .smalltalk .localvars,
|
92
|
+
pre .smalltalk .array,
|
93
|
+
pre .attr_selector,
|
94
|
+
pre .pseudo,
|
95
|
+
pre .addition,
|
96
|
+
pre .stream,
|
97
|
+
pre .envvar,
|
98
|
+
pre .apache .tag,
|
99
|
+
pre .apache .cbracket,
|
100
|
+
pre .tex .command,
|
101
|
+
pre .prompt {
|
102
|
+
color: #8CBBAD;
|
103
|
+
}
|
104
|
+
|
105
|
+
pre .string {
|
106
|
+
color: #EC7600;
|
107
|
+
}
|
108
|
+
|
109
|
+
pre .comment,
|
110
|
+
pre .java .annotation,
|
111
|
+
pre .blockquote,
|
112
|
+
pre .horizontal_rule,
|
113
|
+
pre .python .decorator,
|
114
|
+
pre .template_comment,
|
115
|
+
pre .pi,
|
116
|
+
pre .deletion,
|
117
|
+
pre .shebang,
|
118
|
+
pre .apache .sqbracket,
|
119
|
+
pre .tex .formula {
|
120
|
+
color: #818E96;
|
121
|
+
}
|
122
|
+
|
123
|
+
pre .keyword,
|
124
|
+
pre .literal,
|
125
|
+
pre .css .id,
|
126
|
+
pre .phpdoc,
|
127
|
+
pre .title,
|
128
|
+
pre .header,
|
129
|
+
pre .haskell .type,
|
130
|
+
pre .vbscript .built_in,
|
131
|
+
pre .sql .aggregate,
|
132
|
+
pre .rsl .built_in,
|
133
|
+
pre .smalltalk .class,
|
134
|
+
pre .diff .header,
|
135
|
+
pre .chunk,
|
136
|
+
pre .winutils,
|
137
|
+
pre .bash .variable,
|
138
|
+
pre .apache .tag,
|
139
|
+
pre .tex .special,
|
140
|
+
pre .request,
|
141
|
+
pre .at_rule .keyword,
|
142
|
+
pre .status {
|
143
|
+
font-weight: bold;
|
144
|
+
}
|
145
|
+
|
146
|
+
pre .coffeescript .javascript,
|
147
|
+
pre .javascript .xml,
|
148
|
+
pre .tex .formula,
|
149
|
+
pre .xml .javascript,
|
150
|
+
pre .xml .vbscript,
|
151
|
+
pre .xml .css,
|
152
|
+
pre .xml .cdata {
|
153
|
+
opacity: 0.5;
|
154
|
+
}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Pojoaque Style by Jason Tate
|
4
|
+
http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html
|
5
|
+
Based on Solarized Style from http://ethanschoonover.com/solarized
|
6
|
+
|
7
|
+
*/
|
8
|
+
|
9
|
+
pre code {
|
10
|
+
display: block; padding: 0.5em;
|
11
|
+
color: #DCCF8F;
|
12
|
+
background: url(./pojoaque.jpg) repeat scroll left top #181914;
|
13
|
+
}
|
14
|
+
|
15
|
+
pre .comment,
|
16
|
+
pre .template_comment,
|
17
|
+
pre .diff .header,
|
18
|
+
pre .doctype,
|
19
|
+
pre .lisp .string,
|
20
|
+
pre .javadoc {
|
21
|
+
color: #586e75;
|
22
|
+
font-style: italic;
|
23
|
+
}
|
24
|
+
|
25
|
+
pre .keyword,
|
26
|
+
pre .css .rule .keyword,
|
27
|
+
pre .winutils,
|
28
|
+
pre .javascript .title,
|
29
|
+
pre .method,
|
30
|
+
pre .addition,
|
31
|
+
pre .css .tag,
|
32
|
+
pre .clojure .title,
|
33
|
+
pre .nginx .title {
|
34
|
+
color: #B64926;
|
35
|
+
}
|
36
|
+
|
37
|
+
pre .number,
|
38
|
+
pre .command,
|
39
|
+
pre .string,
|
40
|
+
pre .tag .value,
|
41
|
+
pre .phpdoc,
|
42
|
+
pre .tex .formula,
|
43
|
+
pre .regexp,
|
44
|
+
pre .hexcolor {
|
45
|
+
color: #468966;
|
46
|
+
}
|
47
|
+
|
48
|
+
pre .title,
|
49
|
+
pre .localvars,
|
50
|
+
pre .function .title,
|
51
|
+
pre .chunk,
|
52
|
+
pre .decorator,
|
53
|
+
pre .built_in,
|
54
|
+
pre .lisp .title,
|
55
|
+
pre .clojure .built_in,
|
56
|
+
pre .identifier,
|
57
|
+
pre .id {
|
58
|
+
color: #FFB03B;
|
59
|
+
}
|
60
|
+
|
61
|
+
pre .attribute,
|
62
|
+
pre .variable,
|
63
|
+
pre .lisp .body,
|
64
|
+
pre .smalltalk .number,
|
65
|
+
pre .constant,
|
66
|
+
pre .class .title,
|
67
|
+
pre .parent,
|
68
|
+
pre .haskell .type {
|
69
|
+
color: #b58900;
|
70
|
+
}
|
71
|
+
|
72
|
+
pre .css .attribute {
|
73
|
+
color: #b89859;
|
74
|
+
}
|
75
|
+
|
76
|
+
pre .css .number,pre .css .hexcolor{
|
77
|
+
color: #DCCF8F;
|
78
|
+
}
|
79
|
+
|
80
|
+
pre .css .class {
|
81
|
+
color: #d3a60c;
|
82
|
+
}
|
83
|
+
|
84
|
+
pre .preprocessor,
|
85
|
+
pre .pragma,
|
86
|
+
pre .pi,
|
87
|
+
pre .shebang,
|
88
|
+
pre .symbol,
|
89
|
+
pre .symbol .string,
|
90
|
+
pre .diff .change,
|
91
|
+
pre .special,
|
92
|
+
pre .attr_selector,
|
93
|
+
pre .important,
|
94
|
+
pre .subst,
|
95
|
+
pre .cdata {
|
96
|
+
color: #cb4b16;
|
97
|
+
}
|
98
|
+
|
99
|
+
pre .deletion {
|
100
|
+
color: #dc322f;
|
101
|
+
}
|
102
|
+
|
103
|
+
pre .tex .formula {
|
104
|
+
background: #073642;
|
105
|
+
}
|
Binary file
|
@@ -0,0 +1,182 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Railscasts-like style (c) Visoft, Inc. (Damien White)
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block;
|
9
|
+
padding: 0.5em;
|
10
|
+
background: #232323;
|
11
|
+
color: #E6E1DC;
|
12
|
+
}
|
13
|
+
|
14
|
+
pre .comment,
|
15
|
+
pre .template_comment,
|
16
|
+
pre .javadoc,
|
17
|
+
pre .shebang {
|
18
|
+
color: #BC9458;
|
19
|
+
font-style: italic;
|
20
|
+
}
|
21
|
+
|
22
|
+
pre .keyword,
|
23
|
+
pre .ruby .function .keyword,
|
24
|
+
pre .request,
|
25
|
+
pre .status,
|
26
|
+
pre .nginx .title,
|
27
|
+
pre .method,
|
28
|
+
pre .list .title {
|
29
|
+
color: #C26230;
|
30
|
+
}
|
31
|
+
|
32
|
+
pre .string,
|
33
|
+
pre .number,
|
34
|
+
pre .regexp,
|
35
|
+
pre .tag .value,
|
36
|
+
pre .cdata,
|
37
|
+
pre .filter .argument,
|
38
|
+
pre .attr_selector,
|
39
|
+
pre .apache .cbracket,
|
40
|
+
pre .date,
|
41
|
+
pre .tex .command,
|
42
|
+
pre .markdown .link_label {
|
43
|
+
color: #A5C261;
|
44
|
+
}
|
45
|
+
|
46
|
+
pre .subst {
|
47
|
+
color: #519F50;
|
48
|
+
}
|
49
|
+
|
50
|
+
pre .tag,
|
51
|
+
pre .tag .keyword,
|
52
|
+
pre .tag .title,
|
53
|
+
pre .doctype,
|
54
|
+
pre .sub .identifier,
|
55
|
+
pre .pi,
|
56
|
+
pre .input_number {
|
57
|
+
color: #E8BF6A;
|
58
|
+
}
|
59
|
+
|
60
|
+
pre .identifier {
|
61
|
+
color: #D0D0FF;
|
62
|
+
}
|
63
|
+
|
64
|
+
pre .class .title,
|
65
|
+
pre .haskell .type,
|
66
|
+
pre .smalltalk .class,
|
67
|
+
pre .javadoctag,
|
68
|
+
pre .yardoctag,
|
69
|
+
pre .phpdoc {
|
70
|
+
text-decoration: none;
|
71
|
+
}
|
72
|
+
|
73
|
+
pre .constant {
|
74
|
+
color: #DA4939;
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
pre .symbol,
|
79
|
+
pre .built_in,
|
80
|
+
pre .ruby .symbol .string,
|
81
|
+
pre .ruby .symbol .identifier,
|
82
|
+
pre .markdown .link_url,
|
83
|
+
pre .attribute {
|
84
|
+
color: #6D9CBE;
|
85
|
+
}
|
86
|
+
|
87
|
+
pre .markdown .link_url {
|
88
|
+
text-decoration: underline;
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
pre .params,
|
94
|
+
pre .variable,
|
95
|
+
pre .clojure .attribute {
|
96
|
+
color: #D0D0FF;
|
97
|
+
}
|
98
|
+
|
99
|
+
pre .css .tag,
|
100
|
+
pre .rules .property,
|
101
|
+
pre .pseudo,
|
102
|
+
pre .tex .special {
|
103
|
+
color: #CDA869;
|
104
|
+
}
|
105
|
+
|
106
|
+
pre .css .class {
|
107
|
+
color: #9B703F;
|
108
|
+
}
|
109
|
+
|
110
|
+
pre .rules .keyword {
|
111
|
+
color: #C5AF75;
|
112
|
+
}
|
113
|
+
|
114
|
+
pre .rules .value {
|
115
|
+
color: #CF6A4C;
|
116
|
+
}
|
117
|
+
|
118
|
+
pre .css .id {
|
119
|
+
color: #8B98AB;
|
120
|
+
}
|
121
|
+
|
122
|
+
pre .annotation,
|
123
|
+
pre .apache .sqbracket,
|
124
|
+
pre .nginx .built_in {
|
125
|
+
color: #9B859D;
|
126
|
+
}
|
127
|
+
|
128
|
+
pre .preprocessor,
|
129
|
+
pre .preprocessor *
|
130
|
+
pre .pragma {
|
131
|
+
color: #8996A8 !important;
|
132
|
+
}
|
133
|
+
|
134
|
+
pre .hexcolor,
|
135
|
+
pre .css .value .number {
|
136
|
+
color: #A5C261;
|
137
|
+
}
|
138
|
+
|
139
|
+
pre .title,
|
140
|
+
pre .decorator,
|
141
|
+
pre .css .function {
|
142
|
+
color: #FFC66D;
|
143
|
+
}
|
144
|
+
|
145
|
+
pre .diff .header,
|
146
|
+
pre .chunk {
|
147
|
+
background-color: #2F33AB;
|
148
|
+
color: #E6E1DC;
|
149
|
+
display: inline-block;
|
150
|
+
width: 100%;
|
151
|
+
}
|
152
|
+
|
153
|
+
pre .diff .change {
|
154
|
+
background-color: #4A410D;
|
155
|
+
color: #F8F8F8;
|
156
|
+
display: inline-block;
|
157
|
+
width: 100%;
|
158
|
+
}
|
159
|
+
|
160
|
+
pre .addition {
|
161
|
+
background-color: #144212;
|
162
|
+
color: #E6E1DC;
|
163
|
+
display: inline-block;
|
164
|
+
width: 100%;
|
165
|
+
}
|
166
|
+
|
167
|
+
pre .deletion {
|
168
|
+
background-color: #600;
|
169
|
+
color: #E6E1DC;
|
170
|
+
display: inline-block;
|
171
|
+
width: 100%;
|
172
|
+
}
|
173
|
+
|
174
|
+
pre .coffeescript .javascript,
|
175
|
+
pre .javascript .xml,
|
176
|
+
pre .tex .formula,
|
177
|
+
pre .xml .javascript,
|
178
|
+
pre .xml .vbscript,
|
179
|
+
pre .xml .css,
|
180
|
+
pre .xml .cdata {
|
181
|
+
opacity: 0.7;
|
182
|
+
}
|
@@ -0,0 +1,115 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Style with support for rainbow parens
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre ::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
|
8
|
+
pre ::selection { background:#FF5E99; color:#fff; text-shadow: none; }
|
9
|
+
|
10
|
+
pre code {
|
11
|
+
display: block; padding: 0.5em;
|
12
|
+
background: #474949; color: #D1D9E1;
|
13
|
+
}
|
14
|
+
|
15
|
+
|
16
|
+
pre .body,
|
17
|
+
pre .collection {
|
18
|
+
color: #D1D9E1;
|
19
|
+
}
|
20
|
+
|
21
|
+
pre .comment,
|
22
|
+
pre .template_comment,
|
23
|
+
pre .diff .header,
|
24
|
+
pre .doctype,
|
25
|
+
pre .lisp .string,
|
26
|
+
pre .javadoc {
|
27
|
+
color: #969896;
|
28
|
+
font-style: italic;
|
29
|
+
}
|
30
|
+
|
31
|
+
pre .keyword,
|
32
|
+
pre .clojure .attribute,
|
33
|
+
pre .winutils,
|
34
|
+
pre .javascript .title,
|
35
|
+
pre .addition,
|
36
|
+
pre .css .tag {
|
37
|
+
color: #cc99cc;
|
38
|
+
}
|
39
|
+
|
40
|
+
pre .number { color: #f99157; }
|
41
|
+
|
42
|
+
pre .command,
|
43
|
+
pre .string,
|
44
|
+
pre .tag .value,
|
45
|
+
pre .phpdoc,
|
46
|
+
pre .tex .formula,
|
47
|
+
pre .regexp,
|
48
|
+
pre .hexcolor {
|
49
|
+
color: #8abeb7;
|
50
|
+
}
|
51
|
+
|
52
|
+
pre .title,
|
53
|
+
pre .localvars,
|
54
|
+
pre .function .title,
|
55
|
+
pre .chunk,
|
56
|
+
pre .decorator,
|
57
|
+
pre .built_in,
|
58
|
+
pre .lisp .title,
|
59
|
+
pre .identifier
|
60
|
+
{
|
61
|
+
color: #b5bd68;
|
62
|
+
}
|
63
|
+
|
64
|
+
pre .class .keyword
|
65
|
+
{
|
66
|
+
color: #f2777a;
|
67
|
+
}
|
68
|
+
|
69
|
+
pre .variable,
|
70
|
+
pre .lisp .body,
|
71
|
+
pre .smalltalk .number,
|
72
|
+
pre .constant,
|
73
|
+
pre .class .title,
|
74
|
+
pre .parent,
|
75
|
+
pre .haskell .label,
|
76
|
+
pre .id,
|
77
|
+
pre .lisp .title,
|
78
|
+
pre .clojure .title .built_in {
|
79
|
+
color: #ffcc66;
|
80
|
+
}
|
81
|
+
|
82
|
+
pre .tag .title,
|
83
|
+
pre .rules .property,
|
84
|
+
pre .django .tag .keyword,
|
85
|
+
pre .clojure .title .built_in {
|
86
|
+
font-weight: bold;
|
87
|
+
}
|
88
|
+
|
89
|
+
pre .attribute,
|
90
|
+
pre .clojure .title {
|
91
|
+
color: #81a2be;
|
92
|
+
}
|
93
|
+
|
94
|
+
pre .preprocessor,
|
95
|
+
pre .pragma,
|
96
|
+
pre .pi,
|
97
|
+
pre .shebang,
|
98
|
+
pre .symbol,
|
99
|
+
pre .symbol .string,
|
100
|
+
pre .diff .change,
|
101
|
+
pre .special,
|
102
|
+
pre .attr_selector,
|
103
|
+
pre .important,
|
104
|
+
pre .subst,
|
105
|
+
pre .cdata {
|
106
|
+
color: #f99157;
|
107
|
+
}
|
108
|
+
|
109
|
+
pre .deletion {
|
110
|
+
color: #dc322f;
|
111
|
+
}
|
112
|
+
|
113
|
+
pre .tex .formula {
|
114
|
+
background: #eee8d5;
|
115
|
+
}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
School Book style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 15px 0.5em 0.5em 30px;
|
9
|
+
font-size: 11px !important;
|
10
|
+
line-height:16px !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
pre{
|
14
|
+
background:#f6f6ae url(./school_book.png);
|
15
|
+
border-top: solid 2px #d2e8b9;
|
16
|
+
border-bottom: solid 1px #d2e8b9;
|
17
|
+
}
|
18
|
+
|
19
|
+
pre .keyword,
|
20
|
+
pre .literal,
|
21
|
+
pre .change,
|
22
|
+
pre .winutils,
|
23
|
+
pre .flow,
|
24
|
+
pre .lisp .title,
|
25
|
+
pre .clojure .built_in,
|
26
|
+
pre .nginx .title,
|
27
|
+
pre .tex .special {
|
28
|
+
color:#005599;
|
29
|
+
font-weight:bold;
|
30
|
+
}
|
31
|
+
|
32
|
+
pre code,
|
33
|
+
pre .subst,
|
34
|
+
pre .tag .keyword {
|
35
|
+
color: #3E5915;
|
36
|
+
}
|
37
|
+
|
38
|
+
pre .string,
|
39
|
+
pre .title,
|
40
|
+
pre .haskell .type,
|
41
|
+
pre .tag .value,
|
42
|
+
pre .css .rules .value,
|
43
|
+
pre .preprocessor,
|
44
|
+
pre .pragma,
|
45
|
+
pre .ruby .symbol,
|
46
|
+
pre .ruby .symbol .string,
|
47
|
+
pre .ruby .class .parent,
|
48
|
+
pre .built_in,
|
49
|
+
pre .sql .aggregate,
|
50
|
+
pre .django .template_tag,
|
51
|
+
pre .django .variable,
|
52
|
+
pre .smalltalk .class,
|
53
|
+
pre .javadoc,
|
54
|
+
pre .ruby .string,
|
55
|
+
pre .django .filter .argument,
|
56
|
+
pre .smalltalk .localvars,
|
57
|
+
pre .smalltalk .array,
|
58
|
+
pre .attr_selector,
|
59
|
+
pre .pseudo,
|
60
|
+
pre .addition,
|
61
|
+
pre .stream,
|
62
|
+
pre .envvar,
|
63
|
+
pre .apache .tag,
|
64
|
+
pre .apache .cbracket,
|
65
|
+
pre .nginx .built_in,
|
66
|
+
pre .tex .command,
|
67
|
+
pre .coffeescript .attribute {
|
68
|
+
color: #2C009F;
|
69
|
+
}
|
70
|
+
|
71
|
+
pre .comment,
|
72
|
+
pre .java .annotation,
|
73
|
+
pre .python .decorator,
|
74
|
+
pre .template_comment,
|
75
|
+
pre .pi,
|
76
|
+
pre .doctype,
|
77
|
+
pre .deletion,
|
78
|
+
pre .shebang,
|
79
|
+
pre .apache .sqbracket {
|
80
|
+
color: #E60415;
|
81
|
+
}
|
82
|
+
|
83
|
+
pre .keyword,
|
84
|
+
pre .literal,
|
85
|
+
pre .css .id,
|
86
|
+
pre .phpdoc,
|
87
|
+
pre .title,
|
88
|
+
pre .haskell .type,
|
89
|
+
pre .vbscript .built_in,
|
90
|
+
pre .sql .aggregate,
|
91
|
+
pre .rsl .built_in,
|
92
|
+
pre .smalltalk .class,
|
93
|
+
pre .xml .tag .title,
|
94
|
+
pre .diff .header,
|
95
|
+
pre .chunk,
|
96
|
+
pre .winutils,
|
97
|
+
pre .bash .variable,
|
98
|
+
pre .apache .tag,
|
99
|
+
pre .tex .command,
|
100
|
+
pre .request,
|
101
|
+
pre .status {
|
102
|
+
font-weight: bold;
|
103
|
+
}
|
104
|
+
|
105
|
+
pre .coffeescript .javascript,
|
106
|
+
pre .javascript .xml,
|
107
|
+
pre .tex .formula,
|
108
|
+
pre .xml .javascript,
|
109
|
+
pre .xml .vbscript,
|
110
|
+
pre .xml .css,
|
111
|
+
pre .xml .cdata {
|
112
|
+
opacity: 0.5;
|
113
|
+
}
|
Binary file
|