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
@@ -0,0 +1,169 @@
|
|
1
|
+
// ----------------------------------------
|
2
|
+
// Components - Modals - Recipe list modal
|
3
|
+
// ----------------------------------------
|
4
|
+
|
5
|
+
/*doc
|
6
|
+
---
|
7
|
+
parent: 16_modals
|
8
|
+
title: Recipe list modal
|
9
|
+
name: 01_recipe_list_modal
|
10
|
+
---
|
11
|
+
|
12
|
+
<div class="modal-inner list-recipe-modal">
|
13
|
+
<div class="modal-dialog model-content clearfix">
|
14
|
+
<div class="modal-header">加入我的清單</div>
|
15
|
+
<div class="modal-body">
|
16
|
+
<div class="lists-info">
|
17
|
+
<div class="list-info">
|
18
|
+
<div class="list-type">收藏食譜清單</div>
|
19
|
+
<ul>
|
20
|
+
<li><label class="list-name"><input type="checkbox" value="on">魚</label></li>
|
21
|
+
<li><label class="list-name"><input type="checkbox" value="on">牛排</label></li>
|
22
|
+
<li><label class="list-name"><input type="checkbox" value="on">義大利麵</label></li>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
<div class="list-info">
|
26
|
+
<div class="list-type">發表食譜清單</div>
|
27
|
+
<ul>
|
28
|
+
<li><label class="list-name"><input type="checkbox" value="on">愛料理食譜</label></li>
|
29
|
+
</ul>
|
30
|
+
</div>
|
31
|
+
<div class="list-info">
|
32
|
+
<div class="list-type">商品清單</div>
|
33
|
+
<ul>
|
34
|
+
<li><label class="list-name"><input type="checkbox" value="on">愛料理市集</label></li>
|
35
|
+
<li><label class="list-name"><input type="checkbox" value="on">Test</label></li>
|
36
|
+
</ul>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
<div class="recipe-info hidden-xs">
|
40
|
+
<img src="/images/recipe-default.png">
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
<div class="modal-footer">
|
44
|
+
<a class="list-setting" href="#">清單管理</a>
|
45
|
+
<button class="btn btn-link btn-cancel">取消</button>
|
46
|
+
<button class="btn btn-submit">儲存</button>
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
*/
|
52
|
+
|
53
|
+
$list-recipe-modal-text: #666 !default;
|
54
|
+
$list-recipe-modal-list-name: #888 !default;
|
55
|
+
$list-recipe-modal-btn-submit-bg: #9fbe4c !default;
|
56
|
+
|
57
|
+
.list-recipe-modal {
|
58
|
+
.modal-header {
|
59
|
+
background-color: $orange;
|
60
|
+
color: $white;
|
61
|
+
font-size: 16px;
|
62
|
+
padding: 9px 30px;
|
63
|
+
text-align: center;
|
64
|
+
}
|
65
|
+
|
66
|
+
.modal-body {
|
67
|
+
background-color: $basic-bg;
|
68
|
+
font-size: 14px;
|
69
|
+
height: 330px;
|
70
|
+
padding: 15px;
|
71
|
+
|
72
|
+
ul {
|
73
|
+
list-style-type: none;
|
74
|
+
}
|
75
|
+
|
76
|
+
.list-type {
|
77
|
+
background-color: $basic-bg;
|
78
|
+
color: $list-recipe-modal-text;
|
79
|
+
margin: 0;
|
80
|
+
padding: 8px;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.recipe-info {
|
85
|
+
display: inline-block;
|
86
|
+
float: left;
|
87
|
+
margin-left: 15px;
|
88
|
+
width: 220px;
|
89
|
+
|
90
|
+
img {
|
91
|
+
height: 165px;
|
92
|
+
width: 100%;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
.lists-info {
|
97
|
+
background-color: $white;
|
98
|
+
display: inline-block;
|
99
|
+
float: left;
|
100
|
+
height: 290px;
|
101
|
+
overflow-y: scroll;
|
102
|
+
padding: 15px;
|
103
|
+
width: 260px;
|
104
|
+
|
105
|
+
ul {
|
106
|
+
padding: 15px 20px;
|
107
|
+
}
|
108
|
+
|
109
|
+
.list-name {
|
110
|
+
color: $list-recipe-modal-list-name;
|
111
|
+
}
|
112
|
+
|
113
|
+
input {
|
114
|
+
margin-right: 5px;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
.modal-footer {
|
119
|
+
background-color: $basic-bg;
|
120
|
+
margin-top: 0;
|
121
|
+
padding: 0 20px 15px;
|
122
|
+
|
123
|
+
.btn-cancel {
|
124
|
+
color: $list-recipe-modal-list-name;
|
125
|
+
margin: 0;
|
126
|
+
padding: 0;
|
127
|
+
|
128
|
+
}
|
129
|
+
|
130
|
+
.btn-submit {
|
131
|
+
background-color: $list-recipe-modal-btn-submit-bg;
|
132
|
+
color: $white;
|
133
|
+
margin-left: 15px;
|
134
|
+
padding: 8px;
|
135
|
+
width: 120px;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
.list-setting {
|
140
|
+
@include btn-icon("\f040", 14px, $ic-brown, transparent);
|
141
|
+
|
142
|
+
bottom: 45px;
|
143
|
+
color: $ic-brown;
|
144
|
+
left: 15px;
|
145
|
+
position: absolute;
|
146
|
+
|
147
|
+
&:hover {
|
148
|
+
text-decoration: none;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
@media only screen and (min-width: 768px) {
|
154
|
+
.list-recipe-modal {
|
155
|
+
.modal-dialog {
|
156
|
+
width: 526px;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
@media only screen and (max-width: 768px) {
|
162
|
+
.list-recipe-modal {
|
163
|
+
.modal-dialog {
|
164
|
+
margin: 30px auto;
|
165
|
+
width: 290px;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
@@ -1,12 +1,12 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// ---------------------------------
|
2
|
+
// Components - Navigations - blog
|
3
|
+
// ---------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
parent:
|
7
|
+
parent: 09_navigations
|
8
8
|
title: Blog navigation
|
9
|
-
name:
|
9
|
+
name: 03_blog_navi
|
10
10
|
---
|
11
11
|
|
12
12
|
```html_example
|
data/app/assets/stylesheets/components/navigations/{_brand-tabs-nav.scss → _brand-tabs-navi.scss}
RENAMED
@@ -1,40 +1,16 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// --------------------------------------
|
2
|
+
// Components - Navigations - Brand tabs
|
3
|
+
// --------------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
parent:
|
7
|
+
parent: 09_navigations
|
8
8
|
title: Brand navigation
|
9
|
-
name:
|
9
|
+
name: 02_brand_tabs_navi
|
10
10
|
---
|
11
11
|
|
12
12
|
<div><p>brands tabs</p></div>
|
13
|
-
|
14
|
-
<ul class="brand-tabs">
|
15
|
-
<li class="brand-tab active">
|
16
|
-
<a href="#"><span>食譜</span></a>
|
17
|
-
</li>
|
18
|
-
<li class="brand-tab">
|
19
|
-
<a href="#"><span>收藏</span></a>
|
20
|
-
</li>
|
21
|
-
<li class="brand-tab">
|
22
|
-
<a href="#"><span>料理</span></a>
|
23
|
-
</li>
|
24
|
-
<li class="brand-tab">
|
25
|
-
<a href="#"><span>商品</span></a>
|
26
|
-
</li>
|
27
|
-
<li class="brand-tab">
|
28
|
-
<a href="#"><span>專欄</span></a>
|
29
|
-
</li>
|
30
|
-
<li id="brand-campaigns">
|
31
|
-
<a href="#"><span>活動</span></a>
|
32
|
-
</li>
|
33
|
-
<li class="brand-tab">
|
34
|
-
<a href="#"><span>草稿</span></a>
|
35
|
-
</li>
|
36
|
-
</ul>
|
37
|
-
</div>
|
13
|
+
|
38
14
|
```html_example
|
39
15
|
<div>
|
40
16
|
<ul class="brand-tabs">
|
@@ -1,8 +1,6 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
4
|
-
// --------------------------
|
5
|
-
//
|
1
|
+
// --------------------------------------
|
2
|
+
// Components - Navigations - categories
|
3
|
+
// --------------------------------------
|
6
4
|
// categories navigation responsive
|
7
5
|
@media only screen and (min-width: 769px) and (max-width: 991px) {
|
8
6
|
.mega-menu {
|
@@ -39,11 +37,11 @@
|
|
39
37
|
ul,
|
40
38
|
li {
|
41
39
|
margin-bottom: 0;
|
42
|
-
padding: 0;
|
40
|
+
padding: 0;
|
43
41
|
}
|
44
42
|
|
45
43
|
ul {
|
46
|
-
background-color:
|
44
|
+
background-color: $white;
|
47
45
|
border: 0;
|
48
46
|
}
|
49
47
|
|
@@ -61,7 +59,7 @@
|
|
61
59
|
border-bottom: 0 !important;
|
62
60
|
}
|
63
61
|
}
|
64
|
-
|
62
|
+
|
65
63
|
.list-title:before {
|
66
64
|
top: 8px;
|
67
65
|
}
|
@@ -82,7 +80,7 @@
|
|
82
80
|
button {
|
83
81
|
@include icon-b("\f0d8");
|
84
82
|
|
85
|
-
color:
|
83
|
+
color: $ic-brown;
|
86
84
|
display: block;
|
87
85
|
font-size: 13px;
|
88
86
|
margin: 0;
|
@@ -0,0 +1,203 @@
|
|
1
|
+
// ---------------------------------------
|
2
|
+
// Components - Navigations - Categories
|
3
|
+
// ---------------------------------------
|
4
|
+
|
5
|
+
/*doc
|
6
|
+
---
|
7
|
+
parent: 09_navigations
|
8
|
+
title: Category navigation
|
9
|
+
name: 01_category_navi
|
10
|
+
---
|
11
|
+
|
12
|
+
in categories/index
|
13
|
+
|
14
|
+
```html_example
|
15
|
+
<div class="entries mega-menu">
|
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
|
+
</ul>
|
30
|
+
</div>
|
31
|
+
```
|
32
|
+
|
33
|
+
*/
|
34
|
+
|
35
|
+
// categories/index
|
36
|
+
$mega-menu-icon: #aa8f83 !default;
|
37
|
+
|
38
|
+
.mega-menu {
|
39
|
+
background-color: $white;
|
40
|
+
border-width: 0 0 1px;
|
41
|
+
margin-bottom: 0;
|
42
|
+
|
43
|
+
.list-title {
|
44
|
+
@include icon("\f0da");
|
45
|
+
|
46
|
+
display: block;
|
47
|
+
color: $ic-brown;
|
48
|
+
font-size: 16px;
|
49
|
+
padding-left: 10px;
|
50
|
+
position: relative;
|
51
|
+
|
52
|
+
&::before {
|
53
|
+
color: $mega-menu-icon;
|
54
|
+
font-size: 18px;
|
55
|
+
left: 0;
|
56
|
+
margin-right: 0;
|
57
|
+
position: absolute;
|
58
|
+
top: 4px;
|
59
|
+
width: 12px;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.list-group-item {
|
64
|
+
border-radius: 0;
|
65
|
+
border: 0;
|
66
|
+
margin-bottom: 0;
|
67
|
+
padding: 0;
|
68
|
+
|
69
|
+
&:hover > .accordion-heading > .list-title {
|
70
|
+
color: $ic-brown;
|
71
|
+
}
|
72
|
+
|
73
|
+
&.active a {
|
74
|
+
color: $ic-brown;
|
75
|
+
text-decoration: underline;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
.main-menu {
|
80
|
+
margin-bottom: 0;
|
81
|
+
padding-left: 0;
|
82
|
+
padding-top: 20px;
|
83
|
+
|
84
|
+
> .list-group-item {
|
85
|
+
border-right: 1px solid $basic-border;
|
86
|
+
float: left;
|
87
|
+
margin-bottom: 20px;
|
88
|
+
padding-left: 15px;
|
89
|
+
padding-right: 5px;
|
90
|
+
width: 16.6%;
|
91
|
+
|
92
|
+
&:nth-child(6n) {
|
93
|
+
border-right: 0;
|
94
|
+
}
|
95
|
+
|
96
|
+
> .list-title {
|
97
|
+
border-bottom: 1px solid $basic-border;
|
98
|
+
color: $ic-brown;
|
99
|
+
font-size: 16px;
|
100
|
+
margin-bottom: 5px;
|
101
|
+
padding-bottom: 5px;
|
102
|
+
padding-left: 10px;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
.panel-group {
|
108
|
+
margin-bottom: 0;
|
109
|
+
|
110
|
+
.list-group-item {
|
111
|
+
padding: 3px 0 0 10px;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
.list-group {
|
116
|
+
margin-bottom: 0;
|
117
|
+
|
118
|
+
.list-group-item {
|
119
|
+
margin-left: 10px;
|
120
|
+
padding-left: 0;
|
121
|
+
}
|
122
|
+
|
123
|
+
a {
|
124
|
+
color: #888;
|
125
|
+
display: block;
|
126
|
+
line-height: 26px;
|
127
|
+
padding: 0;
|
128
|
+
}
|
129
|
+
|
130
|
+
&:hover {
|
131
|
+
color: #999;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
.main-menu > .list-group-item,
|
136
|
+
.panel-group > .list-group-item {
|
137
|
+
> .list-title {
|
138
|
+
color: #5c4545;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
.img {
|
143
|
+
background-color: #eeede8;
|
144
|
+
height: 60px;
|
145
|
+
margin-bottom: 15px;
|
146
|
+
overflow: hidden;
|
147
|
+
width: 80px;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
// categories/show
|
152
|
+
.cate-menu {
|
153
|
+
padding: 0;
|
154
|
+
|
155
|
+
.navbar-collapse {
|
156
|
+
padding-left: 0;
|
157
|
+
padding-right: 0;
|
158
|
+
}
|
159
|
+
|
160
|
+
.panel-group {
|
161
|
+
margin-left: 5px;
|
162
|
+
}
|
163
|
+
|
164
|
+
.main-menu {
|
165
|
+
padding-top: 0;
|
166
|
+
|
167
|
+
& > .list-group-item {
|
168
|
+
border-right: 0;
|
169
|
+
float: none;
|
170
|
+
padding-left: 25px;
|
171
|
+
padding-right: 0;
|
172
|
+
width: 100%;
|
173
|
+
|
174
|
+
a {
|
175
|
+
line-height: 26px;
|
176
|
+
}
|
177
|
+
|
178
|
+
.list-title {
|
179
|
+
font-size: 14px;
|
180
|
+
margin-left: 15px;
|
181
|
+
padding-left: 0;
|
182
|
+
|
183
|
+
&:before {
|
184
|
+
left: -12px;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
.list-group .list-group-item {
|
191
|
+
margin-left: 15px;
|
192
|
+
}
|
193
|
+
|
194
|
+
.title {
|
195
|
+
background-color: #f7f6f3;
|
196
|
+
padding: 5px 10px;
|
197
|
+
margin-bottom: 10px;
|
198
|
+
|
199
|
+
a {
|
200
|
+
color: #564e4a;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
}
|
@@ -1,53 +1,14 @@
|
|
1
1
|
// --------------------------------
|
2
|
-
//
|
2
|
+
// Components - Navigations - tv
|
3
3
|
// --------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
parent:
|
7
|
+
parent: 09_navigations
|
8
8
|
title: TV navigation
|
9
|
-
name:
|
9
|
+
name: 04_tv_navi
|
10
10
|
---
|
11
11
|
|
12
|
-
<div class="tv-nav">
|
13
|
-
<div class="navba tv-series">
|
14
|
-
<div class="navbar-header">
|
15
|
-
<a href="#" class="title hidden-xs"><span>愛料理 TV</span><span>35</span></a>
|
16
|
-
<button type="button" class="navbar-toggle in collapsed" data-target="#series-collapse" data-toggle="collapse" aria-expanded="false">愛料理 TV</button>
|
17
|
-
</div>
|
18
|
-
<div class="navbar-collapse collapse" id="series-collapse">
|
19
|
-
<ul class="nav navbar-nav">
|
20
|
-
<li class="visible-xs"><a href="#">全系列</a></li>
|
21
|
-
<li>
|
22
|
-
<a class="clearfix" href="#">
|
23
|
-
<span><span class="item">早午餐</span><span class="num visible-xs">5</span></span>
|
24
|
-
</a>
|
25
|
-
</li>
|
26
|
-
<li>
|
27
|
-
<a class="clearfix" href="#">
|
28
|
-
<span><span class="item">義大利麵</span><span class="num visible-xs">5</span></span>
|
29
|
-
</a>
|
30
|
-
</li>
|
31
|
-
<li>
|
32
|
-
<a class="clearfix" href="#">
|
33
|
-
<span><span class="item">歐陸家常菜</span><span class="num visible-xs">5</span></span>
|
34
|
-
</a>
|
35
|
-
</li>
|
36
|
-
<li>
|
37
|
-
<a class="clearfix" href="#">
|
38
|
-
<span><span class="item">甜蜜午茶</span><span class="num visible-xs">5</span></span>
|
39
|
-
</a>
|
40
|
-
</li>
|
41
|
-
<li>
|
42
|
-
<a class="clearfix" href="#">
|
43
|
-
<span><span class="item">在地台灣味</span><span class="num visible-xs">5</span></span>
|
44
|
-
</a>
|
45
|
-
</li>
|
46
|
-
</ul>
|
47
|
-
</div>
|
48
|
-
</div>
|
49
|
-
</div>
|
50
|
-
|
51
12
|
```html_example
|
52
13
|
<div class="tv-nav">
|
53
14
|
<div class="navba tv-series">
|
@@ -74,6 +35,14 @@ name: tv_navigation
|
|
74
35
|
</span>
|
75
36
|
</a>
|
76
37
|
</li>
|
38
|
+
<li>
|
39
|
+
<a class="clearfix" href="#">
|
40
|
+
<span>
|
41
|
+
<span class="item">在地台灣味</span>
|
42
|
+
<span class="num visible-xs">5</span>
|
43
|
+
</span>
|
44
|
+
</a>
|
45
|
+
</li>
|
77
46
|
</ul>
|
78
47
|
</div>
|
79
48
|
</div>
|
@@ -1,12 +1,12 @@
|
|
1
1
|
// --------------------------------
|
2
|
-
//
|
2
|
+
// Components - Recipe Ingredients
|
3
3
|
// --------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
parent: 08_recipes
|
8
|
+
name: 01_ingredients
|
9
|
+
title: Ingredients
|
10
10
|
---
|
11
11
|
|
12
12
|
<div> </div>
|
@@ -109,12 +109,6 @@ $ingredient-group7-text: #4b0050 !default;
|
|
109
109
|
$ingredient-group7-bg: #f6e3fb !default;
|
110
110
|
$ingredient-group8-text: #50291b !default;
|
111
111
|
$ingredient-group8-bg: #fad6c8 !default;
|
112
|
-
$recipe-detail-border: $basic-border !default;
|
113
|
-
$recipe-detail-text: #888 !default;
|
114
|
-
// recipe-detail
|
115
|
-
$recipe-detail-title: $ic-brown !default;
|
116
|
-
$recipe-detail-title-border: $basic-border !default;
|
117
|
-
$recipe-detail-time: #888 !default;
|
118
112
|
$recipe-notes-bg: #fefee5 !default;
|
119
113
|
$recipe-notes-border: #fee59a !default;
|
120
114
|
$recipe-notes-text: #666 !default;
|
@@ -161,63 +155,3 @@ $recipe-notes-text: #666 !default;
|
|
161
155
|
}
|
162
156
|
}
|
163
157
|
|
164
|
-
.recipe-detail {
|
165
|
-
.ingredient {
|
166
|
-
border-bottom: 1px solid $recipe-detail-border;
|
167
|
-
color: $recipe-detail-text;
|
168
|
-
line-height: 1.2;
|
169
|
-
padding-bottom: 10px;
|
170
|
-
padding-top: 10px;
|
171
|
-
text-align: left;
|
172
|
-
}
|
173
|
-
|
174
|
-
.ingredient-name {
|
175
|
-
max-width: 75%;
|
176
|
-
}
|
177
|
-
|
178
|
-
.group {
|
179
|
-
margin-top: 10px;
|
180
|
-
}
|
181
|
-
|
182
|
-
.group-0 .ingredient:first-child {
|
183
|
-
padding-top: 0;
|
184
|
-
}
|
185
|
-
|
186
|
-
h3 {
|
187
|
-
border-bottom: 1px solid $recipe-detail-title;
|
188
|
-
color: $recipe-detail-title;
|
189
|
-
font-size: 16px;
|
190
|
-
line-height: 20px;
|
191
|
-
margin: 0;
|
192
|
-
padding-bottom: 5px;
|
193
|
-
}
|
194
|
-
|
195
|
-
.time {
|
196
|
-
@include icon("\f017");
|
197
|
-
|
198
|
-
color: $recipe-detail-time;
|
199
|
-
}
|
200
|
-
|
201
|
-
|
202
|
-
.notes {
|
203
|
-
background-color: $recipe-notes-bg;
|
204
|
-
border-top: 4px solid $recipe-notes-border;
|
205
|
-
margin-top: 15px;
|
206
|
-
padding: 20px 30px;
|
207
|
-
|
208
|
-
h3 {
|
209
|
-
border-bottom: 0;
|
210
|
-
font-size: 20px;
|
211
|
-
line-height: 22px;
|
212
|
-
padding-bottom: 20px;
|
213
|
-
}
|
214
|
-
|
215
|
-
p {
|
216
|
-
color: $recipe-notes-text;
|
217
|
-
font-size: 16px;
|
218
|
-
margin-bottom: 0;
|
219
|
-
word-wrap: break-word;
|
220
|
-
}
|
221
|
-
}
|
222
|
-
|
223
|
-
}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
// --------------------------------
|
2
|
-
//
|
2
|
+
// Components - Recipe notes
|
3
3
|
// --------------------------------
|
4
4
|
|
5
5
|
/*doc
|
6
6
|
---
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
parent: 08_recipes
|
8
|
+
name: 03_notes
|
9
|
+
title: Notes
|
10
10
|
---
|
11
11
|
|
12
12
|
<div class="notes">
|
@@ -0,0 +1,48 @@
|
|
1
|
+
// --------------------------------
|
2
|
+
// Components - Recipe details
|
3
|
+
// --------------------------------
|
4
|
+
|
5
|
+
$recipe-detail-border: $basic-border !default;
|
6
|
+
$recipe-detail-text: #888 !default;
|
7
|
+
$recipe-detail-title: $ic-brown !default;
|
8
|
+
$recipe-detail-title-border: $basic-border !default;
|
9
|
+
$recipe-detail-time: #888 !default;
|
10
|
+
|
11
|
+
.recipe-detail {
|
12
|
+
.ingredient {
|
13
|
+
border-bottom: 1px solid $recipe-detail-border;
|
14
|
+
color: $recipe-detail-text;
|
15
|
+
line-height: 1.2;
|
16
|
+
padding-bottom: 10px;
|
17
|
+
padding-top: 10px;
|
18
|
+
text-align: left;
|
19
|
+
}
|
20
|
+
|
21
|
+
.ingredient-name {
|
22
|
+
max-width: 75%;
|
23
|
+
}
|
24
|
+
|
25
|
+
.group {
|
26
|
+
margin-top: 10px;
|
27
|
+
}
|
28
|
+
|
29
|
+
.group-0 .ingredient:first-child {
|
30
|
+
padding-top: 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
h3 {
|
34
|
+
border-bottom: 1px solid $recipe-detail-title;
|
35
|
+
color: $recipe-detail-title;
|
36
|
+
font-size: 16px;
|
37
|
+
line-height: 20px;
|
38
|
+
margin: 0;
|
39
|
+
padding-bottom: 5px;
|
40
|
+
}
|
41
|
+
|
42
|
+
.time {
|
43
|
+
@include icon("\f017");
|
44
|
+
|
45
|
+
color: $recipe-detail-time;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|