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
data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_popular-search.scss
RENAMED
@@ -1,18 +1,20 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//
|
1
|
+
@import "compass/typography/text/ellipsis";
|
2
|
+
|
3
|
+
// -----------------------------------------
|
4
|
+
// Components - Sidebars - popular search
|
5
|
+
// -----------------------------------------
|
4
6
|
|
5
7
|
/*doc
|
6
8
|
---
|
7
|
-
parent:
|
9
|
+
parent: 17_sidebars
|
8
10
|
title: Popular search
|
9
|
-
name:
|
11
|
+
name: 02_popular_search
|
10
12
|
---
|
11
13
|
|
12
14
|
<div class="row">
|
13
15
|
<div class="col-xs-12 col-sm-6">
|
14
16
|
<div class="inner-block widget">
|
15
|
-
<div
|
17
|
+
<div class="popular-search">
|
16
18
|
<h4 class="title">最近熱門關鍵字</h4>
|
17
19
|
<ol style="counter-reset: li" class="slats">
|
18
20
|
<li class="media clearfix">
|
@@ -142,68 +144,79 @@ name: popular_search
|
|
142
144
|
</div>
|
143
145
|
*/
|
144
146
|
|
147
|
+
$popular-search-link: #888 !default;
|
148
|
+
$popular-search-link-hover: #999 !default;
|
149
|
+
$popular-search-arrow-up: #aa0000 !default;
|
150
|
+
$popular-search-arrow-down: #1c959e !default;
|
151
|
+
$popular-search-minus: #999 !default;
|
152
|
+
|
145
153
|
.popular-search {
|
146
|
-
|
147
|
-
margin-
|
148
|
-
}
|
154
|
+
ol {
|
155
|
+
margin-top: -10px;
|
149
156
|
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
157
|
+
> li::before {
|
158
|
+
background-color: transparent;
|
159
|
+
color: $ic-brown;
|
160
|
+
content: counter(li);
|
161
|
+
counter-increment: li;
|
162
|
+
font-size: 18px;
|
163
|
+
font-weight: bold;
|
164
|
+
height: 30px;
|
165
|
+
left: 0;
|
166
|
+
line-height: 49px;
|
167
|
+
margin-right: 8px;
|
168
|
+
position: absolute;
|
169
|
+
text-align: center;
|
170
|
+
top: 15px;
|
171
|
+
width: 30px;
|
172
|
+
}
|
165
173
|
}
|
166
174
|
|
167
175
|
li {
|
168
176
|
margin-bottom: 0;
|
169
|
-
|
177
|
+
margin-top: 0;
|
178
|
+
padding: 10px 0 10px 27px;
|
170
179
|
position: relative;
|
171
|
-
|
180
|
+
|
181
|
+
+ li {
|
182
|
+
border-top: 1px solid $basic-border;
|
183
|
+
}
|
184
|
+
|
172
185
|
&:first-child {
|
173
186
|
padding-top: 10px;
|
174
187
|
}
|
175
188
|
|
176
|
-
|
177
|
-
|
189
|
+
&.hot {
|
190
|
+
overflow: hidden;
|
191
|
+
position: relative;
|
192
|
+
|
193
|
+
&::after {
|
194
|
+
-webkit-text-size-adjust: none;
|
195
|
+
color: $popular-search-arrow-up;
|
196
|
+
content: "HOT";
|
197
|
+
font-size: 10px;
|
198
|
+
font-weight: 700;
|
199
|
+
left: 129px;
|
200
|
+
position: absolute;
|
201
|
+
top: 14px;
|
202
|
+
}
|
178
203
|
}
|
179
|
-
}
|
180
204
|
|
181
|
-
|
182
|
-
|
183
|
-
overflow: hidden;
|
184
|
-
|
185
|
-
&:after {
|
186
|
-
-webkit-text-size-adjust: none;
|
187
|
-
content: "HOT";
|
188
|
-
color: #aa0000;
|
189
|
-
font-size: 10px;
|
190
|
-
font-weight: 700;
|
191
|
-
left: 129px;
|
192
|
-
position: absolute;
|
193
|
-
top: 14px;
|
205
|
+
a:hover {
|
206
|
+
color: $popular-search-link-hover;
|
194
207
|
}
|
195
208
|
}
|
196
209
|
|
197
210
|
.media-left {
|
198
211
|
@include ellipsis;
|
199
|
-
|
212
|
+
|
200
213
|
line-height: 60px;
|
201
214
|
margin-right: 0;
|
202
215
|
margin-top: 0;
|
203
216
|
width: 41.7%;
|
204
217
|
|
205
218
|
a {
|
206
|
-
color:
|
219
|
+
color: $popular-search-link;
|
207
220
|
float: left;
|
208
221
|
font-size: 16px;
|
209
222
|
}
|
@@ -217,7 +230,7 @@ name: popular_search
|
|
217
230
|
padding: 0;
|
218
231
|
width: 80px;
|
219
232
|
|
220
|
-
|
233
|
+
+ li {
|
221
234
|
margin-left: 10px;
|
222
235
|
}
|
223
236
|
}
|
@@ -244,27 +257,27 @@ name: popular_search
|
|
244
257
|
.icon-arrow-up {
|
245
258
|
@include icon("\f176");
|
246
259
|
|
247
|
-
|
248
|
-
color:
|
260
|
+
&::before {
|
261
|
+
color: $popular-search-arrow-up;
|
249
262
|
}
|
250
263
|
}
|
251
264
|
|
252
265
|
.icon-arrow-down {
|
253
266
|
@include icon("\f175");
|
254
267
|
|
255
|
-
|
256
|
-
color:
|
257
|
-
}
|
268
|
+
&::before {
|
269
|
+
color: $popular-search-arrow-down;
|
270
|
+
}
|
258
271
|
}
|
259
|
-
|
272
|
+
|
260
273
|
.icon-minus {
|
261
274
|
@include icon("\f068");
|
262
275
|
|
263
|
-
|
264
|
-
color:
|
276
|
+
&::before {
|
277
|
+
color: $popular-search-minus;
|
265
278
|
position: relative;
|
266
279
|
right: -2px;
|
267
|
-
}
|
280
|
+
}
|
268
281
|
}
|
269
282
|
|
270
283
|
.icon-arrow-up,
|
@@ -272,7 +285,7 @@ name: popular_search
|
|
272
285
|
.icon-minus {
|
273
286
|
float: right;
|
274
287
|
|
275
|
-
|
288
|
+
&::before {
|
276
289
|
font-weight: bold;
|
277
290
|
font-size: 16px;
|
278
291
|
margin-right: 0;
|
@@ -286,7 +299,7 @@ name: popular_search
|
|
286
299
|
ol > li {
|
287
300
|
padding-left: 17px;
|
288
301
|
|
289
|
-
|
302
|
+
&::before {
|
290
303
|
width: 10px;
|
291
304
|
}
|
292
305
|
}
|
@@ -299,7 +312,7 @@ name: popular_search
|
|
299
312
|
|
300
313
|
@media only screen and (max-width: 992px) {
|
301
314
|
.popular-search {
|
302
|
-
ol > li
|
315
|
+
ol > li::before {
|
303
316
|
line-height: 7px;
|
304
317
|
width: 17px;
|
305
318
|
}
|
@@ -310,8 +323,8 @@ name: popular_search
|
|
310
323
|
width: 100%;
|
311
324
|
}
|
312
325
|
|
313
|
-
.badge-support
|
326
|
+
.badge-support::after {
|
314
327
|
right: -58px;
|
315
328
|
}
|
316
329
|
}
|
317
|
-
}
|
330
|
+
}
|
data/app/assets/stylesheets/{widgets/sidebar-widgets → components/sidebars}/_recipes-collect.scss
RENAMED
@@ -1,20 +1,21 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// ------------------------------------------
|
2
|
+
// Components - Sidebars - recipes collect
|
3
|
+
// ------------------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
parent:
|
7
|
+
parent: 17_sidebars
|
8
8
|
title: Recipes collect
|
9
|
-
name:
|
9
|
+
name: 05_recipes_collect
|
10
10
|
---
|
11
|
+
|
11
12
|
<div class="row">
|
12
13
|
<div class="col-xs-12 col-sm-6">
|
13
14
|
<div class="inner-block widget">
|
14
15
|
<div class="recipes-collect">
|
15
16
|
<h4 class="title badge-pr">食譜料理募集中</h4>
|
16
17
|
<ul>
|
17
|
-
<li><a target="_blank" href="#">
|
18
|
+
<li><a target="_blank" href="#">VIP 獨家好康免費拿>></a></li>
|
18
19
|
<li><a target="_blank" href="#">iCook 愛料理暖心食譜募集中</a></li>
|
19
20
|
<li><a target="_blank" href="#">iCook 愛料理暖心食譜募集中</a></li>
|
20
21
|
</ul>
|
@@ -28,7 +29,13 @@ $recipes-collect-icon: $orange !default;
|
|
28
29
|
|
29
30
|
.recipes-collect {
|
30
31
|
li {
|
32
|
+
padding-bottom: 10px;
|
31
33
|
position: relative;
|
34
|
+
|
35
|
+
+ li {
|
36
|
+
border-top: 1px solid $basic-border;
|
37
|
+
padding-top: 10px;
|
38
|
+
}
|
32
39
|
}
|
33
40
|
|
34
41
|
a {
|
@@ -0,0 +1,77 @@
|
|
1
|
+
// -------------------------------------------
|
2
|
+
// Components - Sidebars - sidebar basic
|
3
|
+
// -------------------------------------------
|
4
|
+
// default sidebar widget basic style
|
5
|
+
|
6
|
+
$sidebar-title: #aa0000 !default;
|
7
|
+
$sidebar-link: #5c4544 !default;
|
8
|
+
$sidebar-link-hover: #ac8c85 !default;
|
9
|
+
$title-link-to-more-text: #888 !default;
|
10
|
+
$title-link-to-more-icon: $ic-brown !default;
|
11
|
+
$title-link-to-more-hover: $orange !default;
|
12
|
+
|
13
|
+
.widget {
|
14
|
+
padding-left: 11px;
|
15
|
+
padding-right: 11px;
|
16
|
+
|
17
|
+
.title {
|
18
|
+
border-bottom: 1px solid $sidebar-title !important;
|
19
|
+
color: $sidebar-title;
|
20
|
+
font-size: 16px;
|
21
|
+
line-height: 20px;
|
22
|
+
margin: 0 0 10px;
|
23
|
+
padding-bottom: 10px;
|
24
|
+
}
|
25
|
+
|
26
|
+
ul,
|
27
|
+
ol {
|
28
|
+
list-style-type: none;
|
29
|
+
margin-bottom: 0;
|
30
|
+
padding-left: 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
li {
|
34
|
+
&:last-child {
|
35
|
+
padding-bottom: 0;
|
36
|
+
}
|
37
|
+
|
38
|
+
a {
|
39
|
+
color: $sidebar-link;
|
40
|
+
display: block;
|
41
|
+
|
42
|
+
&:hover {
|
43
|
+
color: $sidebar-link-hover;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.widget + .ad {
|
50
|
+
margin-top: 20px;
|
51
|
+
|
52
|
+
iframe {
|
53
|
+
margin: 0 auto;
|
54
|
+
display: block;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
.link-to-more {
|
59
|
+
@include icon-b("\f0a9");
|
60
|
+
|
61
|
+
color: $title-link-to-more-text;
|
62
|
+
font-size: 14px;
|
63
|
+
|
64
|
+
&::after {
|
65
|
+
color: $title-link-to-more-icon;
|
66
|
+
}
|
67
|
+
|
68
|
+
&:hover {
|
69
|
+
text-decoration: none;
|
70
|
+
}
|
71
|
+
|
72
|
+
&:hover,
|
73
|
+
&:hover::after {
|
74
|
+
color: $title-link-to-more-hover;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
@@ -1,20 +1,20 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// ----------------------------------------------
|
2
|
+
// Components - Sidebars - tv more recipes
|
3
|
+
// ----------------------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
parent:
|
7
|
+
parent: 17_sidebars
|
8
8
|
title: TV more recipes
|
9
|
-
name:
|
9
|
+
name: 11_tv_more_recipes
|
10
10
|
---
|
11
11
|
|
12
12
|
<div class="row">
|
13
13
|
<div class="col-xs-12 col-sm-4">
|
14
|
-
<div class="inner-block
|
14
|
+
<div class="inner-block more-recipes">
|
15
15
|
<h4 class="title">
|
16
16
|
便當食譜
|
17
|
-
<a class="more pull-right" target="_blank" href="#">更多</a>
|
17
|
+
<a class="link-to-more pull-right" target="_blank" href="#">更多</a>
|
18
18
|
</h4>
|
19
19
|
<div class="media">
|
20
20
|
<div class="pull-left">
|
@@ -60,6 +60,18 @@ name: 07_tv_more_recipes
|
|
60
60
|
$more-recipes-title: $ic-brown !default;
|
61
61
|
|
62
62
|
.more-recipes {
|
63
|
+
img {
|
64
|
+
width: 100%;
|
65
|
+
}
|
66
|
+
|
67
|
+
.title {
|
68
|
+
border-bottom: 1px solid $ic-brown;
|
69
|
+
color: $ic-brown;
|
70
|
+
font-size: 16px;
|
71
|
+
margin-top: 0;
|
72
|
+
padding-bottom: 10px;
|
73
|
+
}
|
74
|
+
|
63
75
|
.media + .media {
|
64
76
|
margin-top: 10px;
|
65
77
|
}
|
@@ -70,11 +82,7 @@ $more-recipes-title: $ic-brown !default;
|
|
70
82
|
|
71
83
|
.pull-left {
|
72
84
|
height: 66px;
|
73
|
-
width:
|
74
|
-
}
|
75
|
-
|
76
|
-
img {
|
77
|
-
width: 100%;
|
85
|
+
width: 98px;
|
78
86
|
}
|
79
87
|
|
80
88
|
.recipe-name {
|
@@ -1,17 +1,17 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// ----------------------------------------------
|
2
|
+
// Components - Sidebars - tv popular tags
|
3
|
+
// ----------------------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
parent:
|
7
|
+
parent: 17_sidebars
|
8
8
|
title: TV popular tags
|
9
|
-
name:
|
9
|
+
name: 12_tv_popular_tags
|
10
10
|
---
|
11
11
|
|
12
12
|
<div class="row">
|
13
13
|
<div class="col-xs-12 col-sm-5">
|
14
|
-
<div class="inner-block
|
14
|
+
<div class="inner-block">
|
15
15
|
<div class="popular-tags">
|
16
16
|
<h4 class="title">熱門主題</h4>
|
17
17
|
<ul class="clearfix tags">
|
@@ -28,22 +28,23 @@ name: 07_tv_popular_tags
|
|
28
28
|
</div>
|
29
29
|
*/
|
30
30
|
|
31
|
-
$tv-widget-title: $ic-brown !default;
|
32
31
|
$tag-link: #8c8783 !default;
|
33
32
|
$tag-link-bg: #efede8 !default;
|
34
33
|
$tag-link-hover: $ic-brown !default;
|
35
|
-
$video-tag-bg: #8c8783 !default;
|
36
34
|
|
37
|
-
.
|
35
|
+
.popular-tags {
|
38
36
|
.title {
|
39
|
-
border-bottom: 1px solid $
|
40
|
-
color: $
|
37
|
+
border-bottom: 1px solid $ic-brown;
|
38
|
+
color: $ic-brown;
|
39
|
+
font-size: 16px;
|
40
|
+
margin-top: 0;
|
41
|
+
padding-bottom: 10px;
|
41
42
|
}
|
42
|
-
}
|
43
43
|
|
44
|
-
.popular-tags {
|
45
44
|
.tags {
|
46
45
|
margin-bottom: -10px;
|
46
|
+
margin-top: 15px;
|
47
|
+
padding-left: 0;
|
47
48
|
}
|
48
49
|
|
49
50
|
.tag {
|
@@ -6,9 +6,9 @@
|
|
6
6
|
|
7
7
|
/*doc
|
8
8
|
---
|
9
|
-
parent:
|
9
|
+
parent: 14_users
|
10
10
|
title: User favorites list
|
11
|
-
name:
|
11
|
+
name: 02_fav_list
|
12
12
|
---
|
13
13
|
|
14
14
|
<div class="row">
|
@@ -59,10 +59,10 @@ name: fav_list
|
|
59
59
|
$accordion-list-bg: $white !default;
|
60
60
|
$accordion-list-title: #efede8 !default;
|
61
61
|
$accordion-list-link: #777 !default;
|
62
|
-
$accordion-list-link-active: $brown !default;
|
62
|
+
$accordion-list-link-active: $ic-brown !default;
|
63
63
|
$accordion-list-link-hover-text: $white !default;
|
64
64
|
$accordion-list-border: #ebe5e1 !default;
|
65
|
-
$accordion-list-button: $brown !default;
|
65
|
+
$accordion-list-button: $ic-brown !default;
|
66
66
|
|
67
67
|
.accordion-list {
|
68
68
|
.navbar-collapse {
|
@@ -101,11 +101,8 @@ $accordion-list-button: $brown !default;
|
|
101
101
|
}
|
102
102
|
|
103
103
|
li {
|
104
|
-
padding: 10px;
|
105
|
-
|
106
104
|
a {
|
107
105
|
color: $accordion-list-link;
|
108
|
-
padding: 0;
|
109
106
|
|
110
107
|
&:hover {
|
111
108
|
background-color: transparent;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
// ----------------------------------
|
2
|
-
//
|
2
|
+
// Components - Users - user stats
|
3
3
|
// ----------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
parent:
|
7
|
+
parent: 14_users
|
8
8
|
title: User stats
|
9
|
-
name:
|
9
|
+
name: 01_user_stats
|
10
10
|
---
|
11
11
|
<div class="row">
|
12
12
|
<div class="col-xs-12 col-sm-6">
|
@@ -1,15 +1,6 @@
|
|
1
|
-
|
1
|
+
// --------------------------------
|
2
2
|
// Mixin - alert and messaging
|
3
3
|
// --------------------------------
|
4
|
-
// global
|
5
|
-
// @mixin alert($color, $border-color, $background-color) {
|
6
|
-
// background-color: $background-color;
|
7
|
-
// border: 1px solid $border-color;
|
8
|
-
// color: $color;
|
9
|
-
// font-size: 14px;
|
10
|
-
// margin-bottom: 10px;
|
11
|
-
// padding: 20px;
|
12
|
-
// }
|
13
4
|
|
14
5
|
// alert
|
15
6
|
@mixin alert-variant($alert-type-color) {
|
@@ -0,0 +1,11 @@
|
|
1
|
+
// --------------------------------
|
2
|
+
// Mixin - animations
|
3
|
+
// --------------------------------
|
4
|
+
|
5
|
+
// #tv - series
|
6
|
+
@mixin ease-in-out($sec) {
|
7
|
+
transition: all $sec ease-in-out;
|
8
|
+
-webkit-transition: all $sec ease-in-out;
|
9
|
+
-moz-transition: all $sec ease-in-out;
|
10
|
+
-o-transition: all $sec ease-in-out;
|
11
|
+
}
|
@@ -1,10 +1,6 @@
|
|
1
|
-
//
|
2
|
-
// Mixin -
|
3
|
-
//
|
4
|
-
// -------------------------------------
|
5
|
-
// * don't forget to import icons mixin
|
6
|
-
// -------------------------------------
|
7
|
-
//
|
1
|
+
// --------------------------------
|
2
|
+
// Mixin - button
|
3
|
+
// --------------------------------
|
8
4
|
// button without icon
|
9
5
|
@mixin btn ($btn-font-size, $btn-font-color, $btn-bg-color) {
|
10
6
|
border-radius: 4px;
|
@@ -16,6 +12,6 @@
|
|
16
12
|
// button with icon
|
17
13
|
@mixin btn-icon ($icon, $btn-font-size, $btn-font-color, $btn-bg-color) {
|
18
14
|
@include btn ($btn-font-size, $btn-font-color, $btn-bg-color);
|
19
|
-
@include icon ($icon);
|
15
|
+
@include icon ($icon);
|
20
16
|
}
|
21
17
|
|
@@ -1,10 +1,8 @@
|
|
1
|
-
//
|
2
|
-
// Mixin - icons
|
3
|
-
//
|
4
1
|
// --------------------------------
|
5
|
-
//
|
2
|
+
// Mixin - icons
|
6
3
|
// --------------------------------
|
7
|
-
|
4
|
+
// use font-awesome / icon-font
|
5
|
+
@mixin basic-icon($icon) {
|
8
6
|
content: $icon;
|
9
7
|
display: inline-block;
|
10
8
|
font-family: FontAwesome;
|
@@ -14,7 +12,7 @@
|
|
14
12
|
line-height: 1;
|
15
13
|
width: 14px;
|
16
14
|
-webkit-font-smoothing: antialiased;
|
17
|
-
-moz-osx-font-smoothing: grayscale;
|
15
|
+
-moz-osx-font-smoothing: grayscale;
|
18
16
|
}
|
19
17
|
|
20
18
|
@mixin icon($icon) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
// --------------------------------
|
2
|
-
//
|
2
|
+
// Variables - colors
|
3
3
|
// --------------------------------
|
4
4
|
|
5
5
|
/*doc
|
@@ -140,7 +140,7 @@ $black: #000 !default;
|
|
140
140
|
$white: #fff !default;
|
141
141
|
$orange: #f06354 !default;
|
142
142
|
$basic-bg: #efede8 !default;
|
143
|
-
$basic-border: #
|
143
|
+
$basic-border: #e2e0db !default;
|
144
144
|
|
145
145
|
// iCook main colors
|
146
146
|
// variable named with prefix `ic-`
|
@@ -1,12 +1,12 @@
|
|
1
|
-
//
|
2
|
-
// Layouts -
|
3
|
-
//
|
1
|
+
// -----------------------------------
|
2
|
+
// Layouts - Footers - base footer
|
3
|
+
// -----------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
parent:
|
7
|
+
parent: 03_footers
|
8
8
|
title: Base footer
|
9
|
-
name:
|
9
|
+
name: 01_base_footer
|
10
10
|
---
|
11
11
|
|
12
12
|
<div class="ic-footers">
|
@@ -1,12 +1,12 @@
|
|
1
|
-
//
|
2
|
-
// Layouts -
|
3
|
-
//
|
1
|
+
// -----------------------------------
|
2
|
+
// Layouts - Footers - mega footer
|
3
|
+
// -----------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
parent:
|
7
|
+
parent: 03_footers
|
8
8
|
title: Mega footer
|
9
|
-
name:
|
9
|
+
name: 02_footer_nav
|
10
10
|
---
|
11
11
|
|
12
12
|
<div class="ic-footers">
|
@@ -1,15 +1,15 @@
|
|
1
|
-
//
|
2
|
-
// Layouts -
|
3
|
-
//
|
1
|
+
// -----------------------------------------
|
2
|
+
// Layouts - Headers - global navigation
|
3
|
+
// -----------------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
parent:
|
7
|
+
parent: 02_headers
|
8
8
|
title: Global navigation
|
9
|
-
name:
|
9
|
+
name: 01_global_navbar
|
10
10
|
---
|
11
11
|
|
12
|
-
> Primary header<br/><small>a.k.a.
|
12
|
+
> Primary header<br/><small>a.k.a. icook-navbar which is on multiple sites as global header.</small>
|
13
13
|
|
14
14
|
<div class="ic-header">
|
15
15
|
<div class="ic-highlight">Note this is already made as a gem-used application. check this: <a href="https://github.com/polydice/icook-navbar" target="_blank">polydice/icook-navbar</a> on github.</div>
|