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
@@ -0,0 +1,225 @@
1
+ @charset "UTF-8";
2
+ /* CSS detail */
3
+
4
+ #ProductDetailArea {
5
+ width: 780px;
6
+ overflow: hidden;
7
+ }
8
+ /* 画像 */
9
+ /* ------------------------------ */
10
+ .main-product {
11
+ float: left;
12
+ width: 416px;
13
+ }
14
+ .main-product img.main {
15
+ border: #000 1px solid;
16
+ }
17
+ /* 在庫 */
18
+ .stock {
19
+ border-top: #ccc 1px solid;
20
+ margin: 10px 0;
21
+ }
22
+ .stock li {
23
+ padding: 10px 20px;
24
+ border-bottom: #ccc 1px solid;
25
+ overflow: hidden;
26
+ }
27
+ .stock li p {
28
+ float: left;
29
+ width: 100px;
30
+ padding: 3px 0 0 0;
31
+ }
32
+ .stock li img.shoppingcart {
33
+ float: right;
34
+ margin: 0;
35
+ padding: 0;
36
+ }
37
+ img.shoppingcart:hover {
38
+ opacity: 0.8;
39
+ filter: alpha(opacity=80);
40
+ -ms-filter: "alpha( opacity=80 )";
41
+ background: #fff;
42
+ }
43
+
44
+ /* 詳細 */
45
+ /* ------------------------------ */
46
+ .main-detail {
47
+ float: right;
48
+ width: 355px;
49
+ }
50
+ /* アイコン */
51
+ .main-detail .icon {
52
+ width: 332px;
53
+ margin: 0 0 10px 0;
54
+ overflow: hidden;
55
+ }
56
+ /* 新着アイコン */
57
+ .main-detail .icon p.new {
58
+ float: left;
59
+ width: 75px;
60
+ background: #f2546a;
61
+ text-align: center;
62
+ font-weight: bold;
63
+ color: #fff;
64
+ border-radius: 3px;
65
+ margin: 0 2px;
66
+ }
67
+ /* 再入荷アイコン */
68
+ .main-detail .icon p.repeat {
69
+ float: left;
70
+ width: 75px;
71
+ background: #54b1f2;
72
+ text-align: center;
73
+ font-weight: bold;
74
+ color: #fff;
75
+ border-radius: 3px;
76
+ margin: 0 2px;
77
+ }
78
+ /* 値下げアイコン */
79
+ .main-detail .icon p.down {
80
+ float: left;
81
+ width: 75px;
82
+ background: #b473eb;
83
+ text-align: center;
84
+ font-weight: bold;
85
+ color: #fff;
86
+ border-radius: 3px;
87
+ margin: 0 2px;
88
+ }
89
+ /* SOLDUOT */
90
+ .main-detail .icon p.soldout {
91
+ float: left;
92
+ width: 75px;
93
+ background: #000;
94
+ text-align: center;
95
+ font-weight: bold;
96
+ color: #fff;
97
+ border-radius: 3px;
98
+ margin: 0 2px;
99
+ }
100
+
101
+ /* 商品番号 */
102
+ .lot-number {
103
+ clear: both;
104
+ font-size: 12px;
105
+ }
106
+ /* 商品名 */
107
+ h2 {
108
+ font-size: 18px;
109
+ font-weight: normal;
110
+ }
111
+ /* 価格 */
112
+ .price {
113
+ font-size: 14px;
114
+ margin: 30px 0 20px 0;
115
+ }
116
+ .price span {
117
+ display: block;
118
+ color: #e70505;
119
+ }
120
+
121
+ /* Detail Color */
122
+ .title {
123
+ font-size: 14px;
124
+ margin: 20px 0 0 0;
125
+ }
126
+ /* 詳細画像 */
127
+ ul.DetailColor {
128
+ overflow: hidden;
129
+ display: inline-block;
130
+ }
131
+ ul.DetailColor li {
132
+ float: left;
133
+ width: 66px;
134
+ height: 110px;
135
+ font-size: 10px;
136
+ display: inline;
137
+ cursor: pointer;
138
+ margin: 0 3px 0 0;
139
+ }
140
+ ul.DetailColor li img {
141
+ width: 66px;
142
+ height: 96px;
143
+ border: #000 1px solid;
144
+ }
145
+ ul.DetailColor li img:hover {
146
+ opacity: 0.8;
147
+ filter: alpha(opacity=80);
148
+ -ms-filter: "alpha( opacity=80 )";
149
+ background: #fff;
150
+ }
151
+
152
+ /* 詳細(素材等) */
153
+ .other-detail {
154
+ clear: both;
155
+ margin: 20px 0 0 0;
156
+ }
157
+ .other-detail th {
158
+ width: 70px;
159
+ vertical-align: top;
160
+ padding: 5px 0px 5px 5px;
161
+ }
162
+
163
+ /* サイズ */
164
+ .size {
165
+ width: 353px;
166
+ border: #aeaeae 1px solid;
167
+ font-size: 11px;
168
+ margin: 20px 0 0 0;
169
+ }
170
+ .size th {
171
+ background: #aeaeae;
172
+ color: #fff;
173
+ text-align: center;
174
+ padding: 4px 10px;
175
+ }
176
+ .size td {
177
+ border-bottom: #aeaeae 1px solid;
178
+ text-align: center;
179
+ padding: 4px 10px;
180
+ }
181
+
182
+ /* アイテム紹介 */
183
+ .introduction {
184
+ clear: both;
185
+ background: #fff;
186
+ padding: 20px 0 50px 0;
187
+ }
188
+ .introduction p {
189
+ font-size: 14px;
190
+ }
191
+ .introduction p.text {
192
+ border: #ccc 1px solid;
193
+ font-size: 12px;
194
+ padding: 5px;
195
+ }
196
+
197
+ /* 最近見たアイテム・他の人のチェックアイテム */
198
+ .check-item {
199
+ margin: 25px 0 25px 0;
200
+ }
201
+ .check-item p {
202
+ font-size: 14px;
203
+ }
204
+ .check-item .inner {
205
+ border: #ccc 1px solid;
206
+ padding: 12px 6px;
207
+ overflow: hidden;
208
+ }
209
+ .check-item .inner img {
210
+ float: left;
211
+ width: 73px;
212
+ margin: 0 6px;
213
+ }
214
+ .check-item .inner img:hover {
215
+ opacity: 0.8;
216
+ filter: alpha(opacity=80);
217
+ -ms-filter: "alpha( opacity=80 )";
218
+ background: #fff;
219
+ }
220
+
221
+ hr.dod {
222
+ border: none;
223
+ border-top: #ccc 1px dotted;
224
+ padding: 0 0 25px 0;
225
+ }
@@ -0,0 +1,121 @@
1
+ @charset "UTF-8";
2
+ /* CSS footer-common */
3
+
4
+
5
+ /*h2 {
6
+ font-size: 24px;
7
+ font-weight: normal;
8
+ margin: 0 0 0 20px;
9
+ }*/
10
+
11
+ h3 {
12
+ font-size: 16px;
13
+ margin: 50px 0 0 0;
14
+ }
15
+
16
+ p.ex {
17
+ margin: 20px 0 20px 20px;
18
+ }
19
+
20
+ /* table */
21
+ table {
22
+ width: 100%;
23
+ color: #3c3c3c;
24
+ font-weight: normal;
25
+ margin: 20px 0 0 0;
26
+ }
27
+ table th, td {
28
+ vertical-align: top;
29
+ padding: 10px 0 10px 20px;
30
+ }
31
+ table th {
32
+ width: 140px;
33
+ }
34
+ table td a {
35
+ color: #99cccc;
36
+ }
37
+ table td a:hover {
38
+ text-decoration: underline;
39
+ }
40
+
41
+ /* リスト */
42
+ table ul {
43
+ list-style: inside;
44
+ }
45
+ table ul li {
46
+ line-height: 20px;
47
+ }
48
+
49
+ /* dl */
50
+ dl {
51
+ margin: 0 0 0 20px;
52
+ padding: 0;
53
+ }
54
+ dt, dd {
55
+ margin: 0;
56
+ padding: 0;
57
+ }
58
+ /*dt {
59
+ font-weight: bold;
60
+ margin: 20px 0 0 0;
61
+ }*/
62
+ /* リスト */
63
+ dd li {
64
+ margin: 5px 0 0 15px;
65
+ }
66
+
67
+ /* よくある質問 */
68
+ .faq {
69
+ width: 900px;
70
+ background: #f0f0f0;
71
+ margin: 20px auto 0 auto;
72
+ padding: 0 20px 20px 20px;
73
+ }
74
+
75
+ .faq ul li.title {
76
+ font-weight: bold;
77
+ font-size: 13px;
78
+ padding: 20px 0 0 0;
79
+ }
80
+
81
+ .faq a {
82
+ color: #000;
83
+ }
84
+ .faq a:hover {
85
+ text-decoration: underline;
86
+ }
87
+
88
+ .answer-box {
89
+ width: 940px;
90
+ margin: 0 auto;
91
+ }
92
+ /* Q */
93
+ .q-box {
94
+ background: #424242;
95
+ color: #fff;
96
+ overflow: hidden;
97
+ padding: 8px 5px 5px 15px;
98
+ }
99
+ .q-box p.q {
100
+ float: left;
101
+ width: 20px;
102
+ }
103
+ .q-box p.question {
104
+ float: left;
105
+ width: 890px;
106
+ }
107
+ /* A */
108
+ .a-box {
109
+ border: #424242 1px solid;
110
+ overflow: hidden;
111
+ padding: 5px 5px 5px 15px;
112
+ }
113
+ .a-box p.a {
114
+ float: left;
115
+ font-weight: bold;
116
+ width: 20px;
117
+ }
118
+ .a-box p.answer {
119
+ float: left;
120
+ width: 890px;
121
+ }
@@ -0,0 +1 @@
1
+ //= require comable/products
@@ -0,0 +1,168 @@
1
+ @charset "UTF-8";
2
+ /* CSS list */
3
+
4
+ p.result {
5
+ font-size: 18px;
6
+ font-family: "メイリオ", Meiryo;
7
+ font-weight: bold;
8
+ margin: 0 0 18px 0;
9
+ }
10
+
11
+ /* 絞込検索 */
12
+ .search {
13
+ background: #8e8e8e;
14
+ border-radius: 3px;
15
+ overflow: hidden;
16
+ padding: 8px 0 8px 100px;
17
+ margin: 0 0 30px 0;
18
+ }
19
+ .search p.cate {
20
+ float: left;
21
+ color: #fff;
22
+ }
23
+ .search select {
24
+ float: left;
25
+ margin: 0 50px 0 5px;
26
+ }
27
+
28
+ /* 商品 */
29
+ .box {
30
+ border-left: 1px solid #f5f5f5;
31
+ margin: 0 0 0 2px;
32
+ }
33
+ ul.product {
34
+ clear: both;
35
+ overflow: hidden;
36
+ display: inline-block;
37
+ }
38
+ ul.product li {
39
+ float: left;
40
+ width: 134px;
41
+ height: 320px;
42
+ border-top: 1px solid #f5f5f5;
43
+ border-right: #f5f5f5 1px solid;
44
+ border-bottom: #f5f5f5 1px solid;
45
+ display: inline;
46
+ padding: 0 10px;
47
+ }
48
+ ul.product li img {
49
+ clear: both;
50
+ width: 134px;
51
+ height: 186px;
52
+ margin: 0 0 2px 0;
53
+ }
54
+ /* 商品名 */
55
+ ul.product li h2 {
56
+ height: 60px;
57
+ color: #000;
58
+ font-size: 12px;
59
+ font-weight: normal;
60
+ line-height: 14px;
61
+ }
62
+ ul.product li h2 a {
63
+ color: #000;
64
+ font-size: 12px;
65
+ font-weight: normal;
66
+ line-height: 14px;
67
+ }
68
+ /* 価格 */
69
+ ul.product li p.price {
70
+ color: #000;
71
+ font-size: 10px;
72
+ margin: 0;
73
+ }
74
+ ul.product li p.price span {
75
+ display: block;
76
+ color: #e70505;
77
+ }
78
+ /* アイコン */
79
+ ul.product li .icon {
80
+ height: 17px;
81
+ overflow: hidden;
82
+ margin: 10px 0 5px 0;
83
+ }
84
+ /* 新着 */
85
+ ul.product li .icon p.new {
86
+ float: left;
87
+ width: 63px;
88
+ background: #f2546a;
89
+ text-align: center;
90
+ font-weight: bold;
91
+ font-size: 10px;
92
+ color: #fff;
93
+ border-radius: 3px;
94
+ padding: 1px 0;
95
+ margin: 0 2px;
96
+ }
97
+ /* 再入荷 */
98
+ ul.product li .icon p.repeat {
99
+ float: left;
100
+ width: 63px;
101
+ background: #54b1f2;
102
+ text-align: center;
103
+ font-weight: bold;
104
+ font-size: 10px;
105
+ color: #fff;
106
+ border-radius: 3px;
107
+ padding: 1px 0;
108
+ margin: 0 2px;
109
+ }
110
+ /* 値下げ */
111
+ ul.product li .icon p.down {
112
+ float: left;
113
+ width: 63px;
114
+ background: #b473eb;
115
+ text-align: center;
116
+ font-weight: bold;
117
+ font-size: 10px;
118
+ color: #fff;
119
+ border-radius: 3px;
120
+ padding: 1px 0;
121
+ margin: 0 2px;
122
+ }
123
+ /* SOLDOUT */
124
+ ul.product li .icon p.soldout {
125
+ float: left;
126
+ width: 63px;
127
+ background: #000;
128
+ text-align: center;
129
+ font-weight: bold;
130
+ font-size: 10px;
131
+ color: #fff;
132
+ border-radius: 3px;
133
+ padding: 1px 0;
134
+ margin: 0 2px;
135
+ }
136
+
137
+ /* ページナビ */
138
+ ul.pageNav {
139
+ margin: 0 0 10px;
140
+ padding: 10px 10px 5px;
141
+ text-align: right;
142
+ }
143
+
144
+ ul.pageNav li {
145
+ display: inline;
146
+ margin: 0 2px;
147
+ padding: 0;
148
+ }
149
+
150
+ ul.pageNav li span,
151
+ ul.pageNav li a {
152
+ color: #000;
153
+ display: inline-block;
154
+ margin-bottom: 5px;
155
+ padding: 4px 10px;
156
+ text-decoration: none;
157
+ vertical-align: middle;
158
+ }
159
+ ul.pageNav li span {
160
+ background: #aaaaaa;
161
+ color: #fff;
162
+ }
163
+
164
+ ul.pageNav li a:hover {
165
+ color: #000;
166
+ background: #e6e6e6;
167
+ border-color: #00f;
168
+ }