styleus 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/fonts/calluna_license.txt +26 -0
- data/app/assets/fonts/calluna_regular.eot +0 -0
- data/app/assets/fonts/calluna_regular.ttf +0 -0
- data/app/assets/fonts/calluna_regular.woff +0 -0
- data/app/assets/fonts/raphaelicons-webfont.eot +0 -0
- data/app/assets/fonts/raphaelicons-webfont.svg +149 -0
- data/app/assets/fonts/raphaelicons-webfont.ttf +0 -0
- data/app/assets/fonts/raphaelicons-webfont.woff +0 -0
- data/app/assets/fonts/raphaelicons.txt +17 -0
- data/app/assets/images/styleus/themes/base/noise.png +0 -0
- data/app/assets/images/styleus/themes/base/noise_dark.png +0 -0
- data/app/assets/javascripts/modernizr.custom.js +812 -0
- data/app/assets/javascripts/namespace.js.coffee +20 -0
- data/app/assets/javascripts/styleus/base.js.coffee +3 -0
- data/app/assets/javascripts/styleus/behaviors/toggle.js.coffee +12 -0
- data/app/assets/javascripts/styleus.js +15 -0
- data/app/assets/javascripts/styleus_prerender.js +13 -0
- data/app/assets/stylesheets/styleus/themes/base/behaviors/_component.css.scss +11 -0
- data/app/assets/stylesheets/styleus/themes/base/behaviors/_positioning.css.scss +10 -0
- data/app/assets/stylesheets/styleus/themes/base/behaviors/_text.css.scss +10 -0
- data/app/assets/stylesheets/styleus/themes/base/coderay.css.scss +37 -7
- data/app/assets/stylesheets/styleus/themes/base/components/_article.css.scss +21 -23
- data/app/assets/stylesheets/styleus/themes/base/components/_component_index.css.scss +53 -0
- data/app/assets/stylesheets/styleus/themes/base/components/_option_bar.css.scss +31 -0
- data/app/assets/stylesheets/styleus/themes/base/fonts/calluna.css.scss +26 -0
- data/app/assets/stylesheets/styleus/themes/base/fonts/raphael.css.scss +22 -0
- data/app/assets/stylesheets/styleus/themes/base/layout/main.css.scss +36 -4
- data/app/assets/stylesheets/styleus/themes/base/settings/_colors.css.scss +6 -1
- data/app/assets/stylesheets/styleus/themes/base.css.scss +13 -2
- data/app/controllers/components_controller.rb +6 -4
- data/app/helpers/path_helper.rb +8 -0
- data/app/helpers/styleus_helper.rb +51 -24
- data/app/models/styleus/view_component.rb +6 -2
- data/app/views/components/index.html.erb +9 -0
- data/app/views/components/show.html.erb +1 -0
- data/app/views/layouts/_styleus.html.erb +7 -2
- data/config/locales/en.yml +10 -0
- data/config/routes.rb +1 -1
- data/lib/styleus/version.rb +1 -1
- metadata +30 -3
- data/app/assets/stylesheets/styleus/themes/base/components/_representation_helpers.css.scss +0 -24
@@ -1,20 +1,25 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
-
<html>
|
2
|
+
<html class="no-js">
|
3
3
|
<head>
|
4
|
+
<meta charset="utf-8">
|
4
5
|
<title>ComponentGuide</title>
|
5
6
|
<%= stylesheet_link_tag "application", :media => "all" %>
|
6
|
-
<%= javascript_include_tag "application" %>
|
7
7
|
<%= csrf_meta_tags %>
|
8
|
+
<%= javascript_include_tag "styleus_prerender" %>
|
8
9
|
</head>
|
9
10
|
<body>
|
10
11
|
<!-- class __styleus is the styleus context class,
|
11
12
|
providing a minimal css setting. -->
|
12
13
|
<section class="__styleus_wrapper">
|
13
14
|
<header>
|
15
|
+
<%= link_to raw('<span class="icon"><</span> Components'), components_path, class: "back" if components_category? %>
|
14
16
|
<h1>Component Guide</h1>
|
15
17
|
</header>
|
16
18
|
|
17
19
|
<%= yield :components %>
|
18
20
|
</section>
|
21
|
+
|
22
|
+
<%= javascript_include_tag "application" %>
|
23
|
+
|
19
24
|
</body>
|
20
25
|
</html>
|
data/config/routes.rb
CHANGED
data/lib/styleus/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: styleus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -67,25 +67,52 @@ executables: []
|
|
67
67
|
extensions: []
|
68
68
|
extra_rdoc_files: []
|
69
69
|
files:
|
70
|
+
- app/assets/fonts/calluna_license.txt
|
71
|
+
- app/assets/fonts/calluna_regular.eot
|
72
|
+
- app/assets/fonts/calluna_regular.ttf
|
73
|
+
- app/assets/fonts/calluna_regular.woff
|
74
|
+
- app/assets/fonts/raphaelicons-webfont.eot
|
75
|
+
- app/assets/fonts/raphaelicons-webfont.svg
|
76
|
+
- app/assets/fonts/raphaelicons-webfont.ttf
|
77
|
+
- app/assets/fonts/raphaelicons-webfont.woff
|
78
|
+
- app/assets/fonts/raphaelicons.txt
|
79
|
+
- app/assets/images/styleus/themes/base/noise.png
|
80
|
+
- app/assets/images/styleus/themes/base/noise_dark.png
|
81
|
+
- app/assets/javascripts/modernizr.custom.js
|
82
|
+
- app/assets/javascripts/namespace.js.coffee
|
83
|
+
- app/assets/javascripts/styleus/base.js.coffee
|
84
|
+
- app/assets/javascripts/styleus/behaviors/toggle.js.coffee
|
85
|
+
- app/assets/javascripts/styleus.js
|
86
|
+
- app/assets/javascripts/styleus_prerender.js
|
70
87
|
- app/assets/stylesheets/styleus/core.css.scss
|
71
88
|
- app/assets/stylesheets/styleus/default_dimensions.css.scss.erb
|
89
|
+
- app/assets/stylesheets/styleus/themes/base/behaviors/_component.css.scss
|
90
|
+
- app/assets/stylesheets/styleus/themes/base/behaviors/_positioning.css.scss
|
91
|
+
- app/assets/stylesheets/styleus/themes/base/behaviors/_text.css.scss
|
72
92
|
- app/assets/stylesheets/styleus/themes/base/coderay.css.scss
|
73
93
|
- app/assets/stylesheets/styleus/themes/base/components/_article.css.scss
|
74
|
-
- app/assets/stylesheets/styleus/themes/base/components/
|
94
|
+
- app/assets/stylesheets/styleus/themes/base/components/_component_index.css.scss
|
95
|
+
- app/assets/stylesheets/styleus/themes/base/components/_option_bar.css.scss
|
96
|
+
- app/assets/stylesheets/styleus/themes/base/fonts/calluna.css.scss
|
97
|
+
- app/assets/stylesheets/styleus/themes/base/fonts/raphael.css.scss
|
75
98
|
- app/assets/stylesheets/styleus/themes/base/layout/main.css.scss
|
76
99
|
- app/assets/stylesheets/styleus/themes/base/settings/_colors.css.scss
|
77
100
|
- app/assets/stylesheets/styleus/themes/base.css.scss
|
78
101
|
- app/assets/stylesheets/styleus.css
|
79
102
|
- app/controllers/components_controller.rb
|
103
|
+
- app/helpers/path_helper.rb
|
80
104
|
- app/helpers/styleus_helper.rb
|
81
105
|
- app/models/styleus/base.rb
|
82
106
|
- app/models/styleus/component.rb
|
83
107
|
- app/models/styleus/view_component.rb
|
108
|
+
- app/views/components/index.html.erb
|
109
|
+
- app/views/components/show.html.erb
|
84
110
|
- app/views/layouts/_styleus.html.erb
|
85
111
|
- app/views/layouts/_styleus_context.html.erb
|
86
112
|
- app/views/styleus/_screen_size_viewer.html.erb
|
87
113
|
- config/initializers/01_styleus_config.rb
|
88
114
|
- config/initializers/02_init_container_routes.rb
|
115
|
+
- config/locales/en.yml
|
89
116
|
- config/routes.rb
|
90
117
|
- lib/styleus/engine.rb
|
91
118
|
- lib/styleus/spacable.rb
|
@@ -1,24 +0,0 @@
|
|
1
|
-
.__sg_article {
|
2
|
-
margin-bottom: 3em;
|
3
|
-
}
|
4
|
-
|
5
|
-
.__sg_component {
|
6
|
-
overflow: hidden;
|
7
|
-
margin-bottom: 1em;
|
8
|
-
}
|
9
|
-
|
10
|
-
.__boxed > * { border: 1px solid $strong_highlight; }
|
11
|
-
|
12
|
-
.__code_note {
|
13
|
-
font-family: 'Courier New', 'Terminal', monospace;
|
14
|
-
color: #acacac;
|
15
|
-
font-size: 13px;
|
16
|
-
margin: 0;
|
17
|
-
}
|
18
|
-
|
19
|
-
.styleus_sample_box {
|
20
|
-
background: #6E9CBE;
|
21
|
-
width: 100px;
|
22
|
-
height: 100px;
|
23
|
-
margin: 0.3em;
|
24
|
-
}
|