cupboard 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/app/assets/images/icook-logo-footer.svg +1 -0
  4. data/app/assets/images/vip_modal.svg +1 -0
  5. data/app/assets/stylesheets/_base.scss +3 -1
  6. data/app/assets/stylesheets/_components.scss +31 -29
  7. data/app/assets/stylesheets/_helpers.scss +4 -3
  8. data/app/assets/stylesheets/_layouts.scss +1 -2
  9. data/app/assets/stylesheets/_vendors.scss +7 -0
  10. data/app/assets/stylesheets/base/_basic.scss +35 -0
  11. data/app/assets/stylesheets/base/_forms.scss +96 -50
  12. data/app/assets/stylesheets/base/_inputs.scss +85 -0
  13. data/app/assets/stylesheets/base/_lists.scss +1 -1
  14. data/app/assets/stylesheets/base/{_table.scss → _tables.scss} +12 -12
  15. data/app/assets/stylesheets/base/_typography.scss +34 -210
  16. data/app/assets/stylesheets/components/_badges.scss +47 -10
  17. data/app/assets/stylesheets/components/_breadcrumbs.scss +25 -9
  18. data/app/assets/stylesheets/components/_buttons.scss +3 -207
  19. data/app/assets/stylesheets/components/_pagination.scss +26 -16
  20. data/app/assets/stylesheets/components/_search-form.scss +89 -28
  21. data/app/assets/stylesheets/components/_sorting-cards.scss +1 -1
  22. data/app/assets/stylesheets/components/alerts/_alert-global.scss +45 -23
  23. data/app/assets/stylesheets/components/alerts/_alert-market.scss +6 -6
  24. data/app/assets/stylesheets/components/alerts/_alert-no-result.scss +1 -0
  25. data/app/assets/stylesheets/components/alerts/_report-msg.scss +51 -0
  26. data/app/assets/stylesheets/components/buttons/_card-buttons.scss +88 -0
  27. data/app/assets/stylesheets/components/buttons/_default-buttons.scss +98 -0
  28. data/app/assets/stylesheets/components/buttons/_round-buttons.scss +125 -0
  29. data/app/assets/stylesheets/components/cards/_brand-product-card.scss +65 -36
  30. data/app/assets/stylesheets/components/cards/_dish-card.scss +8 -12
  31. data/app/assets/stylesheets/components/cards/_featured-card.scss +69 -0
  32. data/app/assets/stylesheets/components/cards/_feeds-card.scss +9 -12
  33. data/app/assets/stylesheets/components/cards/_list-card.scss +88 -96
  34. data/app/assets/stylesheets/components/cards/_photo-card.scss +57 -101
  35. data/app/assets/stylesheets/components/cards/_product-card.scss +8 -8
  36. data/app/assets/stylesheets/components/cards/_recipe-card.scss +86 -67
  37. data/app/assets/stylesheets/components/cards/_video-card.scss +28 -29
  38. data/app/assets/stylesheets/components/comments/_comment-form.scss +5 -13
  39. data/app/assets/stylesheets/components/comments/_single-comment.scss +21 -14
  40. data/app/assets/stylesheets/components/covers/_brand-cover.scss +1 -1
  41. data/app/assets/stylesheets/components/covers/_categories-cover.scss +65 -45
  42. data/app/assets/stylesheets/components/covers/_users-cover.scss +75 -0
  43. data/app/assets/stylesheets/components/features/_feature-events.scss +2 -5
  44. data/app/assets/stylesheets/components/features/_feature-slides.scss +5 -6
  45. data/app/assets/stylesheets/components/icons/_footer-social-icons.scss +11 -34
  46. data/app/assets/stylesheets/components/icons/_icon-status.scss +12 -16
  47. data/app/assets/stylesheets/components/icons/_icookfont.scss +5 -0
  48. data/app/assets/stylesheets/components/modals/_modal-reset.scss +1 -1
  49. data/app/assets/stylesheets/components/modals/_recipe-list-modal.scss +8 -5
  50. data/app/assets/stylesheets/components/modals/_vip-modal.scss +114 -0
  51. data/app/assets/stylesheets/components/navigations/_blog-navi.scss +15 -19
  52. data/app/assets/stylesheets/components/navigations/_brand-tabs-navi.scss +4 -4
  53. data/app/assets/stylesheets/components/navigations/_categories-navi.scss +54 -137
  54. data/app/assets/stylesheets/components/recipes/_ingredients.scss +17 -22
  55. data/app/assets/stylesheets/components/recipes/_notes.scss +2 -2
  56. data/app/assets/stylesheets/components/recipes/_recipe-details.scss +5 -3
  57. data/app/assets/stylesheets/components/recipes/_recipe-navi.scss +29 -32
  58. data/app/assets/stylesheets/components/recipes/_steps.scss +2 -9
  59. data/app/assets/stylesheets/components/sidebars/_brand-ingredients.scss +3 -8
  60. data/app/assets/stylesheets/components/sidebars/_brand-popular-lists.scss +10 -13
  61. data/app/assets/stylesheets/components/sidebars/_brand-recent-events.scss +1 -2
  62. data/app/assets/stylesheets/components/sidebars/_business-kitchen.scss +11 -10
  63. data/app/assets/stylesheets/components/sidebars/_business-sponsors.scss +65 -0
  64. data/app/assets/stylesheets/components/sidebars/_hot-categories.scss +20 -39
  65. data/app/assets/stylesheets/components/sidebars/_icook-video.scss +4 -8
  66. data/app/assets/stylesheets/components/sidebars/_popular-recipes.scss +88 -33
  67. data/app/assets/stylesheets/components/sidebars/_popular-search.scss +17 -25
  68. data/app/assets/stylesheets/components/sidebars/_recipes-collect.scss +5 -2
  69. data/app/assets/stylesheets/components/sidebars/_sidebar-basic.scss +5 -14
  70. data/app/assets/stylesheets/components/sidebars/_tv-more-recipes.scss +3 -4
  71. data/app/assets/stylesheets/components/sidebars/_tv-popular-tags.scss +4 -5
  72. data/app/assets/stylesheets/components/users/_fav-list.scss +6 -8
  73. data/app/assets/stylesheets/components/users/_user-stats.scss +29 -25
  74. data/app/assets/stylesheets/helpers/_mixin-badge.scss +4 -3
  75. data/app/assets/stylesheets/helpers/_mixin-ellipsis.scss +39 -0
  76. data/app/assets/stylesheets/helpers/_mixin-flex.scss +247 -0
  77. data/app/assets/stylesheets/helpers/_mixin-icons.scss +6 -18
  78. data/app/assets/stylesheets/helpers/_variables-color.scss +47 -83
  79. data/app/assets/stylesheets/layouts/_base-footer.scss +15 -18
  80. data/app/assets/stylesheets/layouts/_global-navbar.scss +12 -15
  81. data/app/assets/stylesheets/layouts/_mega-footer.scss +298 -0
  82. data/app/assets/stylesheets/vendors/SpinKit/.bower.json +30 -0
  83. data/app/assets/stylesheets/vendors/SpinKit/CHANGELOG.md +40 -0
  84. data/app/assets/stylesheets/vendors/SpinKit/CONTRIBUTING.md +22 -0
  85. data/app/assets/stylesheets/vendors/SpinKit/LICENSE +20 -0
  86. data/app/assets/stylesheets/vendors/SpinKit/README.md +72 -0
  87. data/app/assets/stylesheets/vendors/SpinKit/bower.json +19 -0
  88. data/app/assets/stylesheets/vendors/SpinKit/css/spinkit.css +770 -0
  89. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/1-rotating-plane.css +35 -0
  90. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/10-fading-circle.css +129 -0
  91. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/11-folding-cube.css +85 -0
  92. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/2-double-bounce.css +44 -0
  93. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/3-wave.css +56 -0
  94. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/4-wandering-cubes.css +68 -0
  95. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/5-pulse.css +32 -0
  96. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/6-chasing-dots.css +58 -0
  97. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/7-three-bounce.css +44 -0
  98. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/8-circle.css +133 -0
  99. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/9-cube-grid.css +76 -0
  100. data/app/assets/stylesheets/vendors/SpinKit/examples/1-rotating-plane.html +49 -0
  101. data/app/assets/stylesheets/vendors/SpinKit/examples/10-fading-circle.html +156 -0
  102. data/app/assets/stylesheets/vendors/SpinKit/examples/11-folding-cube.html +104 -0
  103. data/app/assets/stylesheets/vendors/SpinKit/examples/2-double-bounce.html +61 -0
  104. data/app/assets/stylesheets/vendors/SpinKit/examples/3-wave.html +76 -0
  105. data/app/assets/stylesheets/vendors/SpinKit/examples/4-wandering-cubes.html +85 -0
  106. data/app/assets/stylesheets/vendors/SpinKit/examples/5-pulse.html +46 -0
  107. data/app/assets/stylesheets/vendors/SpinKit/examples/6-chasing-dots.html +75 -0
  108. data/app/assets/stylesheets/vendors/SpinKit/examples/7-three-bounce.html +62 -0
  109. data/app/assets/stylesheets/vendors/SpinKit/examples/8-circle.html +160 -0
  110. data/app/assets/stylesheets/vendors/SpinKit/examples/9-cube-grid.html +100 -0
  111. data/app/assets/stylesheets/vendors/SpinKit/gulpfile.js +97 -0
  112. data/app/assets/stylesheets/vendors/SpinKit/package.json +34 -0
  113. data/app/assets/stylesheets/vendors/SpinKit/scss/_variables.scss +3 -0
  114. data/app/assets/stylesheets/vendors/SpinKit/scss/spinkit.scss +12 -0
  115. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/1-rotating-plane.scss +25 -0
  116. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/10-fading-circle.scss +63 -0
  117. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/11-folding-cube.scss +70 -0
  118. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/2-double-bounce.scss +38 -0
  119. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/3-wave.scss +42 -0
  120. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/4-wandering-cubes.scss +51 -0
  121. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/5-pulse.scss +25 -0
  122. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/6-chasing-dots.scss +52 -0
  123. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/7-three-bounce.scss +40 -0
  124. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/8-circle.scss +62 -0
  125. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/9-cube-grid.scss +55 -0
  126. data/lib/cupboard/version.rb +1 -1
  127. metadata +62 -8
  128. data/app/assets/stylesheets/components/navigations/_categories-navi-responsive.scss +0 -129
  129. data/app/assets/stylesheets/components/navigations/_tv-navi.scss +0 -252
  130. data/app/assets/stylesheets/helpers/_mixin-buttons.scss +0 -17
  131. data/app/assets/stylesheets/layouts/_footer-nav.scss +0 -151
  132. data/app/assets/stylesheets/layouts/_sub-header-market.scss +0 -138
@@ -4,9 +4,9 @@
4
4
 
5
5
  /*doc
6
6
  ---
7
+ parent: 01_base
7
8
  title: Colors
8
- name: 3_color-palatte
9
- category: Design elements
9
+ name: 01_variables_color
10
10
  ---
11
11
 
12
12
  Color palettes for Text-color, Button-color, Background-color, etc.
@@ -39,22 +39,22 @@ iCook Colors
39
39
  </div>
40
40
  </div>
41
41
  <div class="main-color-bar clearfix">
42
- <div class="bar">Original<span class="ic-red"></span></div>
43
- <div class="bar">Lighten 10%<span class="ic-red-light10"></span></div>
44
- <div class="bar">Lighten 20%<span class="ic-red-light20"></span></div>
45
- <div class="bar">Lighten 30%<span class="ic-red-light30"></span></div>
42
+ <div class="bar">Original<span class="ic-red">$red</span></div>
43
+ <div class="bar">Lighten 10%<span class="ic-red-light10">$red-light10</span></div>
44
+ <div class="bar">Lighten 20%<span class="ic-red-light20">$red-light20</span></div>
45
+ <div class="bar">Lighten 30%<span class="ic-red-light30">$red-light30</span></div>
46
46
  </div>
47
47
  <div class="main-color-bar clearfix">
48
- <div class="bar">Original &nbsp;<em>用在大標</em><span class="ic-brown"></span></div>
49
- <div class="bar">Lighten 10% &nbsp;<em>用在敘述</em><span class="ic-brown-light10"></span></div>
50
- <div class="bar">Lighten 20% &nbsp;<em>用在mata</em><span class="ic-brown-light20"></span></div>
51
- <div class="bar">Lighten 30% &nbsp;<em>用在背景</em><span class="ic-brown-light30"></span></div>
48
+ <div class="bar">Original &nbsp;<em>用在大標</em><span class="ic-brown">$brown</span></div>
49
+ <div class="bar">Lighten 10% &nbsp;<em>用在敘述</em><span class="ic-brown-light10">$brown-light10</span></div>
50
+ <div class="bar">Lighten 20% &nbsp;<em>用在mata</em><span class="ic-brown-light20">$brown-light20</span></div>
51
+ <div class="bar">Lighten 30% &nbsp;<em>用在背景</em><span class="ic-brown-light30">$brown-light30</span></div>
52
52
  </div>
53
53
  <div class="main-color-bar clearfix">
54
- <div class="bar">Darken 20%<span class="ic-gray-dark20"></span></div>
55
- <div class="bar">Darken 5% &nbsp;<em>用在border</em><span class="ic-gray-dark5"></span></div>
56
- <div class="bar">Original<span class="ic-gray"></span></div>
57
- <div class="bar">Lighten 4%<span class="ic-gray-light4"></span></div>
54
+ <div class="bar">Darken 20%<span class="ic-gray-dark20">$light-gray-dark20</span></div>
55
+ <div class="bar">Darken 5% &nbsp;<em>用在border</em><span class="ic-gray-dark5">$light-gray-dark5</span></div>
56
+ <div class="bar">Original<span class="ic-gray">$light-gray</span></div>
57
+ <div class="bar">Lighten 4%<span class="ic-gray-light4">$light-gray-light4</span></div>
58
58
  </div>
59
59
  </div>
60
60
 
@@ -135,29 +135,37 @@ Alert message Colors
135
135
 
136
136
  */
137
137
 
138
+ // iCook main colors
139
+ $red: #f04646 !default;
140
+ $red-light10: adjust-color($red, $red: 15, $green: 26, $blue: 26) !default; // #ff6060
141
+ $red-light20: adjust-color($red, $red: 15, $green: 51, $blue: 51) !default; // #ff7979
142
+ $red-light30: adjust-color($red, $red: 15, $green: 77, $blue: 77) !default; // #ff9393
143
+
144
+ $brown: #564e4a !default;
145
+ $brown-light10: adjust-color($brown, $red: 26, $green: 26, $blue: 26) !default; // #706864
146
+ $brown-light20: adjust-color($brown, $red: 51, $green: 51, $blue: 51) !default; // #89817d
147
+ $brown-light30: adjust-color($brown, $red: 77, $green: 77, $blue: 77) !default; // #a39b97
148
+
149
+ $light-gray: #efede8 !default;
150
+ $light-gray-dark20: adjust-color($light-gray, $red: -51, $green: -51, $blue: -51) !default; // #bcbab5
151
+ $light-gray-dark5: adjust-color($light-gray, $red: -13, $green: -13, $blue: -13) !default; // #e2e0db
152
+ $light-gray-light4: adjust-color($light-gray, $red: 10, $green: 10, $blue: 10) !default; // #f9f7f2
153
+
138
154
  // general colors
139
155
  $black: #000 !default;
140
156
  $white: #fff !default;
141
- $orange: #f06354 !default;
142
- $basic-bg: #efede8 !default;
143
- $basic-border: #e2e0db !default;
144
-
145
- // iCook main colors
146
- // variable named with prefix `ic-`
147
- $ic-red: #f04646 !default;
148
- $ic-red-light10: adjust-color($ic-red, $red: 15, $green: 26, $blue: 26) !default;
149
- $ic-red-light20: adjust-color($ic-red, $red: 15, $green: 51, $blue: 51) !default;
150
- $ic-red-light30: adjust-color($ic-red, $red: 15, $green: 77, $blue: 77) !default;
151
-
152
- $ic-brown: #564e4a !default;
153
- $ic-brown-light10: adjust-color($ic-brown, $red: 26, $green: 26, $blue: 26) !default;
154
- $ic-brown-light20: adjust-color($ic-brown, $red: 51, $green: 51, $blue: 51) !default;
155
- $ic-brown-light30: adjust-color($ic-brown, $red: 77, $green: 77, $blue: 77) !default;
156
-
157
- $ic-gray: #efede8 !default;
158
- $ic-gray-dark20: adjust-color($ic-gray, $red: -51, $green: -51, $blue: -51) !default;
159
- $ic-gray-dark5: adjust-color($ic-gray, $red: -13, $green: -13, $blue: -13) !default;
160
- $ic-gray-light4: adjust-color($ic-gray, $red: 10, $green: 10, $blue: 10) !default;
157
+ $orange: #f0993c !default;
158
+ $orange-red: #f06354 !default;
159
+ $green: #46ca90 !default;
160
+ $blue: #41aaf0 !default;
161
+ $basic-bg: $light-gray !default;
162
+ $basic-border: $light-gray-dark5 !default;
163
+
164
+ // Footer colors
165
+ $ft-text: $brown-light10 !default;
166
+ $ft-link: $brown-light10 !default;
167
+ $ft-border: $red !default;
168
+ $ft-social-link: $brown !default;
161
169
 
162
170
  // Group colors
163
171
  $group-color1: #d8f0d8 !default;
@@ -170,53 +178,9 @@ $group-color7: #f6e3fb !default;
170
178
  $group-color8: #fad6c8 !default;
171
179
 
172
180
  // Alert message colors
173
- $ic-alert-error: $ic-red !default;
174
- $ic-alert-warning: #f0993c !default;
175
- $ic-alert-success: #46ca90 !default;
176
- $ic-alert-info: #41aaf0 !default;
177
- $ic-alert-failed: $ic-brown !default;
178
-
179
-
180
- //----OLD-------------------------
181
- $darkgray: #666 !default;
182
- $textgray: #888 !default;
183
- $brightgray: #999 !default;
184
- $lightgray: #aaa !default;
185
-
186
- // small text
187
- $smallgray: #9b9b9b !default;
188
- $lightbrown: #aa8f83 !default;
189
- $brown: #ac8c85 !default;
190
- $orangered: #f06354 !default;
191
-
192
- // title text
193
- $darkred: #aa0000 !default;
194
- $redbrown: #5c4545 !default;
195
- $darkbrown: #564e4a !default;
196
-
197
- // --------------------------------
198
- // Button-color Palette
199
- // --------------------------------
200
- $pearlbush: #e3d6cc !default;
201
- $softblue: #53ade5 !default;
202
- $grassgreen: #9fbe4c !default;
203
- $palegray: #fbf9f7 !default;
204
-
205
- // --------------------------------
206
- // Background-color Palette
207
- // --------------------------------
208
- $yellow: #fee59a !default;
209
- $lightyellow: #fefee5 !default;
210
- $paleyellow: #fffbf0 !default;
211
- $lightwhite: #f9f8f6 !default;
212
- $graybeige: #eeede8 !default;
213
- $beige: #efede9 !default;
214
- $lightbeige: #ede9e1 !default;
215
- $beigebrown: #ebe5e1 !default;
216
-
217
- // --------------------------------
218
- // Border-color Palette
219
- // --------------------------------
220
- $linegray1: #ccc !default;
221
- $linegray2: #969696 !default;
181
+ $alert-error: $red !default;
182
+ $alert-warning: #f0993c !default;
183
+ $alert-success: #46ca90 !default;
184
+ $alert-info: #41aaf0 !default;
185
+ $alert-failed: $brown !default;
222
186
 
@@ -13,8 +13,8 @@ name: 01_base_footer
13
13
  <div class="row">
14
14
  <div class="col-xs-12">
15
15
  <div class="footer">
16
- <div class="basic-footer">
17
- <div class="container">© 2011-2015 Polydice, Inc.<br class="visible-xs">
16
+ <div class="base-footer">
17
+ <div class="container">© 2011-2016 Polydice, Inc.<br class="visible-xs">
18
18
  <a rel="nofollow" target="_blank" href="#">服務條款</a>與
19
19
  <a rel="nofollow" target="_blank" href="#">隱私權政策</a>
20
20
  </div>
@@ -25,24 +25,21 @@ name: 01_base_footer
25
25
  </div>
26
26
  */
27
27
 
28
- .footer {
29
- border-top: 1px solid #e8e5e1;
30
- }
31
-
32
- .basic-footer {
33
- background-color: #fff;
34
- color: #666;
35
- font-size: 13px;
36
- padding-top: 15px;
37
- padding-bottom: 15px;
28
+ .base-footer {
29
+ background-color: $white;
30
+ border-bottom: 2px solid $ft-border;
31
+ color: $ft-text;
32
+ padding: 28px 0;
38
33
  text-align: center;
39
-
34
+
40
35
  a {
41
- color: #666;
42
-
43
- &:hover {
44
- color: #999;
45
- }
36
+ color: $ft-link;
37
+ }
38
+ }
39
+
40
+ @media only screen and (max-width: 767px) {
41
+ .base-footer {
42
+ padding: 15px 0;
46
43
  }
47
44
  }
48
45
 
@@ -59,7 +59,7 @@ $elements: sub-header, global-dropdown, global-header;
59
59
 
60
60
  // default global header
61
61
  $gl-hd-bg: $white !default; // default global header background color
62
- $gl-hd-link: $ic-brown !default; // default global header link color
62
+ $gl-hd-link: $brown !default; // default global header link color
63
63
  $gl-hd-link-hover: #8c8783 !default;
64
64
  $gl-hd-text-size: 15px !default; // default global header font size
65
65
  $gl-hd-border: #aa0000 !default;
@@ -92,21 +92,19 @@ $gl-hd-dropdown-border: #e0dcda !default;
92
92
  top: 2px;
93
93
  }
94
94
 
95
- .recipes {
96
- @include icon("\f0f5");
95
+ .recipes::before {
96
+ @include icon-util("\f0f5", "FontAwesome");
97
97
  }
98
98
 
99
- .account {
100
- @include icon("\f013");
99
+ .account::before {
100
+ @include icon-util("\f013", "FontAwesome");
101
101
 
102
- &::before {
103
- left: 3px;
104
- position: relative;
105
- }
102
+ left: 3px;
103
+ position: relative;
106
104
  }
107
105
 
108
- .my-fav {
109
- @include icon("\f004");
106
+ .my-fav::before {
107
+ @include icon-util("\f004", "FontAwesome");
110
108
  }
111
109
 
112
110
  .sign-in {
@@ -169,7 +167,7 @@ $gl-hd-dropdown-border: #e0dcda !default;
169
167
  z-index: index($elements, global-dropdown);
170
168
  }
171
169
 
172
- .avatar::after {
170
+ .avatar::after {
173
171
  content: "|";
174
172
  margin-left: 5px;
175
173
  }
@@ -236,9 +234,8 @@ $gl-hd-dropdown-border: #e0dcda !default;
236
234
  }
237
235
 
238
236
  a.logo {
239
- @include background(asset-url("icook-logo.png") no-repeat 0px 7px);
240
-
241
237
  background-size: 32px 22px;
238
+ background: image-url("icook-logo.png") no-repeat 0px 7px;
242
239
  font-size: 16px;
243
240
  margin: 5px 0 0 16px;
244
241
  padding: 9px 6px 9px 38px;
@@ -253,9 +250,9 @@ $gl-hd-dropdown-border: #e0dcda !default;
253
250
  @media only screen and (min-width: 768px) and (max-width: 991px) {
254
251
  .global-header .logged a {
255
252
  max-width: 130px;
253
+ overflow: hidden;
256
254
  text-overflow: ellipsis;
257
255
  white-space: nowrap;
258
- overflow: hidden;
259
256
  }
260
257
  }
261
258
 
@@ -0,0 +1,298 @@
1
+ // -----------------------------------
2
+ // Layouts - Footers - mega footer
3
+ // -----------------------------------
4
+
5
+ /*doc
6
+ ---
7
+ parent: 03_footers
8
+ title: Mega footer
9
+ name: 02_footer_nav
10
+ ---
11
+
12
+ <div class="ic-footers">
13
+ <div class="row">
14
+ <div class="col-xs-12">
15
+ <div class="footer">
16
+ <div class="mega-footer">
17
+ <div class="container">
18
+ <div class="row center-block">
19
+ <div class="col-xs-12 col-md-4">
20
+ <div class="report">
21
+ <span class="logo">&nbsp;</span>
22
+ <span>© 2011-2016 Polydice, Inc.</span>
23
+ <span class="visible-xs-inline">
24
+ <a rel="nofollow" target="_blank" href="#">服務條款</a>
25
+
26
+ <a rel="nofollow" target="_blank" href="#">隱私權政策</a>
27
+ </span>
28
+ </div>
29
+ <ul class="socials">
30
+ <li class="hidden-xs"><a class="footer-social-fb" href="#" title="愛料理 粉絲團" target="_blank" ref="nofollow"></a></li>
31
+ <li class="hidden-xs"><a class="footer-social-line" href="#" title="愛料理 line" target="_blank" ref="nofollow">&nbsp;</a></li>
32
+ <li class="hidden-xs"><a class="footer-social-ig" href="#" title="愛料理 Instagram" target="_blank" ref="nofollow"></a></li>
33
+ <li class="hidden-xs"><a class="footer-social-twitter" href="#" title="愛料理 推特" target="_blank" ref="nofollow"></a></li>
34
+ <li><a href="#" class="col-xs-12 btn-report"><span>建議與問題</span></a></li>
35
+ </ul>
36
+ </div>
37
+ <div class="col-xs-12 col-md-8 pull-right">
38
+ <div class="footer-links hidden-xs">
39
+ <h4>關於愛料理</h4>
40
+ <ul class="pull-left">
41
+ <li>
42
+ <a href="#" rel="nofollow" target="_blank">公司資訊</a>
43
+ </li>
44
+ <li>
45
+ <a href="#" rel="nofollow" target="_blank">徵才訊息</a>
46
+ </li><li>
47
+ <a href="#" rel="nofollow" target="_blank">廣告合作</a>
48
+ </li>
49
+ <li>
50
+ <a href="#" rel="nofollow" target="_blank">品牌資產</a>
51
+ </li>
52
+ <li>
53
+ <a rel="nofollow" target="_blank" href="#">服務條款</a>
54
+ </li>
55
+ <li>
56
+ <a rel="nofollow" target="_blank" href="#">隱私權政策</a>
57
+ </li>
58
+ </ul>
59
+ </div>
60
+ <div class="footer-links hidden-xs">
61
+ <h4>會員服務</h4>
62
+ <ul>
63
+ <li><a href="#">我的收藏</a></li>
64
+ <li><a href="#">個人首頁</a></li>
65
+ <li><a href="#">帳號設定</a></li>
66
+ <li><a href="#">忘記密碼</a></li>
67
+ <li><a href="#">我的訂單</a></li>
68
+ <li><a href="#">VIP 會員</a></li>
69
+ </ul>
70
+ </div>
71
+ <div class="footer-links hidden-xs">
72
+ <h4>逛食譜</h4>
73
+ <ul class="pull-left">
74
+ <li><a href="#">熱門食譜</a></li>
75
+ <li><a href="#">新到食譜</a></li>
76
+ <li><a href="#">全部分類</a></li>
77
+ </ul>
78
+ </div>
79
+ <div class="footer-links hidden-xs">
80
+ <h4>逛其他</h4>
81
+ <ul class="pull-left">
82
+ <li><a href="#" rel="nofollow">生活誌</a></li>
83
+ <li><a href="#" rel="nofollow">享樂誌</a></li>
84
+ <li><a href="#" rel="nofollow">影音</a></li>
85
+ <li><a href="#" rel="nofollow">市集</a></li>
86
+ </ul>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ </div>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ */
97
+
98
+ .mega-footer {
99
+ background-color: $white;
100
+ border-bottom: 2px solid $ft-border;
101
+ color: $ft-text;
102
+ padding: 40px 0;
103
+
104
+ a {
105
+ color: $ft-link;
106
+ }
107
+
108
+ ul {
109
+ margin-bottom: 0;
110
+ padding-left: 0;
111
+
112
+ &.pull-left:not(.socials) {
113
+ margin-right: 20px;
114
+ }
115
+ }
116
+
117
+ h4 {
118
+ color: $brown;
119
+ font-size: 18px;
120
+ letter-spacing: 0.5px;
121
+ margin-bottom: 16px;
122
+ margin-top: 0;
123
+ }
124
+
125
+ li {
126
+ line-height: 1;
127
+ list-style-type: none;
128
+ margin-bottom: 10px;
129
+
130
+ &:last-child {
131
+ margin-bottom: 0;
132
+ }
133
+
134
+ a {
135
+ font-size: 14px;
136
+ letter-spacing: 0.5px;
137
+ }
138
+ }
139
+
140
+ .col-md-4 {
141
+ padding-left: 8%;
142
+ }
143
+
144
+ .footer-links {
145
+ float: left;
146
+ margin: 0 5%;
147
+
148
+ &:last-child {
149
+ margin-right: 0;
150
+ }
151
+
152
+ &:hover h4 {
153
+ opacity: 1;
154
+ }
155
+ }
156
+
157
+ .report {
158
+ color: $ft-text;
159
+ font-size: 14px;
160
+ text-align: left;
161
+
162
+ > span {
163
+ display: inline-block;
164
+ letter-spacing: 0.5px;
165
+ margin: 5px auto;
166
+ width: 100%;
167
+ }
168
+ }
169
+
170
+ .logo {
171
+ background-image: image-url("icook-logo-footer.svg");
172
+ background-repeat: no-repeat;
173
+ display: block;
174
+ height: 46px;
175
+ margin: 0 0 10px;
176
+ text-align: left;
177
+ width: 175px;
178
+ }
179
+
180
+ .socials {
181
+ li {
182
+ border: 1px solid $ft-social-link;
183
+ border-radius: 3px;
184
+ display: inline-block;
185
+ float: left;
186
+ height: 40px;
187
+ margin: 5px 15px 10px 0;
188
+ text-align: center;
189
+
190
+ &:first-child {
191
+ margin-left: 0;
192
+ }
193
+ }
194
+
195
+ li:not(:last-child) {
196
+ font-size: 16px;
197
+ width: 40px;
198
+ }
199
+
200
+ a {
201
+ display: inline-block;
202
+ font-size: 18px;
203
+ height: 100%;
204
+ line-height: 38px;
205
+ width: 100%;
206
+
207
+ &:hover {
208
+ color: $white;
209
+ text-decoration: none;
210
+ }
211
+
212
+ &::before {
213
+ margin-right: 0;
214
+ }
215
+ }
216
+
217
+ .btn-report {
218
+ border-radius: 2px;
219
+ font-size: 16px;
220
+ width: 150px;
221
+
222
+ &:hover {
223
+ background-color: $brown;
224
+ color: $white;
225
+ }
226
+ }
227
+ }
228
+ }
229
+
230
+ @media only screen and (min-width: 768px) and (max-width: 1024px) {
231
+ .mega-footer {
232
+ .col-md-4 {
233
+ margin-bottom: 30px;
234
+ width: 100%;
235
+ }
236
+
237
+ .col-md-8 {
238
+ float: none;
239
+ width: 100%;
240
+ }
241
+
242
+ .report,
243
+ .socials {
244
+ float: left;
245
+ margin-right: 15px;
246
+ text-align: center;
247
+ }
248
+
249
+ .footer-links {
250
+ margin: 0 5.5%;
251
+ }
252
+ }
253
+ }
254
+
255
+ @media only screen and (min-width: 992px) and (max-width: 1024px) {
256
+ .mega-footer {
257
+ .col-md-4 {
258
+ padding-left: 20%;
259
+ }
260
+
261
+ .col-md-8 {
262
+ float: none;
263
+ margin: 0 auto;
264
+ width: 90%;
265
+ }
266
+ }
267
+ }
268
+
269
+ @media only screen and (max-width: 767px) {
270
+ .mega-footer {
271
+ padding-bottom: 10px;
272
+ padding-top: 30px;
273
+ text-align: center;
274
+
275
+ .col-md-4 {
276
+ padding-left: 0;
277
+ }
278
+
279
+ .report {
280
+ float: none;
281
+ margin: 0 auto;
282
+ text-align: center;
283
+
284
+ .logo {
285
+ margin: 0 auto;
286
+ }
287
+ }
288
+
289
+ .socials {
290
+ li {
291
+ float: none;
292
+ margin-top: 16px;
293
+ }
294
+ }
295
+ }
296
+ }
297
+
298
+
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "SpinKit",
3
+ "homepage": "https://github.com/tobiasahlin/SpinKit",
4
+ "authors": [
5
+ "Tobias Ahlin"
6
+ ],
7
+ "description": "A collection of loading indicators animated with CSS",
8
+ "main": "css/spinkit.css",
9
+ "keywords": [
10
+ "css",
11
+ "scss",
12
+ "web"
13
+ ],
14
+ "license": "MIT",
15
+ "ignore": [
16
+ "**/.*",
17
+ "node_modules"
18
+ ],
19
+ "version": "1.2.5",
20
+ "_release": "1.2.5",
21
+ "_resolution": {
22
+ "type": "version",
23
+ "tag": "1.2.5",
24
+ "commit": "384fbc3f654f7ef7349134e116f9b6d0a4d7d852"
25
+ },
26
+ "_source": "https://github.com/tobiasahlin/SpinKit.git",
27
+ "_target": "^1.2.5",
28
+ "_originalSource": "SpinKit",
29
+ "_direct": true
30
+ }
@@ -0,0 +1,40 @@
1
+ # 1.2.5
2
+
3
+ * Fixed: Add folding cube spinner (11) to combined CSS file
4
+
5
+ # 1.2.4
6
+
7
+ * Fixed: Borked gulp script (#106)
8
+ * Fixed: Moved changes made in CSS, to SCSS
9
+
10
+ # 1.2.3
11
+
12
+ * Fixed: More exact (33% -> 33.33%) cube dimensions for cube grid spinner
13
+ * Fixed: Comment format for HTML inside CSS, for easier copy and pasting (removed * at the beginning of each row)
14
+
15
+ # 1.2.2
16
+
17
+ * Fixed: Use variable for spinner size (defaults to 40px)
18
+
19
+ # 1.2.1
20
+
21
+ * Fixed: Two spinners were slightly broken on Android
22
+ * Changed: Bumped default top and bottom margin to 40px
23
+
24
+ # 1.2.0
25
+
26
+ * Added: Folding cube spinner
27
+ * Fixed: Lowercase in package name
28
+
29
+ # 1.1.0
30
+
31
+ * Removed one spinner (circle with rotating circle, not polished enough)
32
+ * Cleaned up the CSS
33
+ * Added more SCSS variables to more easily customize spinners
34
+ * Introduced SCSS `@for` loops to more easily change timing of spinners
35
+ * Removed moot `version` property from bower.json
36
+
37
+
38
+ # 1.0.1
39
+
40
+ * Fix: Missed sass variables for background-color
@@ -0,0 +1,22 @@
1
+ # Pull Request Guidelines
2
+
3
+ We all love Pull Requests so if you have something you'd like to share with the community we'd be happy to help you out with contributing. But before you create your PR please read and understand the following. :heart:
4
+
5
+ ## Code
6
+
7
+ If you're submitting a new animation, make sure that it looks identical in [all browsers that support CSS animations](http://caniuse.com/css-animation).
8
+
9
+ The animation styles should be put in an [SCSS](http://sass-lang.com/) file which you place in [scss/spinners/](https://github.com/tobiasahlin/SpinKit/blob/master/scss/spinners). It must also be imported in [scss/spinkit.scss](https://github.com/tobiasahlin/SpinKit/blob/master/scss/spinkit.scss). Carefully look at the existing spinners to make sure you follow the same conventions and that you list an example on top of the page exactly like the other spinners (we extract this when generating the HTML files). Don't use any browser prefixes as this will be added automatically to the generated CSS files by [autoprefixer](https://github.com/postcss/autoprefixer).
10
+
11
+ To generate the CSS and HTML files you need to have [node.js](http://nodejs.org/) installed on your system. After that you need to issue `npm install` from the SpinKit project directory to install [gulp](https://github.com/gulpjs/gulp) and other dependencies listed in `package.json`. After doing this you should be able to just call `gulp build` to generate the files. These files should be included in your pull requests.
12
+
13
+
14
+ ## Style
15
+
16
+ Following the same code style makes all of our lives a bit easier, currently we ask that you use:
17
+
18
+ - 2 spaces for indenting
19
+ - No trailing spaces
20
+ - One trailing newline at the end of each file
21
+
22
+ If you use Sublime Text (or any other editor with the same capability) you can install EditorConfig (through [Sublime Package Control](https://sublime.wbond.net/installation)), which will pick up our project's `.editorconfig` and make your file conform to above rules on each save.