cupboard 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +6 -5
- data/README.md +1 -0
- data/app/assets/pages/index.md +2 -4
- data/app/assets/stylesheets/_base.scss +9 -4
- data/app/assets/stylesheets/_components.scss +77 -61
- data/app/assets/stylesheets/_helpers.scss +14 -0
- data/app/assets/stylesheets/_layouts.scss +11 -1
- data/app/assets/stylesheets/{widgets/_widgets.scss → base/_base.scss} +5 -4
- data/app/assets/stylesheets/base/_basic.scss +24 -0
- data/app/assets/stylesheets/{_forms.scss → base/_forms.scss} +3 -3
- data/app/assets/stylesheets/base/_lists.scss +70 -0
- data/app/assets/stylesheets/{_tables.scss → base/_table.scss} +4 -4
- data/app/assets/stylesheets/{_typography.scss → base/_typography.scss} +69 -74
- data/app/assets/stylesheets/components/_alerts.scss +12 -0
- data/app/assets/stylesheets/{base/_badge.scss → components/_badges.scss} +5 -4
- data/app/assets/stylesheets/components/_breadcrumbs.scss +6 -5
- data/app/assets/stylesheets/{base → components}/_buttons.scss +3 -3
- data/app/assets/stylesheets/components/_cards.scss +2 -2
- data/app/assets/stylesheets/components/_comments.scss +12 -0
- data/app/assets/stylesheets/components/_covers.scss +12 -0
- data/app/assets/stylesheets/components/_features.scss +12 -0
- data/app/assets/stylesheets/components/_icons.scss +15 -0
- data/app/assets/stylesheets/components/_modals.scss +12 -0
- data/app/assets/stylesheets/components/_navigations.scss +3 -3
- data/app/assets/stylesheets/components/_pagination.scss +7 -7
- data/app/assets/stylesheets/components/_recipes.scss +12 -0
- data/app/assets/stylesheets/components/_search-form.scss +3 -3
- data/app/assets/stylesheets/components/_sidebars.scss +12 -0
- data/app/assets/stylesheets/components/_sorting-cards.scss +3 -3
- data/app/assets/stylesheets/components/_user.scss +12 -0
- data/app/assets/stylesheets/components/alerts/_alert-global.scss +9 -10
- data/app/assets/stylesheets/components/alerts/_alert-market.scss +8 -47
- data/app/assets/stylesheets/components/alerts/_alert-no-result.scss +46 -0
- data/app/assets/stylesheets/components/cards/_brand-product-card.scss +72 -0
- data/app/assets/stylesheets/components/cards/_dish-card.scss +2 -3
- data/app/assets/stylesheets/components/cards/_feeds-card.scss +147 -0
- data/app/assets/stylesheets/components/cards/_list-card.scss +3 -2
- data/app/assets/stylesheets/components/cards/_photo-card.scss +2 -58
- data/app/assets/stylesheets/components/cards/_product-card.scss +5 -4
- data/app/assets/stylesheets/components/cards/_video-card.scss +6 -5
- data/app/assets/stylesheets/components/comments/_comment-form.scss +5 -5
- data/app/assets/stylesheets/components/{single_comment → comments}/_single-comment.scss +5 -5
- data/app/assets/stylesheets/components/{medias → covers}/_brand-cover.scss +6 -6
- data/app/assets/stylesheets/components/{medias → covers}/_categories-cover.scss +5 -5
- data/app/assets/stylesheets/{widgets → components}/features/_feature-events.scss +5 -5
- data/app/assets/stylesheets/{widgets → components}/features/_feature-slides.scss +5 -5
- data/app/assets/stylesheets/components/icons/_footer-social-icons.scss +82 -0
- data/app/assets/stylesheets/components/icons/_icon-status.scss +67 -0
- data/app/assets/stylesheets/components/icons/_icookfont.scss +93 -0
- data/app/assets/stylesheets/{widgets/modal → components/modals}/_modal-reset.scss +6 -6
- data/app/assets/stylesheets/components/modals/_recipe-list-modal.scss +169 -0
- data/app/assets/stylesheets/components/navigations/{_blog-nav.scss → _blog-navi.scss} +5 -5
- data/app/assets/stylesheets/components/navigations/{_brand-tabs-nav.scss → _brand-tabs-navi.scss} +6 -30
- data/app/assets/stylesheets/components/navigations/{_categories-nav-responsive.scss → _categories-navi-responsive.scss} +7 -9
- data/app/assets/stylesheets/components/navigations/_categories-navi.scss +203 -0
- data/app/assets/stylesheets/components/navigations/{_tv-nav.scss → _tv-navi.scss} +11 -42
- data/app/assets/stylesheets/components/recipes/_ingredients.scss +4 -70
- data/app/assets/stylesheets/components/recipes/_notes.scss +4 -4
- data/app/assets/stylesheets/components/recipes/_recipe-details.scss +48 -0
- data/app/assets/stylesheets/components/{navigations/_recipe-nav.scss → recipes/_recipe-navi.scss} +9 -9
- data/app/assets/stylesheets/components/recipes/_steps.scss +5 -5
- data/app/assets/stylesheets/{widgets/brands/_pr-ingredients.scss → components/sidebars/_brand-ingredients.scss} +7 -12
- data/app/assets/stylesheets/{widgets/sidebar-widgets/_popular-recipe-lists.scss → components/sidebars/_brand-popular-lists.scss} +31 -44
- data/app/assets/stylesheets/{widgets/brands/_pr-recent.scss → components/sidebars/_brand-recent-events.scss} +12 -7
- data/app/assets/stylesheets/{widgets/brands/_pr-video.scss → components/sidebars/_brand-video.scss} +6 -6
- data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_business-kitchen.scss +15 -10
- data/app/assets/stylesheets/components/sidebars/_hot-categories.scss +212 -0
- data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_icook-video.scss +5 -5
- data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_popular-recipes.scss +5 -5
- data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_popular-search.scss +72 -59
- data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_recipes-collect.scss +13 -6
- data/app/assets/stylesheets/components/sidebars/_sidebar-basic.scss +77 -0
- data/app/assets/stylesheets/{widgets/tv → components/sidebars}/_tv-more-recipes.scss +20 -12
- data/app/assets/stylesheets/{widgets/tv → components/sidebars}/_tv-popular-tags.scss +14 -13
- data/app/assets/stylesheets/{widgets → components}/users/_fav-list.scss +4 -7
- data/app/assets/stylesheets/{widgets → components}/users/_user-stats.scss +3 -3
- data/app/assets/stylesheets/{mixins → helpers}/_mixin-alert.scss +1 -10
- data/app/assets/stylesheets/helpers/_mixin-animation.scss +11 -0
- data/app/assets/stylesheets/{mixins → helpers}/_mixin-badge.scss +1 -2
- data/app/assets/stylesheets/{mixins → helpers}/_mixin-buttons.scss +4 -8
- data/app/assets/stylesheets/{mixins → helpers}/_mixin-icons.scss +4 -6
- data/app/assets/stylesheets/{variables/_color-palette.scss → helpers/_variables-color.scss} +2 -2
- data/app/assets/stylesheets/layouts/{_footer.scss → _base-footer.scss} +5 -5
- data/app/assets/stylesheets/layouts/_footer-nav.scss +5 -5
- data/app/assets/stylesheets/layouts/_footers.scss +2 -2
- data/app/assets/stylesheets/layouts/_global-navbar.scss +6 -6
- data/app/assets/stylesheets/{components/_grid.scss → layouts/_grids.scss} +6 -4
- data/app/assets/stylesheets/layouts/_headers.scss +3 -3
- data/app/assets/stylesheets/layouts/_sub-header-market.scss +5 -5
- data/lib/cupboard/version.rb +1 -1
- metadata +63 -72
- data/app/assets/pages/atomic.md +0 -56
- data/app/assets/stylesheets/_basic.scss +0 -22
- data/app/assets/stylesheets/_global.scss +0 -40
- data/app/assets/stylesheets/_images.scss +0 -125
- data/app/assets/stylesheets/_lists.scss +0 -203
- data/app/assets/stylesheets/_mixins.scss +0 -6
- data/app/assets/stylesheets/_variables.scss +0 -1
- data/app/assets/stylesheets/_widgets.scss +0 -50
- data/app/assets/stylesheets/components/_accordion.scss +0 -69
- data/app/assets/stylesheets/components/_text.scss +0 -166
- data/app/assets/stylesheets/components/medias/_blog-feeds.scss +0 -28
- data/app/assets/stylesheets/components/medias/_brand-product.scss +0 -35
- data/app/assets/stylesheets/components/medias/_business-kitchen.scss +0 -66
- data/app/assets/stylesheets/components/medias/_hot-categories.scss +0 -36
- data/app/assets/stylesheets/components/medias/_popular-categories.scss +0 -89
- data/app/assets/stylesheets/components/medias/_popular-recipes.scss +0 -38
- data/app/assets/stylesheets/components/medias/_pr-lists.scss +0 -53
- data/app/assets/stylesheets/components/medias/_recipe-reference.scss +0 -45
- data/app/assets/stylesheets/components/medias/_user-recipes.scss +0 -46
- data/app/assets/stylesheets/components/navigations/_categories-nav.scss +0 -307
- data/app/assets/stylesheets/mixins/_mixin-animation.scss +0 -10
- data/app/assets/stylesheets/mixins/_mixin-type.scss +0 -7
- data/app/assets/stylesheets/widgets/_brand-sidebar-widgets.scss +0 -11
- data/app/assets/stylesheets/widgets/_recipe-mark.scss +0 -55
- data/app/assets/stylesheets/widgets/_sidebar-widgets.scss +0 -11
- data/app/assets/stylesheets/widgets/_tv-sidebar-widgets.scss +0 -11
- data/app/assets/stylesheets/widgets/_user-sidebar-widgets.scss +0 -11
- data/app/assets/stylesheets/widgets/brands/_pr-latest.scss +0 -62
- data/app/assets/stylesheets/widgets/brands/_pr-popular-recipe-lists.scss +0 -51
- data/app/assets/stylesheets/widgets/feeds/_blog-feeds.scss +0 -144
- data/app/assets/stylesheets/widgets/feeds/_tv-feeds.scss +0 -143
- data/app/assets/stylesheets/widgets/modal/_recipe-list-modal.scss +0 -111
- data/app/assets/stylesheets/widgets/sidebar-widgets/_sidebar-widget.scss +0 -62
@@ -1,203 +0,0 @@
|
|
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
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "variables/color-palette";
|
@@ -1,50 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Widgets
|
3
|
-
//
|
4
|
-
// --------------------------------
|
5
|
-
// global
|
6
|
-
// --------------------------------
|
7
|
-
// - features
|
8
|
-
@import "widgets/features/feature-slides";
|
9
|
-
@import "widgets/features/feature-events";
|
10
|
-
@import "widgets/feeds/blog-feeds";
|
11
|
-
@import "widgets/feeds/tv-feeds";
|
12
|
-
// - sidebar widgets
|
13
|
-
@import "widgets/sidebar-widgets/business-kitchen";
|
14
|
-
@import "widgets/sidebar-widgets/sidebar-widget";
|
15
|
-
@import "widgets/sidebar-widgets/popular-search";
|
16
|
-
@import "widgets/sidebar-widgets/recipes-collect";
|
17
|
-
@import "widgets/sidebar-widgets/popular-recipes";
|
18
|
-
@import "widgets/sidebar-widgets/popular-recipe-lists";
|
19
|
-
@import "widgets/sidebar-widgets/icook-video";
|
20
|
-
|
21
|
-
// --------------------------------
|
22
|
-
// users
|
23
|
-
// --------------------------------
|
24
|
-
@import "widgets/users/user-stats";
|
25
|
-
@import "widgets/users/fav-list";
|
26
|
-
|
27
|
-
// --------------------------------
|
28
|
-
// brands
|
29
|
-
// --------------------------------
|
30
|
-
// @import "widgets/pr-ingredients";
|
31
|
-
@import "widgets/brands/pr-recent";
|
32
|
-
@import "widgets/brands/pr-latest";
|
33
|
-
@import "widgets/brands/pr-popular-recipe-lists";
|
34
|
-
@import "widgets/brands/pr-ingredients";
|
35
|
-
@import "widgets/brands/pr-video";
|
36
|
-
|
37
|
-
// --------------------------------
|
38
|
-
// TV
|
39
|
-
// --------------------------------
|
40
|
-
// @import "widgets/recipe-mark";
|
41
|
-
@import "widgets/tv/tv-popular-tags";
|
42
|
-
@import "widgets/tv/tv-more-recipes";
|
43
|
-
|
44
|
-
// --------------------------------
|
45
|
-
// Modal
|
46
|
-
// --------------------------------
|
47
|
-
// # recipe list modal
|
48
|
-
@import "widgets/modal/modal-reset";
|
49
|
-
@import "widgets/modal/recipe-list-modal";
|
50
|
-
|
@@ -1,69 +0,0 @@
|
|
1
|
-
.product-qna {
|
2
|
-
padding-bottom: 0;
|
3
|
-
|
4
|
-
h4 {
|
5
|
-
margin-bottom: 0;
|
6
|
-
}
|
7
|
-
|
8
|
-
.panel-group {
|
9
|
-
margin-bottom: 0;
|
10
|
-
|
11
|
-
.panel + .panel {
|
12
|
-
margin-top: 0;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
.panel {
|
17
|
-
box-shadow: none;
|
18
|
-
border-radius: 0;
|
19
|
-
border-width: 0 0 1px;
|
20
|
-
border-color: #ddd;
|
21
|
-
|
22
|
-
&:last-child {
|
23
|
-
border-bottom: 0;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
.panel-body {
|
28
|
-
border: 0 !important;
|
29
|
-
padding: 0 20px 20px 24px;;
|
30
|
-
|
31
|
-
p {
|
32
|
-
color: #888;
|
33
|
-
font-size: 15px;
|
34
|
-
margin-bottom: 0;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
.panel-heading {
|
39
|
-
border-radius: 0;
|
40
|
-
padding: 0;
|
41
|
-
|
42
|
-
a {
|
43
|
-
@include icon("\f059");
|
44
|
-
@include icon-b("\f0d8");
|
45
|
-
|
46
|
-
color: #564e4a;
|
47
|
-
display: block;
|
48
|
-
font-size: 16px;
|
49
|
-
padding: 20px 20px 20px 24px;
|
50
|
-
position: relative;
|
51
|
-
|
52
|
-
&:before {
|
53
|
-
left: 0;
|
54
|
-
position: absolute;
|
55
|
-
top: 23px;
|
56
|
-
}
|
57
|
-
|
58
|
-
&:after {
|
59
|
-
margin-left: 0;
|
60
|
-
position: absolute;
|
61
|
-
right: 0;
|
62
|
-
}
|
63
|
-
|
64
|
-
&.collapsed:after {
|
65
|
-
content: "\f0d7";
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
@@ -1,166 +0,0 @@
|
|
1
|
-
// ----------------------------
|
2
|
-
// Text
|
3
|
-
// ----------------------------
|
4
|
-
|
5
|
-
/*doc
|
6
|
-
---
|
7
|
-
title: Text
|
8
|
-
name: 01_text
|
9
|
-
category: UI Components
|
10
|
-
---
|
11
|
-
|
12
|
-
Heading group, byline, small text, badge
|
13
|
-
|
14
|
-
### Heading group
|
15
|
-
|
16
|
-
<div class="row">
|
17
|
-
<div class="col-xs-12 col-md-4">
|
18
|
-
<p>Heading with link</p>
|
19
|
-
<h3 class="clearfix head-link">熱門食譜<a href="#" class="more pull-right">更多</a></h3>
|
20
|
-
</div>
|
21
|
-
<div class="col-xs-12 col-md-8">
|
22
|
-
<p>Heading with text</p>
|
23
|
-
<h3 class="clearfix head-text">逛食譜<span class="pull-right">超過 60,000 道食譜等妳來逛</span></h3>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
<br/>
|
27
|
-
<div class="row">
|
28
|
-
<div class="col-xs-12 col-md-4">
|
29
|
-
<p>Branding - iCook</p>
|
30
|
-
<div class="channel-name">
|
31
|
-
<small>食譜社群網</small><br>
|
32
|
-
<span>愛料理</span>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
<div class="col-xs-12 col-md-8">
|
36
|
-
<p>Branding - Market</p>
|
37
|
-
<h3 class="brand-name"><small>iCook 愛料理</small><br>愛料理生活購物袋</h3>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<hr/>
|
42
|
-
### Byline
|
43
|
-
|
44
|
-
<div class="row">
|
45
|
-
<div class="col-xs-12 col-md-3">
|
46
|
-
<p>recipe card - iCook</p>
|
47
|
-
<p class="username">by <a href="#">愛料理</a></p>
|
48
|
-
</div>
|
49
|
-
<div class="col-xs-12 col-md-5 tv-sub-info">
|
50
|
-
<p>TV</p>
|
51
|
-
<span class="time">
|
52
|
-
於 2015/2/17 發表
|
53
|
-
</span>
|
54
|
-
<span><a href="#">闔家團圓年菜</a></span>
|
55
|
-
<span>阿嬌</span>
|
56
|
-
</div>
|
57
|
-
</div>
|
58
|
-
|
59
|
-
<hr/>
|
60
|
-
### Small text
|
61
|
-
<div class="row">
|
62
|
-
<div class="col-xs-12 col-md-6">
|
63
|
-
<p>recipe card (list-card) - iCook</p>
|
64
|
-
<small class="material">食材:豬絞肉、青蔥(切末)、水餃皮、清水、醬油、味霖、鹽、白胡椒粉</small>
|
65
|
-
</div>
|
66
|
-
<div class="col-xs-12 col-md-6">
|
67
|
-
<p>sku - Market</p>
|
68
|
-
<small class="sku-small">不分大小款,凡購買三個愛料理生活購物袋即享免運</small>
|
69
|
-
</div>
|
70
|
-
</div>
|
71
|
-
|
72
|
-
|
73
|
-
*/
|
74
|
-
|
75
|
-
$head-link-more: #888 !default;
|
76
|
-
$head-text: #888 !default;
|
77
|
-
$byline-text: #a5a5a5 !default;
|
78
|
-
$byline-link: #777 !default;
|
79
|
-
$tv-sub-info-text: #817a77 !default;
|
80
|
-
$tv-sub-info-link: $ic-brown !default;
|
81
|
-
$material-text: #aa8f83 !default;
|
82
|
-
$sku-small-text: #555 !default;
|
83
|
-
|
84
|
-
.head-link,
|
85
|
-
.head-text {
|
86
|
-
color: $ic-brown;
|
87
|
-
}
|
88
|
-
|
89
|
-
.head-link {
|
90
|
-
font-size: 18px;
|
91
|
-
|
92
|
-
.more {
|
93
|
-
color: $head-link-more;
|
94
|
-
line-height: 19px;
|
95
|
-
|
96
|
-
&:hover {
|
97
|
-
color: $orange;
|
98
|
-
text-decoration: none;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
.head-text {
|
104
|
-
font-size: 16px;
|
105
|
-
max-width: 400px;
|
106
|
-
|
107
|
-
span {
|
108
|
-
color: $head-text;
|
109
|
-
font-weight: normal;
|
110
|
-
}
|
111
|
-
}
|
112
|
-
|
113
|
-
.channel-name {
|
114
|
-
small {
|
115
|
-
color: $orange;
|
116
|
-
font-size: 12px;
|
117
|
-
}
|
118
|
-
|
119
|
-
span {
|
120
|
-
color: $ic-brown;
|
121
|
-
display: block;
|
122
|
-
font-size: 24px;
|
123
|
-
}
|
124
|
-
}
|
125
|
-
|
126
|
-
.brand-name {
|
127
|
-
color: $ic-brown;
|
128
|
-
font-size: 20px;
|
129
|
-
margin-top: 0;
|
130
|
-
|
131
|
-
small {
|
132
|
-
color: $ic-brown;
|
133
|
-
display: inline-block;
|
134
|
-
font-size: 13px;
|
135
|
-
margin-bottom: 10px;
|
136
|
-
}
|
137
|
-
}
|
138
|
-
|
139
|
-
p.username {
|
140
|
-
color: $byline-text;
|
141
|
-
|
142
|
-
a {
|
143
|
-
color: $byline-link;
|
144
|
-
font-size: 13px;
|
145
|
-
}
|
146
|
-
}
|
147
|
-
|
148
|
-
.tv-sub-info {
|
149
|
-
color: $tv-sub-info-text;
|
150
|
-
|
151
|
-
a {
|
152
|
-
color: $tv-sub-info-link;
|
153
|
-
margin: 0 10px;
|
154
|
-
}
|
155
|
-
}
|
156
|
-
|
157
|
-
.material {
|
158
|
-
color: $material-text;
|
159
|
-
font-size: 13px;
|
160
|
-
max-height: 40px;
|
161
|
-
}
|
162
|
-
|
163
|
-
.sku-small {
|
164
|
-
color: $sku-small-text;
|
165
|
-
font-size: 13px;
|
166
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Media blocks - blog feeds
|
3
|
-
//
|
4
|
-
// --------------------------
|
5
|
-
//
|
6
|
-
.blog-feeds {
|
7
|
-
a,
|
8
|
-
span {
|
9
|
-
color: #564e4a;
|
10
|
-
display: block;
|
11
|
-
}
|
12
|
-
|
13
|
-
span:not(.img) {
|
14
|
-
display: block;
|
15
|
-
height: 2.8em;
|
16
|
-
overflow: hidden;
|
17
|
-
}
|
18
|
-
|
19
|
-
.img {
|
20
|
-
margin-bottom: 10px;
|
21
|
-
height: 110px;
|
22
|
-
overflow: hidden;
|
23
|
-
}
|
24
|
-
|
25
|
-
img {
|
26
|
-
width: 100%;
|
27
|
-
}
|
28
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
@import "compass/typography/text/ellipsis";
|
2
|
-
// --------------------------------
|
3
|
-
//
|
4
|
-
// Media blocks - brand product
|
5
|
-
//
|
6
|
-
// --------------------------------
|
7
|
-
// # brands/product
|
8
|
-
.product-card {
|
9
|
-
.card-info {
|
10
|
-
p {
|
11
|
-
margin-bottom: 10px;
|
12
|
-
height: 3em;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
.sub-title {
|
17
|
-
color: #ac8b80;
|
18
|
-
font-size: 12px;
|
19
|
-
margin-bottom: 5px;
|
20
|
-
}
|
21
|
-
|
22
|
-
p.price {
|
23
|
-
color: #aa8f83;
|
24
|
-
font-size: 14px;
|
25
|
-
float: left;
|
26
|
-
height: 1.3em;
|
27
|
-
}
|
28
|
-
|
29
|
-
.btn-frame {
|
30
|
-
font-size: 13px;
|
31
|
-
height: 30px;
|
32
|
-
text-decoration: none;
|
33
|
-
width: 110px;
|
34
|
-
}
|
35
|
-
}
|
@@ -1,66 +0,0 @@
|
|
1
|
-
@import "compass/typography/text/ellipsis";
|
2
|
-
// --------------------------------
|
3
|
-
//
|
4
|
-
// Media blocks - business kitchen
|
5
|
-
//
|
6
|
-
// --------------------------------
|
7
|
-
// # recipes/index - widget
|
8
|
-
.business-kitchen {
|
9
|
-
//override bootstrap media-block
|
10
|
-
.media,
|
11
|
-
.media-left,
|
12
|
-
.media-body {
|
13
|
-
display: block;
|
14
|
-
}
|
15
|
-
|
16
|
-
.media-left {
|
17
|
-
float: left;
|
18
|
-
}
|
19
|
-
|
20
|
-
.media-body {
|
21
|
-
width: auto;
|
22
|
-
}
|
23
|
-
|
24
|
-
& > .media {
|
25
|
-
padding: 15px 0;
|
26
|
-
}
|
27
|
-
|
28
|
-
.brand-logo,
|
29
|
-
.recipe-title {
|
30
|
-
@include ellipsis;
|
31
|
-
|
32
|
-
display: block;
|
33
|
-
width: 100%;
|
34
|
-
|
35
|
-
&:hover {
|
36
|
-
text-decoration: underline;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
.brand-logo {
|
41
|
-
color: #777;
|
42
|
-
font-size: 15px;
|
43
|
-
line-height: 34px;
|
44
|
-
margin-bottom: 0;
|
45
|
-
|
46
|
-
img {
|
47
|
-
margin-right: 10px;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
.recipe-title {
|
52
|
-
color: #564e4a;
|
53
|
-
display: inline-block;
|
54
|
-
font-size: 15px;
|
55
|
-
letter-spacing: 0;
|
56
|
-
margin-top: 10px;
|
57
|
-
}
|
58
|
-
|
59
|
-
img {
|
60
|
-
background-color: #eeede8;
|
61
|
-
}
|
62
|
-
|
63
|
-
a {
|
64
|
-
word-wrap: break-word;
|
65
|
-
}
|
66
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Media blocks - hot categories
|
3
|
-
//
|
4
|
-
// --------------------------
|
5
|
-
// # categories/show
|
6
|
-
.hot-categories {
|
7
|
-
.hot-categories-item {
|
8
|
-
margin-bottom: 10px;
|
9
|
-
}
|
10
|
-
|
11
|
-
.title {
|
12
|
-
background-color: #f7f6f3;
|
13
|
-
padding: 5px 10px;
|
14
|
-
margin-bottom: 10px;
|
15
|
-
}
|
16
|
-
|
17
|
-
a {
|
18
|
-
color: #888;
|
19
|
-
display: block;
|
20
|
-
|
21
|
-
&:hover {
|
22
|
-
color: #564e4a;
|
23
|
-
text-decoration: none;
|
24
|
-
|
25
|
-
span {
|
26
|
-
text-decoration: underline;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
img {
|
32
|
-
height: 32px;
|
33
|
-
margin-right: 5px;
|
34
|
-
width: 32px;
|
35
|
-
}
|
36
|
-
}
|