Commit 6efd4190 authored by bmortier's avatar bmortier

Merge branch...

Merge branch '8-make-a-new-webpage-for-the-demo-with-the-look-and-feel-of-the-new-website' into 'master'

Resolve "make a new webpage for the demo with the look and feel of the new website"

Closes #8

See merge request demonstration/demo-custom!10
parents 613f4f06 572df5c1
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/*
* styles for gallery page
*/
ul.gallery {
list-style: none outside none;
}
.gallery_box_single .gallery.clearfix {
display: table;
margin: 0 auto;
}
.gallery_box ul {
list-style: none outside none !important;
margin:0;
}
.gallery_box li {
padding: 10px 10px 0 0;
clear: both;
list-style: none;
}
.gallery_box li img {
padding: 5px;
margin:0 10px 10px 0;
float:left;
border: 1px solid #BDBDBD;
}
.gallery_box p {
margin-bottom:0px;
}
.gallery_detail_box {
float:left;
}
.gallery_box .gallery_detail_box p.title {
color: #000000;
line-height: 1.5em;
margin: 0 0 10px;
font-weight: bold;
}
.gllr_clear {
clear: both;
height: 0;
}
.clear {
clear: both;
}
.gallery .gllr_image_block {
float: left;
}
#content .gallery .gllr_image_block a img {
border: 10px solid #F1F1F1;
margin-top: 0;
box-sizing: content-box;
-moz-box-sizing: content-box; /*Firefox 1-3*/
-webkit-box-sizing: content-box; /* Safari */
}
#content .gallery_box_single .gallery .gllr_image_block p {
border: 1px solid #BDBDBD;
margin: 5px 6px 0 0;
padding: 0;
}
.gllr_single_image_text {
font-size: 12px;
color: #888;
}
.gllr_image_row {
clear: both;
}
.gallery li {
float: left;
margin: 5px 6px 10px 0;
}
.gallery .gllr_image_container {
border: 1px solid #BDBDBD;
}
.pp_social {
display: none;
}
#fancybox-wrap {
box-sizing: content-box;
-moz-box-sizing: content-box; /*Firefox 1-3*/
-webkit-box-sizing: content-box; /* Safari */
}
#fancybox-wrap * {
box-sizing: content-box;
-moz-box-sizing: content-box; /*Firefox 1-3*/
-webkit-box-sizing: content-box; /* Safari */
}
.gllr_image_block img {
border-style: solid;
}
/* template fix for theme 2015 */
.page-template-gallery-template .site-content .site-content,
.single-gallery .site-content .site-content {
margin-left: 0;
width: auto;
}
#ajax_update_postmeta,
#ajax_update_images {
float: left;
}
#gllr_date_additional_field, #gllr_link_additional_field,
#gllr_shrdescription_additional_field, #gllr_description_additional_field,
#gllr_svn_additional_field, #gllr_executor_additional_field,
#gllr_technologies_additional_field {
float: left;
position: relative;
top: 2px;
margin-right: 3px;
}
\ No newline at end of file
/*
* FancyBox - jQuery Plugin
* Simple and fancy lightbox alternative
*
* Examples and documentation at: http://fancybox.net
*
* Copyright (c) 2008 - 2010 Janis Skarnelis
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
*
* Version: 1.3.4 (11/11/2010)
* Requires: jQuery v1.3+
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*/
#fancybox-loading {
position: fixed;
top: 50%;
left: 50%;
width: 40px;
height: 40px;
margin-top: -20px;
margin-left: -20px;
cursor: pointer;
overflow: hidden;
z-index: 1104;
display: none;
}
#fancybox-loading div {
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 480px;
background-image: url('fancybox.png');
}
#fancybox-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 1100;
display: none;
}
#fancybox-tmp {
padding: 0;
margin: 0;
border: 0;
overflow: auto;
display: none;
}
#fancybox-wrap {
position: absolute;
top: 0;
left: 0;
padding: 20px;
z-index: 1101;
outline: none;
display: none;
}
#fancybox-outer {
position: relative;
width: 100%;
height: 100%;
background: #fff;
}
#fancybox-content {
width: 0;
height: 0;
padding: 0;
outline: none;
position: relative;
overflow: hidden;
z-index: 1102;
border: 0px solid #fff;
}
#fancybox-hide-sel-frame {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
z-index: 1101;
}
#fancybox-close {
position: absolute;
top: -15px;
right: -15px;
width: 30px;
height: 30px;
background: transparent url('fancybox.png') -40px 0px;
cursor: pointer;
z-index: 1103;
display: none;
}
#fancybox-error {
color: #444;
font: normal 12px/20px Arial;
padding: 14px;
margin: 0;
}
#fancybox-img {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
border: none;
outline: none;
line-height: 0;
vertical-align: top;
}
#fancybox-frame {
width: 100%;
height: 100%;
border: none;
display: block;
}
#fancybox-left, #fancybox-right {
position: absolute;
bottom: 0px;
height: 100%;
width: 35%;
cursor: pointer;
outline: none;
background: transparent url('blank.gif');
z-index: 1102;
display: none;
}
#fancybox-left {
left: 0px;
}
#fancybox-right {
right: 0px;
}
#fancybox-left-ico, #fancybox-right-ico {
position: absolute;
top: 50%;
left: -9999px;
width: 30px;
height: 30px;
margin-top: -15px;
cursor: pointer;
z-index: 1102;
display: block;
}
#fancybox-left-ico {
background-image: url('fancybox.png');
background-position: -40px -30px;
}
#fancybox-right-ico {
background-image: url('fancybox.png');
background-position: -40px -60px;
}
#fancybox-left:hover, #fancybox-right:hover {
visibility: visible; /* IE6 */
}
#fancybox-left:hover span {
left: 20px;
}
#fancybox-right:hover span {
left: auto;
right: 20px;
}
.fancybox-bg {
position: absolute;
padding: 0;
margin: 0;
border: 0;
width: 20px;
height: 20px;
z-index: 1001;
}
#fancybox-bg-n {
top: -20px;
left: 0;
width: 100%;
background-image: url('fancybox-x.png');
}
#fancybox-bg-ne {
top: -20px;
right: -20px;
background-image: url('fancybox.png');
background-position: -40px -162px;
}
#fancybox-bg-e {
top: 0;
right: -20px;
height: 100%;
background-image: url('fancybox-y.png');
background-position: -20px 0px;
}
#fancybox-bg-se {
bottom: -20px;
right: -20px;
background-image: url('fancybox.png');
background-position: -40px -182px;
}
#fancybox-bg-s {
bottom: -20px;
left: 0;
width: 100%;
background-image: url('fancybox-x.png');
background-position: 0px -20px;
}
#fancybox-bg-sw {
bottom: -20px;
left: -20px;
background-image: url('fancybox.png');
background-position: -40px -142px;
}
#fancybox-bg-w {
top: 0;
left: -20px;
height: 100%;
background-image: url('fancybox-y.png');
}
#fancybox-bg-nw {
top: -20px;
left: -20px;
background-image: url('fancybox.png');
background-position: -40px -122px;
}
#fancybox-title {
font-family: Helvetica;
font-size: 12px;
z-index: 1102;
}
.fancybox-title-inside {
padding-bottom: 10px;
text-align: center;
color: #333;
background: #fff;
position: relative;
}
.fancybox-title-outside {
padding-top: 10px;
color: #fff;
}
.fancybox-title-over {
position: absolute;
bottom: 0;
left: 0;
color: #FFF;
text-align: left;
}
#fancybox-title-over {
padding: 10px;
background-image: url('fancy_title_over.png');
display: block;
}
.fancybox-title-float {
position: absolute;
left: 0;
bottom: -20px;
height: 32px;
}
#fancybox-title-float-wrap {
border: none;
border-collapse: collapse;
width: auto;
}
#fancybox-title-float-wrap td {
border: none;
white-space: nowrap;
}
#fancybox-title-float-left {
padding: 0 0 0 15px;
background: url('fancybox.png') -40px -90px no-repeat;
}
#fancybox-title-float-main {
color: #FFF;
line-height: 29px;
font-weight: bold;
padding: 0 0 3px 0;
background: url('fancybox-x.png') 0px -40px;
}
#fancybox-title-float-right {
padding: 0 0 0 15px;
background: url('fancybox.png') -55px -90px no-repeat;
}
/* IE6 */
.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
height: expression(this.parentNode.clientHeight + "px");
}
#fancybox-loading.fancybox-ie6 {
position: absolute; margin-top: 0;
top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
}
#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
/* IE6, IE7, IE8 */
.fancybox-ie .fancybox-bg { background: transparent !important; }
.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
* Licensed under the MIT License (LICENSE.txt).
*
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
* Thanks to: Seamus Leahy for adding deltaX and deltaY
*
* Version: 3.0.4
*
* Requires: 1.2.2+
*/
(function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=
f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
\ No newline at end of file
This diff is collapsed.
jQuery(document).ready(function(){
var a = 1
// Do this for every drop down
jQuery(".pldrop > li > ul").each(function(){
var b = ""
jQuery(this).addClass("dropdown-menu");
if( jQuery(this).siblings("a").children(".caret").length===0 ){
b = ' <b class="caret"/>'
}
jQuery(this).siblings("a")
.addClass("dropdown-toggle")
.attr( "href", "#m" + a )
.attr("data-toggle","dropdown")
.append(b)
.parent()
.attr( "id", "m" + a++ )
.addClass("dropdown")
jQuery(this)
.find('.sub-menu')
.addClass("dropdown-menu")
.parent()
.addClass('dropdown-submenu')
})
jQuery(".dropdown-toggle").dropdown()
})
jQuery(document).ready(function(){
touchFix();
});
function touchFix(){
jQuery('body')
.on('touchstart.dropdown', '.dropdown-menu', function (e) {e.stopPropagation();})
.on('touchstart.dropdown', '.dropdown-submenu', function (e) {e.preventDefault();});
}
This diff is collapsed.
(function(a){a.fn.equalizer=function(b){var c={};a("body").data("Equalizer",c);c.$el=a(this);c.options=a.extend({},a.equalizerDefaults,b);c.init=function(){c.options.min=parseInt(c.options.min,10)||0;c.options.max=parseInt(c.options.max,10)||0;c.hasMax=(c.options.max===0)?false:true;c.hasMin=(c.options.min===0)?false:true;c.curRowTop=0;c.useHeight=(/^o/.test(c.options.useHeight))?"outerHeight":/^i/.test(c.options.useHeight)?"innerHeight":"height";if(c.options.resizeable){c.$el.wrapInner('<span class="equalizer-inner" style="display:block;margin:0;padding:0;" />');a(window).resize(function(){clearTimeout(c.throttle);c.throttle=setTimeout(function(){c.equalz();},100);});}c.equalz();};c.equalz=function(){c.curMax=c.options.min;c.$el.removeClass(c.options.overflow).each(function(){var e=a(this),d=(c.options.resizeable)?e.find("span.equalizer-inner"):e;c.curTop=e.offset().top;if(c.curRowTop!==c.curTop){if(c.hasMax&&c.curMax>c.options.max){c.curMax=c.options.max;c.curRows.addClass(c.options.overflow);}if(c.curRows){c.curRows.css("min-height",c.curMax);}c.curMax=d[c.useHeight]();c.curMax=(c.hasMin)?Math.max(c.options.min,c.curMax):c.curMax;c.curRowTop=c.curTop;c.curRows=e;}else{c.curMax=Math.max(c.curMax,d[c.useHeight]());c.curMax=(c.hasMax&&c.curMax>c.options.max)?c.options.max:(c.hasMin&&c.curMax<c.options.min)?c.options.min:c.curMax;c.curRows=c.curRows.add(e);}if(c.curRows){c.curRows.css("min-height",c.curMax);if(c.hasMax&&c.curMax>=c.options.max){c.curRows.addClass(c.options.overflow);}}});};c.init();return this;};a.equalizerDefaults={useHeight:"height",resizeable:true,min:0,max:0,overflow:"overflowed"};})(jQuery);jQuery(window).load(function(){jQuery(".blocks").equalizer();});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
div.wpcf7 {
margin: 0;
padding: 0;
}
div.wpcf7 .screen-reader-response {
position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
width: 1px;
margin: 0;
padding: 0;
border: 0;
}
div.wpcf7-response-output {
margin: 2em 0.5em 1em;
padding: 0.2em 1em;
border: 2px solid #ff0000;
}
div.wpcf7-mail-sent-ok {
border: 2px solid #398f14;
}
div.wpcf7-mail-sent-ng,
div.wpcf7-aborted {
border: 2px solid #ff0000;
}
div.wpcf7-spam-blocked {
border: 2px solid #ffa500;
}
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
border: 2px solid #f7e700;
}
.wpcf7-form-control-wrap {
position: relative;
}
span.wpcf7-not-valid-tip {
color: #f00;
font-size: 1em;
font-weight: normal;
display: block;
}
.use-floating-validation-tip span.wpcf7-not-valid-tip {
position: absolute;
top: 20%;
left: 20%;
z-index: 100;
border: 1px solid #ff0000;
background: #fff;
padding: .2em .8em;
}
span.wpcf7-list-item {
display: inline-block;
margin: 0 0 0 1em;
}
span.wpcf7-list-item-label::before,
span.wpcf7-list-item-label::after {
content: " ";
}
.wpcf7-display-none {
display: none;
}
div.wpcf7 .ajax-loader {
visibility: hidden;
display: inline-block;
background-image: url('../../images/ajax-loader.gif');
width: 16px;
height: 16px;
border: none;
padding: 0;
margin: 0 0 0 4px;
vertical-align: middle;
}
div.wpcf7 .ajax-loader.is-active {
visibility: visible;
}
div.wpcf7 div.ajax-error {