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
@@ -1,129 +0,0 @@
1
- // --------------------------------------
2
- // Components - Navigations - categories
3
- // --------------------------------------
4
- // categories navigation responsive
5
- @media only screen and (min-width: 769px) and (max-width: 991px) {
6
- .mega-menu {
7
- .navbar-header {
8
- float: none;
9
- width: 100%;
10
- }
11
-
12
- button {
13
- display: block;
14
- }
15
-
16
- .navbar-collapse.collapse {
17
- display: none !important;
18
-
19
- &.in {
20
- display: block !important;
21
- }
22
- }
23
- }
24
- }
25
-
26
- @media only screen and (max-width: 991px) {
27
- .mega-menu {
28
- border-width: 0 0 1px 0 !important;
29
- border-style: solid;
30
- border-color: #ebe5e1 !important;
31
- float: none;
32
- margin: 0 0 15px;
33
- min-height: 30px;
34
- padding: 0;
35
- width: auto;
36
-
37
- ul,
38
- li {
39
- margin-bottom: 0;
40
- padding: 0;
41
- }
42
-
43
- ul {
44
- background-color: $white;
45
- border: 0;
46
- }
47
-
48
- li {
49
- a {
50
- padding: 4px 0;
51
- }
52
-
53
- &:first-child {
54
- border-top: 0;
55
- padding-top: 0;
56
- }
57
-
58
- &:last-child a {
59
- border-bottom: 0 !important;
60
- }
61
- }
62
-
63
- .list-title:before {
64
- top: 8px;
65
- }
66
-
67
- .panel-group {
68
- .list-group-item {
69
- padding: 3px 0 3px 14px;
70
- }
71
- }
72
-
73
- .list-group .list-group-item {
74
- padding-left: 0;
75
- width: 100%;
76
- }
77
- }
78
-
79
- .cate-menu {
80
- button {
81
- @include icon-b("\f0d8");
82
-
83
- color: $ic-brown;
84
- display: block;
85
- font-size: 13px;
86
- margin: 0;
87
- padding: 10px 0;
88
- text-align: left;
89
- width: 100%;
90
-
91
- &:after {
92
- font-size: 20px;
93
- right: 0;
94
- top: 10px;
95
- position: absolute;
96
- width: 12px;
97
- }
98
-
99
- &.collapsed:after {
100
- content: "\f0d7";
101
- }
102
- }
103
-
104
- &.main-menu > .list-group-item .list-title {
105
- margin-bottom: 0;
106
- padding-bottom: 0;
107
- }
108
- }
109
- }
110
-
111
- @media only screen and (min-width: 768px) {
112
- .mega-menu {
113
- .navbar-header {
114
- width: 100%;
115
- }
116
- }
117
-
118
- .entry .main-menu > .list-group-item {
119
- height: 362px;
120
- overflow: hidden;
121
- }
122
- }
123
-
124
- @media only screen and (max-width: 767px) {
125
- .mega-menu .main-menu > .list-group-item {
126
- border-right: 0;
127
- width: 50%;
128
- }
129
- }
@@ -1,252 +0,0 @@
1
- // --------------------------------
2
- // Components - Navigations - tv
3
- // --------------------------------
4
-
5
- /*doc
6
- ---
7
- parent: 09_navigations
8
- title: TV navigation
9
- name: 04_tv_navi
10
- ---
11
-
12
- ```html_example
13
- <div class="tv-nav">
14
- <div class="navba tv-series">
15
- <div class="navbar-header">
16
- <a href="#" class="title hidden-xs"><span>愛料理 TV</span><span>35</span></a>
17
- <button type="button" class="navbar-toggle in collapsed" data-target="#series-collapse" data-toggle="collapse" aria-expanded="false">愛料理 TV</button>
18
- </div>
19
- <div class="navbar-collapse collapse" id="series-collapse">
20
- <ul class="nav navbar-nav">
21
- <li class="visible-xs"><a href="#">全系列</a></li>
22
- <li>
23
- <a class="clearfix" href="#">
24
- <span>
25
- <span class="item">早午餐</span>
26
- <span class="num visible-xs">5</span>
27
- </span>
28
- </a>
29
- </li>
30
- <li class="active">
31
- <a class="clearfix" href="#">
32
- <span>
33
- <span class="item">義大利麵</span>
34
- <span class="num visible-xs">5</span>
35
- </span>
36
- </a>
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>
46
- </ul>
47
- </div>
48
- </div>
49
- </div>
50
- ```
51
-
52
- */
53
-
54
- $tv-series-text: #5c4545 !default;
55
- $tv-series-bar: #acacac !default;
56
- $tv-series-bg: #5c4545 !default;
57
- $tv-series-link: #aaa !default;
58
- $tv-series-link-active: $orange !default;
59
-
60
- .tv-series {
61
- background-color: $white;
62
- border: 0;
63
- border-radius: 0;
64
- margin-bottom: 15px;
65
- margin-top: 20px;
66
- min-height: 100%;
67
- overflow: hidden;
68
- padding: 0;
69
-
70
- a {
71
- font-size: 16px;
72
-
73
- &:hover {
74
- text-decoration: none;
75
- }
76
- }
77
-
78
- .title {
79
- color: $tv-series-text;
80
- float: left;
81
- font-size: 16px;
82
- margin: 0 20px;
83
-
84
- &::after {
85
- content: "|";
86
- color: $tv-series-bar;
87
- font-size: 14px;
88
- position: relative;
89
- right: -3px;
90
- top: -1px;
91
- }
92
-
93
- span + span {
94
- border-radius: 6px;
95
- background-color: $tv-series-bg;
96
- color: $white;
97
- font-size: 11px;
98
- margin-left: 10px;
99
- margin-right: 10px;
100
- padding: 1px 5px;
101
- position: relative;
102
- top: -2px;
103
- }
104
- }
105
-
106
- .navbar-collapse {
107
- max-height: 100%; //override bootstrap's default max height
108
- padding: 0;
109
- }
110
-
111
- .navbar-toggle {
112
- @include icon-b("\f0d8");
113
-
114
- color: $tv-series-text;
115
- font-size: 14px;
116
- margin: 0;
117
- padding: 8px 20px;
118
- text-align: left;
119
- width: 100%;
120
-
121
- &::after {
122
- font-size: 20px;
123
- height: 14px;
124
- margin-left: 5px;
125
- margin-right: 0;
126
- position: absolute;
127
- right: 14px;
128
- top: 10px;
129
- width: 14px;
130
- }
131
-
132
- &.collapsed::after {
133
- content: "\f0d7";
134
- }
135
- }
136
-
137
- .navbar-header {
138
- margin-top: 19px;
139
-
140
- > a:hover span:first-child {
141
- text-decoration: underline;
142
- }
143
- }
144
-
145
- .navbar-nav {
146
- > li > a {
147
- color: $tv-series-link;
148
- margin-right: 15px;
149
- padding: 20px 0 20px;
150
- position: relative;
151
-
152
- &::after {
153
- @include ease-in-out(.5s);
154
-
155
- border-bottom: 3px solid $tv-series-link;
156
- bottom: -3px;
157
- content: "";
158
- height: 1px;
159
- left: 0;
160
- position: absolute;
161
- width: 100%;
162
- }
163
-
164
- &:hover {
165
- background-color: transparent;
166
-
167
- &::after {
168
- @include ease-in-out(.5s);
169
- bottom: 0;
170
- }
171
- }
172
- }
173
-
174
- > .active > a {
175
- color: $tv-series-link-active;
176
-
177
- &::after {
178
- border-color: $tv-series-link-active;
179
- bottom: 0;
180
- }
181
- }
182
- }
183
- }
184
-
185
- @media only screen and (max-width: 1024px) {
186
- .tv-series {
187
- margin-top: 10px;
188
- }
189
- }
190
-
191
- @media only screen and (max-width: 767px) {
192
- .tv-series {
193
- border-bottom: 1px solid #ebe5e1;
194
- margin-bottom: 0;
195
-
196
- .navbar-collapse {
197
- background-color: #fafaf8;
198
- }
199
-
200
- .navbar-header {
201
- float: none;
202
- margin-top: 0;
203
- }
204
-
205
- .navbar-nav {
206
- margin: 0;
207
-
208
- & > li > a {
209
- display: block;
210
- font-size: 14px;
211
- height: 37px;
212
- margin-right: 0;
213
- padding: 8px 20px;
214
-
215
- &:after {
216
- border-bottom: 0;
217
- }
218
- }
219
-
220
- li {
221
- border-top: 1px solid #ebe5e1;
222
-
223
- &.active a {
224
- color: #aa8f83;
225
- }
226
-
227
- & > a:hover,
228
- & > a:hover .item {
229
- text-decoration: underline;
230
- }
231
-
232
- &.active > a .num,
233
- & > a:hover .num {
234
- border-radius: 6px;
235
- background-color: #aaa;
236
- color: #fff;
237
- padding: 0 4px;
238
- }
239
-
240
- & > a .num {
241
- display: inline-block !important;
242
- float: right;
243
- }
244
-
245
- &.active > a .num {
246
- background-color: #aa8f83;
247
- }
248
- }
249
- }
250
- }
251
- }
252
-
@@ -1,17 +0,0 @@
1
- // --------------------------------
2
- // Mixin - button
3
- // --------------------------------
4
- // button without icon
5
- @mixin btn ($btn-font-size, $btn-font-color, $btn-bg-color) {
6
- border-radius: 4px;
7
- background-color: $btn-bg-color;
8
- color: $btn-font-color;
9
- font-size: $btn-font-size;
10
- }
11
-
12
- // button with icon
13
- @mixin btn-icon ($icon, $btn-font-size, $btn-font-color, $btn-bg-color) {
14
- @include btn ($btn-font-size, $btn-font-color, $btn-bg-color);
15
- @include icon ($icon);
16
- }
17
-
@@ -1,151 +0,0 @@
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">
19
- <div class="col-xs-12 col-sm-12 col-md-4 text-center">
20
- <div class="report">
21
- <img alt="愛料理,分享食譜與幸福時刻" class="hidden-xs hidden-sm" src="/images/logo-2x.png">
22
- <a href="#" class="col-xs-12 btn btn-blue">建議或問題回報</a>
23
- </div>
24
- </div>
25
- <div class="col-md-8 pull-right hidden-xs">
26
- <div class="footer-links">
27
- <h4>服務總覽</h4>
28
- <ul>
29
- <li><a href="#" rel="nofollow" target="_blank">粉絲專頁</a></li>
30
- <li><a href="#" rel="nofollow" target="_blank">生活誌</a></li>
31
- <li><a href="#" rel="nofollow" target="_blank">討論區</a></li>
32
- <li><a href="#" rel="nofollow" target="_blank">APP下載</a></li>
33
- </ul>
34
- </div>
35
- <div class="footer-links">
36
- <h4>關於愛料理</h4>
37
- <ul>
38
- <li><a href="#" rel="nofollow" target="_blank">公司資訊</a></li>
39
- <li><a href="#" rel="nofollow" target="_blank">徵才訊息</a></li>
40
- <li><a href="#" rel="nofollow" target="_blank">廣告合作</a></li>
41
- </ul>
42
- </div>
43
- <div class="footer-links">
44
- <h4>會員服務</h4>
45
- <ul>
46
- <li><a href="#">我的收藏</a></li>
47
- <li><a href="#">個人首頁</a></li>
48
- <li><a href="#">帳號設定</a></li>
49
- <li><a href="#">忘記密碼</a></li>
50
- </ul>
51
- </div>
52
- <div class="footer-links">
53
- <h4>逛逛食譜</h4>
54
- <ul class="pull-left">
55
- <li><a href="#" rel="nofollow">每日菜色</a></li>
56
- <li><a href="#" rel="nofollow">點心烘培</a></li>
57
- <li><a href="#" rel="nofollow">主要食材</a></li>
58
- <li><a href="#" rel="nofollow">主題料理</a></li>
59
- </ul>
60
- <ul class="pull-right">
61
- <li><a href="#">熱門食譜</a></li>
62
- <li><a href="#">新進食譜</a></li>
63
- </ul>
64
- </div>
65
- </div>
66
- </div>
67
- </div>
68
- </div>
69
- </div>
70
- </div>
71
- </div>
72
- </div>
73
- */
74
-
75
- .mega-footer {
76
- background-color: rgba(255,255,255, .6);
77
- border-bottom: 1px solid #e8e5e1;
78
- padding: 40px 0;
79
-
80
- ul {
81
- margin-bottom: 0;
82
- padding-left: 0;
83
-
84
- &.pull-left {
85
- margin-right: 20px;
86
- }
87
- }
88
-
89
- h4 {
90
- color: #564e4a;
91
- font-size: 16px;
92
- margin-bottom: 24px;
93
- margin-top: 0;
94
- opacity: 0.8;
95
- }
96
-
97
- li {
98
- list-style-type: none;
99
- line-height: 1;
100
- margin-bottom: 10px;
101
-
102
- &:last-child {
103
- margin-bottom: 0;
104
- }
105
-
106
- a {
107
- color: #888;
108
- font-size: 12px;
109
-
110
- &:hover {
111
- color: #aaa;
112
- }
113
- }
114
- }
115
-
116
- .col-md-8.pull-right {
117
- padding-left: 10px;
118
- }
119
-
120
- .footer-links {
121
- float: left;
122
- margin-right: 50px;
123
-
124
- &:last-child {
125
- margin-right: 0;
126
- }
127
-
128
- &:hover h4 {
129
- opacity: 1;
130
- }
131
- }
132
-
133
- .report {
134
- margin: 0 auto;
135
- width: 164px;
136
-
137
- p {
138
- color: #888;
139
- font-size: 12px;
140
- letter-spacing: 0.01em;
141
- margin: 20px auto;
142
- }
143
-
144
- img {
145
- display: block;
146
- height: 35px;
147
- margin: 0 auto 20px;
148
- width: 130px;
149
- }
150
- }
151
- }
@@ -1,138 +0,0 @@
1
- // ---------------------------------------------
2
- // Layouts - Headers - market channel header
3
- // ---------------------------------------------
4
-
5
- /*doc
6
- ---
7
- parent: 02_headers
8
- title: Channel header
9
- name: 02_sub_header_market
10
- ---
11
-
12
- <div class="ic-header">
13
- <div class="sub-header">
14
- <div class="navbar navbar-static-top sub-header" id="market-hd">
15
- <div class="container">
16
- <div class="row">
17
- <div class="col-xs-6 col-sm-4 col-md-4 col-lg-3">
18
- <div class="channel-logo clearfix">
19
- <h2>
20
- <a href="#" title="愛料理市集" class="clearfix" rel="nofollow">
21
- <img alt="愛料理市集" width="75" class="hidden-xs img-responsive pull-left" src="/images/icook-logo.svg">
22
- <div class="channel-name">
23
- <small>Market</small><br>
24
- <span>愛料理市集</span>
25
- </div>
26
- </a>
27
- </h2>
28
- </div>
29
- </div>
30
- <div class="col-xs-6 col-sm-8 col-md-8 col-lg-9">
31
- <h2 class="hidden-xs hidden-sm">精選生活中的美好事物,分享給愛料理的妳</h2>
32
- <a class="btn btn-standard orders pull-right" href="#">訂購清單</a>
33
- </div>
34
- </div>
35
- </div>
36
- </div>
37
- </div>
38
- </div>
39
- */
40
-
41
- // default channel header
42
- $ch-hd-text-color: #564e4a !default;
43
-
44
- // channel header
45
- #market-hd {
46
- .channel-logo {
47
- > h2 {
48
- border-bottom: 0;
49
- margin: 0;
50
-
51
- a {
52
- display: block;
53
- }
54
-
55
- img {
56
- margin-right: 12px;
57
- margin-top: 8px;
58
- }
59
- }
60
- }
61
-
62
- .channel-name {
63
- display: inline-block;
64
- line-height: 0.8;
65
-
66
- small {
67
- color: $orangered;
68
- }
69
-
70
- span {
71
- color: $ch-hd-text-color;
72
- font-size: 24px;
73
- }
74
- }
75
-
76
- h2 {
77
- border-bottom: 1px solid #ccc;
78
- color: #888;
79
- font-size: 14px;
80
- margin: 0;
81
- padding-bottom: 8px;
82
- }
83
- }
84
-
85
- // for global header and sub header responsive and adjust
86
- // desktop and tablet
87
- @media only screen and (min-width: 992px) {
88
- #market-hd {
89
- h2,
90
- .btn-orders {
91
- position: relative;
92
- }
93
-
94
- h2 {
95
- margin-left: -93px;
96
- top: 36px;
97
- width: 95%;
98
- }
99
- }
100
- }
101
-
102
- @media only screen and (min-width: 1200px) {
103
- #market-hd {
104
- h2 {
105
- margin-left: -60px;
106
- width: 92%;
107
- }
108
- }
109
- }
110
-
111
- // small tablet and phone
112
- @media only screen and (max-width: 768px) {
113
- #market-hd {
114
- .btn-orders {
115
- top: 30px;
116
- }
117
- }
118
- }
119
-
120
- @media only screen and (max-width: 992px) {
121
- #market-hd {
122
- .btn-orders {
123
- margin-right: 10px;
124
- position: relative;
125
- top: 28px;
126
- }
127
- }
128
- }
129
-
130
- @media only screen and (max-width: 480px) {
131
- #market-hd {
132
- .btn-orders {
133
- top: 27px;
134
- margin-right: 0;
135
- }
136
- }
137
- }
138
-