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
|
// Components - Sidebars - popular search
|
5
3
|
// -----------------------------------------
|
@@ -156,7 +154,7 @@ $popular-search-minus: #999 !default;
|
|
156
154
|
|
157
155
|
> li::before {
|
158
156
|
background-color: transparent;
|
159
|
-
color: $
|
157
|
+
color: $brown;
|
160
158
|
content: counter(li);
|
161
159
|
counter-increment: li;
|
162
160
|
font-size: 18px;
|
@@ -208,17 +206,18 @@ $popular-search-minus: #999 !default;
|
|
208
206
|
}
|
209
207
|
|
210
208
|
.media-left {
|
211
|
-
@include ellipsis;
|
212
|
-
|
213
209
|
line-height: 60px;
|
214
210
|
margin-right: 0;
|
215
211
|
margin-top: 0;
|
216
|
-
width:
|
212
|
+
width: 39%;
|
217
213
|
|
218
214
|
a {
|
215
|
+
@include ellipsis;
|
216
|
+
|
219
217
|
color: $popular-search-link;
|
220
218
|
float: left;
|
221
219
|
font-size: 16px;
|
220
|
+
width: 65%;
|
222
221
|
}
|
223
222
|
}
|
224
223
|
|
@@ -236,8 +235,6 @@ $popular-search-minus: #999 !default;
|
|
236
235
|
}
|
237
236
|
|
238
237
|
a {
|
239
|
-
@include ellipsis;
|
240
|
-
|
241
238
|
display: block;
|
242
239
|
width: 80px;
|
243
240
|
}
|
@@ -254,30 +251,24 @@ $popular-search-minus: #999 !default;
|
|
254
251
|
}
|
255
252
|
}
|
256
253
|
|
257
|
-
.icon-arrow-up {
|
258
|
-
@include icon("\f176");
|
254
|
+
.icon-arrow-up::before {
|
255
|
+
@include icon-util("\f176", "FontAwesome");
|
259
256
|
|
260
|
-
|
261
|
-
color: $popular-search-arrow-up;
|
262
|
-
}
|
257
|
+
color: $popular-search-arrow-up;
|
263
258
|
}
|
264
259
|
|
265
|
-
.icon-arrow-down {
|
266
|
-
@include icon("\f175");
|
260
|
+
.icon-arrow-down::before {
|
261
|
+
@include icon-util("\f175", "FontAwesome");
|
267
262
|
|
268
|
-
|
269
|
-
color: $popular-search-arrow-down;
|
270
|
-
}
|
263
|
+
color: $popular-search-arrow-down;
|
271
264
|
}
|
272
265
|
|
273
|
-
.icon-minus {
|
274
|
-
@include icon("\f068");
|
266
|
+
.icon-minus::before {
|
267
|
+
@include icon-util("\f068", "FontAwesome");
|
275
268
|
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
right: -2px;
|
280
|
-
}
|
269
|
+
color: $popular-search-minus;
|
270
|
+
position: relative;
|
271
|
+
right: -2px;
|
281
272
|
}
|
282
273
|
|
283
274
|
.icon-arrow-up,
|
@@ -328,3 +319,4 @@ $popular-search-minus: #999 !default;
|
|
328
319
|
}
|
329
320
|
}
|
330
321
|
}
|
322
|
+
|
@@ -25,7 +25,7 @@ name: 05_recipes_collect
|
|
25
25
|
</div>
|
26
26
|
*/
|
27
27
|
|
28
|
-
$recipes-collect-icon: $orange !default;
|
28
|
+
$recipes-collect-icon: $orange-red !default;
|
29
29
|
|
30
30
|
.recipes-collect {
|
31
31
|
li {
|
@@ -39,9 +39,11 @@ $recipes-collect-icon: $orange !default;
|
|
39
39
|
}
|
40
40
|
|
41
41
|
a {
|
42
|
-
|
42
|
+
color: $brown;
|
43
43
|
|
44
44
|
&::after {
|
45
|
+
@include icon-util("\f0a9", "FontAwesome");
|
46
|
+
|
45
47
|
color: $recipes-collect-icon;
|
46
48
|
line-height: 19px;
|
47
49
|
margin-left: 0;
|
@@ -50,3 +52,4 @@ $recipes-collect-icon: $orange !default;
|
|
50
52
|
}
|
51
53
|
}
|
52
54
|
}
|
55
|
+
|
@@ -4,11 +4,11 @@
|
|
4
4
|
// default sidebar widget basic style
|
5
5
|
|
6
6
|
$sidebar-title: #aa0000 !default;
|
7
|
-
$sidebar-link:
|
7
|
+
$sidebar-link: $brown !default;
|
8
8
|
$sidebar-link-hover: #ac8c85 !default;
|
9
9
|
$title-link-to-more-text: #888 !default;
|
10
|
-
$title-link-to-more-icon: $
|
11
|
-
$title-link-to-more-hover: $orange !default;
|
10
|
+
$title-link-to-more-icon: $brown !default;
|
11
|
+
$title-link-to-more-hover: $orange-red !default;
|
12
12
|
|
13
13
|
.widget {
|
14
14
|
padding-left: 11px;
|
@@ -34,15 +34,6 @@ $title-link-to-more-hover: $orange !default;
|
|
34
34
|
&:last-child {
|
35
35
|
padding-bottom: 0;
|
36
36
|
}
|
37
|
-
|
38
|
-
a {
|
39
|
-
color: $sidebar-link;
|
40
|
-
display: block;
|
41
|
-
|
42
|
-
&:hover {
|
43
|
-
color: $sidebar-link-hover;
|
44
|
-
}
|
45
|
-
}
|
46
37
|
}
|
47
38
|
}
|
48
39
|
|
@@ -56,12 +47,12 @@ $title-link-to-more-hover: $orange !default;
|
|
56
47
|
}
|
57
48
|
|
58
49
|
.link-to-more {
|
59
|
-
@include icon-b("\f0a9");
|
60
|
-
|
61
50
|
color: $title-link-to-more-text;
|
62
51
|
font-size: 14px;
|
63
52
|
|
64
53
|
&::after {
|
54
|
+
@include icon-util("\f0a9", "FontAwesome");
|
55
|
+
|
65
56
|
color: $title-link-to-more-icon;
|
66
57
|
}
|
67
58
|
|
@@ -57,7 +57,7 @@ name: 11_tv_more_recipes
|
|
57
57
|
</div>
|
58
58
|
*/
|
59
59
|
|
60
|
-
$more-recipes-title: $
|
60
|
+
$more-recipes-title: $brown !default;
|
61
61
|
|
62
62
|
.more-recipes {
|
63
63
|
img {
|
@@ -65,8 +65,8 @@ $more-recipes-title: $ic-brown !default;
|
|
65
65
|
}
|
66
66
|
|
67
67
|
.title {
|
68
|
-
border-bottom: 1px solid $
|
69
|
-
color: $
|
68
|
+
border-bottom: 1px solid $brown;
|
69
|
+
color: $brown;
|
70
70
|
font-size: 16px;
|
71
71
|
margin-top: 0;
|
72
72
|
padding-bottom: 10px;
|
@@ -98,4 +98,3 @@ $more-recipes-title: $ic-brown !default;
|
|
98
98
|
}
|
99
99
|
}
|
100
100
|
|
101
|
-
|
@@ -29,13 +29,13 @@ name: 12_tv_popular_tags
|
|
29
29
|
*/
|
30
30
|
|
31
31
|
$tag-link: #8c8783 !default;
|
32
|
-
$tag-link-bg:
|
33
|
-
$tag-link-hover: $
|
32
|
+
$tag-link-bg: $light-gray !default;
|
33
|
+
$tag-link-hover: $brown !default;
|
34
34
|
|
35
35
|
.popular-tags {
|
36
36
|
.title {
|
37
|
-
border-bottom: 1px solid $
|
38
|
-
color: $
|
37
|
+
border-bottom: 1px solid $brown;
|
38
|
+
color: $brown;
|
39
39
|
font-size: 16px;
|
40
40
|
margin-top: 0;
|
41
41
|
padding-bottom: 10px;
|
@@ -76,4 +76,3 @@ $tag-link-hover: $ic-brown !default;
|
|
76
76
|
}
|
77
77
|
}
|
78
78
|
|
79
|
-
|
@@ -1,7 +1,5 @@
|
|
1
|
-
@import "compass/typography/text/ellipsis";
|
2
|
-
|
3
1
|
// --------------------------------
|
4
|
-
//
|
2
|
+
// Components - User - fav list
|
5
3
|
// --------------------------------
|
6
4
|
|
7
5
|
/*doc
|
@@ -59,10 +57,10 @@ name: 02_fav_list
|
|
59
57
|
$accordion-list-bg: $white !default;
|
60
58
|
$accordion-list-title: #efede8 !default;
|
61
59
|
$accordion-list-link: #777 !default;
|
62
|
-
$accordion-list-link-active: $
|
60
|
+
$accordion-list-link-active: $brown !default;
|
63
61
|
$accordion-list-link-hover-text: $white !default;
|
64
|
-
$accordion-list-border:
|
65
|
-
$accordion-list-button: $
|
62
|
+
$accordion-list-border: $basic-border !default;
|
63
|
+
$accordion-list-button: $brown !default;
|
66
64
|
|
67
65
|
.accordion-list {
|
68
66
|
.navbar-collapse {
|
@@ -146,8 +144,6 @@ $accordion-list-button: $ic-brown !default;
|
|
146
144
|
}
|
147
145
|
|
148
146
|
button {
|
149
|
-
@include icon-b("\f0dd");
|
150
|
-
|
151
147
|
color: $accordion-list-button;
|
152
148
|
margin: 0;
|
153
149
|
padding: 10px 15px;
|
@@ -155,6 +151,8 @@ $accordion-list-button: $ic-brown !default;
|
|
155
151
|
width: 100%;
|
156
152
|
|
157
153
|
&::after {
|
154
|
+
@include icon-util("\f0dd", "FontAwesome");
|
155
|
+
|
158
156
|
font-size: 20px;
|
159
157
|
height: 20px;
|
160
158
|
margin-left: 0;
|
@@ -89,22 +89,22 @@ name: 01_user_stats
|
|
89
89
|
|
90
90
|
$users-stats-tabs-border: $basic-bg !default;
|
91
91
|
$users-stats-tabs-link: #aaa !default;
|
92
|
-
$users-stats-tabs-link-hover: $
|
93
|
-
$users-stats-tabs-small-title: $
|
92
|
+
$users-stats-tabs-link-hover: $brown !default;
|
93
|
+
$users-stats-tabs-small-title: $brown !default;
|
94
94
|
$users-author-box-text: #888 !default;
|
95
|
-
$users-author-text: $
|
95
|
+
$users-author-text: $brown !default;
|
96
96
|
$users-desc-title-bg: $basic-bg !default;
|
97
|
-
$users-desc-title: $
|
98
|
-
$users-desc-link: $
|
99
|
-
$users-user-url-link: $orange !default;
|
97
|
+
$users-desc-title: $brown !default;
|
98
|
+
$users-desc-link: $brown-light10 !default;
|
100
99
|
$users-author-box-recipes-border: #dadada !default;
|
101
|
-
$users-author-box-recipes-link-hover: $
|
100
|
+
$users-author-box-recipes-link-hover: $brown !default;
|
102
101
|
$users-author-box-recipes-item-count: #9b9b9b !default;
|
103
|
-
$users-author-box-recipes-item-name: $
|
102
|
+
$users-author-box-recipes-item-name: $brown !default;
|
104
103
|
|
105
104
|
.stats-tabs {
|
106
105
|
border-top: 1px solid $users-stats-tabs-border;
|
107
106
|
padding-bottom: 15px;
|
107
|
+
padding-left: 0;
|
108
108
|
padding-top: 20px;
|
109
109
|
text-align: center;
|
110
110
|
|
@@ -113,28 +113,30 @@ $users-author-box-recipes-item-name: $ic-brown !default;
|
|
113
113
|
display: inline-block;
|
114
114
|
min-width: 20%;
|
115
115
|
padding: 0;
|
116
|
-
|
117
|
-
a {
|
118
|
-
color: $users-stats-tabs-link;
|
119
|
-
display: block;
|
120
|
-
font-size: 24px;
|
121
|
-
|
122
|
-
&:hover {
|
123
|
-
color: $users-stats-tabs-link-hover;
|
124
|
-
text-decoration: none;
|
125
|
-
}
|
126
|
-
}
|
127
116
|
}
|
128
117
|
|
129
|
-
a
|
130
|
-
|
131
|
-
|
132
|
-
|
118
|
+
a {
|
119
|
+
color: $users-stats-tabs-link;
|
120
|
+
display: block;
|
121
|
+
font-size: 24px;
|
122
|
+
|
123
|
+
&:hover {
|
124
|
+
color: $users-stats-tabs-link-hover;
|
125
|
+
text-decoration: none;
|
133
126
|
}
|
134
127
|
|
135
|
-
|
128
|
+
> span {
|
136
129
|
color: $users-stats-tabs-small-title;
|
137
130
|
font-size: 14px;
|
131
|
+
|
132
|
+
span {
|
133
|
+
color: $users-stats-tabs-link;
|
134
|
+
font-size: 24px;
|
135
|
+
|
136
|
+
&:hover {
|
137
|
+
color: $users-stats-tabs-link-hover;
|
138
|
+
}
|
139
|
+
}
|
138
140
|
}
|
139
141
|
}
|
140
142
|
|
@@ -185,6 +187,8 @@ $users-author-box-recipes-item-name: $ic-brown !default;
|
|
185
187
|
word-wrap: break-word;
|
186
188
|
|
187
189
|
> div {
|
190
|
+
color: $brown-light10;
|
191
|
+
font-weight: 300;
|
188
192
|
padding-left: 15px;
|
189
193
|
padding-right: 15px;
|
190
194
|
}
|
@@ -221,7 +225,7 @@ $users-author-box-recipes-item-name: $ic-brown !default;
|
|
221
225
|
}
|
222
226
|
|
223
227
|
a {
|
224
|
-
color: $users-
|
228
|
+
color: $users-desc-link;
|
225
229
|
}
|
226
230
|
}
|
227
231
|
|
@@ -2,19 +2,20 @@
|
|
2
2
|
// Mixin - badge
|
3
3
|
// --------------------------------
|
4
4
|
@mixin badge($content, $bg-color) {
|
5
|
-
|
5
|
+
&::after {
|
6
6
|
background-color: $bg-color;
|
7
7
|
border-radius: 4px;
|
8
|
+
color: $white;
|
8
9
|
content: $content;
|
9
|
-
color: #fff;
|
10
10
|
display: inline-block;
|
11
11
|
font-size: 11px;
|
12
12
|
font-weight: normal;
|
13
13
|
line-height: 1;
|
14
|
-
min-width: 10px;
|
15
14
|
margin-left: 5px;
|
15
|
+
min-width: 10px;
|
16
16
|
padding: 3px 6px 1px;
|
17
17
|
position: relative;
|
18
18
|
top: -1px;
|
19
19
|
}
|
20
20
|
}
|
21
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// --------------------------------
|
2
|
+
// Mixin - ellipsis
|
3
|
+
// --------------------------------
|
4
|
+
@mixin ellipsis {
|
5
|
+
display: inline-block;
|
6
|
+
max-width: 100%;
|
7
|
+
overflow: hidden;
|
8
|
+
text-overflow: ellipsis;
|
9
|
+
white-space: nowrap;
|
10
|
+
word-wrap: normal;
|
11
|
+
}
|
12
|
+
|
13
|
+
// Usage Notice:
|
14
|
+
// $max-height - max-height property value. required
|
15
|
+
// parameter to limit text in non-webkit browser.
|
16
|
+
// Be careful with overriding properties.
|
17
|
+
// Strongly recommended to include this mixin after all properties
|
18
|
+
// to prevent overriding of display property:
|
19
|
+
// .my block {
|
20
|
+
// display: block;
|
21
|
+
// ...
|
22
|
+
// @include ellipsis(2em, 2);
|
23
|
+
// }
|
24
|
+
// Example of usage:
|
25
|
+
// @include ellipsis(2em, 2);
|
26
|
+
|
27
|
+
@mixin ellipsis-multiline($max-height, $lines: 2) {
|
28
|
+
// Fallback for non-webkit browsers.
|
29
|
+
// Fallback does not render ellipsis.
|
30
|
+
overflow: hidden;
|
31
|
+
max-height: $max-height;
|
32
|
+
// Webkit solution for multiline ellipsis
|
33
|
+
display: -webkit-box;
|
34
|
+
-webkit-box-orient: vertical;
|
35
|
+
-webkit-line-clamp: $lines;
|
36
|
+
// Solution for Opera
|
37
|
+
text-overflow: -o-ellipsis-lastline;
|
38
|
+
}
|
39
|
+
|
@@ -0,0 +1,247 @@
|
|
1
|
+
// -----------------------------------------
|
2
|
+
// Mixin - flex
|
3
|
+
// -----------------------------------------
|
4
|
+
// Placeholder(%) selectors for who rather @extend
|
5
|
+
|
6
|
+
// Flexbox Containers
|
7
|
+
// display: flex | inline-flex
|
8
|
+
@mixin flexbox {
|
9
|
+
display: -moz-flex;
|
10
|
+
display: -ms-flexbox; // IE10
|
11
|
+
display: -webkit-box;
|
12
|
+
display: -webkit-flex; // safari / ios
|
13
|
+
display: flex;
|
14
|
+
}
|
15
|
+
|
16
|
+
%flexbox { @include flexbox; }
|
17
|
+
|
18
|
+
@mixin inline-flex {
|
19
|
+
display: -moz-inline-flex;
|
20
|
+
display: -ms-inline-flexbox;
|
21
|
+
display: -webkit-inline-box;
|
22
|
+
display: -webkit-inline-flex;
|
23
|
+
display: inline-flex;
|
24
|
+
}
|
25
|
+
|
26
|
+
%inline-flex { @include inline-flex; }
|
27
|
+
|
28
|
+
// -----------------------------------------
|
29
|
+
|
30
|
+
// Flexbox Direction
|
31
|
+
// values: row | row-reverse | column | column-reverse
|
32
|
+
// default: row
|
33
|
+
@mixin flex-direction($value: row) {
|
34
|
+
@if $value == row-reverse {
|
35
|
+
-webkit-box-direction: reverse;
|
36
|
+
-webkit-box-orient: horizontal;
|
37
|
+
} @else if $value == column {
|
38
|
+
-webkit-box-direction: normal;
|
39
|
+
-webkit-box-orient: vertical;
|
40
|
+
} @else if $value == column-reverse {
|
41
|
+
-webkit-box-direction: reverse;
|
42
|
+
-webkit-box-orient: vertical;
|
43
|
+
} @else {
|
44
|
+
-webkit-box-direction: normal;
|
45
|
+
-webkit-box-orient: horizontal;
|
46
|
+
}
|
47
|
+
-webkit-flex-direction: $value;
|
48
|
+
-moz-flex-direction: $value;
|
49
|
+
-ms-flex-direction: $value;
|
50
|
+
flex-direction: $value;
|
51
|
+
}
|
52
|
+
|
53
|
+
// shorter version:
|
54
|
+
@mixin flex-dir($args...) { @include flex-direction($args...); }
|
55
|
+
|
56
|
+
// ----------------------------------------
|
57
|
+
|
58
|
+
// Flexbox Wrap
|
59
|
+
// values: nowrap | wrap | wrap-reverse
|
60
|
+
// default: nowrap
|
61
|
+
// no webkit box fallback
|
62
|
+
@mixin flex-wrap($value: nowrap) {
|
63
|
+
-webkit-flex-wrap: $value;
|
64
|
+
-moz-flex-wrap: $value;
|
65
|
+
@if $value == nowrap {
|
66
|
+
-ms-flex-wrap: none;
|
67
|
+
} @else {
|
68
|
+
-ms-flex-wrap: $value;
|
69
|
+
}
|
70
|
+
flex-wrap: $value;
|
71
|
+
}
|
72
|
+
|
73
|
+
// ---------------------------------------
|
74
|
+
|
75
|
+
// Flexbox Flow (shorthand)
|
76
|
+
// values: <flex-direction> | <flex-wrap>
|
77
|
+
// default: row nowrap
|
78
|
+
// no webkit box fallback
|
79
|
+
@mixin flex-flow($values: row nowrap) {
|
80
|
+
-moz-flex-flow: $values;
|
81
|
+
-ms-flex-flow: $values;
|
82
|
+
-webkit-flex-flow: $values;
|
83
|
+
flex-flow: $values;
|
84
|
+
}
|
85
|
+
|
86
|
+
// ---------------------------------------
|
87
|
+
|
88
|
+
// Flexbox Order
|
89
|
+
// default: 0
|
90
|
+
@mixin order($int: 0) {
|
91
|
+
-webkit-box-ordinal-group: $int + 1;
|
92
|
+
-webkit-order: $int;
|
93
|
+
-moz-order: $int;
|
94
|
+
-ms-flex-order: $int;
|
95
|
+
order: $int;
|
96
|
+
}
|
97
|
+
|
98
|
+
// --------------------------------------
|
99
|
+
|
100
|
+
// Flexbox Grow
|
101
|
+
// default: 0
|
102
|
+
// negative numbers are invalid
|
103
|
+
@mixin flex-grow($int: 0) {
|
104
|
+
-webkit-box-flex: $int;
|
105
|
+
-webkit-flex-grow: $int;
|
106
|
+
-moz-flex-grow: $int;
|
107
|
+
-ms-flex-positive: $int;
|
108
|
+
flex-grow: $int;
|
109
|
+
}
|
110
|
+
|
111
|
+
// -------------------------------------
|
112
|
+
|
113
|
+
// Flexbox Shrink
|
114
|
+
// default: 1
|
115
|
+
// negative numbers are invalid
|
116
|
+
@mixin flex-shrink($int: 1) {
|
117
|
+
-webkit-flex-shrink: $int;
|
118
|
+
-moz-flex-shrink: $int;
|
119
|
+
-ms-flex-negative: $int;
|
120
|
+
flex-shrink: $int;
|
121
|
+
}
|
122
|
+
|
123
|
+
// ------------------------------------
|
124
|
+
|
125
|
+
// Flexbox Basis
|
126
|
+
// values: Like "width"
|
127
|
+
// default: auto
|
128
|
+
// negative numbers are invalid
|
129
|
+
@mixin flex-basis($value: auto) {
|
130
|
+
-webkit-flex-basis: $value;
|
131
|
+
-moz-flex-basis: $value;
|
132
|
+
-ms-flex-preferred-size: $value;
|
133
|
+
flex-basis: $value;
|
134
|
+
}
|
135
|
+
|
136
|
+
// -----------------------------------
|
137
|
+
|
138
|
+
// Flexbox "Flex" (shorthand)
|
139
|
+
// values: none | <flex-grow> <flex-shrink> || <flex-basis>
|
140
|
+
// default: See individual properties (1 1 0)
|
141
|
+
@mixin flex($fg: 1, $fs: null, $fb: null) {
|
142
|
+
// set a variable to be used by box-flex properties
|
143
|
+
$fg-boxflex: $fg;
|
144
|
+
|
145
|
+
// box-flex only supports a flex-grow value so grab the
|
146
|
+
// first item in the list and just return that
|
147
|
+
@if type-of($fg) == 'list' {
|
148
|
+
$fg-boxflex: nth($fg, 1);
|
149
|
+
}
|
150
|
+
-webkit-box-flex: $fg-boxflex;
|
151
|
+
-webkit-flex: $fg $fs $fb;
|
152
|
+
-moz-box-flex: $fg-boxflex;
|
153
|
+
-moz-flex: $fg $fs $fb;
|
154
|
+
-ms-flex: $fg $fs $fb;
|
155
|
+
flex: $fg $fs $fb;
|
156
|
+
}
|
157
|
+
|
158
|
+
// -----------------------------------
|
159
|
+
|
160
|
+
// Flexbox Justify Content
|
161
|
+
// values: flex-start | flex-end | center | space-between | space-around
|
162
|
+
// default: flex-start
|
163
|
+
// note: 'space-*' values not supported in older syntaxes
|
164
|
+
@mixin justify-content($value: flex-start) {
|
165
|
+
@if $value == flex-start {
|
166
|
+
-webkit-box-pack: start;
|
167
|
+
-ms-flex-pack: start;
|
168
|
+
} @else if $value == flex-end {
|
169
|
+
-webkit-box-pack: end;
|
170
|
+
-ms-flex-pack: end;
|
171
|
+
} @else if $value == space-between {
|
172
|
+
-webkit-box-pack: justify;
|
173
|
+
-ms-flex-pack: justify;
|
174
|
+
} @else if $value == space-around {
|
175
|
+
-ms-flex-pack: distribute;
|
176
|
+
} @else {
|
177
|
+
-webkit-box-pack: $value;
|
178
|
+
-ms-flex-pack: $value;
|
179
|
+
}
|
180
|
+
-webkit-justify-content: $value;
|
181
|
+
-moz-justify-content: $value;
|
182
|
+
justify-content: $value;
|
183
|
+
}
|
184
|
+
|
185
|
+
// shorter version:
|
186
|
+
@mixin flex-just($args...) { @include justify-content($args...); }
|
187
|
+
|
188
|
+
// -----------------------------------
|
189
|
+
|
190
|
+
// Flexbox Align Items
|
191
|
+
// values: flex-start | flex-end | center | baseline | stretch
|
192
|
+
// default: stretch
|
193
|
+
@mixin align-items($value: stretch) {
|
194
|
+
@if $value == flex-start {
|
195
|
+
-webkit-box-align: start;
|
196
|
+
-ms-flex-align: start;
|
197
|
+
} @else if $value == flex-end {
|
198
|
+
-webkit-box-align: end;
|
199
|
+
-ms-flex-align: end;
|
200
|
+
} @else {
|
201
|
+
-webkit-box-align: $value;
|
202
|
+
-ms-flex-align: $value;
|
203
|
+
}
|
204
|
+
-webkit-align-items: $value;
|
205
|
+
-moz-align-items: $value;
|
206
|
+
align-items: $value;
|
207
|
+
}
|
208
|
+
|
209
|
+
// -----------------------------------
|
210
|
+
|
211
|
+
// Flexbox Align Self
|
212
|
+
// values: auto | flex-start | flex-end | center | baseline | stretch
|
213
|
+
// default: auto
|
214
|
+
// no webkit box fallback
|
215
|
+
@mixin align-self($value: auto) {
|
216
|
+
-webkit-align-self: $value;
|
217
|
+
-moz-align-self: $value;
|
218
|
+
@if $value == flex-start {
|
219
|
+
-ms-flex-item-align: start;
|
220
|
+
} @else if $value == flex-end {
|
221
|
+
-ms-flex-item-align: end;
|
222
|
+
} @else {
|
223
|
+
-ms-flex-item-align: $value;
|
224
|
+
}
|
225
|
+
align-self: $value;
|
226
|
+
}
|
227
|
+
|
228
|
+
// ----------------------------------
|
229
|
+
|
230
|
+
// Flexbox Align Content
|
231
|
+
// values: flex-start | flex-end | center | space-between | space-around | stretch
|
232
|
+
// default: stretch
|
233
|
+
// no webkit box fallback
|
234
|
+
// note: this property has no effect when the flexbox has only a single line
|
235
|
+
@mixin align-content($value: stretch) {
|
236
|
+
-webkit-align-content: $value;
|
237
|
+
-moz-align-content: $value;
|
238
|
+
@if $value == flex-start {
|
239
|
+
-ms-flex-line-pack: start;
|
240
|
+
} @else if $value == flex-end {
|
241
|
+
-ms-flex-line-pack: end;
|
242
|
+
} @else {
|
243
|
+
-ms-flex-line-pack: $value;
|
244
|
+
}
|
245
|
+
align-content: $value;
|
246
|
+
}
|
247
|
+
|
@@ -1,30 +1,18 @@
|
|
1
1
|
// --------------------------------
|
2
2
|
// Mixin - icons
|
3
3
|
// --------------------------------
|
4
|
-
// use
|
5
|
-
@mixin
|
4
|
+
// use icon in psuedo class such as ::before or ::after
|
5
|
+
@mixin icon-util($icon, $font) {
|
6
6
|
content: $icon;
|
7
7
|
display: inline-block;
|
8
|
-
font-family:
|
8
|
+
font-family: $font;
|
9
|
+
font-size: inherit;
|
10
|
+
-moz-osx-font-smoothing: grayscale;
|
11
|
+
-webkit-font-smoothing: antialiased;
|
9
12
|
font-style: normal;
|
10
13
|
font-weight: normal;
|
11
14
|
height: 14px;
|
12
15
|
line-height: 1;
|
13
16
|
width: 14px;
|
14
|
-
-webkit-font-smoothing: antialiased;
|
15
|
-
-moz-osx-font-smoothing: grayscale;
|
16
17
|
}
|
17
18
|
|
18
|
-
@mixin icon($icon) {
|
19
|
-
&:before {
|
20
|
-
@include basic-icon($icon);
|
21
|
-
margin-right: 5px;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
@mixin icon-b($icon) {
|
26
|
-
&:after {
|
27
|
-
@include basic-icon($icon);
|
28
|
-
margin-left: 5px;
|
29
|
-
}
|
30
|
-
}
|