Source

mellowmeals / design / returning_person.html

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
<html><head>
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.3.0/build/cssreset/reset-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.3.0/build/cssgrids/grids-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.3.0/build/cssbase/base-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.3.0/build/cssfonts/fonts-min.css">

        <link href="http://fonts.googleapis.com/css?family=Pacifico:regular" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="sd/slidedeck.skin.css" type="text/css" media="screen">
<link rel="stylesheet" href="sd/skin.css" type="text/css" media="screen">


<link rel="stylesheet" href="css/mellow-main.css" type="text/css" media="screen">

<link rel="stylesheet" href="css/sunny/jquery-ui-1.8.11.custom.css" type="text/css" media="screen">
<style>

#nutri-info { background-color:#fff; margin: 10px 0 10px 0; border: 1px solid #CCCCCC; color: #333333; font-family: Verdana, sans-serif; padding:10px;}
#nutri-info h4 {font-size: 14px;line-height: 100%;font-weight: normal;color: #847840;text-align: left; padding: 0 0 6px 0; font-family:Arial, Helvetica, sans-serif; margin:0;}
#nutri-info p {font-size: 80%; margin:4px 0 4px 0;}
#nutri-info ul {clear:right; border-top: 3px solid #000000;;border-bottom: 2px solid #000000;font-size: 80%; margin: 10px 0 10px 0; padding: 0; list-style-type: none;}
#nutri-info li {border-bottom: 1px solid #000000; margin: 0; padding: 8px 0 8px 0; line-height: 100%;}
#nutri-info a {font-size:10px; } 


/*::::::::::::::: SLIDEDECK SLIDE STYLE (BEGIN) :::::::::::::::*/
		
	<!--	#wrapper{ 
			width:900px;
			margin:0 auto;
		}
		
		#slidedeck_frame {
			width: 620px;
			height: 380px;
			position: relative;
			overflow:hidden;
			margin:0 auto;
		}
		
		dl.slidedeck {
			position: relative;
			width: 100%;
			height: 100%;
			margin: 0;
			padding: 0;
			float: right;
			background: #ccc;
		}
		
		dl.slidedeck > dd {
			position: relative;
			margin: 0;
			border-bottom: 1px solid #ccc;
			overflow: hidden;
		}
		-->
		
		/*::::::::::::::: SLIDEDECK SLIDE STYLE (END) :::::::::::::::*/
		
		/*::::::::::::::: CAPTION STYLE (BEGIN) :::::::::::::::*/
		
		div.caption{
			background: #000;
			background: rgba(0, 0, 0, 0.7);
			width: 50%;
			padding: 10px 20px;
			-khtml-border-radius: 10px;
			-webkit-border-radius: 10px;
			-moz-border-radius: 10px;
			border-radius: 10px;
			color: #fff;
			position: absolute;
			top: 250px;
			left: 20px;
		}
		
		div.caption h3, div.caption p, div.title h3, div.title p{
			margin:0;
			padding:0;
			font-size: 12px;
		}
		
		div.caption h3{
			font-size: 14px;
		}
		
		div.title{
			padding: 20px 0 0 20px;
			width: 50%;
		}
		
		div.title h3{
			font-size:22px;
			margin: 0 0 10px 0;
		}
		
		/*::::::::::::::: CAPTION STYLE (END) :::::::::::::::*/
		
		/*::::::::::::::: VERTICAL NAVIGATION STYLE (BEGIN) :::::::::::::::*/
		
		#slidedeck_frame:hover ul.galleryArrows{
			display:block;
		}
		
		ul.galleryArrows{
			position:absolute;
			display: none;
			margin: -14px 0 0;
			padding: 0;
			list-style:none;
			overflow:visible;
			top: 50%;
			width: 560px; /* !!! ADJUST when change BOX SIZE !!! */
			z-index:10;
		}
		
		ul.galleryArrows li{
			position: absolute;
			margin: 0;
			padding: 0;
		}
		
		ul.galleryArrows li a{
			display: block;
			position: relative;
			overflow: hidden;
			width: 27px;
			height: 0;
			line-height:30px;
			padding: 27px 0 0;
			background: url('images/galleryNav.png') 0 0 no-repeat;
		}
		
		ul.galleryArrows li.next a{
			background-position: -27px 0;
		}
		
		ul.galleryArrows li.prev{
			left: 10px;
		}
		
		ul.galleryArrows li.disabled a{
			cursor: default;
		}
		
		ul.galleryArrows li.next.disabled a{
			background-position: -27px -27px;
		}
		
		ul.galleryArrows li.prev.disabled a{
			background-position: 0 -27px;
		}
		
		ul.galleryArrows li.next{
			right: 10px;
		}
			
		ul.galleryNav{
			position:absolute;
			bottom: 15px;
			margin: 0;
			padding: 0;
			list-style:none;
			z-index:10;
			left: 50%;
		}
		
		ul.galleryNav li{
			display:block;
			float:left;
			margin: 0;
			padding: 0;
		}
		
		ul.galleryNav li a{
			display:block;
			position:relative;
			overflow:hidden;			
			height:0;
			width:15px;
			line-height: 20px;
			padding: 15px 0 0;
			background: url('images/galleryNav.png') -8px -60px no-repeat;
		}
		
		ul.galleryNav li.active a{
			background-position: -35px -60px;
		}
		
		/*::::::::::::::: VERTICAL NAVIGATION STYLE (END) :::::::::::::::*/		


</style>

<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.11.custom.min.js"></script>


 <!-- Include the below script, Copyright 2010, Brandon Aaron (http://brandonaaron.net/) for scrollwheel support. -->
 <script type="text/javascript" src="sd/jquery-mousewheel/jquery.mousewheel.min.js"></script>
		
 <link rel="stylesheet" type="text/css" href="sd/slidedeck.skin.css" media="screen" />
 <!-- Styles for the skin that only load for Internet Explorer -->
 <!--[if IE]>
     <link rel="stylesheet" type="text/css" href="sd/slidedeck.skin.ie.css" media="screen,handheld" />
 <![endif]-->
		
 <!-- Include the SlideDeck jQuery script. -->
 <script type="text/javascript" src="sd/slidedeck.jquery.lite.pack.js"></script>
        
 <style type="text/css">
   #slidedeck_frame {
      width: 560px;
      height: 354px;
      position: relative;
      overflow: hidden;
   }     
 </style>

<script>
  $(function() {
	$( "#tabs" ).tabs({ selected: 0 });
  });
</script>
    </head>
<body>
<div class="yui3-g">
  <header class="yui3-u-1">
    <ul id="menu">
      <li id="mellow_head"><a href="/" target="_self">mellow meals</a></li> 
      <li><a class="highlight" href="#" target="_self">menu</a></li>
      <li><a class="highlight" href="#" target="_self">what we do</a></li>
      <li><a class="highlight" href="#" target="_self">faq</a></li>
      <li><a class="highlight" href="#" target="_self">about us</a></li>
    </ul>
  </header>
    
  <div class="yui3-u-1 value-prop"> <!-- begin Content -->
    <!-- Value Propostion box -->
    <blockquote>Mellow Meals will feed you 5 healthy meals, for less than the average cost of eating-out once; and we deliver.</blockquote>
  </div>    <!-- end Content  -->

<!-- OPTION 1 --->
  <div id="option1a" class="yui3-u-5-8">
    <h1>Hot Items</h1><a href="#" onclick="$('#option1a').hide();$('#option1b').hide();">hide</a>
  </div>

  <div id="option1b" class="yui3-u-3-8" style="height: 52px;  padding: 10px 10px; width: 340px; margin-bottom: 1em; height: 52px; ">

    <ul class="ordercountdown" style="margin-top: 0;">
      <li style="border-radius: 5px 5px;      -moz-box-shadow: inset 0 1px 5px #152D47; -webkit-box-shadow: inset 0 1px 5px #152D47;  border: 1px solid #0D1C2D;  text-align: center; margin: 0 auto; width: 300px;"><span class="ordercount" style="border-radius: 4px;">25</span> Orders left for This Week</li>
    </ul>

    <ul class="ordercountdownalt" style="clear: right; margin: 0 auto; width: 318px; ">
      <li style=" border-top-right-radius: 5px 5px; border-bottom-right-radius: 5px 5px; ">Time remaining</li>
      <li style="  ">12 secs</li>      
      <li>21 mins</li>
      <li>12 hrs</li>
      <li style="border-top-left-radius: 5px 5px;   border-bottom-left-radius: 5px 5px;">02 days</li>    
    </ul>


 </div>
<!-- END OPTION 1 --->

<!-- OPTION 2 --->
  <div id="option2a" class="yui3-u-5-8">
    <h1>Hot Items</h1><a href="#" onclick="$('#option2a').hide();$('#option2b').hide();">hide</a>
  </div>

  <div id="option2b" class="yui3-u-3-8" style="height: 52px; background-color: #bc9c2d; padding: 10px 10px; width: 340px; margin-bottom: 1em; height: 56px; ">

    <ul class="ordercountdown" style="margin: 0 auto; width: 186px;    -moz-box-shadow: inset 0 1px 10px #CCC;  -moz-border-radius: 6px 6px 0 0; ">
	<li style="border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px;     -moz-box-shadow: inset 0 1px 5px #152D47; -webkit-box-shadow: inset 0 1px 5px #152D47;  border: 1px solid #0D1C2D;"><span class="ordercount" style="border-radius: 5px;">25</span> Orders left for This Week</li>
      </ul>

    <ul class="ordercountdown" style="clear: right; margin: 0 auto; width: 318px; ">
      <li style=" border-top-right-radius: 5px 5px; border-bottom-right-radius: 5px 5px; ">Time remaining</li>
      <li style="  ">12 secs</li>      
      <li>21 mins</li>
      <li>12 hrs</li>
      <li style="border-top-left-radius: 5px 5px;   border-bottom-left-radius: 5px 5px;">02 days</li>    
    </ul>


 </div>
<!-- END OPTION 2 --->

    <!-- more-information -->

      <div class="yui3-u-5-8">
	<div id="slidedeck_frame" class="">
	  <dl class="slidedeck">
	    <dt>Chipotle Roasted Corn Soup</dt>
	    <dd><img width="560" height="354" src="images/smokey-beans.jpg"></dd>
	    <dt>Slide 2</dt>
	    <dd><img width="560" height="354" src="images/corn-cowder.jpg"></dd>
	    <dt>Slide 3</dt>
	    <dd><img width="560" height="354" src="images/meatballs.jpg"></dd>
	    <dt>Slide 4</dt>
	    <dd><img width="560" height="354" src="images/choc-muffins.jpg"></dd>
	  </dl>
	</div>
      </div>

      <div class="yui3-u-1-3 food-info">
	

<!-- Begin Tabs -->

<div id="tabs">
	<ul>
		<li><a href="#tabs-1">Main</a></li>
		<li><a href="#tabs-2">Nutrition</a></li>
	</ul>
	<div id="tabs-1">
	  <ul>
	    <li><h1>Chipotle Roasted Corn Soup</h1></li>
	    <li class="sec-tier"><input type="text" value="3"> 14oz. - Serves 1</li>
	    <li class="sec-tier"><button type="button">Add to Cart</button></li>
	    <li class="third-tier"><strong>Description:</strong> Sweet and velvety, roasted corn soup with a hint of chipotle. Lorem ipsum dolor sit amet, consector adipisicing elit, sed do eiusmod tempor incididunt.</li>
	    <li class="quad-tier"><strong>Ingredients:</strong> roasted corn, non-dairy milk, chipotle powder</li>
	  </ul>
	
	</div>
	<div id="tabs-2">
	  <div id="nutri-info" style="" display="block">
              <div class="title">Nutritional Information</div>
                 <p>Servings: 1</p>
                     <p>
                        <b>Amount Per Serving</b>
		     </p>
                     <p>Calories: 186</p>
                     <ul>
                       <li><b>Total Fat: </b> 12.3g</li>
                       <li><b>Cholesterol: </b> 430mg</li>
                       <li><b>Sodium: </b> 666mg</li>
                       <li><b>Total Carbs: </b> 2.8g</li>
                       <li>&nbsp;&nbsp;&nbsp;&nbsp;<b>Dietary Fiber: </b>
                                    0.8g</li>
                       <li><b>Protein: </b> 16.4g</li>
                     </ul>
                           
                        </div>
	
	</div>
</div> <!-- End Tabs -->

      </div>

      <div class="yui3-u-3-8">

	
	<script type="text/javascript">
		// Script for handling goto's and prev and next
		var SlideDeckAssistant = {
			innerSlideCount: 0,
			/** prevSlide, nextSlide and goToSlide are all custom functions to control progress of the SlideDeck */
			prevSlide: function(theIndex){
				SlideDeckAssistant.goToSlide(theIndex - 1);
			},
			nextSlide: function(theIndex){
				SlideDeckAssistant.goToSlide(theIndex + 1);
			},
			goToSlide: function(theIndex){        
				$('ul.galleryNav li').removeClass('active');
				$('ul.galleryNav li:eq('+ theIndex +')').addClass('active');
				myDeck.goTo(theIndex+1);
				if((theIndex + 1) == SlideDeckAssistant.innerSlideCount){
					// disable the next button
					$('ul.galleryArrows .next').addClass('disabled');
					$('ul.galleryArrows .prev').removeClass('disabled');
				}else if((theIndex + 1) == 1){
					// disable the previous button
					$('ul.galleryArrows .next').removeClass('disabled');
					$('ul.galleryArrows .prev').addClass('disabled');
				}else{
					// enable both next/previous buttons
					$('ul.galleryArrows .next, ul.galleryArrows .prev').removeClass('disabled');
				}
			},
			init: function(){
				SlideDeckAssistant.innerSlideCount = $('#slidedeck_frame dl.slidedeck dd').length;
				/** Store number of slides in SlideDeck */
				$('#slidedeck_frame').append('<ul class="galleryArrows"><li class="prev"><a href="#prev">&larr;<\/a><\/li><li class="next"><a href="#next">&rarr;<\/a><\/li><\/ul>');
				// create navigation element with next and previous buttons
				$('#slidedeck_frame').append('<ul class="galleryNav"><\/ul>');
				// create bullet navigation element
				for (i=0 ; i < SlideDeckAssistant.innerSlideCount ; i++ ) {
					$('ul.galleryNav').append('<li><a href="goto#' + (i+1) + '">' + (i+1) + '<\/a><\/li>');
				}
				// create navigation bullets based on number of slides
				var goToDots = $('ul.galleryNav li a');
				$('ul.galleryNav').css({marginLeft: '-' + (goToDots.outerWidth(true)*goToDots.length / 2) + 'px'});
				// position navigation bullets
				$('ul.galleryNav li:first').addClass('active');
				$('ul.galleryArrows li.prev').addClass('disabled');
				$('ul.galleryNav li a').click(function(e){
					e.preventDefault();
					var theIndex = $('ul.galleryNav li a').index($(this));
					SlideDeckAssistant.goToSlide(theIndex);
					return false;
				});
				// assign click function to navigation bullets
				$('ul.galleryArrows li.prev a').click(function(e){
					e.preventDefault();
					if($(this).parent('li').hasClass('disabled')){
						return false;
					}else{
						var theIndex = $('ul.galleryNav li').index($('ul.galleryNav li.active'));
						SlideDeckAssistant.prevSlide(theIndex);
					}
					return false;
				});
				// assign click function for previous button
				$('ul.galleryArrows li.next a').click(function(e){
					e.preventDefault();
					if($(this).parent('li').hasClass('disabled')){
						return false;
					}
					else{
						var theIndex = $('ul.galleryNav li').index($('ul.galleryNav li.active'));
						SlideDeckAssistant.nextSlide(theIndex);
					}
					return false;
				});
				//assign click function for next button
		}
		};
		
		$(document).ready(function(){
			SlideDeckAssistant.init();
		});
			
		/** Initiate the SlideDeck */
		var myDeck = $('#slidedeck_frame dl.slidedeck').slidedeck({
			hideSpines: true,
            autoPlay: true,
            cycle: true,
            /**
             * The complete function is executed after each slide animation.
             * here we are using it to upate the navigation dots.
             */
            complete: function(deck){
				$('ul.galleryNav li').removeClass('active');
				$('ul.galleryNav li:eq('+ ( deck.current - 1 ) +')').addClass('active');
				/** Update current slide indicator after each slide animation completes */
            }
		})
			
			
		</script>

      </div>

      <div class="yui3-u-1-2">
      </div>

      <div class="yui3-u-1-2">
      </div>
    <!-- end more-information -->

    <footer class="yui3-u-1">
      <ul>
      <li>Mellow Meals Copyright 2011</li> | <li>Follow us on Twitter</li> | <li>Join us on Facebook</li> | <li>Contact Us</li>
      </ul>
    </footer>

</div>
    
</body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.