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,89 +0,0 @@
|
|
1
|
-
@import "compass/css3/images";
|
2
|
-
@import "compass/typography/text/ellipsis";
|
3
|
-
// ----------------------------------
|
4
|
-
//
|
5
|
-
// Media blocks - popular categories
|
6
|
-
//
|
7
|
-
// ----------------------------------
|
8
|
-
//
|
9
|
-
.popular-category {
|
10
|
-
padding-bottom: 10px;
|
11
|
-
|
12
|
-
& + .popular-category {
|
13
|
-
border-top: 1px solid #ebe5e1;
|
14
|
-
padding-top: 10px;
|
15
|
-
}
|
16
|
-
|
17
|
-
&:last-child {
|
18
|
-
padding-bottom: 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
.media-body {
|
22
|
-
width: 74%;
|
23
|
-
|
24
|
-
& > span {
|
25
|
-
@include ellipsis;
|
26
|
-
|
27
|
-
color: #5c4544;
|
28
|
-
display: inline;
|
29
|
-
float: left;
|
30
|
-
font-size: 16px;
|
31
|
-
line-height: 52px;
|
32
|
-
width: 64%;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
img {
|
37
|
-
@include background(image-url("category-default.jpg"));
|
38
|
-
|
39
|
-
background-repeat: no-repeat;
|
40
|
-
margin-right: 10px;
|
41
|
-
height: 51px;
|
42
|
-
width: 68px;
|
43
|
-
}
|
44
|
-
|
45
|
-
.media-right {
|
46
|
-
@include icon-b("\f0a9");
|
47
|
-
|
48
|
-
color: #aa8f83;
|
49
|
-
font-size: 12px;
|
50
|
-
letter-spacing: 0.01em;
|
51
|
-
line-height: 52px;
|
52
|
-
margin-left: 0;
|
53
|
-
padding-right: 18px;
|
54
|
-
padding-left: 0;
|
55
|
-
position: relative;
|
56
|
-
width: 94px;
|
57
|
-
|
58
|
-
&:after {
|
59
|
-
background-color: #fff;
|
60
|
-
color: #f06354;
|
61
|
-
font-size: 14px;
|
62
|
-
line-height: 52px;
|
63
|
-
margin-left: 0;
|
64
|
-
position: absolute;
|
65
|
-
right: 3px;
|
66
|
-
top: -1px;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
a:hover {
|
71
|
-
text-decoration: none;
|
72
|
-
|
73
|
-
.media-body > span {
|
74
|
-
color: #aa8f83;
|
75
|
-
text-decoration: underline;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
@media only screen and (max-width: 320px) {
|
81
|
-
.popular-category .media-body {
|
82
|
-
width: 62%;
|
83
|
-
|
84
|
-
& > span {
|
85
|
-
width: 51%;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
@@ -1,38 +0,0 @@
|
|
1
|
-
@import "compass/typography/text/ellipsis";
|
2
|
-
// -------------------------------
|
3
|
-
//
|
4
|
-
// Media blocks - popular recipes
|
5
|
-
//
|
6
|
-
// -------------------------------
|
7
|
-
//
|
8
|
-
.popular-recipes {
|
9
|
-
& > div {
|
10
|
-
border-bottom: 0;
|
11
|
-
float: left;
|
12
|
-
margin-bottom: 15px;
|
13
|
-
margin-right: 3.58%;
|
14
|
-
padding-bottom: 0;
|
15
|
-
padding-top: 0;
|
16
|
-
width: 48.1%;
|
17
|
-
}
|
18
|
-
|
19
|
-
a {
|
20
|
-
color: #5c4544;
|
21
|
-
display: block;
|
22
|
-
|
23
|
-
&:hover {
|
24
|
-
color: #ac8c85;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
img {
|
29
|
-
background-color: #eeede8;
|
30
|
-
max-height: 122px;
|
31
|
-
margin-bottom: 10px;
|
32
|
-
width: 100%;
|
33
|
-
}
|
34
|
-
|
35
|
-
span {
|
36
|
-
@include ellipsis;
|
37
|
-
}
|
38
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Media blocks - pr lists
|
3
|
-
//
|
4
|
-
// --------------------------
|
5
|
-
// # brands - sidebar widget
|
6
|
-
.pr-lists {
|
7
|
-
.cover {
|
8
|
-
height: 100px;
|
9
|
-
overflow: hidden;
|
10
|
-
}
|
11
|
-
|
12
|
-
.pr-list-item {
|
13
|
-
border-bottom: 0;
|
14
|
-
margin-bottom: 10px;
|
15
|
-
padding: 0;
|
16
|
-
position: relative;
|
17
|
-
|
18
|
-
&:last-child {
|
19
|
-
margin-bottom: 0;
|
20
|
-
}
|
21
|
-
|
22
|
-
span {
|
23
|
-
bottom: 3px;
|
24
|
-
color: #5c4545;
|
25
|
-
position: absolute;
|
26
|
-
right: 8px;
|
27
|
-
z-index: 3;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
a {
|
32
|
-
display: block;
|
33
|
-
|
34
|
-
&:hover span {
|
35
|
-
text-decoration: underline;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
img {
|
40
|
-
width: 100%;
|
41
|
-
}
|
42
|
-
|
43
|
-
.mask {
|
44
|
-
bottom: 0;
|
45
|
-
background-color: #fff;
|
46
|
-
filter: alpha(opacity=70) /0; //ie8
|
47
|
-
height: 30px;
|
48
|
-
opacity: 0.7;
|
49
|
-
position: absolute;
|
50
|
-
width: 100%;
|
51
|
-
z-index: 2;
|
52
|
-
}
|
53
|
-
}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
@import "compass/typography/text/ellipsis";
|
2
|
-
// --------------------------------
|
3
|
-
//
|
4
|
-
// Media blocks - recipe reference
|
5
|
-
//
|
6
|
-
// --------------------------------
|
7
|
-
// # tv - sidebar widget
|
8
|
-
.recipe-reference {
|
9
|
-
margin-top: 0;
|
10
|
-
|
11
|
-
.reference {
|
12
|
-
background: #fff;
|
13
|
-
|
14
|
-
a {
|
15
|
-
display: block;
|
16
|
-
position: relative;
|
17
|
-
|
18
|
-
&:hover > div {
|
19
|
-
text-decoration: underline;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
img {
|
24
|
-
width: 100%;
|
25
|
-
}
|
26
|
-
|
27
|
-
div {
|
28
|
-
@include ellipsis;
|
29
|
-
|
30
|
-
bottom: 0;
|
31
|
-
color: #5c4545;
|
32
|
-
font-size: 14px;
|
33
|
-
padding: 5px 10px;
|
34
|
-
position: absolute;
|
35
|
-
width: 100%;
|
36
|
-
z-index: 2;
|
37
|
-
}
|
38
|
-
|
39
|
-
.mask {
|
40
|
-
background-color: #efede8;
|
41
|
-
orecipety: 0.8;
|
42
|
-
z-index: 0;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
@@ -1,46 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Media blocks - user recipes
|
3
|
-
//
|
4
|
-
// --------------------------
|
5
|
-
// # rcipes/show - user widget
|
6
|
-
.user-recipes {
|
7
|
-
.media {
|
8
|
-
margin-top: 10px;
|
9
|
-
|
10
|
-
& + .media {
|
11
|
-
border-top: 1px solid #ebe5e1;
|
12
|
-
padding-top: 10px;
|
13
|
-
}
|
14
|
-
|
15
|
-
a {
|
16
|
-
color: #564e4a;
|
17
|
-
|
18
|
-
&:hover span {
|
19
|
-
text-decoration: underline;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
.img {
|
24
|
-
float: left;
|
25
|
-
height: 52px;
|
26
|
-
margin-right: 10px;
|
27
|
-
overflow: hidden;
|
28
|
-
padding-right: 0;
|
29
|
-
width: 70px;
|
30
|
-
}
|
31
|
-
|
32
|
-
img {
|
33
|
-
width: 100%;
|
34
|
-
}
|
35
|
-
|
36
|
-
.media-body {
|
37
|
-
line-height: 3.75em;
|
38
|
-
|
39
|
-
span {
|
40
|
-
display: inline-block;
|
41
|
-
line-height: 1.4;
|
42
|
-
vertical-align: middle;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
@@ -1,307 +0,0 @@
|
|
1
|
-
// --------------------------------
|
2
|
-
// Navigation - categories
|
3
|
-
// --------------------------------
|
4
|
-
|
5
|
-
/*doc
|
6
|
-
---
|
7
|
-
parent: 08_navigations
|
8
|
-
title: Category navigation
|
9
|
-
name: category_navigations
|
10
|
-
---
|
11
|
-
|
12
|
-
<div><p>in categories/index</p></div>
|
13
|
-
<div class="entries mega-menu">
|
14
|
-
<div class="entry">
|
15
|
-
<h4><a href="#">主要食材</a></h4>
|
16
|
-
<ul class="main-menu clearfix">
|
17
|
-
<li class="list-group-item">
|
18
|
-
<div class="panel-group">
|
19
|
-
<div class="img hidden-xs hidden-sm">
|
20
|
-
<a href="#"><img alt="" src="http://placehold.it/80x60" width="80"></a>
|
21
|
-
</div>
|
22
|
-
<a class="list-title" href="#">五穀雜糧</a>
|
23
|
-
<ul class="list-group hidden-xs">
|
24
|
-
<li class="list-group-item"><a href="#">玉米</a></li>
|
25
|
-
<li class="list-group-item"><a href="#">藜麥</a></li>
|
26
|
-
</ul>
|
27
|
-
</div>
|
28
|
-
</li>
|
29
|
-
<li class="list-group-item">
|
30
|
-
<div class="panel-group">
|
31
|
-
<div class="img hidden-xs hidden-sm">
|
32
|
-
<a href="#"><img alt="" src="http://placehold.it/80x60" width="80"></a>
|
33
|
-
</div>
|
34
|
-
<a class="list-title" href="#">根莖料理</a>
|
35
|
-
<ul class="list-group hidden-xs">
|
36
|
-
<li class="list-group-item"><a href="#">地瓜</a></li>
|
37
|
-
<li class="list-group-item"><a href="#">洋蔥</a></li>
|
38
|
-
<li class="list-group-item"><a href="#">竹筍</a></li>
|
39
|
-
<li class="list-group-item"><a href="#">筊白筍</a></li>
|
40
|
-
<li class="list-group-item"><a href="#">芋頭</a></li>
|
41
|
-
</ul>
|
42
|
-
</div>
|
43
|
-
</li>
|
44
|
-
<li class="list-group-item">
|
45
|
-
<div class="panel-group">
|
46
|
-
<div class="img hidden-xs hidden-sm">
|
47
|
-
<a href="#"><img alt="" src="http://placehold.it/80x60" width="80"></a>
|
48
|
-
</div>
|
49
|
-
<a class="list-title" href="#">水果料理</a>
|
50
|
-
<ul class="list-group hidden-xs">
|
51
|
-
<li class="list-group-item"><a href="#">芒果</a></li>
|
52
|
-
<li class="list-group-item"><a href="#">草莓</a></li>
|
53
|
-
<li class="list-group-item"><a href="#">蘋果</a></li>
|
54
|
-
<li class="list-group-item"><a href="#">香蕉</a></li>
|
55
|
-
</ul>
|
56
|
-
</div>
|
57
|
-
</li>
|
58
|
-
<li class="list-group-item">
|
59
|
-
<div class="panel-group">
|
60
|
-
<div class="img hidden-xs hidden-sm">
|
61
|
-
<a href="#"><img alt="" src="http://placehold.it/80x60" width="80"></a>
|
62
|
-
</div>
|
63
|
-
<a class="list-title" href="#">海鮮料理</a>
|
64
|
-
<ul class="list-group hidden-xs">
|
65
|
-
<li class="list-group-item"><a href="#">蝦類</a></li>
|
66
|
-
<li class="list-group-item"><a href="#">蟹類</a></li>
|
67
|
-
<li class="list-group-item"><a href="#">貝類</a></li>
|
68
|
-
<li class="list-group-item"><a href="#">軟體海鮮</a></li>
|
69
|
-
<li class="list-group-item"><a href="#">魚類</a></li>
|
70
|
-
</ul>
|
71
|
-
</div>
|
72
|
-
</li>
|
73
|
-
<li class="list-group-item">
|
74
|
-
<div class="panel-group">
|
75
|
-
<div class="img hidden-xs hidden-sm">
|
76
|
-
<a href="#"><img alt="" src="http://placehold.it/80x60" width="80"></a>
|
77
|
-
</div>
|
78
|
-
<a class="list-title" href="#">瓜果料理</a>
|
79
|
-
<ul class="list-group hidden-xs">
|
80
|
-
<li class="list-group-item"><a href="#">南瓜</a></li>
|
81
|
-
<li class="list-group-item"><a href="#">四季豆</a></li>
|
82
|
-
<li class="list-group-item"><a href="#">小黃瓜</a></li>
|
83
|
-
<li class="list-group-item"><a href="#">番茄</a></li>
|
84
|
-
<li class="list-group-item"><a href="#">絲瓜</a></li>
|
85
|
-
<li class="list-group-item"><a href="#">苦瓜</a></li>
|
86
|
-
</ul>
|
87
|
-
</div>
|
88
|
-
</li>
|
89
|
-
<li class="list-group-item">
|
90
|
-
<div class="panel-group">
|
91
|
-
<div class="img hidden-xs hidden-sm">
|
92
|
-
<a href="#"><img alt="" src="http://placehold.it/80x60" width="80"></a>
|
93
|
-
</div>
|
94
|
-
<a class="list-title" href="#">肉類料理</a>
|
95
|
-
<ul class="list-group hidden-xs">
|
96
|
-
<li class="list-group-item"><a href="#">牛肉</a></li>
|
97
|
-
<li class="list-group-item"><a href="#">羊肉</a></li>
|
98
|
-
<li class="list-group-item"><a href="#">豬肉</a></li>
|
99
|
-
<li class="list-group-item"><a href="#">雞肉</a></li>
|
100
|
-
<li class="list-group-item"><a href="#">鴨肉</a></li>
|
101
|
-
</ul>
|
102
|
-
</div>
|
103
|
-
</li>
|
104
|
-
</ul>
|
105
|
-
</div>
|
106
|
-
</div>
|
107
|
-
```html_example
|
108
|
-
<div class="entries mega-menu">
|
109
|
-
<ul class="main-menu clearfix">
|
110
|
-
<li class="list-group-item">
|
111
|
-
<div class="panel-group">
|
112
|
-
<div class="img hidden-xs hidden-sm">
|
113
|
-
<a href="#"><img alt="" src="http://placehold.it/80x60" width="80"></a>
|
114
|
-
</div>
|
115
|
-
<a class="list-title" href="#">五穀雜糧</a>
|
116
|
-
<ul class="list-group hidden-xs">
|
117
|
-
<li class="list-group-item"><a href="#">玉米</a></li>
|
118
|
-
<li class="list-group-item"><a href="#">藜麥</a></li>
|
119
|
-
</ul>
|
120
|
-
</div>
|
121
|
-
</li>
|
122
|
-
</ul>
|
123
|
-
</div>
|
124
|
-
```
|
125
|
-
|
126
|
-
*/
|
127
|
-
|
128
|
-
// categories/index
|
129
|
-
.mega-menu {
|
130
|
-
background-color: #fff;
|
131
|
-
border-width: 0 0 1px;
|
132
|
-
margin-bottom: 0;
|
133
|
-
|
134
|
-
h4 {
|
135
|
-
background-color: #efede8;
|
136
|
-
margin-bottom: 0;
|
137
|
-
margin-top: 0;
|
138
|
-
padding: 12px 15px;
|
139
|
-
|
140
|
-
a {
|
141
|
-
color: #564e4a;
|
142
|
-
font-size: 16px;
|
143
|
-
line-height: 1;
|
144
|
-
}
|
145
|
-
}
|
146
|
-
|
147
|
-
.list-title {
|
148
|
-
@include icon("\f0da");
|
149
|
-
|
150
|
-
display: block;
|
151
|
-
color: #564e4a;
|
152
|
-
font-size: 16px;
|
153
|
-
padding-left: 10px;
|
154
|
-
position: relative;
|
155
|
-
|
156
|
-
&:before {
|
157
|
-
color: #aa8f83;
|
158
|
-
font-size: 18px;
|
159
|
-
left: 0;
|
160
|
-
margin-right: 0;
|
161
|
-
position: absolute;
|
162
|
-
top: 4px;
|
163
|
-
width: 12px;
|
164
|
-
}
|
165
|
-
}
|
166
|
-
|
167
|
-
.list-group-item {
|
168
|
-
border-radius: 0;
|
169
|
-
border: 0;
|
170
|
-
margin-bottom: 0;
|
171
|
-
padding: 0;
|
172
|
-
|
173
|
-
&:hover > .accordion-heading > .list-title {
|
174
|
-
color: #564e4a;
|
175
|
-
}
|
176
|
-
|
177
|
-
&.active a {
|
178
|
-
color: #564e4a;
|
179
|
-
text-decoration: underline;
|
180
|
-
}
|
181
|
-
}
|
182
|
-
|
183
|
-
.main-menu {
|
184
|
-
margin-bottom: 0;
|
185
|
-
padding-left: 0;
|
186
|
-
padding-top: 20px;
|
187
|
-
|
188
|
-
& > .list-group-item {
|
189
|
-
border-right: 1px solid #ebe5e1;
|
190
|
-
float: left;
|
191
|
-
margin-bottom: 20px;
|
192
|
-
padding-left: 15px;
|
193
|
-
padding-right: 5px;
|
194
|
-
width: 16.6%;
|
195
|
-
|
196
|
-
&:nth-child(6n) {
|
197
|
-
border-right: 0;
|
198
|
-
}
|
199
|
-
|
200
|
-
& > .list-title {
|
201
|
-
border-bottom: 1px solid #ebe5e1;
|
202
|
-
color: #564e4a;
|
203
|
-
font-size: 16px;
|
204
|
-
margin-bottom: 5px;
|
205
|
-
padding-bottom: 5px;
|
206
|
-
padding-left: 10px;
|
207
|
-
}
|
208
|
-
}
|
209
|
-
}
|
210
|
-
|
211
|
-
.panel-group {
|
212
|
-
margin-bottom: 0;
|
213
|
-
|
214
|
-
.list-group-item {
|
215
|
-
padding: 3px 0 0 10px;
|
216
|
-
}
|
217
|
-
}
|
218
|
-
|
219
|
-
.list-group {
|
220
|
-
margin-bottom: 0;
|
221
|
-
|
222
|
-
.list-group-item {
|
223
|
-
margin-left: 10px;
|
224
|
-
padding-left: 0;
|
225
|
-
}
|
226
|
-
|
227
|
-
a {
|
228
|
-
color: #888;
|
229
|
-
display: block;
|
230
|
-
line-height: 26px;
|
231
|
-
padding: 0;
|
232
|
-
}
|
233
|
-
|
234
|
-
&:hover {
|
235
|
-
color: #999;
|
236
|
-
}
|
237
|
-
}
|
238
|
-
|
239
|
-
.main-menu > .list-group-item,
|
240
|
-
.panel-group > .list-group-item {
|
241
|
-
> .list-title {
|
242
|
-
color: #5c4545;
|
243
|
-
}
|
244
|
-
}
|
245
|
-
|
246
|
-
.img {
|
247
|
-
background-color: #eeede8;
|
248
|
-
height: 60px;
|
249
|
-
margin-bottom: 15px;
|
250
|
-
overflow: hidden;
|
251
|
-
width: 80px;
|
252
|
-
}
|
253
|
-
}
|
254
|
-
|
255
|
-
// categories/show
|
256
|
-
.cate-menu {
|
257
|
-
padding: 0;
|
258
|
-
|
259
|
-
.navbar-collapse {
|
260
|
-
padding-left: 0;
|
261
|
-
padding-right: 0;
|
262
|
-
}
|
263
|
-
|
264
|
-
.panel-group {
|
265
|
-
margin-left: 5px;
|
266
|
-
}
|
267
|
-
|
268
|
-
.main-menu {
|
269
|
-
padding-top: 0;
|
270
|
-
|
271
|
-
& > .list-group-item {
|
272
|
-
border-right: 0;
|
273
|
-
float: none;
|
274
|
-
padding-left: 25px;
|
275
|
-
padding-right: 0;
|
276
|
-
width: 100%;
|
277
|
-
|
278
|
-
a {
|
279
|
-
line-height: 26px;
|
280
|
-
}
|
281
|
-
|
282
|
-
.list-title {
|
283
|
-
font-size: 14px;
|
284
|
-
margin-left: 15px;
|
285
|
-
padding-left: 0;
|
286
|
-
|
287
|
-
&:before {
|
288
|
-
left: -12px;
|
289
|
-
}
|
290
|
-
}
|
291
|
-
}
|
292
|
-
}
|
293
|
-
|
294
|
-
.list-group .list-group-item {
|
295
|
-
margin-left: 15px;
|
296
|
-
}
|
297
|
-
|
298
|
-
.title {
|
299
|
-
background-color: #f7f6f3;
|
300
|
-
padding: 5px 10px;
|
301
|
-
margin-bottom: 10px;
|
302
|
-
|
303
|
-
a {
|
304
|
-
color: #564e4a;
|
305
|
-
}
|
306
|
-
}
|
307
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Animation - tv series
|
3
|
-
//
|
4
|
-
// --------------------------------
|
5
|
-
@mixin ease-in-out($sec) {
|
6
|
-
transition: all $sec ease-in-out;
|
7
|
-
-webkit-transition: all $sec ease-in-out;
|
8
|
-
-moz-transition: all $sec ease-in-out;
|
9
|
-
-o-transition: all $sec ease-in-out;
|
10
|
-
}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Widgets - recipe mark
|
3
|
-
//
|
4
|
-
// --------------------------
|
5
|
-
// # tv - widget
|
6
|
-
.recipe-mark {
|
7
|
-
ul {
|
8
|
-
margin-bottom: 0;
|
9
|
-
}
|
10
|
-
|
11
|
-
li {
|
12
|
-
border-top: 1px solid #efede8;
|
13
|
-
padding: 10px 0;
|
14
|
-
|
15
|
-
.num {
|
16
|
-
margin-right: 4px;
|
17
|
-
}
|
18
|
-
|
19
|
-
&:hover {
|
20
|
-
a {
|
21
|
-
color: #aaa;
|
22
|
-
text-decoration: underline;
|
23
|
-
}
|
24
|
-
|
25
|
-
.num {
|
26
|
-
@include border-radius(8px);
|
27
|
-
|
28
|
-
background-color: #aaa;
|
29
|
-
color: #fff;
|
30
|
-
padding: 1px 4px;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
&:first-child {
|
35
|
-
border-top: 0;
|
36
|
-
padding-top: 0;
|
37
|
-
}
|
38
|
-
|
39
|
-
&:last-child {
|
40
|
-
padding-bottom: 0;
|
41
|
-
}
|
42
|
-
|
43
|
-
& > a > span:last-child {
|
44
|
-
font-size: 12px;
|
45
|
-
}
|
46
|
-
|
47
|
-
a {
|
48
|
-
color: #888;
|
49
|
-
display: block;
|
50
|
-
font-size: 14px;
|
51
|
-
line-height: 14px;
|
52
|
-
position: relative;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|