compass-theme 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/LICENSE.markdown +29 -0
- data/README.markdown +2 -0
- data/Rakefile +1 -0
- data/compass-theme.gemspec +26 -0
- data/lib/compass-theme.rb +10 -0
- data/lib/compass-theme/fonts/examples/bgrove.otf +0 -0
- data/lib/compass-theme/fonts/examples/bgrove.ttf +0 -0
- data/lib/compass-theme/fonts/museosans-web.eot +0 -0
- data/lib/compass-theme/fonts/museosans-web.svg +241 -0
- data/lib/compass-theme/fonts/museosans-web.ttf +0 -0
- data/lib/compass-theme/fonts/museosans-web.woff +0 -0
- data/lib/compass-theme/images/bg-light.jpg +0 -0
- data/lib/compass-theme/images/compass-logo-small-dark.png +0 -0
- data/lib/compass-theme/images/compass-logo-small-light.png +0 -0
- data/lib/compass-theme/images/compass-logo.png +0 -0
- data/lib/compass-theme/images/compass.app.png +0 -0
- data/lib/compass-theme/images/compass.png +0 -0
- data/lib/compass-theme/images/compass_icon.png +0 -0
- data/lib/compass-theme/images/examples/css3/bg-origin/bg.png +0 -0
- data/lib/compass-theme/images/sites/addons.heroku.jpg +0 -0
- data/lib/compass-theme/images/sites/busyconf.jpg +0 -0
- data/lib/compass-theme/images/sites/caring.jpg +0 -0
- data/lib/compass-theme/images/sites/cofamilies.jpg +0 -0
- data/lib/compass-theme/images/sites/cornell.jpg +0 -0
- data/lib/compass-theme/images/sites/dailymile.jpg +0 -0
- data/lib/compass-theme/images/sites/hubblesite.jpg +0 -0
- data/lib/compass-theme/images/sites/jumpstartlab.jpg +0 -0
- data/lib/compass-theme/images/sites/memberhub.jpg +0 -0
- data/lib/compass-theme/images/sites/sencha.jpg +0 -0
- data/lib/compass-theme/railtie.rb +10 -0
- data/lib/compass-theme/stylesheets/core/_base-classes.sass +70 -0
- data/lib/compass-theme/stylesheets/core/_clearing-classes.sass +17 -0
- data/lib/compass-theme/stylesheets/core/_extensions.scss +10 -0
- data/lib/compass-theme/stylesheets/home.scss +17 -0
- data/lib/compass-theme/stylesheets/ie.scss +5 -0
- data/lib/compass-theme/stylesheets/partials/_blog.scss +6 -0
- data/lib/compass-theme/stylesheets/partials/_code.scss +113 -0
- data/lib/compass-theme/stylesheets/partials/_example.scss +29 -0
- data/lib/compass-theme/stylesheets/partials/_home.scss +99 -0
- data/lib/compass-theme/stylesheets/partials/_install.scss +10 -0
- data/lib/compass-theme/stylesheets/partials/_layout.scss +21 -0
- data/lib/compass-theme/stylesheets/partials/_main.scss +63 -0
- data/lib/compass-theme/stylesheets/partials/_nav.scss +96 -0
- data/lib/compass-theme/stylesheets/partials/_sidebar.scss +31 -0
- data/lib/compass-theme/stylesheets/partials/_theme.scss +290 -0
- data/lib/compass-theme/stylesheets/partials/_typography.scss +47 -0
- data/lib/compass-theme/stylesheets/screen.scss +28 -0
- data/lib/compass-theme/stylesheets/syntax/_shCore.scss +216 -0
- data/lib/compass-theme/stylesheets/syntax/_shThemeRDark.scss +113 -0
- data/lib/compass-theme/stylesheets/syntax/_syntax-theme.scss +8 -0
- data/lib/compass-theme/stylesheets/syntax/_theme_template.scss +120 -0
- data/lib/compass-theme/templates/.keep +0 -0
- data/lib/compass-theme/version.rb +5 -0
- metadata +134 -0
@@ -0,0 +1,113 @@
|
|
1
|
+
|
2
|
+
// Dark Theme
|
3
|
+
|
4
|
+
$background: none;
|
5
|
+
|
6
|
+
$line_highlighted_background: #323E41;
|
7
|
+
$line_highlighted_number: #b9bdb6;
|
8
|
+
|
9
|
+
$gutter_text: #afafaf;
|
10
|
+
$gutter_border_color: rgba(#fff, .15);
|
11
|
+
|
12
|
+
$toolbar_collapsed_a: #5ba1cf;
|
13
|
+
$toolbar_collapsed_a_hover: #5ce638;
|
14
|
+
$toolbar_collapsed_background: #000;
|
15
|
+
|
16
|
+
$toolbar_a: #fff;
|
17
|
+
$toolbar_a_hover: #e0e8ff;
|
18
|
+
|
19
|
+
$code_plain: #dadbb1;
|
20
|
+
$code_comments: #878a85;
|
21
|
+
$code_string: #64b041;
|
22
|
+
$code_keyword: #6cc7eb;
|
23
|
+
$code_preprocessor: #cd5c57;
|
24
|
+
$code_variable: $code_keyword;
|
25
|
+
$code_value: #ffa0a0;
|
26
|
+
$code_functions: #3d95e6;
|
27
|
+
$code_constants: #e0e8ff;
|
28
|
+
$code_script: $code_keyword;
|
29
|
+
$code_script_background: none;
|
30
|
+
$code_color1: #b0b76b;
|
31
|
+
$code_color2: #98f77a;
|
32
|
+
$code_color3: #ffaa3e;
|
33
|
+
$code_color4: $code_plain;
|
34
|
+
|
35
|
+
//@import "theme_template.scss";
|
36
|
+
|
37
|
+
// Interface elements.
|
38
|
+
html.dark .syntaxhighlighter {
|
39
|
+
// Actual syntax highlighter colors.
|
40
|
+
.plain, .plain a { color: $code_plain; }
|
41
|
+
.comments, .comments a { color: $code_comments; }
|
42
|
+
.string, .string a { color: $code_string; }
|
43
|
+
.keyword { color: $code_keyword; }
|
44
|
+
.preprocessor { color: $code_preprocessor; }
|
45
|
+
.variable { color: $code_variable; }
|
46
|
+
.value { color: $code_value; }
|
47
|
+
.functions { color: $code_functions; }
|
48
|
+
.constants { color: $code_constants; }
|
49
|
+
.script {
|
50
|
+
font-weight: bold;
|
51
|
+
color: $code_script;
|
52
|
+
background-color: $code_script_background;
|
53
|
+
}
|
54
|
+
.color1, .color1 a { color: $code_color1; }
|
55
|
+
.color2, .color2 a { color: $code_color2; }
|
56
|
+
.color3, .color3 a { color: $code_color3; }
|
57
|
+
.color4, .color4 a { color: $code_color4; }
|
58
|
+
}
|
59
|
+
|
60
|
+
// Light Theme
|
61
|
+
|
62
|
+
$background: none;
|
63
|
+
|
64
|
+
$line_highlighted_background: #c3defe;
|
65
|
+
$line_highlighted_number: #fff;
|
66
|
+
|
67
|
+
$gutter_text: #787878;
|
68
|
+
$gutter_border_color: #d4d0c8;
|
69
|
+
|
70
|
+
$toolbar_collapsed_a: #3f5fbf;
|
71
|
+
$toolbar_collapsed_a_hover: #aa7700;
|
72
|
+
$toolbar_collapsed_background: #fff;
|
73
|
+
|
74
|
+
$toolbar_a: #a0a0a0;
|
75
|
+
$toolbar_a_hover: red;
|
76
|
+
|
77
|
+
$code_plain: black;
|
78
|
+
$code_comments: #3f5fbf;
|
79
|
+
$code_string: #4fa33f;
|
80
|
+
$code_keyword: #7f0055;
|
81
|
+
$code_preprocessor: #006699;
|
82
|
+
$code_variable: #aa7700;
|
83
|
+
$code_value: #4fa33f;
|
84
|
+
$code_functions: #b553ba;
|
85
|
+
$code_constants: #0066cc;
|
86
|
+
$code_color1: gray;
|
87
|
+
$code_color2: #ca6436;
|
88
|
+
$code_color3: red;
|
89
|
+
$code_color4: $code_plain;
|
90
|
+
|
91
|
+
// Interface elements.
|
92
|
+
html.light .syntaxhighlighter {
|
93
|
+
// Actual syntax highlighter colors.
|
94
|
+
.plain, .plain a { color: $code_plain; }
|
95
|
+
.comments, .comments a { color: $code_comments; }
|
96
|
+
.string, .string a { color: $code_string; }
|
97
|
+
.keyword { color: $code_keyword; }
|
98
|
+
.preprocessor { color: $code_preprocessor; }
|
99
|
+
.variable { color: $code_variable; }
|
100
|
+
.value { color: $code_value; }
|
101
|
+
.functions { color: $code_functions; }
|
102
|
+
.constants { color: $code_constants; }
|
103
|
+
.script {
|
104
|
+
font-weight: bold;
|
105
|
+
color: $code_script;
|
106
|
+
background-color: $code_script_background;
|
107
|
+
}
|
108
|
+
.color1, .color1 a { color: $code_color1; }
|
109
|
+
.color2, .color2 a { color: $code_color2; }
|
110
|
+
.color3, .color3 a { color: $code_color3; }
|
111
|
+
.color4, .color4 a { color: $code_color4; }
|
112
|
+
}
|
113
|
+
|
@@ -0,0 +1,120 @@
|
|
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
|
+
|
62
|
+
// Add border to the lines
|
63
|
+
.gutter {
|
64
|
+
color: $gutter_text !important;
|
65
|
+
.line {
|
66
|
+
border-right: $gutter_border !important;
|
67
|
+
|
68
|
+
&.highlighted {
|
69
|
+
background-color: $gutter_border_color !important;
|
70
|
+
color: $background !important;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
&.printing .line .content { border: none !important; }
|
76
|
+
|
77
|
+
&.collapsed {
|
78
|
+
overflow: visible !important;
|
79
|
+
|
80
|
+
.toolbar {
|
81
|
+
color: $toolbar_collapsed_a !important;
|
82
|
+
background: $toolbar_collapsed_background !important;
|
83
|
+
border: $toolbar_collapsed_border !important;
|
84
|
+
|
85
|
+
a {
|
86
|
+
color: $toolbar_collapsed_a !important;
|
87
|
+
&:hover { color: $toolbar_collapsed_a_hover !important; }
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.toolbar {
|
93
|
+
color: $toolbar_a !important;
|
94
|
+
background: $toolbar_background !important;
|
95
|
+
border: $toolbar_border !important;
|
96
|
+
a {
|
97
|
+
color: $toolbar_a !important;
|
98
|
+
&:hover { color: $toolbar_a_hover !important; }
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
// Actual syntax highlighter colors.
|
103
|
+
.plain, .plain a { color: $code_plain !important; }
|
104
|
+
.comments, .comments a { color: $code_comments !important; }
|
105
|
+
.string, .string a { color: $code_string !important; }
|
106
|
+
.keyword { color: $code_keyword !important; }
|
107
|
+
.preprocessor { color: $code_preprocessor !important; }
|
108
|
+
.variable { color: $code_variable !important; }
|
109
|
+
.value { color: $code_value !important; }
|
110
|
+
.functions { color: $code_functions !important; }
|
111
|
+
.constants { color: $code_constants !important; }
|
112
|
+
.script {
|
113
|
+
font-weight: bold !important;
|
114
|
+
color: $code_script !important;
|
115
|
+
background-color: $code_script_background !important;
|
116
|
+
}
|
117
|
+
.color1, .color1 a { color: $code_color1 !important; }
|
118
|
+
.color2, .color2 a { color: $code_color2 !important; }
|
119
|
+
.color3, .color3 a { color: $code_color3 !important; }
|
120
|
+
}
|
File without changes
|
metadata
ADDED
@@ -0,0 +1,134 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: compass-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Scott Davis
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-11-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: compass
|
16
|
+
requirement: &70300243752540 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.11'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70300243752540
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: compass-susy-plugin
|
27
|
+
requirement: &70300243751900 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.7.0
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70300243751900
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: css-slideshow
|
38
|
+
requirement: &70300243751400 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - =
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.2.0
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70300243751400
|
47
|
+
description: Compass Stylesheets for documentation site and extension repo
|
48
|
+
email:
|
49
|
+
- jetviper21@gmail.com
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
54
|
+
- .gitignore
|
55
|
+
- Gemfile
|
56
|
+
- LICENSE.markdown
|
57
|
+
- README.markdown
|
58
|
+
- Rakefile
|
59
|
+
- compass-theme.gemspec
|
60
|
+
- lib/compass-theme.rb
|
61
|
+
- lib/compass-theme/fonts/examples/bgrove.otf
|
62
|
+
- lib/compass-theme/fonts/examples/bgrove.ttf
|
63
|
+
- lib/compass-theme/fonts/museosans-web.eot
|
64
|
+
- lib/compass-theme/fonts/museosans-web.svg
|
65
|
+
- lib/compass-theme/fonts/museosans-web.ttf
|
66
|
+
- lib/compass-theme/fonts/museosans-web.woff
|
67
|
+
- lib/compass-theme/images/bg-light.jpg
|
68
|
+
- lib/compass-theme/images/compass-logo-small-dark.png
|
69
|
+
- lib/compass-theme/images/compass-logo-small-light.png
|
70
|
+
- lib/compass-theme/images/compass-logo.png
|
71
|
+
- lib/compass-theme/images/compass.app.png
|
72
|
+
- lib/compass-theme/images/compass.png
|
73
|
+
- lib/compass-theme/images/compass_icon.png
|
74
|
+
- lib/compass-theme/images/examples/css3/bg-origin/bg.png
|
75
|
+
- lib/compass-theme/images/sites/addons.heroku.jpg
|
76
|
+
- lib/compass-theme/images/sites/busyconf.jpg
|
77
|
+
- lib/compass-theme/images/sites/caring.jpg
|
78
|
+
- lib/compass-theme/images/sites/cofamilies.jpg
|
79
|
+
- lib/compass-theme/images/sites/cornell.jpg
|
80
|
+
- lib/compass-theme/images/sites/dailymile.jpg
|
81
|
+
- lib/compass-theme/images/sites/hubblesite.jpg
|
82
|
+
- lib/compass-theme/images/sites/jumpstartlab.jpg
|
83
|
+
- lib/compass-theme/images/sites/memberhub.jpg
|
84
|
+
- lib/compass-theme/images/sites/sencha.jpg
|
85
|
+
- lib/compass-theme/railtie.rb
|
86
|
+
- lib/compass-theme/stylesheets/core/_base-classes.sass
|
87
|
+
- lib/compass-theme/stylesheets/core/_clearing-classes.sass
|
88
|
+
- lib/compass-theme/stylesheets/core/_extensions.scss
|
89
|
+
- lib/compass-theme/stylesheets/home.scss
|
90
|
+
- lib/compass-theme/stylesheets/ie.scss
|
91
|
+
- lib/compass-theme/stylesheets/partials/_blog.scss
|
92
|
+
- lib/compass-theme/stylesheets/partials/_code.scss
|
93
|
+
- lib/compass-theme/stylesheets/partials/_example.scss
|
94
|
+
- lib/compass-theme/stylesheets/partials/_home.scss
|
95
|
+
- lib/compass-theme/stylesheets/partials/_install.scss
|
96
|
+
- lib/compass-theme/stylesheets/partials/_layout.scss
|
97
|
+
- lib/compass-theme/stylesheets/partials/_main.scss
|
98
|
+
- lib/compass-theme/stylesheets/partials/_nav.scss
|
99
|
+
- lib/compass-theme/stylesheets/partials/_sidebar.scss
|
100
|
+
- lib/compass-theme/stylesheets/partials/_theme.scss
|
101
|
+
- lib/compass-theme/stylesheets/partials/_typography.scss
|
102
|
+
- lib/compass-theme/stylesheets/screen.scss
|
103
|
+
- lib/compass-theme/stylesheets/syntax/_shCore.scss
|
104
|
+
- lib/compass-theme/stylesheets/syntax/_shThemeRDark.scss
|
105
|
+
- lib/compass-theme/stylesheets/syntax/_syntax-theme.scss
|
106
|
+
- lib/compass-theme/stylesheets/syntax/_theme_template.scss
|
107
|
+
- lib/compass-theme/templates/.keep
|
108
|
+
- lib/compass-theme/version.rb
|
109
|
+
homepage: http://compass-style.org
|
110
|
+
licenses: []
|
111
|
+
post_install_message:
|
112
|
+
rdoc_options: []
|
113
|
+
require_paths:
|
114
|
+
- lib
|
115
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ! '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
requirements: []
|
128
|
+
rubyforge_project: compass-theme
|
129
|
+
rubygems_version: 1.8.11
|
130
|
+
signing_key:
|
131
|
+
specification_version: 3
|
132
|
+
summary: Compass Stylesheets for documentation site and extension repo
|
133
|
+
test_files: []
|
134
|
+
has_rdoc:
|