diff --git a/src/restaurante-pollos-a-la-brasa/css/jquery.fancybox.css b/src/restaurante-pollos-a-la-brasa/css/jquery.fancybox.css new file mode 100644 index 0000000..b379a9d --- /dev/null +++ b/src/restaurante-pollos-a-la-brasa/css/jquery.fancybox.css @@ -0,0 +1,234 @@ +/*! fancyBox v2.0.6 fancyapps.com | fancyapps.com/fancybox/#license */ +.fancybox-tmp iframe, .fancybox-tmp object { + vertical-align: top; + padding: 0; + margin: 0; +} + +.fancybox-wrap { + position: absolute; + top: 0; + left: 0; + z-index: 8020; +} + +.fancybox-skin { + position: relative; + padding: 0; + margin: 0; + background: #f9f9f9; + color: #444; + text-shadow: none; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.fancybox-opened { + z-index: 8030; +} + +.fancybox-opened .fancybox-skin { + -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); +} + +.fancybox-outer, .fancybox-inner { + padding: 0; + margin: 0; + position: relative; + outline: none; +} + +.fancybox-inner { + overflow: hidden; +} + +.fancybox-type-iframe .fancybox-inner { + -webkit-overflow-scrolling: touch; +} + +.fancybox-error { + color: #444; + font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + margin: 0; + padding: 10px; +} + +.fancybox-image, .fancybox-iframe { + display: block; + width: 100%; + height: 100%; + border: 0; + padding: 0; + margin: 0; + vertical-align: top; +} + +.fancybox-image { + max-width: 100%; + max-height: 100%; +} + +#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { + background-image: url('../../webLMP1/css/fancybox_sprite.png'); +} + +#fancybox-loading { + position: fixed; + top: 50%; + left: 50%; + margin-top: -22px; + margin-left: -22px; + background-position: 0 -108px; + opacity: 0.8; + cursor: pointer; + z-index: 8020; +} + +#fancybox-loading div { + width: 44px; + height: 44px; + background: url('../../webLMP1/css/fancybox_loading.gif') center center no-repeat; +} + +.fancybox-close { + position: absolute; + top: -18px; + right: -18px; + width: 36px; + height: 36px; + cursor: pointer; + z-index: 8040; +} + +.fancybox-nav { + position: absolute; + top: 0; + width: 40%; + height: 100%; + cursor: pointer; + background: transparent url('../../webLMP1/css/blank.gif'); /* helps IE */ + -webkit-tap-highlight-color: rgba(0,0,0,0); + z-index: 8040; +} + +.fancybox-prev { + left: 0; +} + +.fancybox-next { + right: 0; +} + +.fancybox-nav span { + position: absolute; + top: 50%; + width: 36px; + height: 34px; + margin-top: -18px; + cursor: pointer; + z-index: 8040; + visibility: hidden; +} + +.fancybox-prev span { + left: 20px; + background-position: 0 -36px; +} + +.fancybox-next span { + right: 20px; + background-position: 0 -72px; +} + +.fancybox-nav:hover span { + visibility: visible; +} + +.fancybox-tmp { + position: absolute; + top: -9999px; + left: -9999px; + padding: 0; + overflow: visible; + visibility: hidden; +} + +/* Overlay helper */ + +#fancybox-overlay { + position: absolute; + top: 0; + left: 0; + overflow: hidden; + display: none; + z-index: 8010; + background: #000; +} + +#fancybox-overlay.overlay-fixed { + position: fixed; + bottom: 0; + right: 0; +} + +/* Title helper */ + +.fancybox-title { + visibility: hidden; + font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + position: relative; + text-shadow: none; + z-index: 8050; +} + +.fancybox-opened .fancybox-title { + visibility: visible; +} + +.fancybox-title-float-wrap { + position: absolute; + bottom: 0; + right: 50%; + margin-bottom: -35px; + z-index: 8030; + text-align: center; +} + +.fancybox-title-float-wrap .child { + display: inline-block; + margin-right: -100%; + padding: 2px 20px; + background: transparent; /* Fallback for web browsers that doesn't support RGBa */ + background: rgba(0, 0, 0, 0.8); + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + text-shadow: 0 1px 2px #222; + color: #FFF; + font-weight: bold; + line-height: 24px; + white-space: nowrap; +} + +.fancybox-title-outside-wrap { + position: relative; + margin-top: 10px; + color: #fff; +} + +.fancybox-title-inside-wrap { + margin-top: 10px; +} + +.fancybox-title-over-wrap { + position: absolute; + bottom: 0; + left: 0; + color: #fff; + padding: 10px; + background: #000; + background: rgba(0, 0, 0, .8); +} \ No newline at end of file diff --git a/src/restaurante-pollos-a-la-brasa/css/layout.css b/src/restaurante-pollos-a-la-brasa/css/layout.css deleted file mode 100644 index a979b89..0000000 --- a/src/restaurante-pollos-a-la-brasa/css/layout.css +++ /dev/null @@ -1,18 +0,0 @@ -.col1, .col2, .col3, .cols {float:left} -.cols {width:300px} -.col1 {width:630px} -.col2 {width:240px} -.col3 {width:570px} -/* index.html */ -/* index-1.html */ -#page2 .box .list1 {margin-top:-7px} -/* index-2.html */ -#page3 h2.letter_spacing {word-spacing:-2px} -/* index-3.html */ -#page4 .box .list1 {margin-top:-7px} -#page4 h2.pad_bot1 {padding-bottom:5px} -/* index-4.html */ -#page5 .box > div {background: url(../images/box_top2.png) top center no-repeat} -#page5 #content2 h2 {padding-bottom:4px} -/* index-5.html */ -/* index-6.html */ \ No newline at end of file diff --git a/src/restaurante-pollos-a-la-brasa/css/nivo-slider.css b/src/restaurante-pollos-a-la-brasa/css/nivo-slider.css new file mode 100644 index 0000000..2afca13 --- /dev/null +++ b/src/restaurante-pollos-a-la-brasa/css/nivo-slider.css @@ -0,0 +1,132 @@ +/* The Nivo Slider styles */ +.nivoSlider { + position:relative; + float:right; +} +.nivoSlider img { + position:absolute; + top:0px; + left:0px; +} + +.slider-wrapper { + width:100%; + height:425px; + background:url(../images/bg_slider.jpg) 0 0 no-repeat; + position:relative; + overflow:hidden; + margin-bottom:35px; +} + +/* If an image is wrapped in a link */ +.nivoSlider a.nivo-imageLink { + position:absolute; + top:0px; + left:0px; + width:100%; + height:100%; + border:0; + padding:0; + margin:0; + z-index:6; + display:none; +} +/* The slices and boxes in the Slider */ +.nivo-slice { + display:block; + position:absolute; + z-index:5; + height:100%; +} +.nivo-box { + display:block; + position:absolute; + z-index:5; +} +/* Caption styles */ +.nivo-caption { + text-align: center; + position:absolute; + left:-305px; + top:0px; + opacity:1; /* Overridden by captionOpacity setting */ + width:271px; + z-index:8; +} +.nivo-caption em { + background:url(../images/quot2.png) bottom right no-repeat; + text-align: center; + display:block; + color:#6c5f5b; + padding-bottom:2px; +} + +.nivo-caption em span { + background:url(../images/quot1.png) no-repeat; + width: 20px; + height: 20px; + display: block; + float: left; +} +.nivo-caption a { + display:inline !important; +} + +.nivo-caption strong { + font-family: 'Forum', cursive; + font-size:52px; + color:#bf0f0a; + display:block; + line-height:1.2em; + text-transform:uppercase; + padding:55px 0 0 0; + letter-spacing:-2px; + text-align: center; + font-weight: normal; +} + +.nivo-caption strong span { + display:block; + margin-top:-16px +} + +.nivo-caption b { + font-family: 'Forum', cursive; + font-weight: normal; + display:block; + font-size:27px; + color:#312826; + text-transform:uppercase; + padding:0 0 23px 0; + line-height:1.2em; + letter-spacing:-1px; + text-align: center; +} + + + +.nivo-html-caption { + display:none; +} +/* Direction nav styles (e.g. Next & Prev) */ +.nivo-directionNav a { + position:absolute; + top:45%; + z-index:9; + cursor:pointer; +} +.nivo-prevNav { + left:0px; +} +.nivo-nextNav { + right:0px; +} +/* Control nav styles (e.g. 1,2,3...) */ +.nivo-controlNav a { + position:relative; + z-index:9; + cursor:pointer; +} +.nivo-controlNav a.active { + font-weight:bold; +} \ No newline at end of file diff --git a/src/restaurante-pollos-a-la-brasa/css/reset.css b/src/restaurante-pollos-a-la-brasa/css/reset.css index 39df3fe..1511f24 100644 --- a/src/restaurante-pollos-a-la-brasa/css/reset.css +++ b/src/restaurante-pollos-a-la-brasa/css/reset.css @@ -18,15 +18,14 @@ s, samp, section, small, span, source, strike, strong, sub, sup, table, tbody, tfoot, thead, th, tr, tdvideo, tt, u, ul, var{ - background: transparent; - border: 0 none; - font-size: 100%; - margin: 0; - padding: 0; - border: 0; - outline: 0; - vertical-align: top; -} + background: transparent; + border: 0 none; + font-size: 100%; + margin: 0; + padding: 0; + border: 0; + outline: 0; + vertical-align: top; } ol, ul { list-style: none; @@ -45,4 +44,4 @@ img { embed { vertical-align:top; } -* { border:none} +* { border:none} \ No newline at end of file diff --git a/src/restaurante-pollos-a-la-brasa/css/style.css b/src/restaurante-pollos-a-la-brasa/css/style.css index 54f740e..e5cf126 100644 --- a/src/restaurante-pollos-a-la-brasa/css/style.css +++ b/src/restaurante-pollos-a-la-brasa/css/style.css @@ -1,126 +1,225 @@ -/* Getting the new tags to behave */ -article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video {display:block} -mark, rp, rt, ruby, summary, time {display:inline} -/* Left & Right alignment */ -.left {float:left} -.right {float:right} -.wrapper {width:100%;overflow:hidden} -.wrap{overflow:hidden;width:965px;margin-left:-5px;padding-left:5px} -/* Global properties */ -body {background:url(../images/bg_bot.jpg) center 0 repeat #faf3ed;border:0;font:14px Georgia, "Times New Roman", Times, serif;color:#200;line-height:34px} -.ic, .ic a {border:0;float:right;background:#fff;color:#f00;width:50%;line-height:10px;font-size:10px;margin:-220% 0 0 0;overflow:hidden;padding:0} -.css3{border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;box-shadow:0 0 4px rgba(0, 0, 0, .4);-moz-box-shadow:0 0 4px rgba(0, 0, 0, .4);-webkit-box-shadow:0 0 4px rgba(0, 0, 0, .4);position:relative} -/* Global Structure */ -.main { margin:0 auto; width:960px} -.body1 {background:url(../images/bg_top_img.jpg) top center no-repeat} -.body2 {background:#faf3ed} -.body3 {background:url(../images/bg_bot.jpg) top center repeat} -.body4 {background:url(../images/bg_bot_img.jpg) top center no-repeat} -.body5 {background:url(../images/slider_shadow.png) center 508px no-repeat} -.body6 {background:url(../images/bg_top.jpg) top repeat-x} -/* main layout */ -a {color:#a80002;text-decoration:none;outline:none} -a:hover {text-decoration:underline} -h1 {float:left;padding:0px 0 0 36px} +body { + background: url("../images/bg_bot.jpg") repeat scroll center 0 #FAF3ED; + font: 14px Georgia, "Times New Roman", Times, serif; + color: #fff; + line-height: 24px; +} + +a { + color: #a80002; + text-decoration:none; + outline:none +} + +a:hover { + text-decoration:underline +} + + +.aToolTip { + background: none repeat scroll 0 0 #A80002; + color: #FFFFFF; + font-size: 11px; + line-height: 17px; + margin: 0; + padding: 2px 10px 3px; + position: absolute; +} + +header { + background: url(../images/bg_top_img.jpg) top center repeat-x #4f0101; + text-align: center; +} + + header .layout { + margin:0 auto; + width:960px; + padding-top:31px; + padding-bottom: 10px; + } + + header h1 { + background: url(../images/logo.png) top right no-repeat; + text-indent: -1000px; + width: 259px; + height: 95px; + overflow: hidden; + float: left; + padding: 0 0 0 36px; + } + + header article { + background: none; + } + +article { + background:#fff url(../images/box_top2.png) center -11px no-repeat; + color: #200; +} + + article .layout { + width: 960px; + margin: 0 auto; + padding-bottom: 50px; + } + +section { + +} + +figure { + padding-bottom: 13px; +} + + +footer { + height:138px; + font: 13px "Trebuchet MS", Arial, Helvetica, sans-serif; + color:#696969; + line-height:18px; + background: url("../images/bg_bot_img.jpg") no-repeat scroll center top transparent; +} + + footer section { + width: 960px; + margin: 0 auto; + padding-bottom: 45px; + } + + footer a { + color: #C53005; + text-decoration: underline; + } + +h1 { + float:left; + padding:0px 0 0 36px; + font-weight: normal; +} + h2 { + font-family: 'Forum', cursive; font-size:41px; line-height:1.2em; - color:#C00; - padding:16px 0 12px 0; - letter-spacing:-2px; - font-family: "Arial Black", Gadget, sans-serif; + color: #CC0000; + padding: 16px 0 12px 0; + letter-spacing: -2px; + text-align: left; + font-weight: normal; } -h2.letter_spacing {letter-spacing:-3px} + +h2.letter_spacing { + letter-spacing:-3px; +} + h3 { - font-size:27px; - color:#FFF; + font-family: 'Forum', cursive; + font-size: 27px; + color:#FFFFFF; line-height:1.2em; padding:20px 0 9px 0; - letter-spacing:-1px + letter-spacing:- 1px; + font-weight: normal; } + h3 span { - color:#FFF + color:#FFFFFF } -p {padding-bottom:24px} -/* header */ -header {height:121px;padding-top:31px;width:100%;overflow:hidden} -#logo {display:block;background:url(../images/logo.png) 0 0 no-repeat;width:259px;height:94px;text-indent:-9999px} -#top_nav {float:right;padding:4px 43px 30px 0} -#top_nav li {float:left;padding:3px 26px 5px 0;background:url(../images/top_line.gif) right 0 no-repeat;margin-right:25px} -#top_nav li a {display:block;line-height:0} -#top_nav .end {background:none;padding-right:0;margin-right:0} -#menu {width:633px;float:right;padding:0 0 0 0} -#menu li {float:left;padding-left:3px} -#menu li a {display:block;font-size:24px;color:#faf3ed;line-height:40px;padding:0 20px;height:44px;letter-spacing:-1px} -#menu li a:hover, #menu .active a { - text-decoration:none; - background:url(../images/menu_bg.png) repeat; - font-family: Verdana, Geneva, sans-serif; + +p { + text-align:left; } -.slider_bg {width:100%;height:404px;background:url(../images/bg_slider.jpg) 0 0 no-repeat;position:relative;overflow:hidden;box-shadow:0 0 5px rgba(0, 0, 0, .4);-moz-box-shadow:0 0 5px rgba(0, 0, 0, .4);-webkit-box-shadow:0 0 5px rgba(0, 0, 0, .4);margin-bottom:35px} -.slider {top:10px;right:10px;position:absolute;z-index:1;width:920px} -.slider .items {display:none} -.slider .pic {float:right;position:relative} -.banner {left:0px;top:0;position:absolute;width:271px;z-index:2;text-align:center} -.banner strong {font-size:52px;color:#bf0f0a;display:block;line-height:1.2em;text-transform:uppercase;padding:55px 0 0 0;letter-spacing:-2px} -.banner strong span {display:block;margin-top:-16px} -.banner b {display:block;font-size:27px;color:#312826;text-transform:uppercase;padding:0 0 23px 0;line-height:1.2em;letter-spacing:-1px} -.banner p {background:url(../images/quot1.png) 0 0 no-repeat} -.banner p span {display:block;background:url(../images/quot2.png) right bottom no-repeat;padding:0 0 0 0;color:#6c5f5b;padding-bottom:2px} -.slider .pagination {position:absolute;z-index:2;bottom:10px;left:107px} -.slider .pagination li {float:left;padding-right:3px} -.slider .pagination a {display:block;width:17px;height:17px;text-indent:-9999px;background:url(../images/buttons.png) right 0 no-repeat} -.slider .pagination a:hover, .slider .pagination .current a {background-position:left} -/* content */ -#content {padding-bottom:40px} -#content2 {padding-bottom:31px} -.pad_left1 {padding-left:30px} -.pad_bot1 {padding-bottom:13px} -.pad_bot2 {padding-bottom:24px} -.marg_right1 {margin-right:20px} + +.clear { + clear: both; +} + +.resaltado { + color: #a80002; +} + +/** COLS */ +.col1, .col2, .col3, .cols {float:left} +.cols {width:300px; margin-right: 30px;} +header .cols { margin-right: 20px; } +.col1 {width:630px; margin-right: 30px;} +.col2 {width:240px} +.col3 {width:285px} +.rborder { border-right: 1px solid #ddd;} + +.cols p, .col2 p, .col3 p {width: 255px;} +.col1 p {width: 610px;} + +.wrapper { + display: inline-block; +} + +.wrapper figure { + float: left; + margin-right: 15px; +} + +/** BOXES */ +.wrap { + overflow:hidden; + width:965px; + text-align: left; +} + +.wrap ul li a { + font-style:italic; + padding-left:12px; + background:url(../images/marker_1.gif) 1px 8px no-repeat; + color:#faf3ed +} + +.llamar { + padding-top: 12px; +} + .box {background:url(../images/box_bg.png) repeat;color:#faf3ed;box-shadow:0 0 5px rgba(0, 0, 0, .4);-moz-box-shadow:0 0 5px rgba(0, 0, 0, .4);-webkit-box-shadow:0 0 5px rgba(0, 0, 0, .4)} .box > div {background:url(../images/box_top.png) 0 top no-repeat;padding:30px;padding-top:0;overflow:hidden} -.box h2 { - color:#FF0; - padding:15px 0 12px 0 -} +.box > div.full {background:url(../images/box_top2.png) 0 top no-repeat;} +.box h2 {color:#a80002;padding:15px 0 12px 0} .box h2 span {color:#faf3ed} .box figure {padding-bottom:13px} -.list1 li a {font-style:italic;padding-left:12px;background:url(../images/marker_1.gif) 1px 8px no-repeat;color:#faf3ed} -.list_1 {color:#fff} -.list_1:hover {text-decoration:none} -.button1 {display:inline-block;font-size:20px;color:#faf3ed;line-height:34px;padding:0 15px;background:#a80002;letter-spacing:-1px} -.button1:hover {text-decoration:none;color:#1e0000;background:#faf3ed} -.testimonials li span {float:left;width:40px;height:40px;font-size:30px;color:#faf3ed;line-height:34px;text-align:center;background:#a80002;margin-right:20px} -.testimonials li p {float:left;width:180px;padding-bottom:15px} -.testimonials li img {padding-top:2px} -.line1 {background:url(../images/line_vert1.gif) 285px 0 repeat-y} -.line2 {background:url(../images/line_vert1.gif) 615px 0 repeat-y} -.price {margin-top:-7px} -.price li {overflow:hidden;background:url(../images/price_bg.gif) 0 -6px repeat-x} -.price a {float:left;color:#220000;background:url(../images/marker_2.gif) 1px 11px no-repeat #faf3ed;padding-left:12px} -.price a:hover {text-decoration:none;color:#a80002} -.price span {float:right;background:#faf3ed} -.address {padding-bottom:0} -.address span {float:left;width:84px} -/* footer */ -footer {height:138px;font:13px "Trebuchet MS", Arial, Helvetica, sans-serif;color:#696969;line-height:18px} -footer a {color:#c53005;text-decoration:underline} -footer a:hover { - text-decoration:none; - color: #000; + +.button { + display:inline-block; + font-size:20px; + color:#faf3ed; + line-height:34px; + padding:0 15px; + background:#a80002; + letter-spacing:-1px; } -#icons {padding:5px 0 0 0} -#icons li {float:left;padding-right:9px} -/* Tooltips */ -.aToolTip {background:#a80002;color:#fff; margin:0;padding:2px 10px 3px;font-size:11px;position:absolute;line-height:17px} -.aToolTip .aToolTipContent {position:relative; margin:0;padding:0} -/* forms */ -#ContactForm {margin-top:-5px;width:910px} -#ContactForm span {float:left;width:111px;line-height:20px} -#ContactForm .wrapper {min-height:24px} -#ContactForm .textarea_box {min-height:170px;width:100%;overflow:hidden;padding-bottom:9px} -#ContactForm {} -#ContactForm a {margin-left:20px;float:right} -#ContactForm .input {width:399px;height:18px;background:#faf3ed;padding:1px 5px;color:#220000;font:14px Georgia, "Times New Roman", Times, serif;margin:0;float:left} -#ContactForm textarea {overflow:auto;width:789px;height:163px;background:#faf3ed;padding:1px 5px;color:#220000;font:14px Georgia, "Times New Roman", Times, serif;margin:0} + +.button:hover { + text-decoration:none; + color:#1e0000; + background:#faf3ed; +} + + + +/** NAV **/ +#top_nav {float:right;padding: 0 0 14px 43px;} +#top_nav li {float:left; padding:3px 0 5px 26px; margin-left:25px} +#top_nav li a {font-family: 'Forum', cursive; display:block; font-size:18px;color:#faf3ed;line-height:30px;padding:0 20px;height:34px;letter-spacing:-1px} +#top_nav li a:hover {text-decoration:none;background:url(../images/menu_bg.png) repeat} +#top_nav .end {background:none;padding-right:0;margin-right:0} + +#menu {width:633px;float:right;padding:0; margin-bottom: 25px;} +#menu li {float:left;padding-left:3px} +#menu li a {font-family: 'Forum', cursive; display:block;font-size:24px;color:#faf3ed;line-height:40px;padding:0 20px;height:44px;letter-spacing:-1px} +#menu li a:hover, #menu .active a {text-decoration:none;background:url(../images/menu_bg.png) repeat} + + +/** FORM **/ +label.error { + font-style:italic; + color: #ffaaaa; + display: inline-block; + margin-left: 3px; +} + diff --git a/src/restaurante-pollos-a-la-brasa/fancybox/blank.gif b/src/restaurante-pollos-a-la-brasa/fancybox/blank.gif new file mode 100644 index 0000000..35d42e8 Binary files /dev/null and b/src/restaurante-pollos-a-la-brasa/fancybox/blank.gif differ diff --git a/src/restaurante-pollos-a-la-brasa/fancybox/custom.js b/src/restaurante-pollos-a-la-brasa/fancybox/custom.js new file mode 100644 index 0000000..2f601ee --- /dev/null +++ b/src/restaurante-pollos-a-la-brasa/fancybox/custom.js @@ -0,0 +1,83 @@ +(function ($, F) { + + // Opening animation - fly from the top + F.transitions.dropIn = function() { + var endPos = F._getPosition(true); + + endPos.top = (parseInt(endPos.top, 10) - 200) + 'px'; + endPos.opacity = 0; + + F.wrap.css(endPos).show().animate({ + top: '+=200px', + opacity: 1 + }, { + duration: F.current.openSpeed, + complete: F._afterZoomIn + }); + }; + + // Closing animation - fly to the top + F.transitions.dropOut = function() { + F.wrap.removeClass('fancybox-opened').animate({ + top: '-=200px', + opacity: 0 + }, { + duration: F.current.closeSpeed, + complete: F._afterZoomOut + }); + }; + + // Next gallery item - fly from left side to the center + F.transitions.slideIn = function() { + var endPos = F._getPosition(true); + + endPos.left = (parseInt(endPos.left, 10) - 200) + 'px'; + endPos.opacity = 0; + + F.wrap.css(endPos).show().animate({ + left: '+=200px', + opacity: 1 + }, { + duration: F.current.nextSpeed, + complete: F._afterZoomIn + }); + }; + + // Current gallery item - fly from center to the right + F.transitions.slideOut = function() { + F.wrap.removeClass('fancybox-opened').animate({ + left: '+=200px', + opacity: 0 + }, { + duration: F.current.prevSpeed, + complete: function () { + $(this).trigger('onReset').remove(); + } + }); + }; + +}(jQuery, jQuery.fancybox)); + +$(".fancybox") + .attr('rel', 'gallery') + .fancybox({ + fitToView : true, + autoPlay : true, + tpl : { + closeBtn: '
', + next: '', + prev: '' + }, + + openMethod : 'dropIn', + openSpeed : 250, + + closeMethod : 'dropOut', + closeSpeed : 150, + + nextMethod : 'slideIn', + nextSpeed : 250, + + prevMethod : 'slideOut', + prevSpeed : 250 + }); \ No newline at end of file diff --git a/src/restaurante-pollos-a-la-brasa/fancybox/fancybox_loading.gif b/src/restaurante-pollos-a-la-brasa/fancybox/fancybox_loading.gif new file mode 100644 index 0000000..0158617 Binary files /dev/null and b/src/restaurante-pollos-a-la-brasa/fancybox/fancybox_loading.gif differ diff --git a/src/restaurante-pollos-a-la-brasa/fancybox/fancybox_sprite.png b/src/restaurante-pollos-a-la-brasa/fancybox/fancybox_sprite.png new file mode 100644 index 0000000..a1aae1a Binary files /dev/null and b/src/restaurante-pollos-a-la-brasa/fancybox/fancybox_sprite.png differ diff --git a/src/restaurante-pollos-a-la-brasa/fancybox/helpers/fancybox_buttons.png b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/fancybox_buttons.png new file mode 100644 index 0000000..e0e1ea8 Binary files /dev/null and b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/fancybox_buttons.png differ diff --git a/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-buttons.css b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-buttons.css new file mode 100644 index 0000000..f60a6fd --- /dev/null +++ b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-buttons.css @@ -0,0 +1,85 @@ +#fancybox-buttons { + position: fixed; + left: 0; + width: 100%; + z-index: 8050; +} + +#fancybox-buttons.top { + top: 10px; +} + +#fancybox-buttons.bottom { + bottom: 10px; +} + +#fancybox-buttons ul { + display: block; + width: 170px; + height: 30px; + margin: 0 auto; + padding: 0; + list-style: none; + background: #111; + -webkit-box-shadow: 0 1px 3px #000,0 0 0 1px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.05); + -moz-box-shadow: 0 1px 3px #000,0 0 0 1px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.05); + background: #111 -webkit-gradient(linear,0% 0%,0% 100%,from(rgba(255,255,255,.2)),color-stop(.5,rgba(255,255,255,.15)),color-stop(.5,rgba(255,255,255,.1)),to(rgba(255,255,255,.15))); + background: #111 -moz-linear-gradient(top,rgba(255,255,255,.2) 0%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.1) 50%,rgba(255,255,255,.15) 100%); + border-radius: 3px; +} + +#fancybox-buttons ul li { + float: left; + margin: 0; + padding: 0; +} + +#fancybox-buttons a { + display: block; + width: 30px; + height: 30px; + text-indent: -9999px; + background-image: url('fancybox_buttons.png'); + background-repeat: no-repeat; + outline: none; +} + +#fancybox-buttons a.btnPrev { + width: 32px; + background-position: 6px 0; +} + +#fancybox-buttons a.btnNext { + background-position: -33px 0; + border-right: 1px solid #3e3e3e; +} + +#fancybox-buttons a.btnPlay { + background-position: 0 -30px; +} + +#fancybox-buttons a.btnPlayOn { + background-position: -30px -30px; +} + +#fancybox-buttons a.btnToggle { + background-position: 3px -60px; + border-left: 1px solid #111; + border-right: 1px solid #3e3e3e; + width: 35px +} + +#fancybox-buttons a.btnToggleOn { + background-position: -27px -60px; +} + +#fancybox-buttons a.btnClose { + border-left: 1px solid #111; + width: 38px; + background-position: -57px 0px; +} + +#fancybox-buttons a.btnDisabled { + opacity : 0.5; + cursor: default; +} \ No newline at end of file diff --git a/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-buttons.js b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-buttons.js new file mode 100644 index 0000000..e116e38 --- /dev/null +++ b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-buttons.js @@ -0,0 +1,115 @@ + /*! + * Buttons helper for fancyBox + * version: 1.0.2 + * @requires fancyBox v2.0 or later + * + * Usage: + * $(".fancybox").fancybox({ + * buttons: { + * position : 'top' + * } + * }); + * + * Options: + * tpl - HTML template + * position - 'top' or 'bottom' + * + */ +(function ($) { + //Shortcut for fancyBox object + var F = $.fancybox; + + //Add helper object + F.helpers.buttons = { + tpl: '', + list: null, + buttons: {}, + + update: function () { + var toggle = this.buttons.toggle.removeClass('btnDisabled btnToggleOn'); + + //Size toggle button + if (F.current.canShrink) { + toggle.addClass('btnToggleOn'); + + } else if (!F.current.canExpand) { + toggle.addClass('btnDisabled'); + } + }, + + beforeLoad: function (opts) { + //Remove self if gallery do not have at least two items + if (F.group.length < 2) { + F.coming.helpers.buttons = false; + F.coming.closeBtn = true; + + return; + } + + //Increase top margin to give space for buttons + F.coming.margin[ opts.position === 'bottom' ? 2 : 0 ] += 30; + }, + + onPlayStart: function () { + if (this.list) { + this.buttons.play.attr('title', 'Pause slideshow').addClass('btnPlayOn'); + } + }, + + onPlayEnd: function () { + if (this.list) { + this.buttons.play.attr('title', 'Start slideshow').removeClass('btnPlayOn'); + } + }, + + afterShow: function (opts) { + var buttons; + + if (!this.list) { + this.list = $(opts.tpl || this.tpl).addClass(opts.position || 'top').appendTo('body'); + + this.buttons = { + prev : this.list.find('.btnPrev').click( F.prev ), + next : this.list.find('.btnNext').click( F.next ), + play : this.list.find('.btnPlay').click( F.play ), + toggle : this.list.find('.btnToggle').click( F.toggle ) + } + } + + buttons = this.buttons; + + //Prev + if (F.current.index > 0 || F.current.loop) { + buttons.prev.removeClass('btnDisabled'); + } else { + buttons.prev.addClass('btnDisabled'); + } + + //Next / Play + if (F.current.loop || F.current.index < F.group.length - 1) { + buttons.next.removeClass('btnDisabled'); + buttons.play.removeClass('btnDisabled'); + + } else { + buttons.next.addClass('btnDisabled'); + buttons.play.addClass('btnDisabled'); + } + + this.update(); + }, + + onUpdate: function () { + this.update(); + }, + + beforeClose: function () { + if (this.list) { + this.list.remove(); + } + + this.list = null; + this.buttons = {}; + } + }; + +}(jQuery)); \ No newline at end of file diff --git a/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-media.js b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-media.js new file mode 100644 index 0000000..be5f586 --- /dev/null +++ b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-media.js @@ -0,0 +1,85 @@ + /*! + * Media helper for fancyBox + * version: 1.0.0 + * @requires fancyBox v2.0 or later + * + * Usage: + * $(".fancybox").fancybox({ + * media: {} + * }); + * + * Supports: + * Youtube + * http://www.youtube.com/watch?v=opj24KnzrWo + * http://youtu.be/opj24KnzrWo + * Vimeo + * http://vimeo.com/25634903 + * Metacafe + * http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/ + * http://www.metacafe.com/watch/7635964/ + * Dailymotion + * http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people + * Twitvid + * http://twitvid.com/QY7MD + * Twitpic + * http://twitpic.com/7p93st + * Instagram + * http://instagr.am/p/IejkuUGxQn/ + * http://instagram.com/p/IejkuUGxQn/ + * Google maps + * http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17 + * http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16 + * http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56 + */ +(function ($) { + //Shortcut for fancyBox object + var F = $.fancybox; + + //Add helper object + F.helpers.media = { + beforeLoad : function(opts, obj) { + var href = obj.href || '', + type = false, + rez; + + if ((rez = href.match(/(youtube\.com|youtu\.be)\/(v\/|u\/|embed\/|watch\?v=)?([^#\&\?]*).*/i))) { + href = '//www.youtube.com/embed/' + rez[3] + '?autoplay=1&autohide=1&fs=1&rel=0&enablejsapi=1'; + type = 'iframe'; + + } else if ((rez = href.match(/vimeo.com\/(\d+)\/?(.*)/))) { + href = '//player.vimeo.com/video/' + rez[1] + '?hd=1&autoplay=1&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1'; + type = 'iframe'; + + } else if ((rez = href.match(/metacafe.com\/watch\/(\d+)\/?(.*)/))) { + href = '//www.metacafe.com/fplayer/' + rez[1] + '/.swf?playerVars=autoPlay=yes'; + type = 'swf'; + + } else if ((rez = href.match(/dailymotion.com\/video\/(.*)\/?(.*)/))) { + href = '//www.dailymotion.com/swf/video/' + rez[1] + '?additionalInfos=0&autoStart=1'; + type = 'swf'; + + } else if ((rez = href.match(/twitvid\.com\/([a-zA-Z0-9_\-\?\=]+)/i))) { + href = '//www.twitvid.com/embed.php?autoplay=0&guid=' + rez[1]; + type = 'iframe'; + + } else if ((rez = href.match(/twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i))) { + href = '//twitpic.com/show/full/' + rez[1]; + type = 'image'; + + } else if ((rez = href.match(/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i))) { + href = '//' + rez[1] + '/p/' + rez[2] + '/media/?size=l'; + type = 'image'; + + } else if ((rez = href.match(/maps\.google\.com\/(\?ll=|maps\/?\?q=)(.*)/i))) { + href = '//maps.google.com/' + rez[1] + '' + rez[2] + '&output=' + (rez[2].indexOf('layer=c') ? 'svembed' : 'embed'); + type = 'iframe'; + } + + if (type) { + obj.href = href; + obj.type = type; + } + } + } + +}(jQuery)); \ No newline at end of file diff --git a/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-thumbs.css b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-thumbs.css new file mode 100644 index 0000000..e40ae82 --- /dev/null +++ b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-thumbs.css @@ -0,0 +1,54 @@ +#fancybox-thumbs { + position: fixed; + left: 0; + width: 100%; + overflow: hidden; + z-index: 8050; +} + +#fancybox-thumbs.bottom { + bottom: 2px; +} + +#fancybox-thumbs.top { + top: 2px; +} + +#fancybox-thumbs ul { + position: relative; + list-style: none; + margin: 0; + padding: 0; +} + +#fancybox-thumbs ul li { + float: left; + padding: 1px; + opacity: 0.5; +} + +#fancybox-thumbs ul li.active { + opacity: 0.75; + padding: 0; + border: 1px solid #fff; +} + +#fancybox-thumbs ul li:hover { + opacity: 1; +} + +#fancybox-thumbs ul li a { + display: block; + position: relative; + overflow: hidden; + border: 1px solid #222; + background: #111; + outline: none; +} + +#fancybox-thumbs ul li img { + display: block; + position: relative; + border: 0; + padding: 0; +} \ No newline at end of file diff --git a/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-thumbs.js b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-thumbs.js new file mode 100644 index 0000000..a1b2bb7 --- /dev/null +++ b/src/restaurante-pollos-a-la-brasa/fancybox/helpers/jquery.fancybox-thumbs.js @@ -0,0 +1,157 @@ + /*! + * Thumbnail helper for fancyBox + * version: 1.0.4 + * @requires fancyBox v2.0 or later + * + * Usage: + * $(".fancybox").fancybox({ + * thumbs: { + * width : 50, + * height : 50 + * } + * }); + * + * Options: + * width - thumbnail width + * height - thumbnail height + * source - function to obtain the URL of the thumbnail image + * position - 'top' or 'bottom' + * + */ +(function ($) { + //Shortcut for fancyBox object + var F = $.fancybox; + + //Add helper object + F.helpers.thumbs = { + wrap: null, + list: null, + width: 0, + + //Default function to obtain the URL of the thumbnail image + source: function (el) { + var img; + + if ($.type(el) === 'string') { + return el; + } + + img = $(el).find('img'); + + return img.length ? img.attr('src') : el.href; + }, + + init: function (opts) { + var that = this, + list, + thumbWidth = opts.width || 50, + thumbHeight = opts.height || 50, + thumbSource = opts.source || this.source; + + //Build list structure + list = ''; + + for (var n = 0; n < F.group.length; n++) { + list += 'The requested content cannot be loaded.
Please try again later.

En nuestro restaurante la calidad de los productos, su esmerada preparación y exquisito servicio, están a su disposición.
+
Platos principales: una cuidada selección de platos cocinados con las recetas tradicionales que tanto nos gustan.
+