comable-frontend-fashionable 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +7 -0
  2. data/README.rdoc +28 -0
  3. data/Rakefile +4 -0
  4. data/app/assets/images/10822071_04_75_JP.gif +0 -0
  5. data/app/assets/images/banner_QR.gif +0 -0
  6. data/app/assets/images/banner_fb.gif +0 -0
  7. data/app/assets/images/banner_member.gif +0 -0
  8. data/app/assets/images/banner_mm.gif +0 -0
  9. data/app/assets/images/banner_specialprice.jpg +0 -0
  10. data/app/assets/images/banner_staffsnapblog.jpg +0 -0
  11. data/app/assets/images/banner_tw.gif +0 -0
  12. data/app/assets/images/bt_delete.png +0 -0
  13. data/app/assets/images/bt_icon.png +0 -0
  14. data/app/assets/images/bt_login.png +0 -0
  15. data/app/assets/images/bt_member.png +0 -0
  16. data/app/assets/images/cart.png +0 -0
  17. data/app/assets/images/forget_icon.png +0 -0
  18. data/app/assets/images/header_logo.gif +0 -0
  19. data/app/assets/images/icon.png +0 -0
  20. data/app/assets/images/line_bg.gif +0 -0
  21. data/app/assets/images/logo.gif +0 -0
  22. data/app/assets/images/logo.png +0 -0
  23. data/app/assets/images/menu_arrow_down.png +0 -0
  24. data/app/assets/images/menu_arrow_up.png +0 -0
  25. data/app/assets/images/pagetop.gif +0 -0
  26. data/app/assets/images/ranking_01.jpg +0 -0
  27. data/app/assets/images/ranking_icon01.png +0 -0
  28. data/app/assets/images/ranking_icon02.png +0 -0
  29. data/app/assets/images/ranking_icon03.png +0 -0
  30. data/app/assets/images/search.png +0 -0
  31. data/app/assets/images/shoes_02.jpg +0 -0
  32. data/app/assets/images/shoes_04.jpg +0 -0
  33. data/app/assets/images/shoes_05.jpg +0 -0
  34. data/app/assets/images/shoppingcart.png +0 -0
  35. data/app/assets/images/special01.jpg +0 -0
  36. data/app/assets/images/special02.jpg +0 -0
  37. data/app/assets/images/special03.jpg +0 -0
  38. data/app/assets/images/step_01.gif +0 -0
  39. data/app/assets/images/step_01.png +0 -0
  40. data/app/assets/images/step_02.gif +0 -0
  41. data/app/assets/images/step_02.png +0 -0
  42. data/app/assets/images/step_03.gif +0 -0
  43. data/app/assets/images/step_03.png +0 -0
  44. data/app/assets/images/step_04.gif +0 -0
  45. data/app/assets/images/step_04.png +0 -0
  46. data/app/assets/images/top.jpg +0 -0
  47. data/app/assets/images/tops_01.jpg +0 -0
  48. data/app/assets/images/tops_02.jpg +0 -0
  49. data/app/assets/images/tops_04.jpg +0 -0
  50. data/app/assets/javascripts/comable/application.js +15 -0
  51. data/app/assets/javascripts/comable/base.js.coffee +24 -0
  52. data/app/assets/javascripts/comable/products.js.coffee +32 -0
  53. data/app/assets/stylesheets/comable/application.css +14 -0
  54. data/app/assets/stylesheets/comable/carts.scss +339 -0
  55. data/app/assets/stylesheets/comable/common.scss +284 -0
  56. data/app/assets/stylesheets/comable/customers.scss +255 -0
  57. data/app/assets/stylesheets/comable/detail.css +225 -0
  58. data/app/assets/stylesheets/comable/footer-common.css +121 -0
  59. data/app/assets/stylesheets/comable/home.css +1 -0
  60. data/app/assets/stylesheets/comable/index.css +168 -0
  61. data/app/assets/stylesheets/comable/orders.scss +341 -0
  62. data/app/assets/stylesheets/comable/passwords.scss +205 -0
  63. data/app/assets/stylesheets/comable/products.scss +787 -0
  64. data/app/assets/stylesheets/comable/registrations.scss +278 -0
  65. data/app/assets/stylesheets/comable/sessions.scss +287 -0
  66. data/app/assets/stylesheets/comable/top.scss +262 -0
  67. data/app/assets/stylesheets/comable/users.scss +255 -0
  68. data/app/controllers/comable/application_controller.rb +23 -0
  69. data/app/decorators/comable/product_decorator.rb +26 -0
  70. data/app/decorators/comable/products_controller_decorator.rb +18 -0
  71. data/app/views/comable/carts/show.html.slim +53 -0
  72. data/app/views/comable/home/show.html.slim +50 -0
  73. data/app/views/comable/orders/confirm.slim +82 -0
  74. data/app/views/comable/orders/create.slim +17 -0
  75. data/app/views/comable/orders/delivery.slim +52 -0
  76. data/app/views/comable/orders/orderer.slim +72 -0
  77. data/app/views/comable/orders/payment.slim +60 -0
  78. data/app/views/comable/orders/shipment.slim +60 -0
  79. data/app/views/comable/orders/signin.slim +89 -0
  80. data/app/views/comable/products/index.html.slim +60 -0
  81. data/app/views/comable/products/show.html.slim +63 -0
  82. data/app/views/comable/shared/_address.slim +24 -0
  83. data/app/views/comable/shared/_address_form.slim +60 -0
  84. data/app/views/comable/shared/_footer.slim +17 -0
  85. data/app/views/comable/shared/_header.slim +30 -0
  86. data/app/views/comable/shared/_sidebar.slim +20 -0
  87. data/app/views/comable/users/_address.slim +14 -0
  88. data/app/views/comable/users/addresses.slim +58 -0
  89. data/app/views/comable/users/show.slim +35 -0
  90. data/app/views/devise/passwords/edit.slim +12 -0
  91. data/app/views/devise/passwords/new.slim +20 -0
  92. data/app/views/devise/registrations/edit.html.slim +45 -0
  93. data/app/views/devise/registrations/new.html.slim +30 -0
  94. data/app/views/devise/sessions/new.slim +32 -0
  95. data/app/views/errors/error_404.slim +6 -0
  96. data/app/views/errors/error_500.slim +6 -0
  97. data/app/views/layouts/comable/application.slim +51 -0
  98. data/app/views/layouts/comable/error.slim +42 -0
  99. data/config/initializers/assets.rb +2 -0
  100. data/config/locales/fashionable_en.yml +11 -0
  101. data/config/locales/fashionable_ja.yml +11 -0
  102. data/lib/comable/frontend/fashionable/engine.rb +14 -0
  103. data/lib/comable/frontend/fashionable.rb +7 -0
  104. metadata +233 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bedbac93db63213e8615716f836edc93cdef410a
4
+ data.tar.gz: 632a148abe663dc026ae07bb8a31ff38937c10fa
5
+ SHA512:
6
+ metadata.gz: 129b0af18601fb8a7382de319b012ccd5538bdda1d6e49299ee2084594aa3c7428b771fe24a56101052ebd8418e305b9ed90790776ec6e61846d1107bc844417
7
+ data.tar.gz: 66921e8b3fe9dcda41c70a3090d3ee2c5b1486c13ed11d0a8684a89ea21d69afbf1d3f2d87905867d63569fb2e4d65d24a8cbf3d6e4b59d95388cbc169161b4f
data/README.rdoc ADDED
@@ -0,0 +1,28 @@
1
+ == README
2
+
3
+ This README would normally document whatever steps are necessary to get the
4
+ application up and running.
5
+
6
+ Things you may want to cover:
7
+
8
+ * Ruby version
9
+
10
+ * System dependencies
11
+
12
+ * Configuration
13
+
14
+ * Database creation
15
+
16
+ * Database initialization
17
+
18
+ * How to run the test suite
19
+
20
+ * Services (job queues, cache servers, search engines, etc.)
21
+
22
+ * Deployment instructions
23
+
24
+ * ...
25
+
26
+
27
+ Please feel free to use a different markup language if you do not plan to run
28
+ <tt>rake doc:app</tt>.
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Dir.glob('tasks/*.rake').each { |r| load r }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,15 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require_tree
@@ -0,0 +1,24 @@
1
+ $ ->
2
+ $ ->
3
+ $('#acMenu dt').on 'click', ->
4
+ $(this).next().slideToggle()
5
+ $(this).toggleClass 'active'
6
+ #追加部分
7
+ return
8
+ return
9
+ $ ->
10
+ # #で始まるアンカーをクリックした場合に処理
11
+ $('a[href^=#]').click ->
12
+ # スクロールの速度
13
+ speed = 400
14
+ # ミリ秒
15
+ # アンカーの値取得
16
+ href = $(this).attr('href')
17
+ # 移動先を取得
18
+ target = $(if href == '#' or href == '' then 'html' else href)
19
+ # 移動先を数値で取得
20
+ position = target.offset().top
21
+ # スムーススクロール
22
+ $('body,html').animate { scrollTop: position }, speed, 'swing'
23
+ false
24
+ return
@@ -0,0 +1,32 @@
1
+ $ ->
2
+ # 画像切り替え
3
+ $ ->
4
+ $('.DetailColor img').click ->
5
+ # thumbをfulに置換
6
+ img_full = $(this).attr('src').replace('DetailColor', 'sample')
7
+ # 画像をフェードイン、フェードアウトする
8
+ $('.sample img').fadeOut 'fast', ->
9
+ $(this).attr('src', img_full).fadeIn()
10
+ return
11
+ # 画像をフェードイン、フェードアウトしない
12
+ # $('#full img').attr('src', img_full);
13
+ return
14
+ return
15
+ #最大表示数切り替え
16
+ $ ->
17
+ #
18
+ $('#per_page select').change ->
19
+ $(this).closest('form').submit()
20
+
21
+ #並び替え(新着、価格)
22
+ $ ->
23
+ #
24
+ $('#order_by select').change ->
25
+ $(this).closest('form').submit()
26
+
27
+ #在庫の有無
28
+ $ ->
29
+ #
30
+ $('#filter_by_stocks select').change ->
31
+ $(this).closest('form').submit()
32
+
@@ -0,0 +1,14 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any styles
10
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
+ * file per style scope.
12
+ *
13
+ *= require_self
14
+ */
@@ -0,0 +1,339 @@
1
+ @charset "UTF-8";
2
+ /* CSS cart */
3
+
4
+
5
+ p.center {
6
+ text-align: center;
7
+ }
8
+ p.center a {
9
+ color: #000;
10
+ text-decoration: underline;
11
+ }
12
+ p.center a:hover {
13
+ color: #747474;
14
+ text-decoration: none;
15
+ }
16
+ p.center span {
17
+ display: block;
18
+ font-size: 14px;
19
+ padding: 30px 0;
20
+ }
21
+
22
+ /* -------------------------------- */
23
+ .cart {
24
+ width: 850px;
25
+ margin: 0 auto;
26
+ }
27
+ /* th */
28
+ .cart th {
29
+ text-align: center;
30
+ border: #ccc 1px solid;
31
+ padding: 2px 10px;
32
+ }
33
+ /* td */
34
+ .cart td {
35
+ border: #ccc 1px solid;
36
+ padding: 5px 10px;
37
+ }
38
+ .cart td img.sample {
39
+ width: 80px;
40
+ }
41
+ .cart td.center {
42
+ text-align: center;
43
+ }
44
+ .cart td.right {
45
+ text-align: right;
46
+ }
47
+ td.center img:hover {
48
+ opacity: 0.8;
49
+ filter: alpha(opacity=80);
50
+ -ms-filter: "alpha( opacity=80 )";
51
+ background: #fff;
52
+ }
53
+
54
+ /* 新規会員登録 */
55
+ table.new-member {
56
+ width: 828px;
57
+ margin: 0 auto 15px;
58
+ }
59
+ /* th */
60
+ table.new-member th {
61
+ width: 160px;
62
+ background: #f1f1f1;
63
+ border: #ccc 1px solid;
64
+ padding: 5px 20px;
65
+ }
66
+ table.new-member th span {
67
+ color: #e71f19;
68
+ }
69
+ /* td */
70
+ table.new-member td {
71
+ border: #ccc 1px solid;
72
+ padding: 5px 0 5px 20px;
73
+ }
74
+
75
+
76
+ /* step1 注文情報入力(新規会員登録) */
77
+ /* -------------------------------- */
78
+ /* step */
79
+ .step {
80
+ width: 775px;
81
+ margin: 0 auto 20px;
82
+ }
83
+
84
+ /* ログイン・会員登録 */
85
+ .member {
86
+ overflow: hidden;
87
+ width: 850px;
88
+ margin: 20px auto;
89
+ }
90
+ /* ログイン */
91
+ .login-box {
92
+ float: left;
93
+ width: 375px;
94
+ border: #000 1px solid;
95
+ padding: 10px 20px;
96
+ }
97
+ .login-box p.login {
98
+ overflow: hidden;
99
+ background: #000;
100
+ color: #fff;
101
+ font-size: 13px;
102
+ border-radius: 5px;
103
+ padding: 4px 20px 2px;
104
+ margin: 0 0 10px 0;
105
+ }
106
+ .login-box span {
107
+ display: block;
108
+ color: #747474;
109
+ font-size: 11px;
110
+ }
111
+ .id-pass {
112
+ width: 365px;
113
+ margin: 0 0 12px 0;
114
+ }
115
+ .bt-login {
116
+ float: left;
117
+ }
118
+ .bt-login img:hover {
119
+ opacity: 0.8;
120
+ filter: alpha(opacity=80);
121
+ -ms-filter: "alpha( opacity=80 )";
122
+ background: #fff;
123
+ }
124
+ .forget {
125
+ float: right;
126
+ font-size: 14px;
127
+ background: image-url("forget_icon.png") no-repeat;
128
+ background-position: 98% 65%;
129
+ padding: 8px 18px 0 0;
130
+ }
131
+ .forget a {
132
+ color: #000;
133
+ }
134
+ .forget a:hover {
135
+ color: #666446;
136
+ text-decoration: underline;
137
+ }
138
+ /* 会員登録 */
139
+ .member-box {
140
+ float: right;
141
+ width: 375px;
142
+ border: #000 1px solid;
143
+ padding: 10px 20px;
144
+ }
145
+ .member-box p.login {
146
+ overflow: hidden;
147
+ background: #000;
148
+ color: #fff;
149
+ font-size: 13px;
150
+ border-radius: 5px;
151
+ padding: 4px 20px 2px;
152
+ margin: 0 0 10px 0;
153
+ }
154
+ .member-box .bt-member {
155
+ width: 207px;
156
+ margin: 10px auto 0;
157
+ }
158
+ .bt-member img:hover {
159
+ opacity: 0.8;
160
+ filter: alpha(opacity=80);
161
+ -ms-filter: "alpha( opacity=80 )";
162
+ background: #fff;
163
+ }
164
+
165
+ /* button nonmember */
166
+ .nonmember {
167
+ clear: both;
168
+ width: 260px;
169
+ margin: 15px auto 0;
170
+ }
171
+ .nonmember img:hover {
172
+ opacity: 0.8;
173
+ filter: alpha(opacity=80);
174
+ -ms-filter: "alpha( opacity=80 )";
175
+ background: #fff;
176
+ }
177
+
178
+
179
+ /* 注文者報入力 */
180
+ /* -------------------------------- */
181
+ table.nonmember-ordre {
182
+ width: 828px;
183
+ margin: 0 auto 15px;
184
+ }
185
+ /* th */
186
+ table.nonmember-ordre th {
187
+ width: 160px;
188
+ background: #f1f1f1;
189
+ border: #ccc 1px solid;
190
+ padding: 10px 20px;
191
+ }
192
+ table.nonmember-ordre th span {
193
+ color: #e71f19;
194
+ }
195
+ /* td */
196
+ table.nonmember-ordre td {
197
+ border: #ccc 1px solid;
198
+ padding: 5px 0 5px 20px;
199
+ }
200
+
201
+
202
+ /* step2 支払い方法・配送日時の選択 */
203
+ /* -------------------------------- */
204
+ p.title {
205
+ width: 810px;
206
+ background: #000;
207
+ color: #fff;
208
+ padding: 5px 20px;
209
+ margin: 20px auto 0;
210
+ }
211
+ .box {
212
+ width: 828px;
213
+ border: #000 1px solid;
214
+ padding: 15px 10px 0;
215
+ margin: 0 auto 10px;
216
+ }
217
+ .box p {
218
+ padding: 0 0 15px 0;
219
+ }
220
+ .box p span {
221
+ display: block;
222
+ background: #cbcbcb;
223
+ padding: 2px 5px;
224
+ margin: 0 0 4px 0;
225
+ }
226
+ table.delivery {
227
+ width: 828px;
228
+ margin: -15px 0 15px 0;
229
+ }
230
+ table.delivery th {
231
+ width: 150px;
232
+ border: #ccc 1px solid;
233
+ padding: 5px 10px;
234
+ }
235
+ table.delivery td {
236
+ border: #ccc 1px solid;
237
+ padding: 5px 10px;
238
+ }
239
+ table.delivery td textarea {
240
+ resize: none;
241
+ height: 12px;
242
+ }
243
+
244
+ /* ボタン */
245
+ /* -------------------------------- */
246
+ .btn-inner {
247
+ width:100%;
248
+ text-align:center;
249
+ margin: 20px 0 0 0;
250
+ }
251
+
252
+ .btn_new_member {
253
+ font-size:14px;
254
+ font-family:Arial;
255
+ font-weight:normal;
256
+ -moz-border-radius:3px;
257
+ -webkit-border-radius:3px;
258
+ border-radius:3px;
259
+ border:1px solid #5e5e5e;
260
+ padding:4px 18px 3px 0;
261
+ text-indent: 40px;
262
+ background: image-url("bt_icon.png") no-repeat #818181;
263
+ background-position: 18px 49%;
264
+ color:#ffffff;
265
+ display:inline-block;
266
+ -webkit-box-shadow:inset 1px 1px 0px 0px #cccccc;
267
+ -moz-box-shadow:inset 1px 1px 0px 0px #cccccc;
268
+ box-shadow:inset 1px 1px 0px 0px #cccccc;
269
+ }
270
+ .btn_new_member:hover {
271
+ opacity: 0.8;
272
+ filter: alpha(opacity=80);
273
+ -ms-filter: "alpha( opacity=80 )";
274
+ }
275
+
276
+ .btn {
277
+ font-size:14px;
278
+ font-family:Arial;
279
+ font-weight:normal;
280
+ -moz-border-radius:3px;
281
+ -webkit-border-radius:3px;
282
+ border-radius:3px;
283
+ border:1px solid #c91b24;
284
+ padding:4px 18px 3px 0;
285
+ text-indent: 40px;
286
+ background: image-url("bt_icon.png") no-repeat #e96b27;
287
+ background-position: 18px 49%;
288
+ color:#ffffff;
289
+ display:inline-block;
290
+ -webkit-box-shadow:inset 1px 1px 0px 0px #fce2c1;
291
+ -moz-box-shadow:inset 1px 1px 0px 0px #fce2c1;
292
+ box-shadow:inset 1px 1px 0px 0px #fce2c1;
293
+ margin: 0 auto 20px;}
294
+ .btn:hover {
295
+ opacity: 0.8;
296
+ filter: alpha(opacity=80);
297
+ -ms-filter: "alpha( opacity=80 )";
298
+ }
299
+
300
+ /* next prev */
301
+ .button-box {
302
+ width: 205px;
303
+ margin: 20px auto 0;
304
+ }
305
+ .prv-next {
306
+ float: left;
307
+ width: 80px;
308
+ font-size:14px;
309
+ font-weight:normal;
310
+ text-align: center;
311
+ -moz-border-radius:2px;
312
+ -webkit-border-radius:2px;
313
+ border-radius:2px;
314
+ border:1px solid #eeb44f;
315
+ background:-moz-linear-gradient( center top, #ffc477 5%, #fb9e25 100% );
316
+ background:-ms-linear-gradient( top, #ffc477 5%, #fb9e25 100% );
317
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc477', endColorstr='#fb9e25');
318
+ background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #ffc477), color-stop(100%, #fb9e25) );
319
+ background-color:#ffc477;
320
+ color:#ffffff;
321
+ display:inline-block;
322
+ text-shadow:1px 1px 0px #cc9f52;
323
+ -webkit-box-shadow:inset 1px 1px 0px 0px #fce2c1;
324
+ -moz-box-shadow:inset 1px 1px 0px 0px #fce2c1;
325
+ box-shadow:inset 1px 1px 0px 0px #fce2c1;
326
+ padding: 3px 0;
327
+ margin: 0 10px;
328
+ }
329
+ .prv-next:hover {
330
+ background:-moz-linear-gradient( center top, #fb9e25 5%, #ffc477 100% );
331
+ background:-ms-linear-gradient( top, #fb9e25 5%, #ffc477 100% );
332
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fb9e25', endColorstr='#ffc477');
333
+ background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #fb9e25), color-stop(100%, #ffc477) );
334
+ background-color:#fb9e25;
335
+ }
336
+ .prv-next:active {
337
+ position:relative;
338
+ top:1px;
339
+ }