cupboard 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +6 -5
  3. data/README.md +1 -0
  4. data/app/assets/pages/index.md +2 -4
  5. data/app/assets/stylesheets/_base.scss +9 -4
  6. data/app/assets/stylesheets/_components.scss +77 -61
  7. data/app/assets/stylesheets/_helpers.scss +14 -0
  8. data/app/assets/stylesheets/_layouts.scss +11 -1
  9. data/app/assets/stylesheets/{widgets/_widgets.scss → base/_base.scss} +5 -4
  10. data/app/assets/stylesheets/base/_basic.scss +24 -0
  11. data/app/assets/stylesheets/{_forms.scss → base/_forms.scss} +3 -3
  12. data/app/assets/stylesheets/base/_lists.scss +70 -0
  13. data/app/assets/stylesheets/{_tables.scss → base/_table.scss} +4 -4
  14. data/app/assets/stylesheets/{_typography.scss → base/_typography.scss} +69 -74
  15. data/app/assets/stylesheets/components/_alerts.scss +12 -0
  16. data/app/assets/stylesheets/{base/_badge.scss → components/_badges.scss} +5 -4
  17. data/app/assets/stylesheets/components/_breadcrumbs.scss +6 -5
  18. data/app/assets/stylesheets/{base → components}/_buttons.scss +3 -3
  19. data/app/assets/stylesheets/components/_cards.scss +2 -2
  20. data/app/assets/stylesheets/components/_comments.scss +12 -0
  21. data/app/assets/stylesheets/components/_covers.scss +12 -0
  22. data/app/assets/stylesheets/components/_features.scss +12 -0
  23. data/app/assets/stylesheets/components/_icons.scss +15 -0
  24. data/app/assets/stylesheets/components/_modals.scss +12 -0
  25. data/app/assets/stylesheets/components/_navigations.scss +3 -3
  26. data/app/assets/stylesheets/components/_pagination.scss +7 -7
  27. data/app/assets/stylesheets/components/_recipes.scss +12 -0
  28. data/app/assets/stylesheets/components/_search-form.scss +3 -3
  29. data/app/assets/stylesheets/components/_sidebars.scss +12 -0
  30. data/app/assets/stylesheets/components/_sorting-cards.scss +3 -3
  31. data/app/assets/stylesheets/components/_user.scss +12 -0
  32. data/app/assets/stylesheets/components/alerts/_alert-global.scss +9 -10
  33. data/app/assets/stylesheets/components/alerts/_alert-market.scss +8 -47
  34. data/app/assets/stylesheets/components/alerts/_alert-no-result.scss +46 -0
  35. data/app/assets/stylesheets/components/cards/_brand-product-card.scss +72 -0
  36. data/app/assets/stylesheets/components/cards/_dish-card.scss +2 -3
  37. data/app/assets/stylesheets/components/cards/_feeds-card.scss +147 -0
  38. data/app/assets/stylesheets/components/cards/_list-card.scss +3 -2
  39. data/app/assets/stylesheets/components/cards/_photo-card.scss +2 -58
  40. data/app/assets/stylesheets/components/cards/_product-card.scss +5 -4
  41. data/app/assets/stylesheets/components/cards/_video-card.scss +6 -5
  42. data/app/assets/stylesheets/components/comments/_comment-form.scss +5 -5
  43. data/app/assets/stylesheets/components/{single_comment → comments}/_single-comment.scss +5 -5
  44. data/app/assets/stylesheets/components/{medias → covers}/_brand-cover.scss +6 -6
  45. data/app/assets/stylesheets/components/{medias → covers}/_categories-cover.scss +5 -5
  46. data/app/assets/stylesheets/{widgets → components}/features/_feature-events.scss +5 -5
  47. data/app/assets/stylesheets/{widgets → components}/features/_feature-slides.scss +5 -5
  48. data/app/assets/stylesheets/components/icons/_footer-social-icons.scss +82 -0
  49. data/app/assets/stylesheets/components/icons/_icon-status.scss +67 -0
  50. data/app/assets/stylesheets/components/icons/_icookfont.scss +93 -0
  51. data/app/assets/stylesheets/{widgets/modal → components/modals}/_modal-reset.scss +6 -6
  52. data/app/assets/stylesheets/components/modals/_recipe-list-modal.scss +169 -0
  53. data/app/assets/stylesheets/components/navigations/{_blog-nav.scss → _blog-navi.scss} +5 -5
  54. data/app/assets/stylesheets/components/navigations/{_brand-tabs-nav.scss → _brand-tabs-navi.scss} +6 -30
  55. data/app/assets/stylesheets/components/navigations/{_categories-nav-responsive.scss → _categories-navi-responsive.scss} +7 -9
  56. data/app/assets/stylesheets/components/navigations/_categories-navi.scss +203 -0
  57. data/app/assets/stylesheets/components/navigations/{_tv-nav.scss → _tv-navi.scss} +11 -42
  58. data/app/assets/stylesheets/components/recipes/_ingredients.scss +4 -70
  59. data/app/assets/stylesheets/components/recipes/_notes.scss +4 -4
  60. data/app/assets/stylesheets/components/recipes/_recipe-details.scss +48 -0
  61. data/app/assets/stylesheets/components/{navigations/_recipe-nav.scss → recipes/_recipe-navi.scss} +9 -9
  62. data/app/assets/stylesheets/components/recipes/_steps.scss +5 -5
  63. data/app/assets/stylesheets/{widgets/brands/_pr-ingredients.scss → components/sidebars/_brand-ingredients.scss} +7 -12
  64. data/app/assets/stylesheets/{widgets/sidebar-widgets/_popular-recipe-lists.scss → components/sidebars/_brand-popular-lists.scss} +31 -44
  65. data/app/assets/stylesheets/{widgets/brands/_pr-recent.scss → components/sidebars/_brand-recent-events.scss} +12 -7
  66. data/app/assets/stylesheets/{widgets/brands/_pr-video.scss → components/sidebars/_brand-video.scss} +6 -6
  67. data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_business-kitchen.scss +15 -10
  68. data/app/assets/stylesheets/components/sidebars/_hot-categories.scss +212 -0
  69. data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_icook-video.scss +5 -5
  70. data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_popular-recipes.scss +5 -5
  71. data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_popular-search.scss +72 -59
  72. data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_recipes-collect.scss +13 -6
  73. data/app/assets/stylesheets/components/sidebars/_sidebar-basic.scss +77 -0
  74. data/app/assets/stylesheets/{widgets/tv → components/sidebars}/_tv-more-recipes.scss +20 -12
  75. data/app/assets/stylesheets/{widgets/tv → components/sidebars}/_tv-popular-tags.scss +14 -13
  76. data/app/assets/stylesheets/{widgets → components}/users/_fav-list.scss +4 -7
  77. data/app/assets/stylesheets/{widgets → components}/users/_user-stats.scss +3 -3
  78. data/app/assets/stylesheets/{mixins → helpers}/_mixin-alert.scss +1 -10
  79. data/app/assets/stylesheets/helpers/_mixin-animation.scss +11 -0
  80. data/app/assets/stylesheets/{mixins → helpers}/_mixin-badge.scss +1 -2
  81. data/app/assets/stylesheets/{mixins → helpers}/_mixin-buttons.scss +4 -8
  82. data/app/assets/stylesheets/{mixins → helpers}/_mixin-icons.scss +4 -6
  83. data/app/assets/stylesheets/{variables/_color-palette.scss → helpers/_variables-color.scss} +2 -2
  84. data/app/assets/stylesheets/layouts/{_footer.scss → _base-footer.scss} +5 -5
  85. data/app/assets/stylesheets/layouts/_footer-nav.scss +5 -5
  86. data/app/assets/stylesheets/layouts/_footers.scss +2 -2
  87. data/app/assets/stylesheets/layouts/_global-navbar.scss +6 -6
  88. data/app/assets/stylesheets/{components/_grid.scss → layouts/_grids.scss} +6 -4
  89. data/app/assets/stylesheets/layouts/_headers.scss +3 -3
  90. data/app/assets/stylesheets/layouts/_sub-header-market.scss +5 -5
  91. data/lib/cupboard/version.rb +1 -1
  92. metadata +63 -72
  93. data/app/assets/pages/atomic.md +0 -56
  94. data/app/assets/stylesheets/_basic.scss +0 -22
  95. data/app/assets/stylesheets/_global.scss +0 -40
  96. data/app/assets/stylesheets/_images.scss +0 -125
  97. data/app/assets/stylesheets/_lists.scss +0 -203
  98. data/app/assets/stylesheets/_mixins.scss +0 -6
  99. data/app/assets/stylesheets/_variables.scss +0 -1
  100. data/app/assets/stylesheets/_widgets.scss +0 -50
  101. data/app/assets/stylesheets/components/_accordion.scss +0 -69
  102. data/app/assets/stylesheets/components/_text.scss +0 -166
  103. data/app/assets/stylesheets/components/medias/_blog-feeds.scss +0 -28
  104. data/app/assets/stylesheets/components/medias/_brand-product.scss +0 -35
  105. data/app/assets/stylesheets/components/medias/_business-kitchen.scss +0 -66
  106. data/app/assets/stylesheets/components/medias/_hot-categories.scss +0 -36
  107. data/app/assets/stylesheets/components/medias/_popular-categories.scss +0 -89
  108. data/app/assets/stylesheets/components/medias/_popular-recipes.scss +0 -38
  109. data/app/assets/stylesheets/components/medias/_pr-lists.scss +0 -53
  110. data/app/assets/stylesheets/components/medias/_recipe-reference.scss +0 -45
  111. data/app/assets/stylesheets/components/medias/_user-recipes.scss +0 -46
  112. data/app/assets/stylesheets/components/navigations/_categories-nav.scss +0 -307
  113. data/app/assets/stylesheets/mixins/_mixin-animation.scss +0 -10
  114. data/app/assets/stylesheets/mixins/_mixin-type.scss +0 -7
  115. data/app/assets/stylesheets/widgets/_brand-sidebar-widgets.scss +0 -11
  116. data/app/assets/stylesheets/widgets/_recipe-mark.scss +0 -55
  117. data/app/assets/stylesheets/widgets/_sidebar-widgets.scss +0 -11
  118. data/app/assets/stylesheets/widgets/_tv-sidebar-widgets.scss +0 -11
  119. data/app/assets/stylesheets/widgets/_user-sidebar-widgets.scss +0 -11
  120. data/app/assets/stylesheets/widgets/brands/_pr-latest.scss +0 -62
  121. data/app/assets/stylesheets/widgets/brands/_pr-popular-recipe-lists.scss +0 -51
  122. data/app/assets/stylesheets/widgets/feeds/_blog-feeds.scss +0 -144
  123. data/app/assets/stylesheets/widgets/feeds/_tv-feeds.scss +0 -143
  124. data/app/assets/stylesheets/widgets/modal/_recipe-list-modal.scss +0 -111
  125. data/app/assets/stylesheets/widgets/sidebar-widgets/_sidebar-widget.scss +0 -62
@@ -1,14 +1,16 @@
1
1
  // --------------------------------
2
- // Grid
2
+ // Layouts - Grids
3
3
  // --------------------------------
4
4
 
5
5
  /*doc
6
6
  ---
7
- title: Grid
8
- name: 03_grid
9
- category: UI components
7
+ title: Grids
8
+ name: 01_grids
9
+ category: layouts
10
10
  ---
11
11
 
12
+ We use Bootstrap's grid system.
13
+
12
14
  <div class="ic-grid">
13
15
  <div class="row">
14
16
  <div class="col-xs-12">
@@ -4,8 +4,8 @@
4
4
 
5
5
  /*doc
6
6
  ---
7
- title: Header
8
- name: 01_headers
9
- category: modular_widgets
7
+ title: Headers
8
+ name: 02_headers
9
+ category: layouts
10
10
  ---
11
11
  */
@@ -1,12 +1,12 @@
1
- // --------------------------------
2
- // Layouts - Market channel header
3
- // --------------------------------
1
+ // ---------------------------------------------
2
+ // Layouts - Headers - market channel header
3
+ // ---------------------------------------------
4
4
 
5
5
  /*doc
6
6
  ---
7
- parent: 01_headers
7
+ parent: 02_headers
8
8
  title: Channel header
9
- name: sub_header_market
9
+ name: 02_sub_header_market
10
10
  ---
11
11
 
12
12
  <div class="ic-header">
@@ -1,3 +1,3 @@
1
1
  module Cupboard
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cupboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Lo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-09 00:00:00.000000000 Z
11
+ date: 2016-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -166,103 +166,94 @@ files:
166
166
  - app/assets/images/setting-pr.jpg
167
167
  - app/assets/images/step-placeholder.jpg
168
168
  - app/assets/images/vip-icon.svg
169
- - app/assets/pages/atomic.md
170
169
  - app/assets/pages/index.md
171
170
  - app/assets/stylesheets/_base.scss
172
- - app/assets/stylesheets/_basic.scss
173
171
  - app/assets/stylesheets/_components.scss
174
- - app/assets/stylesheets/_forms.scss
175
- - app/assets/stylesheets/_global.scss
176
- - app/assets/stylesheets/_images.scss
172
+ - app/assets/stylesheets/_helpers.scss
177
173
  - app/assets/stylesheets/_layouts.scss
178
- - app/assets/stylesheets/_lists.scss
179
- - app/assets/stylesheets/_mixins.scss
180
- - app/assets/stylesheets/_tables.scss
181
- - app/assets/stylesheets/_typography.scss
182
- - app/assets/stylesheets/_variables.scss
183
- - app/assets/stylesheets/_widgets.scss
184
- - app/assets/stylesheets/base/_badge.scss
185
- - app/assets/stylesheets/base/_buttons.scss
186
- - app/assets/stylesheets/components/_accordion.scss
174
+ - app/assets/stylesheets/base/_base.scss
175
+ - app/assets/stylesheets/base/_basic.scss
176
+ - app/assets/stylesheets/base/_forms.scss
177
+ - app/assets/stylesheets/base/_lists.scss
178
+ - app/assets/stylesheets/base/_table.scss
179
+ - app/assets/stylesheets/base/_typography.scss
180
+ - app/assets/stylesheets/components/_alerts.scss
181
+ - app/assets/stylesheets/components/_badges.scss
187
182
  - app/assets/stylesheets/components/_breadcrumbs.scss
183
+ - app/assets/stylesheets/components/_buttons.scss
188
184
  - app/assets/stylesheets/components/_cards.scss
189
- - app/assets/stylesheets/components/_grid.scss
185
+ - app/assets/stylesheets/components/_comments.scss
186
+ - app/assets/stylesheets/components/_covers.scss
187
+ - app/assets/stylesheets/components/_features.scss
188
+ - app/assets/stylesheets/components/_icons.scss
189
+ - app/assets/stylesheets/components/_modals.scss
190
190
  - app/assets/stylesheets/components/_navigations.scss
191
191
  - app/assets/stylesheets/components/_pagination.scss
192
+ - app/assets/stylesheets/components/_recipes.scss
192
193
  - app/assets/stylesheets/components/_search-form.scss
194
+ - app/assets/stylesheets/components/_sidebars.scss
193
195
  - app/assets/stylesheets/components/_sorting-cards.scss
194
- - app/assets/stylesheets/components/_text.scss
196
+ - app/assets/stylesheets/components/_user.scss
195
197
  - app/assets/stylesheets/components/alerts/_alert-global.scss
196
198
  - app/assets/stylesheets/components/alerts/_alert-market.scss
199
+ - app/assets/stylesheets/components/alerts/_alert-no-result.scss
200
+ - app/assets/stylesheets/components/cards/_brand-product-card.scss
197
201
  - app/assets/stylesheets/components/cards/_dish-card.scss
202
+ - app/assets/stylesheets/components/cards/_feeds-card.scss
198
203
  - app/assets/stylesheets/components/cards/_list-card.scss
199
204
  - app/assets/stylesheets/components/cards/_photo-card.scss
200
205
  - app/assets/stylesheets/components/cards/_product-card.scss
201
206
  - app/assets/stylesheets/components/cards/_recipe-card.scss
202
207
  - app/assets/stylesheets/components/cards/_video-card.scss
203
208
  - app/assets/stylesheets/components/comments/_comment-form.scss
204
- - app/assets/stylesheets/components/medias/_blog-feeds.scss
205
- - app/assets/stylesheets/components/medias/_brand-cover.scss
206
- - app/assets/stylesheets/components/medias/_brand-product.scss
207
- - app/assets/stylesheets/components/medias/_business-kitchen.scss
208
- - app/assets/stylesheets/components/medias/_categories-cover.scss
209
- - app/assets/stylesheets/components/medias/_hot-categories.scss
210
- - app/assets/stylesheets/components/medias/_popular-categories.scss
211
- - app/assets/stylesheets/components/medias/_popular-recipes.scss
212
- - app/assets/stylesheets/components/medias/_pr-lists.scss
213
- - app/assets/stylesheets/components/medias/_recipe-reference.scss
214
- - app/assets/stylesheets/components/medias/_user-recipes.scss
215
- - app/assets/stylesheets/components/navigations/_blog-nav.scss
216
- - app/assets/stylesheets/components/navigations/_brand-tabs-nav.scss
217
- - app/assets/stylesheets/components/navigations/_categories-nav-responsive.scss
218
- - app/assets/stylesheets/components/navigations/_categories-nav.scss
219
- - app/assets/stylesheets/components/navigations/_recipe-nav.scss
220
- - app/assets/stylesheets/components/navigations/_tv-nav.scss
209
+ - app/assets/stylesheets/components/comments/_single-comment.scss
210
+ - app/assets/stylesheets/components/covers/_brand-cover.scss
211
+ - app/assets/stylesheets/components/covers/_categories-cover.scss
212
+ - app/assets/stylesheets/components/features/_feature-events.scss
213
+ - app/assets/stylesheets/components/features/_feature-slides.scss
214
+ - app/assets/stylesheets/components/icons/_footer-social-icons.scss
215
+ - app/assets/stylesheets/components/icons/_icon-status.scss
216
+ - app/assets/stylesheets/components/icons/_icookfont.scss
217
+ - app/assets/stylesheets/components/modals/_modal-reset.scss
218
+ - app/assets/stylesheets/components/modals/_recipe-list-modal.scss
219
+ - app/assets/stylesheets/components/navigations/_blog-navi.scss
220
+ - app/assets/stylesheets/components/navigations/_brand-tabs-navi.scss
221
+ - app/assets/stylesheets/components/navigations/_categories-navi-responsive.scss
222
+ - app/assets/stylesheets/components/navigations/_categories-navi.scss
223
+ - app/assets/stylesheets/components/navigations/_tv-navi.scss
221
224
  - app/assets/stylesheets/components/recipes/_ingredients.scss
222
225
  - app/assets/stylesheets/components/recipes/_notes.scss
226
+ - app/assets/stylesheets/components/recipes/_recipe-details.scss
227
+ - app/assets/stylesheets/components/recipes/_recipe-navi.scss
223
228
  - app/assets/stylesheets/components/recipes/_steps.scss
224
- - app/assets/stylesheets/components/single_comment/_single-comment.scss
229
+ - app/assets/stylesheets/components/sidebars/_brand-ingredients.scss
230
+ - app/assets/stylesheets/components/sidebars/_brand-popular-lists.scss
231
+ - app/assets/stylesheets/components/sidebars/_brand-recent-events.scss
232
+ - app/assets/stylesheets/components/sidebars/_brand-video.scss
233
+ - app/assets/stylesheets/components/sidebars/_business-kitchen.scss
234
+ - app/assets/stylesheets/components/sidebars/_hot-categories.scss
235
+ - app/assets/stylesheets/components/sidebars/_icook-video.scss
236
+ - app/assets/stylesheets/components/sidebars/_popular-recipes.scss
237
+ - app/assets/stylesheets/components/sidebars/_popular-search.scss
238
+ - app/assets/stylesheets/components/sidebars/_recipes-collect.scss
239
+ - app/assets/stylesheets/components/sidebars/_sidebar-basic.scss
240
+ - app/assets/stylesheets/components/sidebars/_tv-more-recipes.scss
241
+ - app/assets/stylesheets/components/sidebars/_tv-popular-tags.scss
242
+ - app/assets/stylesheets/components/users/_fav-list.scss
243
+ - app/assets/stylesheets/components/users/_user-stats.scss
244
+ - app/assets/stylesheets/helpers/_mixin-alert.scss
245
+ - app/assets/stylesheets/helpers/_mixin-animation.scss
246
+ - app/assets/stylesheets/helpers/_mixin-badge.scss
247
+ - app/assets/stylesheets/helpers/_mixin-buttons.scss
248
+ - app/assets/stylesheets/helpers/_mixin-icons.scss
249
+ - app/assets/stylesheets/helpers/_variables-color.scss
250
+ - app/assets/stylesheets/layouts/_base-footer.scss
225
251
  - app/assets/stylesheets/layouts/_footer-nav.scss
226
- - app/assets/stylesheets/layouts/_footer.scss
227
252
  - app/assets/stylesheets/layouts/_footers.scss
228
253
  - app/assets/stylesheets/layouts/_global-navbar.scss
254
+ - app/assets/stylesheets/layouts/_grids.scss
229
255
  - app/assets/stylesheets/layouts/_headers.scss
230
256
  - app/assets/stylesheets/layouts/_sub-header-market.scss
231
- - app/assets/stylesheets/mixins/_mixin-alert.scss
232
- - app/assets/stylesheets/mixins/_mixin-animation.scss
233
- - app/assets/stylesheets/mixins/_mixin-badge.scss
234
- - app/assets/stylesheets/mixins/_mixin-buttons.scss
235
- - app/assets/stylesheets/mixins/_mixin-icons.scss
236
- - app/assets/stylesheets/mixins/_mixin-type.scss
237
- - app/assets/stylesheets/variables/_color-palette.scss
238
- - app/assets/stylesheets/widgets/_brand-sidebar-widgets.scss
239
- - app/assets/stylesheets/widgets/_recipe-mark.scss
240
- - app/assets/stylesheets/widgets/_sidebar-widgets.scss
241
- - app/assets/stylesheets/widgets/_tv-sidebar-widgets.scss
242
- - app/assets/stylesheets/widgets/_user-sidebar-widgets.scss
243
- - app/assets/stylesheets/widgets/_widgets.scss
244
- - app/assets/stylesheets/widgets/brands/_pr-ingredients.scss
245
- - app/assets/stylesheets/widgets/brands/_pr-latest.scss
246
- - app/assets/stylesheets/widgets/brands/_pr-popular-recipe-lists.scss
247
- - app/assets/stylesheets/widgets/brands/_pr-recent.scss
248
- - app/assets/stylesheets/widgets/brands/_pr-video.scss
249
- - app/assets/stylesheets/widgets/features/_feature-events.scss
250
- - app/assets/stylesheets/widgets/features/_feature-slides.scss
251
- - app/assets/stylesheets/widgets/feeds/_blog-feeds.scss
252
- - app/assets/stylesheets/widgets/feeds/_tv-feeds.scss
253
- - app/assets/stylesheets/widgets/modal/_modal-reset.scss
254
- - app/assets/stylesheets/widgets/modal/_recipe-list-modal.scss
255
- - app/assets/stylesheets/widgets/sidebar-widgets/_business-kitchen.scss
256
- - app/assets/stylesheets/widgets/sidebar-widgets/_icook-video.scss
257
- - app/assets/stylesheets/widgets/sidebar-widgets/_popular-recipe-lists.scss
258
- - app/assets/stylesheets/widgets/sidebar-widgets/_popular-recipes.scss
259
- - app/assets/stylesheets/widgets/sidebar-widgets/_popular-search.scss
260
- - app/assets/stylesheets/widgets/sidebar-widgets/_recipes-collect.scss
261
- - app/assets/stylesheets/widgets/sidebar-widgets/_sidebar-widget.scss
262
- - app/assets/stylesheets/widgets/tv/_tv-more-recipes.scss
263
- - app/assets/stylesheets/widgets/tv/_tv-popular-tags.scss
264
- - app/assets/stylesheets/widgets/users/_fav-list.scss
265
- - app/assets/stylesheets/widgets/users/_user-stats.scss
266
257
  - bin/console
267
258
  - bin/setup
268
259
  - config/initializers/assets.rb
@@ -1,56 +0,0 @@
1
- ---
2
- hologram: true
3
- title: Atomic design
4
- name: 2_atomic
5
- category: Atomic design
6
- ---
7
-
8
- > Here to briefly describe about Atomic Design for management of our systems.
9
-
10
- ## DRY is important
11
-
12
- It's very important to know that design systems allow us to build through a recureent process that we can use across projects. And alse they can be customized to fit specific needs.
13
-
14
- We use he concept of Atomic design for better managing, sorting and maintenance, make the things to be re-useful, scalable and modular as well.
15
-
16
- Keep DRY! Don't Repeat Yourself.
17
-
18
- ## What is Atomic design
19
-
20
- Atomic design is a methodology for creating design systems. There are five distinct levels describe from general to the specific of whole designing elements in our design flow. Below shows you each stage in more detail. (following source from: [Atomic WebDesign](http://bradfrost.com/blog/post/atomic-web-design/))
21
-
22
- <br/>
23
-
24
- #### Atoms
25
-
26
- Atoms are the basic building blocks of matter. they are **HTML tags**, such as a label, an input or a button in our web interfaces.
27
-
28
- <br/>
29
-
30
- #### Molecules
31
-
32
- Molecules are groups of atoms bonded together and are the smallest fundamental units of a compound. For example, a form label, input or button aren't too useful by themselves, but combine them together as a form element and now they can actually do something together.
33
-
34
- <br/>
35
-
36
- #### Organisms
37
-
38
- Molecules are groups of atoms bonded together and are the smallest fundamental units of a compound. For example, a form label, input or button aren't too useful by themselves, but combine them together as a form element and now they can actually do something together.
39
-
40
- <br/>
41
-
42
- #### Templates
43
-
44
- At this stage, Templates consist mostly of groups of organisms stitched together to form pages. it's here where we start to see the design coming together and start seeing things like layout in action.
45
-
46
- Yes, you can see this is where clients start seeing the final design in place as HTML wireframe.
47
-
48
- <br/>
49
-
50
- #### Pages
51
-
52
- Pages are specific instances of templates.( placeholder contents are set ex. image...) and accurate depiction of what a user will ultimately see. They are also the place to test variations in templates...(what a headline containing 40 characters looks like...etc.), they are the templates given context.
53
-
54
- <br/>
55
-
56
- references from: [Atomic Web Design](http://bradfrost.com/blog/post/atomic-web-design/)
@@ -1,22 +0,0 @@
1
- //
2
- // Default global definitons
3
- //
4
- // --------------------------------
5
- // default body styles
6
- // --------------------------------
7
- body {
8
- font-family: $font-family;
9
- letter-spacing: $letter-spacing;
10
- }
11
-
12
- ::selection {
13
- color: #564e42;
14
- background: #e3d6cc;
15
- }
16
-
17
- .inner-block {
18
- background-color: #fff;
19
- border: 1px solid #ebe5e1;
20
- margin-bottom: 10px;
21
- padding: 20px 15px;
22
- }
@@ -1,40 +0,0 @@
1
- // ----------------------------
2
- // Global
3
- // ----------------------------
4
-
5
- /*doc
6
- ---
7
- title: Global
8
- name: 1_global
9
- category: Design elements
10
- ---
11
-
12
- Fonts, Colors, Animations these can be used in multi sites.
13
-
14
- ### Fonts
15
-
16
- Currently we're using
17
- `"Helvetica Neue", "Microsoft Jhenghei", Helvetica, Arial, Geneva, sans-serif` as our default body font sets, and with default `letter-spacing: 0.06em;` .
18
-
19
- [Normal] Cooking is a happiness thing, sharing recipes is that to share happiness to more people.<br/>
20
- [一般] 料理是一件幸福的事,分享食譜則是分享幸福給更多的人。
21
-
22
- **[Bold] Cooking is a happiness thing, share recipes is that to share happiness to more people.<br/>
23
- [粗體] 料理是一件幸福的事,分享食譜則是分享幸福給更多的人。**
24
-
25
- *[Italic] Cooking is a happiness thing, share recipes is that to share happiness to more people.<br/>
26
- [斜體] 料理是一件幸福的事,分享食譜則是分享幸福給更多的人。*
27
- <hr/>
28
-
29
-
30
- ### Animations
31
-
32
- in tv/index - hover state of tv series-nav
33
-
34
- <div class="ic-animation clearfix">
35
- <p>Ease-in-out - Duraion: 0.5s, Ease-in-out (Hover to see effect)</p>
36
- <div class="ease-in-block pull-left">Hover over me</div>
37
- </div>
38
-
39
- */
40
-
@@ -1,125 +0,0 @@
1
- // ----------------------------
2
- // Images
3
- // ----------------------------
4
-
5
- /*doc
6
- ---
7
- title: Images
8
- name: 8_images
9
- category: Design elements
10
- ---
11
-
12
- Logo, feature image, card image, covers, avatar, etc.
13
-
14
- ### Logo
15
-
16
- <div class="row">
17
- <div class="col-xs-6 col-md-3">
18
- <p>header</p>
19
- <img width="75" src="/images/icook-logo.svg" alt="Icook logo">
20
- </div>
21
- <div class="col-xs-6 col-md-4">
22
- <p>footer</p>
23
- <img width="130" class="logo-2x" src="/images/logo-2x.png" alt="Logo 2x">
24
- </div>
25
- </div>
26
-
27
- <hr />
28
- ### Feature image
29
- <p>recipes/index</p>
30
-
31
- <div>
32
- <img width="560" height="240" class="img-responsive" src="http://placehold.it/560x240" alt="560x240">
33
- </div>
34
-
35
- <hr/>
36
- ### Card image
37
-
38
- <div class="row card-img">
39
- <div class="col-xs-12 col-md-3">
40
- <small>recipe-card #list card</small>
41
- <img width="200" height="150" class="img-responsive" src="http://placehold.it/200x150" alt="200x150">
42
- <small class="help">//for 160x120(layout)</small>
43
- </div>
44
- <div class="col-xs-12 col-md-4">
45
- <small>recipe-card #photo card</small>
46
- <img width="400" height="300" class="img-responsive" src="http://placehold.it/400x300" alt="400x300">
47
- <small class="help">//for 172x129(layout)</small>
48
- </div>
49
- <div class="col-xs-12 col-md-4">
50
- <small>dish-card</small>
51
- <img width="150" height="150" class="img-responsive" src="http://placehold.it/150" alt="150">
52
- </div>
53
- </div>
54
-
55
- <hr/>
56
- ### Cover
57
-
58
- <div class="row ic-cover">
59
- <div class="col-xs-12 col-md-4">
60
- <small>recipe cover &nbsp;&nbsp;# recipes/show</small>
61
- <img width="800" height="600" class="img-responsive" src="http://placehold.it/800x600" alt="800x600">
62
- <small class="help">//for 480x360(layout)</small>
63
- </div>
64
- <div class="col-xs-12 col-md-4">
65
- <small>categories cover &nbsp;&nbsp;# categories/show</small>
66
- <img width="800" height="600" class="img-responsive" src="http://placehold.it/800x167" alt="800x167">
67
- <small class="help">//for 718x150(layout)</small>
68
- </div>
69
- <div class="col-xs-12 col-md-4">
70
- <small>brand cover &nbsp;&nbsp;# brands/recipes</small>
71
- <img width="1140" height="300" class="img-responsive" src="http://placehold.it/1140x300" alt="1140x300">
72
- </div>
73
- </div>
74
-
75
- <hr/>
76
- ### Avatar
77
-
78
- <div class="row ic-avatar">
79
- <div class="col-xs-12 col-md-3">
80
- <small>user</small>
81
- <img width="80" height="80" class="img-circle" src="http://placehold.it/80" alt="80">
82
- </div>
83
- <div class="col-xs-12 col-md-3">
84
- <small>comment</small>
85
- <img width="55" height="55" class="img-circle" src="http://placehold.it/55" alt="55">
86
- <small class="help">//tv comment</small>
87
- </div>
88
- <div class="col-xs-12 col-md-3">
89
- <small>brand avatar</small>
90
- <img width="200" height="198" class="img-responsive" src="http://placehold.it/200x198" alt="200x198">
91
- <small class="help">//for 96x96(layout)</small>
92
- </div>
93
- <div class="col-xs-12 col-md-3">
94
- <small>dish comment</small>
95
- <img width="182" height="182" class="img-responsive" src="http://placehold.it/182" alt="182">
96
- <small class="help">//for 40x40(layout)</small>
97
- </div>
98
- </div>
99
-
100
- <hr/>
101
- ### Market
102
- <p>images used in Market</p>
103
- <div class="row">
104
- <div class="col-xs-12 col-md-3">
105
- <p>list cover - index</p>
106
- <img width="640" height="480" class="img-responsive" src="http://placehold.it/640x480" alt="640x480">
107
- <small class="help">//for 263x197(layout)</small>
108
- </div>
109
- <div class="col-xs-12 col-md-3">
110
- <p>Main cover - Jumbotron</p>
111
- <img width="800" height="600" class="img-responsive" src="http://placehold.it/800x600" alt="800x600">
112
- <small class="help">//for 653x489(layout)</small>
113
- </div>
114
- <div class="col-xs-12 col-md-3">
115
- <p>Brand logo - Jumbotron</p>
116
- <img width="280" height="80" class="img-responsive" src="http://placehold.it/280x80" alt="280x80">
117
- </div>
118
- <div class="col-xs-12 col-md-3">
119
- <p>SKU</p>
120
- <img width="800" height="581" class="img-responsive" src="http://placehold.it/800x581" alt="800x581">
121
- <small class="help">//for 120x90(layout)</small>
122
- </div>
123
- </div>
124
-
125
- */