cupboard 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.rspec +2 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +4 -0
  6. data/CODE_OF_CONDUCT.md +13 -0
  7. data/Dockerfile +19 -0
  8. data/Gemfile +6 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +44 -0
  11. data/Rakefile +6 -0
  12. data/app/assets/images/category-cover.png +0 -0
  13. data/app/assets/images/category-default.jpg +0 -0
  14. data/app/assets/images/default-avatar.png +0 -0
  15. data/app/assets/images/favicon.ico +0 -0
  16. data/app/assets/images/icook-logo.png +0 -0
  17. data/app/assets/images/icook-logo.svg +26 -0
  18. data/app/assets/images/logo-2x.png +0 -0
  19. data/app/assets/images/no-result.png +0 -0
  20. data/app/assets/images/recipe-default.png +0 -0
  21. data/app/assets/images/section_bg.jpg +0 -0
  22. data/app/assets/images/setting-pr.jpg +0 -0
  23. data/app/assets/images/step-placeholder.jpg +0 -0
  24. data/app/assets/images/vip-icon.svg +1 -0
  25. data/app/assets/pages/atomic.md +56 -0
  26. data/app/assets/pages/index.md +101 -0
  27. data/app/assets/stylesheets/_base.scss +4 -0
  28. data/app/assets/stylesheets/_basic.scss +22 -0
  29. data/app/assets/stylesheets/_components.scss +95 -0
  30. data/app/assets/stylesheets/_forms.scss +159 -0
  31. data/app/assets/stylesheets/_global.scss +40 -0
  32. data/app/assets/stylesheets/_images.scss +125 -0
  33. data/app/assets/stylesheets/_layouts.scss +4 -0
  34. data/app/assets/stylesheets/_lists.scss +203 -0
  35. data/app/assets/stylesheets/_mixins.scss +6 -0
  36. data/app/assets/stylesheets/_tables.scss +244 -0
  37. data/app/assets/stylesheets/_typography.scss +292 -0
  38. data/app/assets/stylesheets/_variables.scss +1 -0
  39. data/app/assets/stylesheets/_widgets.scss +50 -0
  40. data/app/assets/stylesheets/base/_badge.scss +89 -0
  41. data/app/assets/stylesheets/base/_buttons.scss +217 -0
  42. data/app/assets/stylesheets/components/_accordion.scss +69 -0
  43. data/app/assets/stylesheets/components/_breadcrumbs.scss +46 -0
  44. data/app/assets/stylesheets/components/_cards.scss +12 -0
  45. data/app/assets/stylesheets/components/_grid.scss +45 -0
  46. data/app/assets/stylesheets/components/_navigations.scss +12 -0
  47. data/app/assets/stylesheets/components/_pagination.scss +166 -0
  48. data/app/assets/stylesheets/components/_search-form.scss +56 -0
  49. data/app/assets/stylesheets/components/_sorting-cards.scss +76 -0
  50. data/app/assets/stylesheets/components/_text.scss +166 -0
  51. data/app/assets/stylesheets/components/alerts/_alert-global.scss +137 -0
  52. data/app/assets/stylesheets/components/alerts/_alert-market.scss +129 -0
  53. data/app/assets/stylesheets/components/cards/_dish-card.scss +244 -0
  54. data/app/assets/stylesheets/components/cards/_list-card.scss +168 -0
  55. data/app/assets/stylesheets/components/cards/_photo-card.scss +244 -0
  56. data/app/assets/stylesheets/components/cards/_product-card.scss +104 -0
  57. data/app/assets/stylesheets/components/cards/_recipe-card.scss +96 -0
  58. data/app/assets/stylesheets/components/cards/_video-card.scss +206 -0
  59. data/app/assets/stylesheets/components/comments/_comment-form.scss +222 -0
  60. data/app/assets/stylesheets/components/medias/_blog-feeds.scss +28 -0
  61. data/app/assets/stylesheets/components/medias/_brand-cover.scss +127 -0
  62. data/app/assets/stylesheets/components/medias/_brand-product.scss +35 -0
  63. data/app/assets/stylesheets/components/medias/_business-kitchen.scss +66 -0
  64. data/app/assets/stylesheets/components/medias/_categories-cover.scss +79 -0
  65. data/app/assets/stylesheets/components/medias/_hot-categories.scss +36 -0
  66. data/app/assets/stylesheets/components/medias/_popular-categories.scss +89 -0
  67. data/app/assets/stylesheets/components/medias/_popular-recipes.scss +38 -0
  68. data/app/assets/stylesheets/components/medias/_pr-lists.scss +53 -0
  69. data/app/assets/stylesheets/components/medias/_recipe-reference.scss +45 -0
  70. data/app/assets/stylesheets/components/medias/_user-recipes.scss +46 -0
  71. data/app/assets/stylesheets/components/navigations/_blog-nav.scss +120 -0
  72. data/app/assets/stylesheets/components/navigations/_brand-tabs-nav.scss +187 -0
  73. data/app/assets/stylesheets/components/navigations/_categories-nav-responsive.scss +131 -0
  74. data/app/assets/stylesheets/components/navigations/_categories-nav.scss +307 -0
  75. data/app/assets/stylesheets/components/navigations/_recipe-nav.scss +112 -0
  76. data/app/assets/stylesheets/components/navigations/_tv-nav.scss +283 -0
  77. data/app/assets/stylesheets/components/recipes/_ingredients.scss +223 -0
  78. data/app/assets/stylesheets/components/recipes/_notes.scss +60 -0
  79. data/app/assets/stylesheets/components/recipes/_steps.scss +153 -0
  80. data/app/assets/stylesheets/components/single_comment/_single-comment.scss +251 -0
  81. data/app/assets/stylesheets/layouts/_footer-nav.scss +151 -0
  82. data/app/assets/stylesheets/layouts/_footer.scss +48 -0
  83. data/app/assets/stylesheets/layouts/_footers.scss +12 -0
  84. data/app/assets/stylesheets/layouts/_global-navbar.scss +261 -0
  85. data/app/assets/stylesheets/layouts/_headers.scss +11 -0
  86. data/app/assets/stylesheets/layouts/_sub-header-market.scss +138 -0
  87. data/app/assets/stylesheets/mixins/_mixin-alert.scss +27 -0
  88. data/app/assets/stylesheets/mixins/_mixin-animation.scss +10 -0
  89. data/app/assets/stylesheets/mixins/_mixin-badge.scss +21 -0
  90. data/app/assets/stylesheets/mixins/_mixin-buttons.scss +21 -0
  91. data/app/assets/stylesheets/mixins/_mixin-icons.scss +32 -0
  92. data/app/assets/stylesheets/mixins/_mixin-type.scss +7 -0
  93. data/app/assets/stylesheets/variables/_color-palette.scss +222 -0
  94. data/app/assets/stylesheets/widgets/_brand-sidebar-widgets.scss +11 -0
  95. data/app/assets/stylesheets/widgets/_recipe-mark.scss +55 -0
  96. data/app/assets/stylesheets/widgets/_sidebar-widgets.scss +11 -0
  97. data/app/assets/stylesheets/widgets/_tv-sidebar-widgets.scss +11 -0
  98. data/app/assets/stylesheets/widgets/_user-sidebar-widgets.scss +11 -0
  99. data/app/assets/stylesheets/widgets/_widgets.scss +11 -0
  100. data/app/assets/stylesheets/widgets/brands/_pr-ingredients.scss +154 -0
  101. data/app/assets/stylesheets/widgets/brands/_pr-latest.scss +62 -0
  102. data/app/assets/stylesheets/widgets/brands/_pr-popular-recipe-lists.scss +51 -0
  103. data/app/assets/stylesheets/widgets/brands/_pr-recent.scss +59 -0
  104. data/app/assets/stylesheets/widgets/brands/_pr-video.scss +34 -0
  105. data/app/assets/stylesheets/widgets/features/_feature-events.scss +119 -0
  106. data/app/assets/stylesheets/widgets/features/_feature-slides.scss +144 -0
  107. data/app/assets/stylesheets/widgets/feeds/_blog-feeds.scss +144 -0
  108. data/app/assets/stylesheets/widgets/feeds/_tv-feeds.scss +143 -0
  109. data/app/assets/stylesheets/widgets/modal/_modal-reset.scss +40 -0
  110. data/app/assets/stylesheets/widgets/modal/_recipe-list-modal.scss +111 -0
  111. data/app/assets/stylesheets/widgets/sidebar-widgets/_business-kitchen.scss +134 -0
  112. data/app/assets/stylesheets/widgets/sidebar-widgets/_icook-video.scss +109 -0
  113. data/app/assets/stylesheets/widgets/sidebar-widgets/_popular-recipe-lists.scss +232 -0
  114. data/app/assets/stylesheets/widgets/sidebar-widgets/_popular-recipes.scss +105 -0
  115. data/app/assets/stylesheets/widgets/sidebar-widgets/_popular-search.scss +317 -0
  116. data/app/assets/stylesheets/widgets/sidebar-widgets/_recipes-collect.scss +45 -0
  117. data/app/assets/stylesheets/widgets/sidebar-widgets/_sidebar-widget.scss +62 -0
  118. data/app/assets/stylesheets/widgets/tv/_tv-more-recipes.scss +93 -0
  119. data/app/assets/stylesheets/widgets/tv/_tv-popular-tags.scss +78 -0
  120. data/app/assets/stylesheets/widgets/users/_fav-list.scss +197 -0
  121. data/app/assets/stylesheets/widgets/users/_user-stats.scss +330 -0
  122. data/bin/console +14 -0
  123. data/bin/setup +7 -0
  124. data/config/initializers/assets.rb +5 -0
  125. data/cupboard.gemspec +40 -0
  126. data/example/.gitignore +19 -0
  127. data/lib/cupboard.rb +12 -0
  128. data/lib/cupboard/engine.rb +6 -0
  129. data/lib/cupboard/version.rb +3 -0
  130. metadata +298 -0
@@ -0,0 +1,159 @@
1
+ // ----------------------------
2
+ // Form
3
+ // ----------------------------
4
+
5
+ /*doc
6
+ ---
7
+ title: Forms
8
+ name: 6_forms
9
+ category: Design elements
10
+ ---
11
+
12
+ Basic form, select menu, checkbox, radio button
13
+
14
+ ### 基本表格樣式
15
+ <div class="ic-form basic-form"><small>Basic Form</small></div>
16
+
17
+ <form role="form" class="form-horizontal">
18
+ <div class="form-group">
19
+ <label for="exampleInputUsername1" class="control-label col-sm-2">帳號</label>
20
+ <div class="col-sm-10">
21
+ <input type="text" class="form-control" id="exampleInputUsername1" placeholder="Username">
22
+ </div>
23
+ </div>
24
+ <div class="form-group">
25
+ <label for="exampleInputPassword1" class="control-label col-sm-2">密碼</label>
26
+ <div class="col-sm-10">
27
+ <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
28
+ </div>
29
+ </div>
30
+ <div class="form-group">
31
+ <label for="exampleInputEmail1" class="control-label col-sm-2">電子信箱</label>
32
+ <div class="col-sm-10">
33
+ <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">
34
+ </div>
35
+ </div>
36
+ <div class="form-group">
37
+ <label for="exampleInputAddress" class="control-label col-sm-2">地址</label>
38
+ <div class="col-sm-10">
39
+ <div class="input-group">
40
+ <div class="input-group-addon">台北市 110 中正區</div>
41
+ <input type="text" id="exampleInputAddress" placeholder="Address" class="form-control">
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <div class="form-group">
46
+ <label for="selectGender" class="control-label col-sm-2">性別</label>
47
+ <div class="col-sm-10">
48
+ <select class="form-control" id="selectGender">
49
+ <option>--</option>
50
+ <option>男性</option>
51
+ <option>女性</option>
52
+ </select>
53
+ </div>
54
+ </div>
55
+ <div class="form-group">
56
+ <label for="checkSubscribe" class="control-label col-sm-2">食譜</label>
57
+ <div class="col-sm-10 checkbox">
58
+ <label>
59
+ <input type="checkbox" value="">訂閱的使用者發表新食譜時通知我
60
+ </label>
61
+ </div>
62
+ </div>
63
+ <div class="form-group">
64
+ <label class="control-label col-sm-2">發表食譜</label>
65
+ <div class="col-md-10 radio">
66
+ <label>
67
+ <input checked="checked" id="showRecipe_true" name="showRecipe_true" type="radio" value="true">顯示
68
+ </label>
69
+ <label>
70
+ <input id="showRecipe_false" name="showRecipe_true" type="radio" value="false">不顯示
71
+ </label>
72
+ </div>
73
+ </div>
74
+ <div class="form-group">
75
+ <div class="col-sm-offset-2 col-sm-10">
76
+ <div class="checkbox">
77
+ <label>
78
+ <input type="checkbox">訂閱電子報
79
+ </label>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ <div class="form-group">
84
+ <div class="col-xs-12 col-sm-off-set-2 col-sm-10 pull-right">
85
+ <button type="submit" class="btn btn-default">送出</button>
86
+ </div>
87
+ </div>
88
+ </form>
89
+
90
+ ```
91
+ <form class="form-horizontal">
92
+ <div class="form-group">
93
+ <label class="col-sm-2 control-label">帳號</label>
94
+ <div class="col-sm-10">
95
+ <input class="form-control" placeholder="Username">
96
+ </div>
97
+ </div>
98
+ ...
99
+ </form>
100
+ ```
101
+
102
+ */
103
+
104
+ $form-input-bg: #fafafa !default;
105
+ $form-input-border: #a39b97 !default;
106
+ $form-input-addon-bg: #efede8 !default;
107
+ $form-input-text: #777 !default;
108
+
109
+ .form-horizontal {
110
+ label {
111
+ color: $ic-brown;
112
+ }
113
+
114
+ input:not([type="radio"], [type="checkbox"]),
115
+ select {
116
+ background-color: $form-input-bg;
117
+ border: 1px solid $form-input-border;
118
+ border-radius: 3px;
119
+ height: 44px;
120
+ padding: 15px;
121
+ }
122
+
123
+ [type="checkbox"] {
124
+ height: 16px;
125
+ width: 16px;
126
+ }
127
+
128
+ [type="submit"] {
129
+ background-color: $ic-red;
130
+ border: 0;
131
+ border-radius: 3px;
132
+ color: $white;
133
+ padding: 10px 12px;
134
+ width: 100%;
135
+ }
136
+
137
+ .input-group-addon {
138
+ background-color: $form-input-addon-bg;
139
+ border-bottom-left-radius: 3px;
140
+ border-color: $form-input-border;
141
+ border-top-left-radius: 3px;
142
+
143
+ + input {
144
+ border-left: 0;
145
+ }
146
+ }
147
+
148
+ .checkbox,
149
+ .radio {
150
+ label {
151
+ color: $form-input-text;
152
+ font-size: 16px;
153
+ }
154
+ }
155
+
156
+ .radio label + label {
157
+ margin-left: 10px;
158
+ }
159
+ }
@@ -0,0 +1,40 @@
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
+
@@ -0,0 +1,125 @@
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
+ */
@@ -0,0 +1,4 @@
1
+ @import "layouts/global-navbar";
2
+ @import "layouts/sub-header-market";
3
+ @import "layouts/footer-nav";
4
+ @import "layouts/footer";
@@ -0,0 +1,203 @@
1
+ // ----------------------------
2
+ // Lists
3
+ // ----------------------------
4
+
5
+ /*doc
6
+ ---
7
+ title: Lists
8
+ name: 4_Lists
9
+ category: Design elements
10
+ ---
11
+
12
+ unordered list, ordered list, description
13
+
14
+ ### Unordered list
15
+ <div class="ic-lists">
16
+ <small>orign</small><br/>
17
+ </div>
18
+
19
+ - 所有發表
20
+ - 網友熱搜電鍋菜
21
+ - 愛瘦身食堂
22
+ - 愛料理 TV
23
+ - 愛料理活動
24
+
25
+ <br/>
26
+ <div class="ic-lists">
27
+ <small>icook - favorite list</small><br/>
28
+ </div>
29
+ <ul class="ic-favlist">
30
+ <li class="clearfix"><a href="#"><span class="item">所有發表</span></a></li>
31
+ <li class="clearfix"><a href="#"><span class="item">網友熱搜電鍋菜</span><span class="num pull-right">6</span></a></li>
32
+ <li class="clearfix"><a href="#"><span class="item">愛瘦身食堂</span><span class="num pull-right">25</span></a></li>
33
+ <li class="clearfix"><a href="#"><span class="item">愛料理 TV</span><span class="num pull-right">382</span></a></li>
34
+ <li class="clearfix"><a href="#"><span class="item">愛料理活動</span><span class="num pull-right">1234</span></a></li>
35
+ </ul>
36
+
37
+ ```
38
+ <ul>
39
+ <li>...</li>
40
+ </ul>
41
+ ````
42
+
43
+ ---
44
+
45
+ ### Ordered list
46
+ <div class="ic-lists">
47
+ <small>orign</small><br/>
48
+ </div>
49
+
50
+ 1. 馬鈴薯
51
+ 2. 地瓜
52
+ 3. 豬肉
53
+ 4. 洋蔥
54
+ 5. 起司早餐
55
+
56
+ <br/>
57
+ <div class="ic-lists ic-search-keywords">
58
+ <small>icook - popular search keywords</small><br/>
59
+ </div>
60
+ <ol class="ic-search-keywords" style="counter-reset: li">
61
+ <li><a href="#">馬鈴薯</a></li>
62
+ <li><a href="#">地瓜</a></li>
63
+ <li><a href="#">豬肉</a></li>
64
+ <li><a href="#">洋蔥</a></li>
65
+ <li><a href="#">起司早餐</a></li>
66
+ </ol>
67
+
68
+ ```
69
+ <ol>
70
+ <li>...</li>
71
+ </ol>
72
+ ```
73
+
74
+ ---
75
+
76
+ ### Description
77
+
78
+ <dl>
79
+ <dt>豬肉</dt>
80
+ <dd>豬肉不同的部位,口感也都不同,如:里肌、後腿、梅花、五花、松阪豬、嘴邊肉等。</dd>
81
+ <dt>雞肉</dt>
82
+ <dd>常見的雞肉料理方式有炸雞、烤雞、燉雞、雞湯、雞肉飯等等。</dd>
83
+ <dt>牛肉</dt>
84
+ <dd>牛肉味道鮮美,是受全世界人喜愛的食品,其料理方式主要有生、烤、炒、煮、肉球或肉乾等等。</dd>
85
+ </dl>
86
+ ```
87
+ <dl>
88
+ <dt>...</dt>
89
+ <dd>...</dd>
90
+ </dl>
91
+ ```
92
+
93
+ */
94
+
95
+ .ic-lists + ul {
96
+ width: 200px;
97
+ }
98
+
99
+ // favlist
100
+
101
+ .ic-favlist {
102
+ list-style-type: none;
103
+ padding-left: 0;
104
+
105
+ li {
106
+ border-top: 1px solid #ebe5e1;
107
+ padding: 5px 0 5px 12px;
108
+
109
+ a {
110
+ display: block;
111
+ line-height: 26px;
112
+ padding: 0;
113
+ }
114
+
115
+ span.num {
116
+ color: #aaa;
117
+ font-size: 11px;
118
+ }
119
+
120
+ span.item {
121
+ color: #aaa;
122
+ float: left;
123
+ font-size: 13px;
124
+ max-width: 80%;
125
+ overflow: hidden;
126
+ text-overflow: ellipsis;
127
+ white-space: nowrap;
128
+ }
129
+
130
+ &:first-child {
131
+ border-top: 0;
132
+ padding-top: 0;
133
+
134
+ span {
135
+ color: #aa8f83;
136
+ }
137
+ }
138
+
139
+ &:hover,
140
+ &.active {
141
+ span.num {
142
+ border-radius: 6px;
143
+ color: #fff;
144
+ line-height: 16px;
145
+ margin-top: 5px;
146
+ padding: 0 4px;
147
+ }
148
+ }
149
+
150
+ &:hover {
151
+ span.item {
152
+ text-decoration: underline;
153
+ }
154
+
155
+ span.num {
156
+ background-color: #aaa;
157
+ }
158
+ }
159
+
160
+ &.active {
161
+ span.item {
162
+ color: #aa8f83;
163
+ }
164
+
165
+ span.num {
166
+ background-color: #aa8f83;
167
+ }
168
+ }
169
+ }
170
+ }
171
+
172
+ .ic-search-keywords + ol {
173
+ padding-left: 0;
174
+
175
+ li {
176
+ list-style-type: none;
177
+ margin-bottom: 0;
178
+ padding: 10px 0 10px 27px;
179
+ position: relative;
180
+
181
+ &:before {
182
+ color: #564e4a;
183
+ content: counter(li);
184
+ counter-increment: li;
185
+ font-size: 18px;
186
+ font-weight: bold;
187
+ height: 25px;
188
+ left: 0;
189
+ margin-right: 8px;
190
+ position: absolute;
191
+ text-align: center;
192
+ top: 7px;
193
+ width: 30px;
194
+ }
195
+
196
+ a {
197
+ color: #888;
198
+ display: block;
199
+ font-size: 16px;
200
+ }
201
+ }
202
+ }
203
+