cupboard 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/assets/images/icook-logo-footer.svg +1 -0
- data/app/assets/images/vip_modal.svg +1 -0
- data/app/assets/stylesheets/_base.scss +3 -1
- data/app/assets/stylesheets/_components.scss +31 -29
- data/app/assets/stylesheets/_helpers.scss +4 -3
- data/app/assets/stylesheets/_layouts.scss +1 -2
- data/app/assets/stylesheets/_vendors.scss +7 -0
- data/app/assets/stylesheets/base/_basic.scss +35 -0
- data/app/assets/stylesheets/base/_forms.scss +96 -50
- data/app/assets/stylesheets/base/_inputs.scss +85 -0
- data/app/assets/stylesheets/base/_lists.scss +1 -1
- data/app/assets/stylesheets/base/{_table.scss → _tables.scss} +12 -12
- data/app/assets/stylesheets/base/_typography.scss +34 -210
- data/app/assets/stylesheets/components/_badges.scss +47 -10
- data/app/assets/stylesheets/components/_breadcrumbs.scss +25 -9
- data/app/assets/stylesheets/components/_buttons.scss +3 -207
- data/app/assets/stylesheets/components/_pagination.scss +26 -16
- data/app/assets/stylesheets/components/_search-form.scss +89 -28
- data/app/assets/stylesheets/components/_sorting-cards.scss +1 -1
- data/app/assets/stylesheets/components/alerts/_alert-global.scss +45 -23
- data/app/assets/stylesheets/components/alerts/_alert-market.scss +6 -6
- data/app/assets/stylesheets/components/alerts/_alert-no-result.scss +1 -0
- data/app/assets/stylesheets/components/alerts/_report-msg.scss +51 -0
- data/app/assets/stylesheets/components/buttons/_card-buttons.scss +88 -0
- data/app/assets/stylesheets/components/buttons/_default-buttons.scss +98 -0
- data/app/assets/stylesheets/components/buttons/_round-buttons.scss +125 -0
- data/app/assets/stylesheets/components/cards/_brand-product-card.scss +65 -36
- data/app/assets/stylesheets/components/cards/_dish-card.scss +8 -12
- data/app/assets/stylesheets/components/cards/_featured-card.scss +69 -0
- data/app/assets/stylesheets/components/cards/_feeds-card.scss +9 -12
- data/app/assets/stylesheets/components/cards/_list-card.scss +88 -96
- data/app/assets/stylesheets/components/cards/_photo-card.scss +57 -101
- data/app/assets/stylesheets/components/cards/_product-card.scss +8 -8
- data/app/assets/stylesheets/components/cards/_recipe-card.scss +86 -67
- data/app/assets/stylesheets/components/cards/_video-card.scss +28 -29
- data/app/assets/stylesheets/components/comments/_comment-form.scss +5 -13
- data/app/assets/stylesheets/components/comments/_single-comment.scss +21 -14
- data/app/assets/stylesheets/components/covers/_brand-cover.scss +1 -1
- data/app/assets/stylesheets/components/covers/_categories-cover.scss +65 -45
- data/app/assets/stylesheets/components/covers/_users-cover.scss +75 -0
- data/app/assets/stylesheets/components/features/_feature-events.scss +2 -5
- data/app/assets/stylesheets/components/features/_feature-slides.scss +5 -6
- data/app/assets/stylesheets/components/icons/_footer-social-icons.scss +11 -34
- data/app/assets/stylesheets/components/icons/_icon-status.scss +12 -16
- data/app/assets/stylesheets/components/icons/_icookfont.scss +5 -0
- data/app/assets/stylesheets/components/modals/_modal-reset.scss +1 -1
- data/app/assets/stylesheets/components/modals/_recipe-list-modal.scss +8 -5
- data/app/assets/stylesheets/components/modals/_vip-modal.scss +114 -0
- data/app/assets/stylesheets/components/navigations/_blog-navi.scss +15 -19
- data/app/assets/stylesheets/components/navigations/_brand-tabs-navi.scss +4 -4
- data/app/assets/stylesheets/components/navigations/_categories-navi.scss +54 -137
- data/app/assets/stylesheets/components/recipes/_ingredients.scss +17 -22
- data/app/assets/stylesheets/components/recipes/_notes.scss +2 -2
- data/app/assets/stylesheets/components/recipes/_recipe-details.scss +5 -3
- data/app/assets/stylesheets/components/recipes/_recipe-navi.scss +29 -32
- data/app/assets/stylesheets/components/recipes/_steps.scss +2 -9
- data/app/assets/stylesheets/components/sidebars/_brand-ingredients.scss +3 -8
- data/app/assets/stylesheets/components/sidebars/_brand-popular-lists.scss +10 -13
- data/app/assets/stylesheets/components/sidebars/_brand-recent-events.scss +1 -2
- data/app/assets/stylesheets/components/sidebars/_business-kitchen.scss +11 -10
- data/app/assets/stylesheets/components/sidebars/_business-sponsors.scss +65 -0
- data/app/assets/stylesheets/components/sidebars/_hot-categories.scss +20 -39
- data/app/assets/stylesheets/components/sidebars/_icook-video.scss +4 -8
- data/app/assets/stylesheets/components/sidebars/_popular-recipes.scss +88 -33
- data/app/assets/stylesheets/components/sidebars/_popular-search.scss +17 -25
- data/app/assets/stylesheets/components/sidebars/_recipes-collect.scss +5 -2
- data/app/assets/stylesheets/components/sidebars/_sidebar-basic.scss +5 -14
- data/app/assets/stylesheets/components/sidebars/_tv-more-recipes.scss +3 -4
- data/app/assets/stylesheets/components/sidebars/_tv-popular-tags.scss +4 -5
- data/app/assets/stylesheets/components/users/_fav-list.scss +6 -8
- data/app/assets/stylesheets/components/users/_user-stats.scss +29 -25
- data/app/assets/stylesheets/helpers/_mixin-badge.scss +4 -3
- data/app/assets/stylesheets/helpers/_mixin-ellipsis.scss +39 -0
- data/app/assets/stylesheets/helpers/_mixin-flex.scss +247 -0
- data/app/assets/stylesheets/helpers/_mixin-icons.scss +6 -18
- data/app/assets/stylesheets/helpers/_variables-color.scss +47 -83
- data/app/assets/stylesheets/layouts/_base-footer.scss +15 -18
- data/app/assets/stylesheets/layouts/_global-navbar.scss +12 -15
- data/app/assets/stylesheets/layouts/_mega-footer.scss +298 -0
- data/app/assets/stylesheets/vendors/SpinKit/.bower.json +30 -0
- data/app/assets/stylesheets/vendors/SpinKit/CHANGELOG.md +40 -0
- data/app/assets/stylesheets/vendors/SpinKit/CONTRIBUTING.md +22 -0
- data/app/assets/stylesheets/vendors/SpinKit/LICENSE +20 -0
- data/app/assets/stylesheets/vendors/SpinKit/README.md +72 -0
- data/app/assets/stylesheets/vendors/SpinKit/bower.json +19 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinkit.css +770 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/1-rotating-plane.css +35 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/10-fading-circle.css +129 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/11-folding-cube.css +85 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/2-double-bounce.css +44 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/3-wave.css +56 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/4-wandering-cubes.css +68 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/5-pulse.css +32 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/6-chasing-dots.css +58 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/7-three-bounce.css +44 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/8-circle.css +133 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/9-cube-grid.css +76 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/1-rotating-plane.html +49 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/10-fading-circle.html +156 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/11-folding-cube.html +104 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/2-double-bounce.html +61 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/3-wave.html +76 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/4-wandering-cubes.html +85 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/5-pulse.html +46 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/6-chasing-dots.html +75 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/7-three-bounce.html +62 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/8-circle.html +160 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/9-cube-grid.html +100 -0
- data/app/assets/stylesheets/vendors/SpinKit/gulpfile.js +97 -0
- data/app/assets/stylesheets/vendors/SpinKit/package.json +34 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/_variables.scss +3 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinkit.scss +12 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/1-rotating-plane.scss +25 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/10-fading-circle.scss +63 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/11-folding-cube.scss +70 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/2-double-bounce.scss +38 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/3-wave.scss +42 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/4-wandering-cubes.scss +51 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/5-pulse.scss +25 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/6-chasing-dots.scss +52 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/7-three-bounce.scss +40 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/8-circle.scss +62 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/9-cube-grid.scss +55 -0
- data/lib/cupboard/version.rb +1 -1
- metadata +62 -8
- data/app/assets/stylesheets/components/navigations/_categories-navi-responsive.scss +0 -129
- data/app/assets/stylesheets/components/navigations/_tv-navi.scss +0 -252
- data/app/assets/stylesheets/helpers/_mixin-buttons.scss +0 -17
- data/app/assets/stylesheets/layouts/_footer-nav.scss +0 -151
- data/app/assets/stylesheets/layouts/_sub-header-market.scss +0 -138
@@ -1,5 +1,3 @@
|
|
1
|
-
@import "compass/typography/text/ellipsis";
|
2
|
-
|
3
1
|
// --------------------------------
|
4
2
|
// Cards - video card
|
5
3
|
// --------------------------------
|
@@ -18,7 +16,7 @@ title: Video card
|
|
18
16
|
<div>
|
19
17
|
<div class="length">0:43</div>
|
20
18
|
<img alt="繽紛水果氣泡水" class="img-responsive" src="/images/recipe-default.png">
|
21
|
-
<div class="mask"></div>
|
19
|
+
<div class="mask"><i class="fa fa-play"></i></div>
|
22
20
|
</div>
|
23
21
|
<div class="info">
|
24
22
|
<div class="name" itemprop="name">繽紛水果氣泡水</div>
|
@@ -32,13 +30,16 @@ title: Video card
|
|
32
30
|
<a class="video" href="/fruit-sparkling-water">
|
33
31
|
<div>
|
34
32
|
<div class="feature-label">
|
35
|
-
<span
|
33
|
+
<span>
|
34
|
+
<i class="fa fa-play"></i>
|
35
|
+
最新影片
|
36
|
+
</span>
|
36
37
|
<div class="length">
|
37
38
|
<span>0:55</span>
|
38
39
|
</div>
|
39
40
|
</div>
|
40
41
|
<img alt="繽紛水果氣泡水" class="img-responsive" src="/images/recipe-default.png">
|
41
|
-
<div class="mask"></div>
|
42
|
+
<div class="mask"><i class="fa fa-play"></i></div>
|
42
43
|
</div>
|
43
44
|
<div class="info">
|
44
45
|
<div class="name" itemprop="name">繽紛水果氣泡水</div>
|
@@ -50,16 +51,12 @@ title: Video card
|
|
50
51
|
|
51
52
|
*/
|
52
53
|
|
53
|
-
@import "compass/typography/text/ellipsis";
|
54
|
-
|
55
54
|
$video-mask-bg: rgba(86, 78, 73, 0.4) !default;
|
56
55
|
$video-length-bg: rgba(86, 78, 73, 0.8) !default;
|
57
56
|
$video-card-author-by: #7c8783 !default;
|
58
57
|
$video-card-author: #555 !default;
|
59
58
|
|
60
59
|
.mask {
|
61
|
-
@include icon("\f04b");
|
62
|
-
|
63
60
|
background-color: $video-mask-bg;
|
64
61
|
color: $white;
|
65
62
|
display: none;
|
@@ -71,17 +68,21 @@ $video-card-author: #555 !default;
|
|
71
68
|
width: 100%;
|
72
69
|
z-index: 2;
|
73
70
|
|
74
|
-
|
71
|
+
i {
|
75
72
|
border: 2px solid $white;
|
76
73
|
border-radius: 50%;
|
77
74
|
font-size: 20px;
|
78
75
|
height: 40px;
|
79
76
|
line-height: 1.7;
|
80
|
-
margin-
|
81
|
-
padding-left: 3px;
|
77
|
+
margin-top: -20px;
|
82
78
|
position: relative;
|
83
|
-
top:
|
79
|
+
top: 50%;
|
84
80
|
width: 40px;
|
81
|
+
|
82
|
+
&::before {
|
83
|
+
left: 2px;
|
84
|
+
position: relative;
|
85
|
+
}
|
85
86
|
}
|
86
87
|
}
|
87
88
|
|
@@ -131,7 +132,7 @@ $video-card-author: #555 !default;
|
|
131
132
|
}
|
132
133
|
|
133
134
|
.name {
|
134
|
-
color: $
|
135
|
+
color: $brown;
|
135
136
|
font-size: 16px;
|
136
137
|
margin-bottom: 5px;
|
137
138
|
}
|
@@ -158,24 +159,22 @@ $video-card-author: #555 !default;
|
|
158
159
|
}
|
159
160
|
|
160
161
|
> span {
|
161
|
-
|
162
|
-
|
163
|
-
background-color: $orange;
|
162
|
+
background-color: $orange-red;
|
164
163
|
color: $white;
|
165
164
|
padding: 5px 6px;
|
165
|
+
}
|
166
166
|
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
}
|
167
|
+
.fa {
|
168
|
+
border: 1px solid $white;
|
169
|
+
border-radius: 50%;
|
170
|
+
color: $white;
|
171
|
+
font-size: 11px;
|
172
|
+
height: 18px;
|
173
|
+
line-height: 17px;
|
174
|
+
padding-left: 3px;
|
175
|
+
text-align: center;
|
176
|
+
vertical-align: top;
|
177
|
+
width: 18px;
|
179
178
|
}
|
180
179
|
|
181
180
|
.length {
|
@@ -45,14 +45,14 @@ name: 1_comment_form
|
|
45
45
|
|
46
46
|
*/
|
47
47
|
|
48
|
-
$comments-title: $
|
49
|
-
$comments-border: $
|
48
|
+
$comments-title: $brown !default;
|
49
|
+
$comments-border: $brown !default;
|
50
50
|
$comments-title-small-text: #aaa !default;
|
51
51
|
$comments-content-text: #888 !default;
|
52
|
-
$comments-content-link: $orange !default;
|
52
|
+
$comments-content-link: $orange-red !default;
|
53
53
|
$comments-content-timestamp: #aaa !default;
|
54
|
-
$comments-author:
|
55
|
-
$comments-load-more: $
|
54
|
+
$comments-author: $brown !default;
|
55
|
+
$comments-load-more: $brown !default;
|
56
56
|
$comments-notice-text: #aa8f83 !default;
|
57
57
|
$comments-help-block-text: #888 !default;
|
58
58
|
$comments-help-block-notice: #333 !default;
|
@@ -137,20 +137,12 @@ $comments-form-actions-text: #888 !default;
|
|
137
137
|
}
|
138
138
|
|
139
139
|
.load-more {
|
140
|
-
@include icon("\e800");
|
141
|
-
|
142
140
|
color: $comments-load-more;
|
143
141
|
display: block;
|
144
142
|
font-size: 16px;
|
145
143
|
margin: 20px auto 0;
|
146
144
|
text-align: center;
|
147
145
|
width: 25%;
|
148
|
-
|
149
|
-
&::before {
|
150
|
-
font-family: "icookfont";
|
151
|
-
font-weight: bold;
|
152
|
-
margin-right: 10px;
|
153
|
-
}
|
154
146
|
}
|
155
147
|
}
|
156
148
|
|
@@ -32,6 +32,9 @@ name: 2_single_comment
|
|
32
32
|
<p>這種的保存方式,可以不需要冰嗎?<br/>因為我在找尋可以不用冰的自製辣椒醬</p>
|
33
33
|
</div>
|
34
34
|
<span class="timestamp">3天前</span>
|
35
|
+
<span class="func">
|
36
|
+
<a href="#" class="edit">編輯</a>.<a href="#" class="delete">刪除</a>
|
37
|
+
</span>
|
35
38
|
</div>
|
36
39
|
<button class="report-msg" data-original-title="" title=""></button>
|
37
40
|
</div>
|
@@ -55,6 +58,9 @@ name: 2_single_comment
|
|
55
58
|
</div>
|
56
59
|
</div>
|
57
60
|
</div>
|
61
|
+
<div>
|
62
|
+
<a href="#" class="load-more"><i class="icon-right-small"></i>看更多留言</a>
|
63
|
+
</div>
|
58
64
|
</div>
|
59
65
|
</div>
|
60
66
|
</div>
|
@@ -63,7 +69,7 @@ name: 2_single_comment
|
|
63
69
|
*/
|
64
70
|
|
65
71
|
$reply-comment-border: $basic-border !default;
|
66
|
-
$reply-comment-author: $orange !default;
|
72
|
+
$reply-comment-author: $orange-red !default;
|
67
73
|
$comments-form-actions-border: $basic-border !default;
|
68
74
|
$comment-border: $basic-border !default;
|
69
75
|
$comment-form-text: #777 !default;
|
@@ -130,12 +136,11 @@ $recipe-comments-title: #666 !default;
|
|
130
136
|
color: $comment-delete;
|
131
137
|
}
|
132
138
|
|
133
|
-
.edit {
|
134
|
-
@include icon("|");
|
139
|
+
.edit::before {
|
140
|
+
@include icon-util("|", "FontAwesome");
|
135
141
|
|
136
|
-
|
137
|
-
|
138
|
-
}
|
142
|
+
margin-left: -5px;
|
143
|
+
margin-right: -5px;
|
139
144
|
}
|
140
145
|
}
|
141
146
|
|
@@ -153,15 +158,15 @@ $recipe-comments-title: #666 !default;
|
|
153
158
|
|
154
159
|
.report-msg {
|
155
160
|
bottom: 20px;
|
156
|
-
display: none;
|
161
|
+
// display: none;
|
157
162
|
position: absolute;
|
158
163
|
right: 0;
|
159
164
|
z-index: 3;
|
160
165
|
}
|
161
166
|
|
162
|
-
|
163
|
-
|
164
|
-
|
167
|
+
.tooltip.top .tooltip-inner {
|
168
|
+
width: 120px;
|
169
|
+
}
|
165
170
|
}
|
166
171
|
|
167
172
|
.reply-comment {
|
@@ -170,8 +175,6 @@ $recipe-comments-title: #666 !default;
|
|
170
175
|
position: relative;
|
171
176
|
|
172
177
|
.pull-left {
|
173
|
-
// margin-right: 10px;
|
174
|
-
|
175
178
|
&::after {
|
176
179
|
border-top: 1px solid $reply-comment-author;
|
177
180
|
content: "";
|
@@ -233,13 +236,17 @@ $recipe-comments-title: #666 !default;
|
|
233
236
|
padding: 0;
|
234
237
|
|
235
238
|
a {
|
236
|
-
@include icon("\f0d7");
|
237
|
-
|
238
239
|
color: $recipe-comments-title;
|
239
240
|
display: block;
|
240
241
|
margin-bottom: -5px;
|
241
242
|
padding: 10px 15px 0;
|
242
243
|
text-align: center;
|
244
|
+
|
245
|
+
&::before {
|
246
|
+
@include icon-util("\f0d7", "FontAwesome");
|
247
|
+
|
248
|
+
margin-right: 5px;
|
249
|
+
}
|
243
250
|
}
|
244
251
|
|
245
252
|
+ .panel-collapse > .panel-body {
|
@@ -11,69 +11,89 @@ parent: 13_covers
|
|
11
11
|
name: 1_categories_cover
|
12
12
|
title: Category cover
|
13
13
|
---
|
14
|
-
|
15
|
-
<div class="
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
14
|
+
<div class="categories">
|
15
|
+
<div class="inner-block cover-block">
|
16
|
+
<div class="cover">
|
17
|
+
<img src="/images/category-cover.png" alt="分類 - 電鍋" class="img-responsive">
|
18
|
+
</div>
|
19
|
+
<div class="cover-desc">
|
20
|
+
<div class="cover-title">電鍋</div>
|
21
|
+
<p class="description">家家戶戶一定會有一台電鍋,蒸包子、煲湯、煮飯、滷肉及西式甜點布丁,不管任何料理電鍋都能輕鬆完成。甚至可以一鍋搞定三菜一湯,是外出遊子及懶人的最佳夥伴~</p>
|
22
|
+
</div>
|
22
23
|
</div>
|
23
24
|
</div>
|
24
25
|
|
25
26
|
*/
|
26
27
|
|
27
|
-
|
28
|
-
|
28
|
+
$cover-bg: $light-gray-light4 !default;
|
29
|
+
$cover-link: $red !default;
|
29
30
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
31
|
+
// categories new cover
|
32
|
+
.categories {
|
33
|
+
.cover-block {
|
34
|
+
background-color: $white;
|
35
|
+
margin-bottom: 15px;
|
36
|
+
padding: 15px;
|
36
37
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
38
|
+
a,
|
39
|
+
em {
|
40
|
+
color: $cover-link;
|
41
|
+
}
|
41
42
|
|
42
|
-
|
43
|
-
|
43
|
+
em {
|
44
|
+
font-style: inherit;
|
45
|
+
}
|
46
|
+
|
47
|
+
img {
|
48
|
+
min-height: 150px;
|
49
|
+
width: 100%;
|
50
|
+
}
|
44
51
|
}
|
45
52
|
|
46
|
-
.
|
47
|
-
|
53
|
+
.cover {
|
54
|
+
border-radius: 3px;
|
55
|
+
margin-bottom: 15px;
|
56
|
+
min-height: 150px;
|
57
|
+
overflow: hidden;
|
58
|
+
}
|
48
59
|
|
49
|
-
|
50
|
-
|
51
|
-
|
60
|
+
.cover-desc {
|
61
|
+
background-color: $cover-bg;
|
62
|
+
color: $brown;
|
52
63
|
padding: 15px;
|
53
|
-
position: absolute;
|
54
|
-
width: 100%;
|
55
|
-
z-index: 2;
|
56
|
-
}
|
57
64
|
|
58
|
-
|
59
|
-
|
65
|
+
+ p {
|
66
|
+
margin-bottom: -5px;
|
67
|
+
margin-top: 10px;
|
68
|
+
overflow: hidden;
|
69
|
+
}
|
60
70
|
|
61
|
-
|
62
|
-
|
71
|
+
.cover-title {
|
72
|
+
color: $brown;
|
73
|
+
font-size: 28px;
|
74
|
+
}
|
63
75
|
}
|
76
|
+
}
|
64
77
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
margin-left: 10px;
|
69
|
-
position: relative;
|
70
|
-
top: 9px;
|
78
|
+
@media only screen and (min-width: 992px) {
|
79
|
+
.cover-block {
|
80
|
+
margin-bottom: 15px;
|
71
81
|
}
|
72
82
|
}
|
73
83
|
|
74
|
-
@media only screen and (
|
75
|
-
.
|
76
|
-
|
77
|
-
|
84
|
+
@media only screen and (max-width: 640px) {
|
85
|
+
.cover-block .cover {
|
86
|
+
max-height: 60px;
|
87
|
+
}
|
88
|
+
|
89
|
+
.categories .cover-block {
|
90
|
+
.cover {
|
91
|
+
min-height: 65px;
|
92
|
+
}
|
93
|
+
|
94
|
+
img {
|
95
|
+
min-height: 65px;
|
96
|
+
}
|
78
97
|
}
|
79
98
|
}
|
99
|
+
|
@@ -0,0 +1,75 @@
|
|
1
|
+
// ----------------------------------------
|
2
|
+
// Components - Covers - users cover
|
3
|
+
// ----------------------------------------
|
4
|
+
|
5
|
+
/*doc
|
6
|
+
---
|
7
|
+
parent: 13_covers
|
8
|
+
name: 3_categories_cover
|
9
|
+
title: Users cover
|
10
|
+
---
|
11
|
+
|
12
|
+
Premium user's favorites list cover.
|
13
|
+
<div class="users">
|
14
|
+
<div class="cover-block hidden-xs">
|
15
|
+
<a target="_blank" class="cover" href="#">
|
16
|
+
<img src="/images/category-cover.png" alt="愛料理食驗室" class="img-responsive">
|
17
|
+
</a>
|
18
|
+
<div class="title">
|
19
|
+
<div class="name">愛料理食驗室</div>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
*/
|
25
|
+
|
26
|
+
$cover-gradient-top: rgba(0, 0, 0, 0) !default;
|
27
|
+
$cover-gradient-bottom: rgba(0, 0, 0, 0.4) !default;
|
28
|
+
$cover-name: $white !default;
|
29
|
+
$cover-name-shadow: rgba(0, 0, 0, 0.5) !default;
|
30
|
+
|
31
|
+
.cover-block {
|
32
|
+
position: relative;
|
33
|
+
|
34
|
+
.cover {
|
35
|
+
background-image: image-url("default/category-cover.png");
|
36
|
+
background-repeat: no-repeat;
|
37
|
+
display: block;
|
38
|
+
height: 100%;
|
39
|
+
line-height: 1;
|
40
|
+
max-height: 150px;
|
41
|
+
overflow: hidden;
|
42
|
+
}
|
43
|
+
|
44
|
+
img {
|
45
|
+
width: 100%;
|
46
|
+
}
|
47
|
+
|
48
|
+
.title {
|
49
|
+
background-image: linear-gradient(top, $cover-gradient-top 0%, $cover-gradient-bottom 100%);
|
50
|
+
bottom: 0;
|
51
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#59000000',GradientType=0); // IE6-9
|
52
|
+
left: 0;
|
53
|
+
padding: 15px;
|
54
|
+
position: absolute;
|
55
|
+
width: 100%;
|
56
|
+
z-index: 2;
|
57
|
+
}
|
58
|
+
|
59
|
+
.name {
|
60
|
+
color: $cover-name;
|
61
|
+
float: left;
|
62
|
+
font-size: 24px;
|
63
|
+
text-shadow: $cover-name-shadow 0 1px 4px;
|
64
|
+
}
|
65
|
+
|
66
|
+
span {
|
67
|
+
color: $cover-name;
|
68
|
+
display: inline-block;
|
69
|
+
font-size: 13px;
|
70
|
+
margin-left: 10px;
|
71
|
+
position: relative;
|
72
|
+
top: 11px;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
@@ -1,5 +1,3 @@
|
|
1
|
-
@import "compass/typography/text/ellipsis";
|
2
|
-
|
3
1
|
// ----------------------------------------
|
4
2
|
// Components - Feature - feature events
|
5
3
|
// ----------------------------------------
|
@@ -59,8 +57,8 @@ name: 02_feature_events
|
|
59
57
|
|
60
58
|
$feature-event-link: #888 !default;
|
61
59
|
$feature-event-link-bg: #fffcf0 !default;
|
62
|
-
$feature-event-link-hover: $
|
63
|
-
$feature-event-deadline: $orange !default;
|
60
|
+
$feature-event-link-hover: $brown !default;
|
61
|
+
$feature-event-deadline: $orange-red !default;
|
64
62
|
|
65
63
|
.feature-events {
|
66
64
|
ul,
|
@@ -105,7 +103,6 @@ $feature-event-deadline: $orange !default;
|
|
105
103
|
&:not(.pull-right) {
|
106
104
|
@include ellipsis;
|
107
105
|
|
108
|
-
display: inline-block;
|
109
106
|
width: 75%;
|
110
107
|
}
|
111
108
|
|
@@ -1,5 +1,3 @@
|
|
1
|
-
@import "compass/typography/text/ellipsis";
|
2
|
-
|
3
1
|
// ----------------------------------------
|
4
2
|
// Components - Feature - feature slides
|
5
3
|
// ----------------------------------------
|
@@ -62,8 +60,8 @@ $featured-recipe-link: #888 !default;
|
|
62
60
|
$featured-recipe-link-current: #ac8c85 !default;
|
63
61
|
|
64
62
|
.feature-slides {
|
65
|
-
padding-top: 5px;
|
66
63
|
overflow: hidden;
|
64
|
+
padding-top: 5px;
|
67
65
|
|
68
66
|
ul,
|
69
67
|
li {
|
@@ -120,12 +118,12 @@ $featured-recipe-link-current: #ac8c85 !default;
|
|
120
118
|
|
121
119
|
&.current a,
|
122
120
|
&:hover a {
|
123
|
-
|
124
|
-
|
125
|
-
color: $ic-brown;
|
121
|
+
color: $brown;
|
126
122
|
text-decoration: none;
|
127
123
|
|
128
124
|
&::before {
|
125
|
+
@include icon-util("\f0da", "FontAwesome");
|
126
|
+
|
129
127
|
color: $featured-recipe-link-current;
|
130
128
|
font-size: 18px;
|
131
129
|
width: 10px;
|
@@ -142,3 +140,4 @@ $featured-recipe-link-current: #ac8c85 !default;
|
|
142
140
|
}
|
143
141
|
}
|
144
142
|
}
|
143
|
+
|
@@ -19,7 +19,7 @@ title: Footer social icons
|
|
19
19
|
*/
|
20
20
|
|
21
21
|
$footer-social-icons: ("fb", "twitter", "ig", "line");
|
22
|
-
$color: $
|
22
|
+
$color: $brown;
|
23
23
|
|
24
24
|
@each $icon in $footer-social-icons {
|
25
25
|
.footer-social-#{$icon} {
|
@@ -32,51 +32,28 @@ $color: $ic-brown;
|
|
32
32
|
}
|
33
33
|
|
34
34
|
@if $icon == "fb" {
|
35
|
-
|
35
|
+
&::before {
|
36
|
+
@include icon-util("\f09a", "FontAwesome");
|
37
|
+
}
|
36
38
|
}
|
37
39
|
|
38
40
|
@if $icon == "twitter" {
|
39
|
-
|
41
|
+
&::before {
|
42
|
+
@include icon-util("\f099", "FontAwesome");
|
43
|
+
}
|
40
44
|
}
|
41
45
|
|
42
46
|
@if $icon == "ig" {
|
43
|
-
|
47
|
+
&::before {
|
48
|
+
@include icon-util("\f16d", "FontAwesome");
|
49
|
+
}
|
44
50
|
}
|
45
51
|
|
46
52
|
@if $icon == "line" {
|
47
|
-
@include icon("\e808");
|
48
|
-
|
49
53
|
&::before {
|
50
|
-
|
54
|
+
@include icon-util("\e808", "icookfont");
|
51
55
|
}
|
52
56
|
}
|
53
57
|
}
|
54
58
|
}
|
55
59
|
|
56
|
-
.socials {
|
57
|
-
li {
|
58
|
-
border: 1px solid $ic-brown;
|
59
|
-
border-radius: 3px;
|
60
|
-
display: inline-block;
|
61
|
-
float: left;
|
62
|
-
height: 40px;
|
63
|
-
text-align: center;
|
64
|
-
width: 40px;
|
65
|
-
|
66
|
-
+ li {
|
67
|
-
margin-left: 15px;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
a {
|
72
|
-
display: inline-block;
|
73
|
-
font-size: 18px;
|
74
|
-
height: 100%;
|
75
|
-
line-height: 38px;
|
76
|
-
width: 100%;
|
77
|
-
|
78
|
-
&::before {
|
79
|
-
margin-right: 0;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
@@ -19,35 +19,32 @@ title: Card status
|
|
19
19
|
*/
|
20
20
|
|
21
21
|
$stat-icon: #999 !default;
|
22
|
-
$stat-icon-following: $
|
22
|
+
$stat-icon-following: $red !default;
|
23
23
|
|
24
24
|
.fav-count {
|
25
|
-
|
25
|
+
&::before {
|
26
|
+
@include icon-util("\f004", "FontAwesome");
|
27
|
+
}
|
26
28
|
|
27
29
|
&.active::before {
|
28
30
|
color: $stat-icon-following;
|
29
31
|
}
|
30
32
|
}
|
31
33
|
|
32
|
-
.views-count {
|
33
|
-
@include icon("\f06e");
|
34
|
+
.views-count::before {
|
35
|
+
@include icon-util("\f06e", "FontAwesome");
|
34
36
|
|
35
|
-
|
36
|
-
margin-right: -2px;
|
37
|
-
}
|
37
|
+
margin-right: -2px;
|
38
38
|
}
|
39
39
|
|
40
|
-
.dishes-count {
|
41
|
-
@include icon("\f030");
|
40
|
+
.dishes-count::before {
|
41
|
+
@include icon-util("\f030", "FontAwesome");
|
42
42
|
}
|
43
43
|
|
44
|
-
.comments-count {
|
45
|
-
@include icon("\e805");
|
44
|
+
.comments-count::before {
|
45
|
+
@include icon-util("\e805", "icookfont");
|
46
46
|
|
47
|
-
|
48
|
-
font-family: "icookfont";
|
49
|
-
font-weight: bold;
|
50
|
-
}
|
47
|
+
font-weight: bold;
|
51
48
|
}
|
52
49
|
|
53
50
|
.fav-count,
|
@@ -55,7 +52,6 @@ $stat-icon-following: $ic-red !default;
|
|
55
52
|
.comments-count,
|
56
53
|
.views-count {
|
57
54
|
color: $stat-icon;
|
58
|
-
margin-left: 5px;
|
59
55
|
|
60
56
|
&::before {
|
61
57
|
color: $stat-icon;
|