synergy_bootstrap_theme 0.0.1
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/.gitignore +4 -0
- data/LICENSE +23 -0
- data/README.md +22 -0
- data/app/controllers/home_controller.rb +8 -0
- data/app/helpers/base_helper_decorator.rb +16 -0
- data/app/helpers/checkout_helper_decorator.rb +69 -0
- data/app/helpers/orders_helper_decorator.rb +5 -0
- data/app/helpers/product_helper_decorator.rb +22 -0
- data/app/helpers/taxons_helper_decorator.rb +7 -0
- data/app/models/image_decorator.rb +3 -0
- data/app/models/product_decorator.rb +7 -0
- data/app/models/taxon_decorator.rb +4 -0
- data/app/views/addresses/_form.html.erb +15 -0
- data/app/views/addresses/edit.html.erb +15 -0
- data/app/views/admin/taxonomies/_list.html.erb +23 -0
- data/app/views/admin/taxonomies/_show_on_homepage_field.html.erb +4 -0
- data/app/views/checkout/_address.html.erb +191 -0
- data/app/views/checkout/_confirm.html.erb +10 -0
- data/app/views/checkout/_delivery.html.erb +22 -0
- data/app/views/checkout/_payment.html.erb +31 -0
- data/app/views/checkout/_summary.html.erb +23 -0
- data/app/views/checkout/edit.html.erb +27 -0
- data/app/views/checkout/registration.html.erb +25 -0
- data/app/views/home/index.html.erb +14 -0
- data/app/views/layouts/spree_application.html.erb +53 -0
- data/app/views/orders/_form.html.erb +19 -0
- data/app/views/orders/_line_item.html.erb +45 -0
- data/app/views/orders/edit.html.erb +53 -0
- data/app/views/products/_cart_form.html.erb +54 -0
- data/app/views/products/_description.html.erb +9 -0
- data/app/views/products/_image.html.erb +21 -0
- data/app/views/products/_properties.html.erb +15 -0
- data/app/views/products/_similar_products.html.erb +21 -0
- data/app/views/products/_thumbnails.html.erb +32 -0
- data/app/views/products/show.html.erb +37 -0
- data/app/views/shared/_breadcrumbs.html.erb +8 -0
- data/app/views/shared/_carousel.html.erb +39 -0
- data/app/views/shared/_error_messages.html.erb +12 -0
- data/app/views/shared/_footer.html.erb +10 -0
- data/app/views/shared/_head.html.erb +13 -0
- data/app/views/shared/_header.html.erb +45 -0
- data/app/views/shared/_login.html.erb +29 -0
- data/app/views/shared/_main_menu.html.erb +35 -0
- data/app/views/shared/_order_details.html.erb +50 -0
- data/app/views/shared/_products.html.erb +50 -0
- data/app/views/shared/_taxonomies.html.erb +26 -0
- data/app/views/shared/_user_form.html.erb +22 -0
- data/app/views/taxons/_taxon.html.erb +10 -0
- data/app/views/taxons/show.html.erb +26 -0
- data/app/views/user_passwords/edit.html.erb +26 -0
- data/app/views/user_passwords/new.html.erb +16 -0
- data/app/views/user_registrations/new.html.erb +17 -0
- data/app/views/user_sessions/new.html.erb +7 -0
- data/app/views/users/_addresses.html.erb +20 -0
- data/app/views/users/edit.html.erb +11 -0
- data/app/views/users/show.html.erb +57 -0
- data/config/initializers/advanced_cart.rb +3 -0
- data/config/initializers/constants.rb +3 -0
- data/config/locales/ru.yml +47 -0
- data/config/routes.rb +4 -0
- data/db/migrate/20110330125354_add_show_on_main_page_flag_to_taxonomies.rb +9 -0
- data/db/migrate/20110404120925_change_column_title_in_reviews.rb +13 -0
- data/db/migrate/20110510080413_revert_changes_column_title_in_reviews.rb +13 -0
- data/lib/synergy_bootstrap_theme.rb +39 -0
- data/lib/synergy_bootstrap_theme_hooks.rb +5 -0
- data/lib/tasks/install.rake +25 -0
- data/public/images/carousel_1.jpg +0 -0
- data/public/images/carousel_2.jpg +0 -0
- data/public/images/carousel_3.jpg +0 -0
- data/public/images/cart.png +0 -0
- data/public/images/glyphicons-halflings-white.png +0 -0
- data/public/images/glyphicons-halflings.png +0 -0
- data/public/images/noimage/taxon.png +0 -0
- data/public/javascripts/application.js +12 -0
- data/public/javascripts/bootstrap-image-gallery.min.js +1 -0
- data/public/javascripts/bootstrap.min.js +6 -0
- data/public/javascripts/jquery.min.js +4 -0
- data/public/javascripts/load-image.min.js +1 -0
- data/public/javascripts/rails.js +377 -0
- data/public/stylesheets/bootstrap-image-gallery.min.css +21 -0
- data/public/stylesheets/bootstrap.min.css +689 -0
- data/public/stylesheets/main.css +166 -0
- data/synergy_bootstrap_theme.gemspec +21 -0
- metadata +139 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
body {padding-top: 10px;padding-bottom: 40px;}
|
|
2
|
+
.span12, .container {width: 940px;}
|
|
3
|
+
.no_margin_left {margin-left: 0;}
|
|
4
|
+
footer h4 {margin-bottom: 8px;}
|
|
5
|
+
.logo {
|
|
6
|
+
height: 90px;
|
|
7
|
+
}
|
|
8
|
+
.links a {
|
|
9
|
+
margin-right: 5px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* product_list - the side bar*/
|
|
13
|
+
.product_list {
|
|
14
|
+
margin-top: -5px;
|
|
15
|
+
margin-left: 5px;
|
|
16
|
+
min-height: 500px;
|
|
17
|
+
}
|
|
18
|
+
.product_list ul {
|
|
19
|
+
list-style: none;
|
|
20
|
+
margin: 0;
|
|
21
|
+
}
|
|
22
|
+
.product_list > ul > li {
|
|
23
|
+
padding: 8px 8px 8px 0px;
|
|
24
|
+
}
|
|
25
|
+
.product_list > ul > li + li {
|
|
26
|
+
border-top: 1px solid #EEEEEE;
|
|
27
|
+
}
|
|
28
|
+
.product_list > ul > li > a {
|
|
29
|
+
text-decoration: none;
|
|
30
|
+
}
|
|
31
|
+
.product_list > ul > li > a:hover{
|
|
32
|
+
text-decoration: none;
|
|
33
|
+
background: none;
|
|
34
|
+
}
|
|
35
|
+
.product_list > ul > li ul {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
.product_list > ul > li a.active {
|
|
39
|
+
font-weight: bold;
|
|
40
|
+
}
|
|
41
|
+
.product_list > ul > li a.active + ul {
|
|
42
|
+
display: block;
|
|
43
|
+
}
|
|
44
|
+
.product_list > ul > li ul > li {
|
|
45
|
+
padding: 5px 5px 0px 10px;
|
|
46
|
+
}
|
|
47
|
+
.product_list > ul > li ul > li > a {
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
display: block;
|
|
50
|
+
}
|
|
51
|
+
.product_list > ul > li ul > li > a.active {
|
|
52
|
+
font-weight: bold;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
.related_products .span2 {
|
|
57
|
+
width:160px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
.product_comparison .thumbnail{
|
|
62
|
+
border: none;
|
|
63
|
+
text-align:center;
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.product_comparison small{
|
|
68
|
+
font-weight: normal;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.product_comparison .product_stars {
|
|
72
|
+
text-align:center;
|
|
73
|
+
margin: 0 auto;
|
|
74
|
+
width: 85px;
|
|
75
|
+
}
|
|
76
|
+
.product_comparison .price_summary td{
|
|
77
|
+
text-align:center;
|
|
78
|
+
}
|
|
79
|
+
.navbar .btn.search_btn {
|
|
80
|
+
margin-top:1px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.carousel-inner {
|
|
84
|
+
height: 286px;
|
|
85
|
+
}
|
|
86
|
+
.carousel-caption {
|
|
87
|
+
bottom: -77px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.popular_products .span2{
|
|
91
|
+
width:160px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
.customer_service {
|
|
96
|
+
text-align:right;
|
|
97
|
+
font-size:13px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.table td.center_text{
|
|
101
|
+
text-align:center;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
i.cart_icon{
|
|
105
|
+
display: inline-block;
|
|
106
|
+
width: 32px;
|
|
107
|
+
height: 32px;
|
|
108
|
+
line-height: 32px;
|
|
109
|
+
vertical-align: text-top;
|
|
110
|
+
background-image: url("/images/cart.png");
|
|
111
|
+
background-repeat: no-repeat;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.field_with_errors label{
|
|
115
|
+
color: #B94A48;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.field_with_errors input{
|
|
119
|
+
border-color: #953B39;
|
|
120
|
+
-webkit-box-shadow: 0 0 6px #d59392;
|
|
121
|
+
-moz-box-shadow: 0 0 6px #d59392;
|
|
122
|
+
box-shadow: 0 0 6px #d59392;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.product-image-wrapper{
|
|
126
|
+
margin: 10px 0;
|
|
127
|
+
display: table-cell;
|
|
128
|
+
text-align: center;
|
|
129
|
+
vertical-align: middle;
|
|
130
|
+
height: 150px;
|
|
131
|
+
width: 210px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.centered{
|
|
135
|
+
text-align:center;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.label-price{
|
|
139
|
+
font-size: 13px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
ul.product-gallery li{
|
|
143
|
+
margin: 5px 5px 0 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.modal-header {
|
|
147
|
+
border-bottom: none;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.product-gallery{
|
|
151
|
+
margin-left: 0px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
ul.checkout_states{
|
|
155
|
+
font-size: 16px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
ul.footer_menu {
|
|
159
|
+
float: right;
|
|
160
|
+
list-style: none;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
ul.footer_menu li {
|
|
164
|
+
float: left;
|
|
165
|
+
margin-left: 1em;
|
|
166
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Gem::Specification.new do |s|
|
|
2
|
+
s.name = 'synergy_bootstrap_theme'
|
|
3
|
+
s.version = '0.0.1'
|
|
4
|
+
s.date = '2012-04-23'
|
|
5
|
+
s.summary = "Synergy theme with twitter bootstrap"
|
|
6
|
+
s.description = "A simple synergy theme based on synergy_default_theme with twitter bootstrap"
|
|
7
|
+
|
|
8
|
+
s.author = "Ramil Mustafin"
|
|
9
|
+
s.email = 'rommel.rmm@gmail.com'
|
|
10
|
+
s.homepage = 'https://github.com/R0mmel/synergy_bootstrap_theme'
|
|
11
|
+
|
|
12
|
+
s.files = `git ls-files`.split("\n")
|
|
13
|
+
s.require_path = 'lib'
|
|
14
|
+
|
|
15
|
+
s.required_ruby_version = '>= 1.8.7'
|
|
16
|
+
s.requirements << 'none'
|
|
17
|
+
|
|
18
|
+
#s.add_dependency('synergy', '~> 0.60.0')
|
|
19
|
+
s.add_dependency('dalli', '~> 1.0.3')
|
|
20
|
+
end
|
|
21
|
+
|
metadata
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: synergy_bootstrap_theme
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
prerelease:
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- Ramil Mustafin
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2012-04-23 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: dalli
|
|
16
|
+
requirement: &21001240 !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
18
|
+
requirements:
|
|
19
|
+
- - ~>
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 1.0.3
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: *21001240
|
|
25
|
+
description: A simple synergy theme based on synergy_default_theme with twitter bootstrap
|
|
26
|
+
email: rommel.rmm@gmail.com
|
|
27
|
+
executables: []
|
|
28
|
+
extensions: []
|
|
29
|
+
extra_rdoc_files: []
|
|
30
|
+
files:
|
|
31
|
+
- .gitignore
|
|
32
|
+
- LICENSE
|
|
33
|
+
- README.md
|
|
34
|
+
- app/controllers/home_controller.rb
|
|
35
|
+
- app/helpers/base_helper_decorator.rb
|
|
36
|
+
- app/helpers/checkout_helper_decorator.rb
|
|
37
|
+
- app/helpers/orders_helper_decorator.rb
|
|
38
|
+
- app/helpers/product_helper_decorator.rb
|
|
39
|
+
- app/helpers/taxons_helper_decorator.rb
|
|
40
|
+
- app/models/image_decorator.rb
|
|
41
|
+
- app/models/product_decorator.rb
|
|
42
|
+
- app/models/taxon_decorator.rb
|
|
43
|
+
- app/views/addresses/_form.html.erb
|
|
44
|
+
- app/views/addresses/edit.html.erb
|
|
45
|
+
- app/views/admin/taxonomies/_list.html.erb
|
|
46
|
+
- app/views/admin/taxonomies/_show_on_homepage_field.html.erb
|
|
47
|
+
- app/views/checkout/_address.html.erb
|
|
48
|
+
- app/views/checkout/_confirm.html.erb
|
|
49
|
+
- app/views/checkout/_delivery.html.erb
|
|
50
|
+
- app/views/checkout/_payment.html.erb
|
|
51
|
+
- app/views/checkout/_summary.html.erb
|
|
52
|
+
- app/views/checkout/edit.html.erb
|
|
53
|
+
- app/views/checkout/registration.html.erb
|
|
54
|
+
- app/views/home/index.html.erb
|
|
55
|
+
- app/views/layouts/spree_application.html.erb
|
|
56
|
+
- app/views/orders/_form.html.erb
|
|
57
|
+
- app/views/orders/_line_item.html.erb
|
|
58
|
+
- app/views/orders/edit.html.erb
|
|
59
|
+
- app/views/products/_cart_form.html.erb
|
|
60
|
+
- app/views/products/_description.html.erb
|
|
61
|
+
- app/views/products/_image.html.erb
|
|
62
|
+
- app/views/products/_properties.html.erb
|
|
63
|
+
- app/views/products/_similar_products.html.erb
|
|
64
|
+
- app/views/products/_thumbnails.html.erb
|
|
65
|
+
- app/views/products/show.html.erb
|
|
66
|
+
- app/views/shared/_breadcrumbs.html.erb
|
|
67
|
+
- app/views/shared/_carousel.html.erb
|
|
68
|
+
- app/views/shared/_error_messages.html.erb
|
|
69
|
+
- app/views/shared/_footer.html.erb
|
|
70
|
+
- app/views/shared/_head.html.erb
|
|
71
|
+
- app/views/shared/_header.html.erb
|
|
72
|
+
- app/views/shared/_login.html.erb
|
|
73
|
+
- app/views/shared/_main_menu.html.erb
|
|
74
|
+
- app/views/shared/_order_details.html.erb
|
|
75
|
+
- app/views/shared/_products.html.erb
|
|
76
|
+
- app/views/shared/_taxonomies.html.erb
|
|
77
|
+
- app/views/shared/_user_form.html.erb
|
|
78
|
+
- app/views/taxons/_taxon.html.erb
|
|
79
|
+
- app/views/taxons/show.html.erb
|
|
80
|
+
- app/views/user_passwords/edit.html.erb
|
|
81
|
+
- app/views/user_passwords/new.html.erb
|
|
82
|
+
- app/views/user_registrations/new.html.erb
|
|
83
|
+
- app/views/user_sessions/new.html.erb
|
|
84
|
+
- app/views/users/_addresses.html.erb
|
|
85
|
+
- app/views/users/edit.html.erb
|
|
86
|
+
- app/views/users/show.html.erb
|
|
87
|
+
- config/initializers/advanced_cart.rb
|
|
88
|
+
- config/initializers/constants.rb
|
|
89
|
+
- config/locales/ru.yml
|
|
90
|
+
- config/routes.rb
|
|
91
|
+
- db/migrate/20110330125354_add_show_on_main_page_flag_to_taxonomies.rb
|
|
92
|
+
- db/migrate/20110404120925_change_column_title_in_reviews.rb
|
|
93
|
+
- db/migrate/20110510080413_revert_changes_column_title_in_reviews.rb
|
|
94
|
+
- lib/synergy_bootstrap_theme.rb
|
|
95
|
+
- lib/synergy_bootstrap_theme_hooks.rb
|
|
96
|
+
- lib/tasks/install.rake
|
|
97
|
+
- public/images/carousel_1.jpg
|
|
98
|
+
- public/images/carousel_2.jpg
|
|
99
|
+
- public/images/carousel_3.jpg
|
|
100
|
+
- public/images/cart.png
|
|
101
|
+
- public/images/glyphicons-halflings-white.png
|
|
102
|
+
- public/images/glyphicons-halflings.png
|
|
103
|
+
- public/images/noimage/taxon.png
|
|
104
|
+
- public/javascripts/application.js
|
|
105
|
+
- public/javascripts/bootstrap-image-gallery.min.js
|
|
106
|
+
- public/javascripts/bootstrap.min.js
|
|
107
|
+
- public/javascripts/jquery.min.js
|
|
108
|
+
- public/javascripts/load-image.min.js
|
|
109
|
+
- public/javascripts/rails.js
|
|
110
|
+
- public/stylesheets/bootstrap-image-gallery.min.css
|
|
111
|
+
- public/stylesheets/bootstrap.min.css
|
|
112
|
+
- public/stylesheets/main.css
|
|
113
|
+
- synergy_bootstrap_theme.gemspec
|
|
114
|
+
homepage: https://github.com/R0mmel/synergy_bootstrap_theme
|
|
115
|
+
licenses: []
|
|
116
|
+
post_install_message:
|
|
117
|
+
rdoc_options: []
|
|
118
|
+
require_paths:
|
|
119
|
+
- lib
|
|
120
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
|
+
none: false
|
|
122
|
+
requirements:
|
|
123
|
+
- - ! '>='
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: 1.8.7
|
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
|
+
none: false
|
|
128
|
+
requirements:
|
|
129
|
+
- - ! '>='
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: '0'
|
|
132
|
+
requirements:
|
|
133
|
+
- none
|
|
134
|
+
rubyforge_project:
|
|
135
|
+
rubygems_version: 1.8.10
|
|
136
|
+
signing_key:
|
|
137
|
+
specification_version: 3
|
|
138
|
+
summary: Synergy theme with twitter bootstrap
|
|
139
|
+
test_files: []
|