From 3c468ef1f259af106fdb9712f9a6c807dbca6b11 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 17 Dec 2015 15:55:34 +0100 Subject: [PATCH] convert tabs to spaces in whole codebase, closes #17 --- .jshintrc | 36 +- 404.php | 22 +- archive.php | 12 +- assets/js/ajax-pagination.js | 4 +- assets/js/ajax-pagination.min.js | 4 +- assets/js/ascribe.js | 4 +- assets/js/ascribe.min.js | 4 +- assets/js/src/ajax-pagination.js | 2 +- assets/less/ascribe.less | 3084 ++++++++++++++-------------- assets/less/ascribe/_branding.less | 464 ++--- assets/less/ascribe/_helpers.less | 360 ++-- assets/less/vendor/colorbox.css | 2 +- assets/less/vendor/normalize.less | 130 +- assets/less/vendor/print.less | 2 +- bootstrap.php.dist | 16 +- composer.json | 40 +- content-blog.php | 62 +- content-main.php | 4 +- content-noposts.php | 10 +- controller/classes/Subtemplate.php | 2168 +++++++++---------- controller/controller.inc.php | 20 +- controller/header.php | 22 +- controller/init.php | 21 +- footer.php | 238 +-- functions.php | 40 +- header.php | 89 +- home.php | 12 +- humans.txt | 32 +- includes/functions/core.php | 60 +- includes/readme.md | 2 +- index.php | 2 +- languages/wptheme.pot | 1 - phpunit.xml.dist | 38 +- sidebar-blog.php | 8 +- single-post.php | 12 +- template-blogheader.php | 68 +- template-companyblue.php | 2 +- template-companywhite.php | 2 +- template-events.php | 2 +- template-general.php | 2 +- template-header.php | 40 +- template-tour.php | 56 +- template.php | 2 +- 43 files changed, 3599 insertions(+), 3602 deletions(-) diff --git a/.jshintrc b/.jshintrc index bb3ff63..9534ec7 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,20 +1,20 @@ { - "curly": true, - "eqeqeq": true, - "immed": true, - "latedef": true, - "newcap": true, - "noarg": true, - "sub": true, - "undef": true, - "boss": true, - "eqnull": true, - "validthis": true, - "globals": { - "exports": true, - "module": false, - "console": true, - "document": true, - "window": true, - } + "curly": true, + "eqeqeq": true, + "immed": true, + "latedef": true, + "newcap": true, + "noarg": true, + "sub": true, + "undef": true, + "boss": true, + "eqnull": true, + "validthis": true, + "globals": { + "exports": true, + "module": false, + "console": true, + "document": true, + "window": true, + } } diff --git a/404.php b/404.php index 23c27a9..b362d83 100644 --- a/404.php +++ b/404.php @@ -10,15 +10,15 @@ $controller = new Controller(); ?> -
-
-
- -
-
-
+
+
+
+ +
+
+
- \ No newline at end of file + diff --git a/archive.php b/archive.php index b9324a2..2e742dd 100644 --- a/archive.php +++ b/archive.php @@ -5,15 +5,15 @@ echo '
'; echo '
'; echo '
'; if ( have_posts() ) { - while ( have_posts() ) { - the_post(); + while ( have_posts() ) { + the_post(); - get_template_part( 'content', 'blog' ); + get_template_part( 'content', 'blog' ); - } + } } else { - get_template_part( 'content', 'noposts' ); + get_template_part( 'content', 'noposts' ); } echo '
'; @@ -22,4 +22,4 @@ echo '
'; echo '
'; echo ''; get_footer(); -?> \ No newline at end of file +?> diff --git a/assets/js/ajax-pagination.js b/assets/js/ajax-pagination.js index fc17ea0..26a4d88 100644 --- a/assets/js/ajax-pagination.js +++ b/assets/js/ajax-pagination.js @@ -5,8 +5,8 @@ ** ** Territorial ** - ** - ** https://github.com/ascribe/wp-theme.git + ** + ** https://github.com/ascribe/wp-theme.git **/ $(document).ready(function(){$("#more-articles").click(function(a){a.preventDefault(),$.ajax({url:ajaxpagination.ajaxurl,type:"post",data:{action:"ajax_pagination"},success:function(a){alert(a)}})})}); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFqYXgtcGFnaW5hdGlvbi5qcyJdLCJuYW1lcyI6WyIkIiwiZG9jdW1lbnQiLCJyZWFkeSIsImNsaWNrIiwiZSIsInByZXZlbnREZWZhdWx0IiwiYWpheCIsInVybCIsImFqYXhwYWdpbmF0aW9uIiwiYWpheHVybCIsInR5cGUiLCJkYXRhIiwiYWN0aW9uIiwic3VjY2VzcyIsInJlc3VsdCIsImFsZXJ0Il0sIm1hcHBpbmdzIjoiQUFBQUEsRUFBRUMsVUFBVUMsTUFBTSxXQUNkRixFQUFFLGtCQUFrQkcsTUFBTSxTQUFTQyxHQUMvQkEsRUFBRUMsaUJBQ0ZMLEVBQUVNLE1BQ0VDLElBQUtDLGVBQWVDLFFBQ3BCQyxLQUFNLE9BQ05DLE1BQ0lDLE9BQVEsbUJBRVpDLFFBQVMsU0FBVUMsR0FDZkMsTUFBT0QiLCJmaWxlIjoiYWpheC1wYWdpbmF0aW9uLmpzIiwic291cmNlc0NvbnRlbnQiOlsiJChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKXtcbiAgICAkKCcjbW9yZS1hcnRpY2xlcycpLmNsaWNrKGZ1bmN0aW9uKGUpe1xuICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICQuYWpheCh7XG4gICAgICAgICAgICB1cmw6IGFqYXhwYWdpbmF0aW9uLmFqYXh1cmwsXG4gICAgICAgICAgICB0eXBlOiAncG9zdCcsXG4gICAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgICAgYWN0aW9uOiAnYWpheF9wYWdpbmF0aW9uJ1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHN1Y2Nlc3M6IGZ1bmN0aW9uKCByZXN1bHQgKSB7XG4gICAgICAgICAgICAgICAgYWxlcnQoIHJlc3VsdCApO1xuICAgICAgICAgICAgfVxuICAgICAgICB9KVxuICAgIH0pO1xufSk7Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9 diff --git a/assets/js/ajax-pagination.min.js b/assets/js/ajax-pagination.min.js index fc17ea0..26a4d88 100644 --- a/assets/js/ajax-pagination.min.js +++ b/assets/js/ajax-pagination.min.js @@ -5,8 +5,8 @@ ** ** Territorial ** - ** - ** https://github.com/ascribe/wp-theme.git + ** + ** https://github.com/ascribe/wp-theme.git **/ $(document).ready(function(){$("#more-articles").click(function(a){a.preventDefault(),$.ajax({url:ajaxpagination.ajaxurl,type:"post",data:{action:"ajax_pagination"},success:function(a){alert(a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xufSk7Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9 diff --git a/assets/js/ascribe.js b/assets/js/ascribe.js index 09e2f6f..ad0e3a5 100644 --- a/assets/js/ascribe.js +++ b/assets/js/ascribe.js @@ -5,8 +5,8 @@ ** ** Territorial ** - ** - ** https://github.com/ascribe/wp-theme.git + ** + ** https://github.com/ascribe/wp-theme.git **/ $(document).ready(function(){$("#more-articles").click(function(t){t.preventDefault(),$.ajax({url:ajaxpagination.ajaxurl,type:"post",data:{action:"ajax_pagination"},success:function(t){alert(t)}})})}),$(document).ready(function(){function t(){$("body").hasClass("page-template-template-tour")&&$(".tour-switcher .menu").prepend($(".tour-switcher .current-menu-item")),$(".current-menu-item a").click(function(t){t.preventDefault(),$("#menu-landing-page-menu").toggleClass("active")})}function e(){$(".case-study:gt(0)").addClass("hidden"),$(".slider-action").click(function(){var t=$(this).attr("id");"back"===t?($(".case-study").addClass("hidden"),$(".case-study").last().prependTo(".slide-container").removeClass("hidden")):(displayed=$(".case-study").first(),displayed.addClass("hidden"),$(".case-study").eq(1).removeClass("hidden"),displayed.appendTo(".slide-container"))})}function a(){$(".featured-faqs dt").click(function(){$(this).next("dd").toggleClass("open")})}function n(){$(".top-tab").click(function(){$(".top-tab").removeClass("active"),$(this).addClass("active");var t=$(this).data("tab");$(".marketplace-info").removeClass("active"),$("#"+t).addClass("active")})}function i(){$(".hamburger").click(function(){console.log("hi"),$(".mobile-nav").toggleClass("active")})}function s(){var t=!1,e=$(".sticky");$(window).scroll(function(){t=!0}),setInterval(function(){t&&(t=!1,$(window).scrollTop()>100?e.addClass("stuck"):e.removeClass("stuck"))},250)}function c(){$(".team-member img").hover(function(){var t=$(this).data("hover");$(this).attr("src",t)},function(){var t=$(this).data("regular");$(this).attr("src",t)})}function o(){$("img").each(function(){$(this).removeAttr("width"),$(this).removeAttr("height")})}o(),e(),a(),n(),t(),i(),s(),c()}); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3V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cygnYWN0aXZlJyk7XG4gICAgICAgICAgICAkKCcjJytjb250ZW50VG9TaG93KS5hZGRDbGFzcygnYWN0aXZlJyk7XG5cbiAgICAgICAgfSk7XG4gICAgfVxuICAgIGZ1bmN0aW9uIG1vYmlsZU5hdigpIHtcbiAgICAgICAgJCgnLmhhbWJ1cmdlcicpLmNsaWNrKGZ1bmN0aW9uKCl7XG4gICAgICAgICAgICBjb25zb2xlLmxvZygnaGknKTtcbiAgICAgICAgICAgICAkKCcubW9iaWxlLW5hdicpLnRvZ2dsZUNsYXNzKCdhY3RpdmUnKTtcbiAgICAgICAgfSk7XG4gICAgfVxuICAgIGZ1bmN0aW9uIHN0aWNreU5hdigpIHtcbiAgICAgICAgdmFyIGRpZFNjcm9sbCA9IGZhbHNlO1xuICAgICAgICB2YXIgc3RpY2t5ID0gJCgnLnN0aWNreScpO1xuXG4gICAgICAgICQod2luZG93KS5zY3JvbGwoZnVuY3Rpb24gKCkge1xuICAgICAgICAgICAgZGlkU2Nyb2xsID0gdHJ1ZTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgc2V0SW50ZXJ2YWwoZnVuY3Rpb24gKCkge1xuICAgICAgICAgICAgaWYgKGRpZFNjcm9sbCkge1xuICAgICAgICAgICAgICAgIGRpZFNjcm9sbCA9IGZhbHNlO1xuXG4gICAgICAgICAgICAgICAgaWYgKCQod2luZG93KS5zY3JvbGxUb3AoKSA+IDEwMCkge1xuICAgICAgICAgICAgICAgICAgICBzdGlja3kuYWRkQ2xhc3MoJ3N0dWNrJyk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBzdGlja3kucmVtb3ZlQ2xhc3MoJ3N0dWNrJyk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9LCAyNTApO1xuICAgIH1cbiAgICBmdW5jdGlvbiBjb2xvdXJIb3ZlcigpIHtcbiAgICAgICAgJCgnLnRlYW0tbWVtYmVyIGltZycpLmhvdmVyKFxuICAgICAgICAgICAgZnVuY3Rpb24oKXtcbiAgICAgICAgICAgICAgICB2YXIgaG92ZXIgPSAkKHRoaXMpLmRhdGEoJ2hvdmVyJyk7XG4gICAgICAgICAgICAgICAgJCh0aGlzKS5hdHRyKCdzcmMnLGhvdmVyKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBmdW5jdGlvbigpe1xuICAgICAgICAgICAgICAgIHZhciBub3JtYWwgPSAkKHRoaXMpLmRhdGEoJ3JlZ3VsYXInKTtcbiAgICAgICAgICAgICAgICAkKHRoaXMpLmF0dHIoJ3NyYycsbm9ybWFsKTtcbiAgICAgICAgICAgIH0pO1xuICAgIH1cbiAgICBmdW5jdGlvbiBpbWdBdHRyUmVtb3ZlcigpIHtcbiAgICAgICAgJCgnaW1nJykuZWFjaChmdW5jdGlvbigpe1xuICAgICAgICAgICAgJCh0aGlzKS5yZW1vdmVBdHRyKCd3aWR0aCcpO1xuICAgICAgICAgICAgJCh0aGlzKS5yZW1vdmVBdHRyKCdoZWlnaHQnKTtcbiAgICAgICAgfSk7XG4gICAgfVxuXG59KTtcbiJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ== diff --git a/assets/js/ascribe.min.js b/assets/js/ascribe.min.js index 09e2f6f..ad0e3a5 100644 --- a/assets/js/ascribe.min.js +++ b/assets/js/ascribe.min.js @@ -5,8 +5,8 @@ ** ** Territorial ** - ** - ** https://github.com/ascribe/wp-theme.git + ** + ** https://github.com/ascribe/wp-theme.git **/ $(document).ready(function(){$("#more-articles").click(function(t){t.preventDefault(),$.ajax({url:ajaxpagination.ajaxurl,type:"post",data:{action:"ajax_pagination"},success:function(t){alert(t)}})})}),$(document).ready(function(){function t(){$("body").hasClass("page-template-template-tour")&&$(".tour-switcher .menu").prepend($(".tour-switcher .current-menu-item")),$(".current-menu-item a").click(function(t){t.preventDefault(),$("#menu-landing-page-menu").toggleClass("active")})}function e(){$(".case-study:gt(0)").addClass("hidden"),$(".slider-action").click(function(){var t=$(this).attr("id");"back"===t?($(".case-study").addClass("hidden"),$(".case-study").last().prependTo(".slide-container").removeClass("hidden")):(displayed=$(".case-study").first(),displayed.addClass("hidden"),$(".case-study").eq(1).removeClass("hidden"),displayed.appendTo(".slide-container"))})}function a(){$(".featured-faqs dt").click(function(){$(this).next("dd").toggleClass("open")})}function n(){$(".top-tab").click(function(){$(".top-tab").removeClass("active"),$(this).addClass("active");var t=$(this).data("tab");$(".marketplace-info").removeClass("active"),$("#"+t).addClass("active")})}function i(){$(".hamburger").click(function(){console.log("hi"),$(".mobile-nav").toggleClass("active")})}function s(){var t=!1,e=$(".sticky");$(window).scroll(function(){t=!0}),setInterval(function(){t&&(t=!1,$(window).scrollTop()>100?e.addClass("stuck"):e.removeClass("stuck"))},250)}function c(){$(".team-member img").hover(function(){var t=$(this).data("hover");$(this).attr("src",t)},function(){var t=$(this).data("regular");$(this).attr("src",t)})}function o(){$("img").each(function(){$(this).removeAttr("width"),$(this).removeAttr("height")})}o(),e(),a(),n(),t(),i(),s(),c()}); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFqYXgtcGFnaW5hdGlvbi5qcyIsImFzY3JpYmUuanMiXSwibmFtZXMiOlsiJCIsImRvY3VtZW50IiwicmVhZHkiLCJjbGljayIsImUiLCJwcmV2ZW50RGVmYXVsdCIsImFqYXgiLCJ1cmwiLCJhamF4cGFnaW5hdGlvbiIsImFqYXh1cmwiLCJ0eXBlIiwiZGF0YSIsImFjdGlvbiIsInN1Y2Nlc3MiLCJyZXN1bHQiLCJhbGVydCIsInRvdXJOYXYiLCJoYXNDbGFzcyIsInByZXBlbmQiLCJ0b2dnbGVDbGFzcyIsInNsaWRlciIsImFkZENsYXNzIiwiZGlyZWN0aW9uIiwidGhpcyIsImF0dHIiLCJsYXN0IiwicHJlcGVuZFRvIiwicmVtb3ZlQ2xhc3MiLCJkaXNwbGF5ZWQiLCJmaX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ID0gJCgnLnN0aWNreScpO1xuXG4gICAgICAgICQod2luZG93KS5zY3JvbGwoZnVuY3Rpb24gKCkge1xuICAgICAgICAgICAgZGlkU2Nyb2xsID0gdHJ1ZTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgc2V0SW50ZXJ2YWwoZnVuY3Rpb24gKCkge1xuICAgICAgICAgICAgaWYgKGRpZFNjcm9sbCkge1xuICAgICAgICAgICAgICAgIGRpZFNjcm9sbCA9IGZhbHNlO1xuXG4gICAgICAgICAgICAgICAgaWYgKCQod2luZG93KS5zY3JvbGxUb3AoKSA+IDEwMCkge1xuICAgICAgICAgICAgICAgICAgICBzdGlja3kuYWRkQ2xhc3MoJ3N0dWNrJyk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBzdGlja3kucmVtb3ZlQ2xhc3MoJ3N0dWNrJyk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9LCAyNTApO1xuICAgIH1cbiAgICBmdW5jdGlvbiBjb2xvdXJIb3ZlcigpIHtcbiAgICAgICAgJCgnLnRlYW0tbWVtYmVyIGltZycpLmhvdmVyKFxuICAgICAgICAgICAgZnVuY3Rpb24oKXtcbiAgICAgICAgICAgICAgICB2YXIgaG92ZXIgPSAkKHRoaXMpLmRhdGEoJ2hvdmVyJyk7XG4gICAgICAgICAgICAgICAgJCh0aGlzKS5hdHRyKCdzcmMnLGhvdmVyKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBmdW5jdGlvbigpe1xuICAgICAgICAgICAgICAgIHZhciBub3JtYWwgPSAkKHRoaXMpLmRhdGEoJ3JlZ3VsYXInKTtcbiAgICAgICAgICAgICAgICAkKHRoaXMpLmF0dHIoJ3NyYycsbm9ybWFsKTtcbiAgICAgICAgICAgIH0pO1xuICAgIH1cbiAgICBmdW5jdGlvbiBpbWdBdHRyUmVtb3ZlcigpIHtcbiAgICAgICAgJCgnaW1nJykuZWFjaChmdW5jdGlvbigpe1xuICAgICAgICAgICAgJCh0aGlzKS5yZW1vdmVBdHRyKCd3aWR0aCcpO1xuICAgICAgICAgICAgJCh0aGlzKS5yZW1vdmVBdHRyKCdoZWlnaHQnKTtcbiAgICAgICAgfSk7XG4gICAgfVxuXG59KTtcbiJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ== diff --git a/assets/js/src/ajax-pagination.js b/assets/js/src/ajax-pagination.js index c4ea476..37565ef 100644 --- a/assets/js/src/ajax-pagination.js +++ b/assets/js/src/ajax-pagination.js @@ -12,4 +12,4 @@ $(document).ready(function(){ } }) }); -}); \ No newline at end of file +}); diff --git a/assets/less/ascribe.less b/assets/less/ascribe.less index fe87285..81c9d43 100644 --- a/assets/less/ascribe.less +++ b/assets/less/ascribe.less @@ -21,175 +21,175 @@ // HEADER @chevronOffsetHeader: 60px; header { - overflow: hidden; - padding-bottom: 50px; + overflow: hidden; + padding-bottom: 50px; } header + .chevron-divider { - height: 175px; + height: 175px; } .page-template-template-tour header { - height: 815px; - padding:0; - padding-top: 30px; - margin-bottom: @chevronOffsetHeader; - position: relative; - background-size: cover; - background-repeat: no-repeat; - background-position: center; - overflow: visible; + height: 815px; + padding:0; + padding-top: 30px; + margin-bottom: @chevronOffsetHeader; + position: relative; + background-size: cover; + background-repeat: no-repeat; + background-position: center; + overflow: visible; - .sticky { - padding: 15px 0; - width: 100%; - position: fixed; - background-color: fade(@black,0); - .transition(all); + .sticky { + padding: 15px 0; + width: 100%; + position: fixed; + background-color: fade(@black,0); + .transition(all); - &.stuck { - background-color: fade(@black,100); - z-index:800; + &.stuck { + background-color: fade(@black,100); + z-index:800; - ul { - &.active { - background-color: @black; - padding-bottom: 10px; - } - } - } - } - nav { - float: left; - margin-top: 9px; - .tourNavText; + ul { + &.active { + background-color: @black; + padding-bottom: 10px; + } + } + } + } + nav { + float: left; + margin-top: 9px; + .tourNavText; - ul { - padding: 0 35px; - list-style: none; - position: absolute; + ul { + padding: 0 35px; + list-style: none; + position: absolute; - &.active { - li { - display: block; - &.current-menu-item { - a { - &:after { - transform: rotate(180deg); - } - } - } - } - } + &.active { + li { + display: block; + &.current-menu-item { + a { + &:after { + transform: rotate(180deg); + } + } + } + } + } - li { - display: none; - text-align: right; + li { + display: none; + text-align: right; - &.current-menu-item { - display: block; + &.current-menu-item { + display: block; - a { - position: relative; - font-size: 25px; + a { + position: relative; + font-size: 25px; - &:before { - content: 'for '; - display: inline-block; - margin-right: 6px; - } - &:after { - content: ''; - background-image: url(../img/arrow.png); - background-repeat: no-repeat; - width: 10px; - height: 8px; - display: inline-block; - position: absolute; - top: 10px; - right: -25px; - font-size: 15px; - } - } - } - a { - width: 100%; - font-size: 20px; - } - } + &:before { + content: 'for '; + display: inline-block; + margin-right: 6px; + } + &:after { + content: ''; + background-image: url(../img/arrow.png); + background-repeat: no-repeat; + width: 10px; + height: 8px; + display: inline-block; + position: absolute; + top: 10px; + right: -25px; + font-size: 15px; + } + } + } + a { + width: 100%; + font-size: 20px; + } + } - } - } - .description { - clear: both; - width: 80%; - margin: 190px auto 0; - text-align: center; - } - h1 { - .heroText; - margin-bottom: 160px; - } - .app-links { - color: @white; - margin-top: 10px; + } + } + .description { + clear: both; + width: 80%; + margin: 190px auto 0; + text-align: center; + } + h1 { + .heroText; + margin-bottom: 160px; + } + .app-links { + color: @white; + margin-top: 10px; - a { - color: @white; + a { + color: @white; - &:hover { - color: @pink; - } - } - } - .chevron-divider { - position: absolute; - bottom: -@chevronOffsetHeader; - height: 150px; - } + &:hover { + color: @pink; + } + } + } + .chevron-divider { + position: absolute; + bottom: -@chevronOffsetHeader; + height: 150px; + } - @media screen and (max-width: @tabletWidth) { - height: 600px; + @media screen and (max-width: @tabletWidth) { + height: 600px; - h1 { - margin-bottom: 80px; - } + h1 { + margin-bottom: 80px; + } - .description { - margin: 160px auto 0; - font-size: 34px; - width: 100%; - } - } - @media screen and (max-width: @phoneWidth) { - padding-top: 10px; - .description { - margin: 90px auto 0; - font-size: 34px; - width: 100%; - } - h1 { - font-size:26px; - line-height: 33px; - margin-bottom:0; - } - .button { - position: absolute; - bottom: 150px; - left: 50%; - transform: translateX(-50%); - } - .sticky { - position: absolute; + .description { + margin: 160px auto 0; + font-size: 34px; + width: 100%; + } + } + @media screen and (max-width: @phoneWidth) { + padding-top: 10px; + .description { + margin: 90px auto 0; + font-size: 34px; + width: 100%; + } + h1 { + font-size:26px; + line-height: 33px; + margin-bottom:0; + } + .button { + position: absolute; + bottom: 150px; + left: 50%; + transform: translateX(-50%); + } + .sticky { + position: absolute; - &.stuck { - background-color: fade(@black,0); - } - } - .app-links { - margin-top:5px; - } - } + &.stuck { + background-color: fade(@black,0); + } + } + .app-links { + margin-top:5px; + } + } } .page-template-template-companywhite header, .page-template-template-general header, @@ -200,707 +200,707 @@ header + .chevron-divider { .archive header, .single-post header { - .logo { - margin-top: 30px; - position:relative; - z-index:10; - } - nav { - position: relative; - width: 100%; - text-align: center; - margin: 0; - top: 20px; + .logo { + margin-top: 30px; + position:relative; + z-index:10; + } + nav { + position: relative; + width: 100%; + text-align: center; + margin: 0; + top: 20px; - ul { - li { - display: inline-block; - border: 1px solid #b8b9b9; - margin: 0 15px 0 15px; - height: 60px; - padding: 0 30px; - width: 160px; - text-align: center; - vertical-align: top; + ul { + li { + display: inline-block; + border: 1px solid #b8b9b9; + margin: 0 15px 0 15px; + height: 60px; + padding: 0 30px; + width: 160px; + text-align: center; + vertical-align: top; - a { - color: #000; - display: block; - font-size: 16px; - position: relative; - top: 50%; - transform: translateY(-50%); + a { + color: #000; + display: block; + font-size: 16px; + position: relative; + top: 50%; + transform: translateY(-50%); - &:after { - content: ' Tour'; - } - } + &:after { + content: ' Tour'; + } + } - &:hover { - border: 1px solid @pink; + &:hover { + border: 1px solid @pink; - a { - color: @pink; - } - } - } - } - } + a { + color: @pink; + } + } + } + } + } - @media screen and (max-width: 910px) { - nav { - ul { - li { - margin-right: 10px; - width: 120px; - padding: 0 10px; - } - } - } - } - @media screen and (max-width: 750px) { - .tour-switcher { - display: none; - } - .phone-and-up { - display: none; - } - .phone-only { - display: block; - } - .hamburger { - display: inline-block; - } - .mobile-nav { - display:none; - &.active { - display:block; - } - } - } + @media screen and (max-width: 910px) { + nav { + ul { + li { + margin-right: 10px; + width: 120px; + padding: 0 10px; + } + } + } + } + @media screen and (max-width: 750px) { + .tour-switcher { + display: none; + } + .phone-and-up { + display: none; + } + .phone-only { + display: block; + } + .hamburger { + display: inline-block; + } + .mobile-nav { + display:none; + &.active { + display:block; + } + } + } } .blog header, .archive header, .single-post header { - &:extend(.blueGradient); - padding-bottom:0; + &:extend(.blueGradient); + padding-bottom:0; - nav { + nav { - ul { - li { - border: 1px solid fade(@white,30); + ul { + li { + border: 1px solid fade(@white,30); - a { - color: @white; - } + a { + color: @white; + } - &:hover { - background-color: fade(@white,30); - border: 1px solid fade(@white,30); + &:hover { + background-color: fade(@white,30); + border: 1px solid fade(@white,30); - a { - color: @white; - } - } - } - } - } + a { + color: @white; + } + } + } + } + } - .chevron-divider { - position: absolute; - top: 110px; - z-index: 1; - } - h1 { - color: @white; - font-size: 54px; - position: relative; - z-index: 2; - margin-top: 100px; - margin-bottom: 50px; - text-align: center; - a { - color: @white; + .chevron-divider { + position: absolute; + top: 110px; + z-index: 1; + } + h1 { + color: @white; + font-size: 54px; + position: relative; + z-index: 2; + margin-top: 100px; + margin-bottom: 50px; + text-align: center; + a { + color: @white; - &:hover { - color: @pink; - } - } - } - .app-links { - color: @white; - a { - color: @white; + &:hover { + color: @pink; + } + } + } + .app-links { + color: @white; + a { + color: @white; - &:hover { - color: @pink; - } - } - } - & + nav { - background-color: @blueBright; - border-top: 2px solid fade(@white,50); + &:hover { + color: @pink; + } + } + } + & + nav { + background-color: @blueBright; + border-top: 2px solid fade(@white,50); - ul { - display:table; - padding: 0 10px; - width: 100%; - } - li { - width: 20%; - display: table; - text-align: center; - vertical-align: middle; - padding: 0; - height: 88px; - float: left; + ul { + display:table; + padding: 0 10px; + width: 100%; + } + li { + width: 20%; + display: table; + text-align: center; + vertical-align: middle; + padding: 0; + height: 88px; + float: left; - &:hover { - background-color: fade(@white,50); - } - } - a { - display: table-cell; - text-align: center; - font-size: 16px; - color: #fff; - height: 88px; - width: 100%; - vertical-align: middle; - padding: 0 10px; - } + &:hover { + background-color: fade(@white,50); + } + } + a { + display: table-cell; + text-align: center; + font-size: 16px; + color: #fff; + height: 88px; + width: 100%; + vertical-align: middle; + padding: 0 10px; + } - @media screen and (max-width: 450px) { - li { - width: 50%; - } - } - } + @media screen and (max-width: 450px) { + li { + width: 50%; + } + } + } } .tour-switcher { - .phone-and-up; + .phone-and-up; } .logo { - float:left; + float:left; - &.phone-only { - width: 30px; - margin-left:10px; - } + &.phone-only { + width: 30px; + margin-left:10px; + } } .app-links { - float: right; - margin-top: 35px; - .signInUpText; - color: @black; - position:relative; - z-index:3; + float: right; + margin-top: 35px; + .signInUpText; + color: @black; + position:relative; + z-index:3; - a { - .signInUpText; - color: @black; + a { + .signInUpText; + color: @black; - &:hover { - color: @pink; - } - } + &:hover { + color: @pink; + } + } } .hamburger { - cursor:pointer; - width: 25px; - margin-left: 15px; - position: relative; - top: 2px; - z-index:50; + cursor:pointer; + width: 25px; + margin-left: 15px; + position: relative; + top: 2px; + z-index:50; - @media screen and (max-width: @phoneWidth) { - display: inline-block; - } + @media screen and (max-width: @phoneWidth) { + display: inline-block; + } } .mobile-nav { - display: none; - background-color: black; - position: absolute; - width: 120%; - left: -10%; - top: 0; - text-align:center; - z-index:4; + display: none; + background-color: black; + position: absolute; + width: 120%; + left: -10%; + top: 0; + text-align:center; + z-index:4; - ul { - padding: 40px 0 20px; - } - li { - font-weight: 400; - padding-bottom: 15px; - font-size: 13px; + ul { + padding: 40px 0 20px; + } + li { + font-weight: 400; + padding-bottom: 15px; + font-size: 13px; - a { - color: @white; + a { + color: @white; - &:hover { - color: @pink; - } - } - &:nth-child(-n+3) { - font-size: 16px; - padding-bottom: 35px; - } - &:nth-child(3) { - border-bottom:1px solid @white; - margin-bottom:25px; - } - } + &:hover { + color: @pink; + } + } + &:nth-child(-n+3) { + font-size: 16px; + padding-bottom: 35px; + } + &:nth-child(3) { + border-bottom:1px solid @white; + margin-bottom:25px; + } + } - @media screen and (max-width: @phoneWidth) { - display:none; - &.active { - display:block; - } - } + @media screen and (max-width: @phoneWidth) { + display:none; + &.active { + display:block; + } + } } // MAIN .above-chevron { - margin-top: -100px; - margin-bottom: -80px; - position: relative; - z-index: 3; + margin-top: -100px; + margin-bottom: -80px; + position: relative; + z-index: 3; } // SUBTEMPLATES .four-oh-four { - font-size: 34px; - line-height: 41px; - text-align: center; - .centered-content-padding { - min-height: 500px; - } + font-size: 34px; + line-height: 41px; + text-align: center; + .centered-content-padding { + min-height: 500px; + } } .subtemplate { - position: relative; - h1 { - .sectionHeader; - } + position: relative; + h1 { + .sectionHeader; + } } .feature-circles { - padding: 75px 0 160px; + padding: 75px 0 160px; - .column-container { - width: calc(~"100% + 100px"); - } - .feature-circle { - .ttl-columns.column-3; - padding-right: 100px; - } - .surround-circle { - width: 33%; - float:left; - padding: 30px; + .column-container { + width: calc(~"100% + 100px"); + } + .feature-circle { + .ttl-columns.column-3; + padding-right: 100px; + } + .surround-circle { + width: 33%; + float:left; + padding: 30px; - .circle { - text-align: center; - position: relative; - border-radius: 100%; - background-clip: padding-box; - border: 4px solid transparent; - &:after { - display: block; - padding-bottom: 100%; - width: 100%; - height: 0; - border-radius: 50%; - background-color: white; - content: ""; - border: 2px solid transparent; - } - &:before { - content: ''; - position:absolute; - z-index:-1; - left:-2px;right:-2px; - top:-2px;bottom:-2px; - border-radius: 50%; - background: linear-gradient(@blueBright,@pink); - } - } - .container { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - } - .wrapper { - display: table; - width: 100%; - height: 100%; - } - .inner { - display: table-cell; - padding: 1em; - vertical-align: middle; - } - h1 { - margin-top: 22px; - } - } - img { - width: 105px; - display: block; - margin: 0 auto 26px; - } - h1 { - .featureCircleH1; - text-align: center; - } - .description { - .copyTextSmall; - } + .circle { + text-align: center; + position: relative; + border-radius: 100%; + background-clip: padding-box; + border: 4px solid transparent; + &:after { + display: block; + padding-bottom: 100%; + width: 100%; + height: 0; + border-radius: 50%; + background-color: white; + content: ""; + border: 2px solid transparent; + } + &:before { + content: ''; + position:absolute; + z-index:-1; + left:-2px;right:-2px; + top:-2px;bottom:-2px; + border-radius: 50%; + background: linear-gradient(@blueBright,@pink); + } + } + .container { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + } + .wrapper { + display: table; + width: 100%; + height: 100%; + } + .inner { + display: table-cell; + padding: 1em; + vertical-align: middle; + } + h1 { + margin-top: 22px; + } + } + img { + width: 105px; + display: block; + margin: 0 auto 26px; + } + h1 { + .featureCircleH1; + text-align: center; + } + .description { + .copyTextSmall; + } - @media screen and (max-width: 900px) { - .surround-circle { - padding: 10px; - } - } - @media screen and (max-width: @tabletWidth) { - padding: 75px 0 100px; - .column-container { - width: calc(~"100% + 50px"); - } + @media screen and (max-width: 900px) { + .surround-circle { + padding: 10px; + } + } + @media screen and (max-width: @tabletWidth) { + padding: 75px 0 100px; + .column-container { + width: calc(~"100% + 50px"); + } - .feature-circle { - padding-right: 50px; - } - .surround-circle { - width: 100%; + .feature-circle { + padding-right: 50px; + } + .surround-circle { + width: 100%; - .circle { - width: 50%; - margin: 0 auto; - } - } - } - @media screen and (max-width: @phoneWidth) { - padding: 40px 0; + .circle { + width: 50%; + margin: 0 auto; + } + } + } + @media screen and (max-width: @phoneWidth) { + padding: 40px 0; - .description { - display: none; - } - h1 { - margin: 10px 0 60px; - } - .surround-circle { - h1 { - margin:0; - } - } - } - @media screen and (max-width: @smallWidth) { - .surround-circle { - .circle { - width: 80%; - } - } - } + .description { + display: none; + } + h1 { + margin: 10px 0 60px; + } + .surround-circle { + h1 { + margin:0; + } + } + } + @media screen and (max-width: @smallWidth) { + .surround-circle { + .circle { + width: 80%; + } + } + } } .case-studies { - height: 685px; - position: relative; + height: 685px; + position: relative; - .case-study { - position: absolute; - top:0; - left:0; - width: 100%; - height: 100%; - background-size: cover; - background-repeat: no-repeat; - background-position: center; - .transition(all,0.3s); - visibility: visible; - opacity: 1; + .case-study { + position: absolute; + top:0; + left:0; + width: 100%; + height: 100%; + background-size: cover; + background-repeat: no-repeat; + background-position: center; + .transition(all,0.3s); + visibility: visible; + opacity: 1; - &.hidden { - visibility: hidden; - opacity: 0; - } - } - .slide-container { - width: 100%; - height: 100%; - position: relative; - left: 0px; - } - .centered-header { - position: relative; - width: 100%; - height: 100%; - } - .description { - white-space: normal; - width: 60%; - background: fade(@black,64); - padding: 25px; - position: absolute; - bottom: 35px; - right:0; - .caseStudyText; - } - p { - margin:0; - } - .slider-action { - width: 80px; - height: 80px; - background-color: @white; - cursor: pointer; - position: absolute; - top: calc(~"50% - 40px"); - z-index: 2; + &.hidden { + visibility: hidden; + opacity: 0; + } + } + .slide-container { + width: 100%; + height: 100%; + position: relative; + left: 0px; + } + .centered-header { + position: relative; + width: 100%; + height: 100%; + } + .description { + white-space: normal; + width: 60%; + background: fade(@black,64); + padding: 25px; + position: absolute; + bottom: 35px; + right:0; + .caseStudyText; + } + p { + margin:0; + } + .slider-action { + width: 80px; + height: 80px; + background-color: @white; + cursor: pointer; + position: absolute; + top: calc(~"50% - 40px"); + z-index: 2; - span { - background-repeat: no-repeat; - display: block; - position:relative; - top:15px; - margin:0 auto; - background-image: url(../../images/leftright.png); - width: 25px; - height: 50px; - } - } - #back { - left:0; + span { + background-repeat: no-repeat; + display: block; + position:relative; + top:15px; + margin:0 auto; + background-image: url(../../images/leftright.png); + width: 25px; + height: 50px; + } + } + #back { + left:0; - span { - background-position: 0 0; - } - } - #forward { - right:0; - span { - background-position: 0 -50px; - } - } + span { + background-position: 0 0; + } + } + #forward { + right:0; + span { + background-position: 0 -50px; + } + } - @media screen and (max-width: @tabletWidth) { - height: 500px; + @media screen and (max-width: @tabletWidth) { + height: 500px; - .description { - font-size: 17px; - line-height: 20px; - width: 70%; - } - .slider-action { - transform: scale(0.7); - } - #back { - transform-origin: left; - } - #forward { - transform-origin: right; - } - } - @media screen and (max-width: @phoneWidth) { - height: 400px; - background-color: black; + .description { + font-size: 17px; + line-height: 20px; + width: 70%; + } + .slider-action { + transform: scale(0.7); + } + #back { + transform-origin: left; + } + #forward { + transform-origin: right; + } + } + @media screen and (max-width: @phoneWidth) { + height: 400px; + background-color: black; - .case-study { - background-size: 100%; - background-position: top; - } - .description { - width: 100%; - background-color: black; - bottom: 0; - } - } + .case-study { + background-size: 100%; + background-position: top; + } + .description { + width: 100%; + background-color: black; + bottom: 0; + } + } } .old-new { - padding-top: 130px; - padding-bottom: 175px; + padding-top: 130px; + padding-bottom: 175px; - h1 { - .sectionHeader; - text-align: center; - } + h1 { + .sectionHeader; + text-align: center; + } - th { - .oldWayNewWayTH; - text-transform: uppercase; - padding-bottom: 15px; - } + th { + .oldWayNewWayTH; + text-transform: uppercase; + padding-bottom: 15px; + } - table { - border-collapse: collapse; - } + table { + border-collapse: collapse; + } - td { - border: 1px solid @blueLight; - vertical-align: middle; - .copyTextSmall; - width: 50%; - padding: 45px 0; - p { - width: 60%; - margin: 0 auto; - } - } - .new { - border-bottom-color: @white; - position: relative; - background-color: @blueLight; + td { + border: 1px solid @blueLight; + vertical-align: middle; + .copyTextSmall; + width: 50%; + padding: 45px 0; + p { + width: 60%; + margin: 0 auto; + } + } + .new { + border-bottom-color: @white; + position: relative; + background-color: @blueLight; - &:before { - position: absolute; - left:-30px; - top: calc(~"50% - 30px"); - content: ''; - display: block; - width: 60px; - height: 60px; - background-image: url(../../images/icon-arrow.png); - background-size:60px; - background-repeat: no-repeat; - } - } - tr { - &:last-of-type { - .new { - border-bottom-color: @blueLight; - } - } - } - @media screen and (max-width: @tabletWidth) { - padding-top: 20px; + &:before { + position: absolute; + left:-30px; + top: calc(~"50% - 30px"); + content: ''; + display: block; + width: 60px; + height: 60px; + background-image: url(../../images/icon-arrow.png); + background-size:60px; + background-repeat: no-repeat; + } + } + tr { + &:last-of-type { + .new { + border-bottom-color: @blueLight; + } + } + } + @media screen and (max-width: @tabletWidth) { + padding-top: 20px; - td { - text-align: center; - } - .centered-content { - padding:0; - } - } - @media screen and (max-width: @phoneWidth) { - .new { - &:before { - left:-20px; - width: 40px; - height: 40px; - background-size: 40px; - } - } - } + td { + text-align: center; + } + .centered-content { + padding:0; + } + } + @media screen and (max-width: @phoneWidth) { + .new { + &:before { + left:-20px; + width: 40px; + height: 40px; + background-size: 40px; + } + } + } } .product-overview { - padding: 175px 0; - border-top: 1px solid @greyHr; + padding: 175px 0; + border-top: 1px solid @greyHr; - h1 { - .sectionHeader; - } - p { - .copyTextSmall; - } + h1 { + .sectionHeader; + } + p { + .copyTextSmall; + } - &:nth-of-type(odd) { - img { - float: left; - } - .text-column { - float: right; - } - } - &:nth-of-type(even) { - img { - float: right; - } - } - .text-column { - width: 45%; - } - img { - max-width: 55%; - } + &:nth-of-type(odd) { + img { + float: left; + } + .text-column { + float: right; + } + } + &:nth-of-type(even) { + img { + float: right; + } + } + .text-column { + width: 45%; + } + img { + max-width: 55%; + } - &.small { - border-top: 0; - border-bottom: 25px solid @greyBg; - padding: 100px 0; + &.small { + border-top: 0; + border-bottom: 25px solid @greyBg; + padding: 100px 0; - h1 { - font-size: 22px; - margin:0; - } - p { - .copyText; - } - .text-column { - text-align: center; - } - } + h1 { + font-size: 22px; + margin:0; + } + p { + .copyText; + } + .text-column { + text-align: center; + } + } - @media screen and (max-width: @tabletWidth) { - padding: 100px 0; - &:first-of-type { - border-top: 0; - } + @media screen and (max-width: @tabletWidth) { + padding: 100px 0; + &:first-of-type { + border-top: 0; + } - img { - max-width: 100%; - width: 55%; - } - .text-column { - text-align: center; - } - } - @media screen and (max-width: @phoneWidth) { - img { - display: none; - } - .text-column { - width: 100%; - } - } + img { + max-width: 100%; + width: 55%; + } + .text-column { + text-align: center; + } + } + @media screen and (max-width: @phoneWidth) { + img { + display: none; + } + .text-column { + width: 100%; + } + } } .blue-box { - padding: 175px 0; - background-color: @greyBg; - .blueBoxCopy; + padding: 175px 0; + background-color: @greyBg; + .blueBoxCopy; text-align: center; - .blue-copy { - background-color: @blueBright; - padding: 70px 0 110px; + .blue-copy { + background-color: @blueBright; + padding: 70px 0 110px; - div { - width: 80%; - margin: 0 auto; - text-align: center; - } - } - h1 { - .blueBoxTitle; - } + div { + width: 80%; + margin: 0 auto; + text-align: center; + } + } + h1 { + .blueBoxTitle; + } - @media screen and (max-width: @tabletWidth) { - padding: 75px 0; - } - @media screen and (max-width: @phoneWidth) { - h1 { - font-size: 30px; - } - .blue-copy { - padding: 40px 0 60px; - font-size: 24px; + @media screen and (max-width: @tabletWidth) { + padding: 75px 0; + } + @media screen and (max-width: @phoneWidth) { + h1 { + font-size: 30px; + } + .blue-copy { + padding: 40px 0 60px; + font-size: 24px; - div { - line-height: 31px; - } - } - } + div { + line-height: 31px; + } + } + } } @@ -911,9 +911,9 @@ header + .chevron-divider { // TODO: this padding value should come from more general component like .section or global variable padding: 20px 0; min-height: 300px; - text-align: center; - background-size: cover; - background-repeat: no-repeat; + text-align: center; + background-size: cover; + background-repeat: no-repeat; background-position: 55% 50%; // centering from the future @@ -925,7 +925,7 @@ header + .chevron-divider { padding: 40px 0; min-height: 520px; background-position: center; - } + } // TODO: this should be the generic layout container for everything .cta__container { @@ -940,9 +940,9 @@ header + .chevron-divider { text-align: center; } - .cta__button { - margin: 0 auto; - } + .cta__button { + margin: 0 auto; + } } @@ -950,29 +950,29 @@ header + .chevron-divider { .galleries-marketplaces { - padding: 145px 0 130px; - text-align: center; + padding: 145px 0 130px; + text-align: center; - h1 { - .galleriesPressTitle; - } - img { - display:block; - margin-bottom: 80px; - } + h1 { + .galleriesPressTitle; + } + img { + display:block; + margin-bottom: 80px; + } - @media screen and (max-width: @tabletWidth) { - padding: 75px 0 30px; + @media screen and (max-width: @tabletWidth) { + padding: 75px 0 30px; - h1 { - font-size: 27px; - } + h1 { + font-size: 27px; + } - } + } } .blog-features { - background-color: @greyBg; - padding: 75px 0; + background-color: @greyBg; + padding: 75px 0; .centered-content > h1 { .galleriesPressTitle; @@ -980,72 +980,72 @@ header + .chevron-divider { text-transform: none; } - .blog { - .ttl-columns.column-3; - margin-bottom: 40px; + .blog { + .ttl-columns.column-3; + margin-bottom: 40px; - div { - background-color: white; - padding-bottom: 15px; - min-height: 225px; - } - } + div { + background-color: white; + padding-bottom: 15px; + min-height: 225px; + } + } - h2 { - .featureBlogDesc; - margin:10px 10px 0; - padding: 0 10px; + h2 { + .featureBlogDesc; + margin:10px 10px 0; + padding: 0 10px; - } - h1 { - .featureBlogTitle; - margin:0 10px; - text-align: left; - padding: 0 10px; - } - @media screen and (max-width: @phoneWidth) { - .blog { - width: 50%; + } + h1 { + .featureBlogTitle; + margin:0 10px; + text-align: left; + padding: 0 10px; + } + @media screen and (max-width: @phoneWidth) { + .blog { + width: 50%; - } - } - @media screen and (max-width: @smallWidth) { - .blog { - width: 100%; - div { - width: 80%; - margin:0 auto; - img { - width: 100%; - } - } - } - } + } + } + @media screen and (max-width: @smallWidth) { + .blog { + width: 100%; + div { + width: 80%; + margin:0 auto; + img { + width: 100%; + } + } + } + } } .team { - .copyTextSmall; - text-align: center; + .copyTextSmall; + text-align: center; - .column-container { - text-align: left; - } + .column-container { + text-align: left; + } - .intro { - margin-bottom: 60px; - text-align: left; - } - p { - margin:0; - } - &.tour-page { - padding: 70px 0; - background-color: @greyBg; - } - @media screen and (max-width: @tabletWidth) { - .intro { - text-align: center; - } - } + .intro { + margin-bottom: 60px; + text-align: left; + } + p { + margin:0; + } + &.tour-page { + padding: 70px 0; + background-color: @greyBg; + } + @media screen and (max-width: @tabletWidth) { + .intro { + text-align: center; + } + } } @@ -1070,786 +1070,786 @@ header + .chevron-divider { } @media screen and (max-width: @phoneWidth) { - width: 50%; - } + width: 50%; + } } .page-template-template-companywhite .team { - @media screen and (max-width: @tabletWidth) { - .intro { - text-align: left; - } - } + @media screen and (max-width: @tabletWidth) { + .intro { + text-align: left; + } + } } .faq { - .copyTextMedium; - dl,dt,dd { - margin:0; - padding:0; - } - .featured-faqs { - margin-bottom:75px; + .copyTextMedium; + dl,dt,dd { + margin:0; + padding:0; + } + .featured-faqs { + margin-bottom:75px; - dt { - &:extend(.fontRegular); - font-size: 25px; - line-height: 32px; - color: @pink; - cursor: pointer; - } - dd { - max-height:0; - overflow-y:hidden; - .transition(); - margin-bottom: 5px; + dt { + &:extend(.fontRegular); + font-size: 25px; + line-height: 32px; + color: @pink; + cursor: pointer; + } + dd { + max-height:0; + overflow-y:hidden; + .transition(); + margin-bottom: 5px; - &.open { - max-height: 800px; - } - } - } - .regular-faqs { - dt { - &:extend(.fontRegular); - } - dd { - margin-bottom: 60px; - } - } + &.open { + max-height: 800px; + } + } + } + .regular-faqs { + dt { + &:extend(.fontRegular); + } + dd { + margin-bottom: 60px; + } + } } .values { - padding-bottom: 150px; - .column-container { - width: calc(~"100% + 175px"); - } - .value { - .ttl-columns.column-2; - .copyText; - padding-right: 175px; + padding-bottom: 150px; + .column-container { + width: calc(~"100% + 175px"); + } + .value { + .ttl-columns.column-2; + .copyText; + padding-right: 175px; - h1 { - &:extend(.fontRegular); - color: @black; - font-size: 25px; - line-height: 1; - margin-bottom:0; - text-align: left; - } + h1 { + &:extend(.fontRegular); + color: @black; + font-size: 25px; + line-height: 1; + margin-bottom:0; + text-align: left; + } - } + } } .careers { - background-color: @greyBg; - text-align: center; - padding: 90px 0 140px; - margin-bottom:75px; + background-color: @greyBg; + text-align: center; + padding: 90px 0 140px; + margin-bottom:75px; - a { - &:extend(.fontLight); - color: @black; - font-size: 27px; - line-height: 32px; + a { + &:extend(.fontLight); + color: @black; + font-size: 27px; + line-height: 32px; - &:hover { - color: @pink; - } - } - li { - margin-bottom: 35px; + &:hover { + color: @pink; + } + } + li { + margin-bottom: 35px; - } - ul { - list-style: none; - } + } + ul { + list-style: none; + } } .contact { - .form { - .ttl-columns.columnThreeQuarters; - .copyText; - } - .contact-points { - .ttl-columns.column-4; - } + .form { + .ttl-columns.columnThreeQuarters; + .copyText; + } + .contact-points { + .ttl-columns.column-4; + } - label { - .copyTextSmall; + label { + .copyTextSmall; - &.required { - &:after { - content: '*'; - color: @pink; - } - } - } - input, textarea { - margin-bottom: 20px; - padding: 10px; - color: @greyText; - width: 80%; - margin-top: 5px; - border: 1px solid @greyHr; - outline: none; + &.required { + &:after { + content: '*'; + color: @pink; + } + } + } + input, textarea { + margin-bottom: 20px; + padding: 10px; + color: @greyText; + width: 80%; + margin-top: 5px; + border: 1px solid @greyHr; + outline: none; - &[aria-invalid=true] { - border: 1px solid @pink; - } - } - input[type=submit] { - .button; - .button.blue; - width: auto; - } - .contact-point { - .copyText; - h1 { - &:extend(.fontRegular); - font-size: 19px; - color: @pink; - text-align: left; - margin-bottom:0; - } - } - .required-info { - .copyTextSmall; - color: @pink; - } - .wpcf7-not-valid-tip { - .copyTextSmall; - color: @pink; - margin-top: -20px; - margin-bottom: 10px; - } - div.wpcf7-validation-errors { - border: none; - padding:0; - margin:0; - } - div.wpcf7-response-output, div.wpcf7-display-none, div.wpcf7-mail-sent-ok { - border: 0!important; - } + &[aria-invalid=true] { + border: 1px solid @pink; + } + } + input[type=submit] { + .button; + .button.blue; + width: auto; + } + .contact-point { + .copyText; + h1 { + &:extend(.fontRegular); + font-size: 19px; + color: @pink; + text-align: left; + margin-bottom:0; + } + } + .required-info { + .copyTextSmall; + color: @pink; + } + .wpcf7-not-valid-tip { + .copyTextSmall; + color: @pink; + margin-top: -20px; + margin-bottom: 10px; + } + div.wpcf7-validation-errors { + border: none; + padding:0; + margin:0; + } + div.wpcf7-response-output, div.wpcf7-display-none, div.wpcf7-mail-sent-ok { + border: 0!important; + } } .press-articles { - .copyText; - text-align: center; - blockquote { - margin: 0; - } + .copyText; + text-align: center; + blockquote { + margin: 0; + } - .press-article { - text-align: left; - margin-bottom: 35px; - padding-bottom: 35px; - border-bottom: 1px solid @greyHr; - h1 { - .teamName; - margin-bottom:0; - text-align: left; - a { - color: @black; + .press-article { + text-align: left; + margin-bottom: 35px; + padding-bottom: 35px; + border-bottom: 1px solid @greyHr; + h1 { + .teamName; + margin-bottom:0; + text-align: left; + a { + color: @black; - &:hover { - color: @blueBright; - } - } - } - } + &:hover { + color: @blueBright; + } + } + } + } } .downloads { - .left { - float: left; - } - .right { - float: right; - } + .left { + float: left; + } + .right { + float: right; + } } .upcoming-events, .past-events { - .event-container { - width: 70%; - float:left; - } - .event-archives { - width: 30%; - float: right; - padding-left: 10%; - padding-top: 50px; + .event-container { + width: 70%; + float:left; + } + .event-archives { + width: 30%; + float: right; + padding-left: 10%; + padding-top: 50px; - h1 { - text-align: left; - font-size: 19px; - color: @pink; - font-weight: 400; + h1 { + text-align: left; + font-size: 19px; + color: @pink; + font-weight: 400; - a { - color:@pink; + a { + color:@pink; - &:hover { - color: @black; - } - } - } - ul { - list-style: none; - margin:0; - margin-bottom: 40px; - padding:0; + &:hover { + color: @black; + } + } + } + ul { + list-style: none; + margin:0; + margin-bottom: 40px; + padding:0; - li { - font-size: 18px; - line-height: 1.2; - } + li { + font-size: 18px; + line-height: 1.2; + } - a { - color: @black; + a { + color: @black; - &:hover { - color: @pink; - } - } - } - } - h2 { - text-align: center; - position:relative; - font-size: 19px; + &:hover { + color: @pink; + } + } + } + } + h2 { + text-align: center; + position:relative; + font-size: 19px; - span { - background-color: white; - position: relative; - z-index: 1; - padding: 0 20px; - } + span { + background-color: white; + position: relative; + z-index: 1; + padding: 0 20px; + } - &:after { - content: ''; - display:block; - height: 1px; - background-color: @greyHr; - position: absolute; - top: 50%; - left: 0; - right: 0; - } - } + &:after { + content: ''; + display:block; + height: 1px; + background-color: @greyHr; + position: absolute; + top: 50%; + left: 0; + right: 0; + } + } - .event { - .copyText; + .event { + .copyText; - h1 { - .h4; - text-align:left; - margin-bottom:0; - font-size: 19px; - a { - color: @black; + h1 { + .h4; + text-align:left; + margin-bottom:0; + font-size: 19px; + a { + color: @black; - &:hover { - color: @pink; - } - } - } - time { - .copyTextMedium; - margin-bottom: 5px; - display: block; - } - border-top: 1px solid @greyHr; - padding-bottom:30px; - margin-bottom:30px; - } - h2 + .event { - border-top: 0; - } - blockquote { - margin:0; - padding:0; - } + &:hover { + color: @pink; + } + } + } + time { + .copyTextMedium; + margin-bottom: 5px; + display: block; + } + border-top: 1px solid @greyHr; + padding-bottom:30px; + margin-bottom:30px; + } + h2 + .event { + border-top: 0; + } + blockquote { + margin:0; + padding:0; + } - & + .chevron-divider { - height: 280px; - margin-top: -100px; - margin-bottom: -135px; - position: relative; - z-index:-1; - } + & + .chevron-divider { + height: 280px; + margin-top: -100px; + margin-bottom: -135px; + position: relative; + z-index:-1; + } - @media screen and (max-width: 550px) { - .event-container, .event-archives { - width: 100%; - float: none; - } - .event-archives { - padding: 0; - } - } + @media screen and (max-width: 550px) { + .event-container, .event-archives { + width: 100%; + float: none; + } + .event-archives { + padding: 0; + } + } } .short-descriptions { - padding-top: 35px; - text-align: center; - .copyText; + padding-top: 35px; + text-align: center; + .copyText; - .centered-content { - & > h1 { - margin-bottom:0; - } - } + .centered-content { + & > h1 { + margin-bottom:0; + } + } - .short-description { - .ttl-columns.column-3; - .copyText; - margin-bottom: 40px; + .short-description { + .ttl-columns.column-3; + .copyText; + margin-bottom: 40px; - h1 { - font-size: 22px; - color: @pink; - } - } + h1 { + font-size: 22px; + color: @pink; + } + } - @media screen and (max-width: @phoneWidth) { - .short-description { - margin-bottom:0; - } - } + @media screen and (max-width: @phoneWidth) { + .short-description { + margin-bottom:0; + } + } } .content-boxed { - background-color: @greyBg; - padding-top: 50px; + background-color: @greyBg; + padding-top: 50px; - .centered-content-padding { - background-color: @greyBg; - } + .centered-content-padding { + background-color: @greyBg; + } - .centered-content { - & > div { - border: 1px solid @pink; - background-color: @white; - padding: 60px 10%; - text-align: center; - .copyText; + .centered-content { + & > div { + border: 1px solid @pink; + background-color: @white; + padding: 60px 10%; + text-align: center; + .copyText; - & > ul { - text-align: left; - list-style: none; + & > ul { + text-align: left; + list-style: none; - li { - margin-bottom: 35px; - } - ul { - margin-left: 10%; - text-align: left; - list-style-type: disc; + li { + margin-bottom: 35px; + } + ul { + margin-left: 10%; + text-align: left; + list-style-type: disc; - li { - margin-bottom:0; - } - } - } + li { + margin-bottom:0; + } + } + } - } + } - p { - max-width: 640px; - } - img { - margin: 30px 0; - } - } + p { + max-width: 640px; + } + img { + margin: 30px 0; + } + } - .centered-content > div, - .existing-new .content { - font-size: 14px; - } - @media screen and (max-width: @phoneWidth) { + .centered-content > div, + .existing-new .content { + font-size: 14px; + } + @media screen and (max-width: @phoneWidth) { - .centered-content { - & > div { - border:0; - padding: 60px 2%; - .copyTextSmall; - } - } - } + .centered-content { + & > div { + border:0; + padding: 60px 2%; + .copyTextSmall; + } + } + } } .existing-new { - background-color: @greyBg; - padding: 90px 0 120px; + background-color: @greyBg; + padding: 90px 0 120px; - .top-tab { - .ttl-columns.column-2; + .top-tab { + .ttl-columns.column-2; - div { - padding: 25px 0; - text-align: center; - cursor: pointer; - text-transform: uppercase; - .oldWayNewWayTH; - color: @black; - font-weight: 400; - } + div { + padding: 25px 0; + text-align: center; + cursor: pointer; + text-transform: uppercase; + .oldWayNewWayTH; + color: @black; + font-weight: 400; + } - &.active { + &.active { - div { - border: 1px solid @pink; - border-bottom: 0; - background-color: @white; - color: @pink; - } - } - } - .content { - text-align: center; - display: none; - background-color: @white; - border: 1px solid @pink; - padding: 60px 10%; - margin-top: -1px; - .copyText; + div { + border: 1px solid @pink; + border-bottom: 0; + background-color: @white; + color: @pink; + } + } + } + .content { + text-align: center; + display: none; + background-color: @white; + border: 1px solid @pink; + padding: 60px 10%; + margin-top: -1px; + .copyText; - &.active { - display: block; - } - } - .content > ul { - text-align: left; - list-style: none; + &.active { + display: block; + } + } + .content > ul { + text-align: left; + list-style: none; - li { - margin-bottom: 35px; - } - ul { - margin-left: 10%; - text-align: left; - list-style-type: disc; + li { + margin-bottom: 35px; + } + ul { + margin-left: 10%; + text-align: left; + list-style-type: disc; - li { - margin-bottom:0; - } - } - } - .button { - .button.pink; - } + li { + margin-bottom:0; + } + } + } + .button { + .button.pink; + } - @media screen and (max-width: @phoneWidth) { - .top-tab { - display: none; - } - .content { - display: block; - } - } + @media screen and (max-width: @phoneWidth) { + .top-tab { + display: none; + } + .content { + display: block; + } + } } .page-template-template-tour .subtemplate.content { - .copyText; - text-align: center; + .copyText; + text-align: center; - &.grey { - background-color: @greyBg; + &.grey { + background-color: @greyBg; - .centered-content-padding { - background-color: @greyBg; - } - .centered-content { - background-color: @greyBg; - } - h1 { - margin-top: 55px; - } - } + .centered-content-padding { + background-color: @greyBg; + } + .centered-content { + background-color: @greyBg; + } + h1 { + margin-top: 55px; + } + } } .get-started { - padding-top: 70px; - padding-bottom: 230px; - .copyText; + padding-top: 70px; + padding-bottom: 230px; + .copyText; - .column-container { - width: calc(~"100% + 90px"); - } - .methods-of-use { - .ttl-columns.column-2; - padding-right: 90px; - text-align: center; - .copyText; + .column-container { + width: calc(~"100% + 90px"); + } + .methods-of-use { + .ttl-columns.column-2; + padding-right: 90px; + text-align: center; + .copyText; - h1 { - .h2; - text-transform: uppercase; - font-weight: 200; - } - p { - width: 90%; - margin: 0 auto; - } - } + h1 { + .h2; + text-transform: uppercase; + font-weight: 200; + } + p { + width: 90%; + margin: 0 auto; + } + } - @media screen and (max-width: @phoneWidth) { - padding-bottom:100px; + @media screen and (max-width: @phoneWidth) { + padding-bottom:100px; - .description { - text-align: center; - } - } + .description { + text-align: center; + } + } } .pricing { - background-repeat: no-repeat; - background-size: cover; - height: 470px; - padding-top: 80px; - text-align: center; - color: @white; - font-weight: 400; + background-repeat: no-repeat; + background-size: cover; + height: 470px; + padding-top: 80px; + text-align: center; + color: @white; + font-weight: 400; - h1 { - color: @white; - margin-bottom: 10px; - } - .pricing-detail { - .ttl-columns.column-2; - margin-bottom: 30px; + h1 { + color: @white; + margin-bottom: 10px; + } + .pricing-detail { + .ttl-columns.column-2; + margin-bottom: 30px; - div { - height: 135px; - text-align: center; - background-color: @white; - .h1; - color: @pink; + div { + height: 135px; + text-align: center; + background-color: @white; + .h1; + color: @pink; - p { - position: relative; - top: 50%; - transform: translateY(-50%); - } - } - small { - color: @black; - font-size: 16px; - display: block; - margin-top: 7px; - } - } - a { - color: @white; - &:hover { - color:@pink; - } - } + p { + position: relative; + top: 50%; + transform: translateY(-50%); + } + } + small { + color: @black; + font-size: 16px; + display: block; + margin-top: 7px; + } + } + a { + color: @white; + &:hover { + color:@pink; + } + } - @media screen and (max-width: @phoneWidth) { - padding-top:0; + @media screen and (max-width: @phoneWidth) { + padding-top:0; - .pricing-detail { - div { - height:80px; - font-size: 20px; - } - } - } + .pricing-detail { + div { + height:80px; + font-size: 20px; + } + } + } } // BLOG .blog .column-container { - width: calc(~"100% + 70px"); + width: calc(~"100% + 70px"); } article.post { - padding-top: 40px; - padding-bottom: 50px; - border-bottom: 2px solid #e5e5e5; - h2 { - margin:0; - font-size: 12px; - &:extend(.fontLight); - } - .post-categories { - list-style: none; - font-size: 12px; - &:extend(.fontLight); - } - h1 { - margin-top:0; - } - .image { - width: 100%; - img { - display: block; - max-width: 100%; - width: 100%; - } - } + padding-top: 40px; + padding-bottom: 50px; + border-bottom: 2px solid #e5e5e5; + h2 { + margin:0; + font-size: 12px; + &:extend(.fontLight); + } + .post-categories { + list-style: none; + font-size: 12px; + &:extend(.fontLight); + } + h1 { + margin-top:0; + } + .image { + width: 100%; + img { + display: block; + max-width: 100%; + width: 100%; + } + } - .meta { - .chevron-divider; - opacity: 1; - line-height: 75px; - height: 75px; - padding-left: 15px; - margin-bottom: 35px; - font-weight: 500; - font-size: 16px; - } + .meta { + .chevron-divider; + opacity: 1; + line-height: 75px; + height: 75px; + padding-left: 15px; + margin-bottom: 35px; + font-weight: 500; + font-size: 16px; + } } .blog-column { - .ttl-columns.columnTwoThirds; - padding-right: 70px; + .ttl-columns.columnTwoThirds; + padding-right: 70px; } .blog-sidebar { - .ttl-columns.column-3; - padding-right: 70px; - padding-top: 40px; + .ttl-columns.column-3; + padding-right: 70px; + padding-top: 40px; - img { - display:block; - margin-bottom: 60px; - } + img { + display:block; + margin-bottom: 60px; + } - .sidebar-blog-features { - .copyText; + .sidebar-blog-features { + .copyText; - h1 { - font-size: 19px; - &:extend(.fontRegular); - color: @pink; - margin-bottom:0; - } - time { - font-size:18px; - display:block; - margin-bottom: 5px; - } - a { - color: @black; - &:hover { - opacity: .3; - } - } - .blog { - margin-bottom: 70px; + h1 { + font-size: 19px; + &:extend(.fontRegular); + color: @pink; + margin-bottom:0; + } + time { + font-size:18px; + display:block; + margin-bottom: 5px; + } + a { + color: @black; + &:hover { + opacity: .3; + } + } + .blog { + margin-bottom: 70px; - &:hover { - opacity: 0.3; - } - } - } + &:hover { + opacity: 0.3; + } + } + } - @media screen and (max-width: @middleWidth) { - width: 50%; - min-width: 260px; - display: block; - margin:0 auto; - } + @media screen and (max-width: @middleWidth) { + width: 50%; + min-width: 260px; + display: block; + margin:0 auto; + } } .single-post { - .entry { - .copyText; - width: 80%; - } - .article-post { - border-bottom:0; - } + .entry { + .copyText; + width: 80%; + } + .article-post { + border-bottom:0; + } - @media screen and (max-width: 500px) { - .entry { - width: 100%; - } - } + @media screen and (max-width: 500px) { + .entry { + width: 100%; + } + } } // FOOTER footer { - .footerText; + .footerText; - a { - .footerText; - width: 100%; - &:hover { - .fontRegular; - color: @white; - } - } - .top-footer { - background-color: @greyFooter; - padding: 50px 0 40px; + a { + .footerText; + width: 100%; + &:hover { + .fontRegular; + color: @white; + } + } + .top-footer { + background-color: @greyFooter; + padding: 50px 0 40px; - ul { - columns: 3; - width: 75%; - float: left; - } - } - ul { - list-style: none; - } - .contact { - width: 25%; - float:right; - } - .bottom-footer { - .subfooterText; - padding: 20px 0 10px; + ul { + columns: 3; + width: 75%; + float: left; + } + } + ul { + list-style: none; + } + .contact { + width: 25%; + float:right; + } + .bottom-footer { + .subfooterText; + padding: 20px 0 10px; - a { - .subfooterText; - } + a { + .subfooterText; + } - .menu { - float: left; - margin-left: 15px; + .menu { + float: left; + margin-left: 15px; - li { - display: inline-block; - border-left: 1px solid @blueDeep; - padding: 0 15px; + li { + display: inline-block; + border-left: 1px solid @blueDeep; + padding: 0 15px; - &:nth-of-type(1) { - width: 60px; - } - &:nth-of-type(2) { - width: 130px; - } - } - } - .social { + &:nth-of-type(1) { + width: 60px; + } + &:nth-of-type(2) { + width: 130px; + } + } + } + .social { float: right; margin-top: -10px; - li { - display: inline-block; - } - } - } - .eu-fund { - float: left; + li { + display: inline-block; + } + } + } + .eu-fund { + float: left; width: 150px; margin: -15px 10px 0 0; - } - .copyright { - float: left; - } - .button { - margin-bottom: 10px; + } + .copyright { + float: left; + } + .button { + margin-bottom: 10px; - &:hover { - text-decoration: none; - } - } + &:hover { + text-decoration: none; + } + } // FIXME - @media screen and (max-width: 850px) { + @media screen and (max-width: 850px) { .eu-fund { float: none; margin: -15px auto 10px auto; text-align: center; } - .copyright { - float: none; - margin-bottom: 10px; + .copyright { + float: none; + margin-bottom: 10px; text-align: center; - } + } .bottom-footer { .menu { float: none; @@ -1868,36 +1868,36 @@ footer { } } - @media screen and (max-width: @middleWidth) { - .top-footer { - ul { - display: none; - } - } - .button { - display: inline-block; - width: auto; - } - .contact { - width:100%; - text-align:center; - } - .bottom-footer { - text-align:center; + @media screen and (max-width: @middleWidth) { + .top-footer { + ul { + display: none; + } + } + .button { + display: inline-block; + width: auto; + } + .contact { + width:100%; + text-align:center; + } + .bottom-footer { + text-align:center; - .menu { - float: none; - margin-bottom: 15px; + .menu { + float: none; + margin-bottom: 15px; - li:first-of-type { - border-left:0; - } - } - .social { - float: none; - } - } - } + li:first-of-type { + border-left:0; + } + } + .social { + float: none; + } + } + } } @@ -1905,98 +1905,98 @@ footer { // ASCRIBE CHANGES .page-template-template-tour header .sticky.stuck { - top: 0; + top: 0; } .page-template-template-tour header .sticky { - top: 30px; + top: 30px; } .case-studies #forward, .case-studies #back { - display: none; + display: none; } .home.page .feature-circles p, .old-new p, .centered-prodFeat p, .get-started .description p { - text-align: center; + text-align: center; } .feature-circles .surround-circle .inner { - padding: 2em; + padding: 2em; } .short-descriptions .short-description h1 { - font-size: 20px; + font-size: 20px; } .short-descriptions .short-description { - font-size: 15px; + font-size: 15px; } .subtemplate h1 { - margin: 20px 0; + margin: 20px 0; } .centered-footer { - max-width: 900px; + max-width: 900px; } footer .bottom-footer .menu li:nth-of-type(2) { - width: 150px; + width: 150px; } .blog-column { - width: auto; + width: auto; } footer .top-footer ul { - width: 60%; + width: 60%; } footer .bottom-footer .menu li { - text-align: center; - width: auto !important; + text-align: center; + width: auto !important; } h1 > a, .press-articles .press-article h1 a { - color: #d8127d; + color: #d8127d; } .press-articles .press-article h1 a { - font-size: 20px; + font-size: 20px; } .press-articles .press-article h1 { - margin-bottom: 10px; + margin-bottom: 10px; } .press-articles .press-article time { - font-size: 14px; - margin-bottom: 6px; - display: block; + font-size: 14px; + margin-bottom: 6px; + display: block; } .press-articles blockquote { - line-height: 1.4em; + line-height: 1.4em; } .subtemplate.press-articles > div > div > img { - margin-bottom: 70px; + margin-bottom: 70px; } .subtemplate.downloads a[href=''] { - display: none; + display: none; } .subtemplate.downloads a[href=''] + a:not([href='']) { - float: none; - display: inline-block; - margin: 0 auto; + float: none; + display: inline-block; + margin: 0 auto; } .subtemplate.downloads .centered-content { - text-align: center; + text-align: center; } diff --git a/assets/less/ascribe/_branding.less b/assets/less/ascribe/_branding.less index 4eb8ab1..507715d 100644 --- a/assets/less/ascribe/_branding.less +++ b/assets/less/ascribe/_branding.less @@ -1,201 +1,201 @@ //GLOBALS body, html { - .copyTextSmall; - font-smoothing: antialiased; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; + .copyTextSmall; + font-smoothing: antialiased; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; - &.page-template-template-companyblue { - .copyText; - } + &.page-template-template-companyblue { + .copyText; + } } a { - text-decoration: none; - color: @blueBright; + text-decoration: none; + color: @blueBright; - &:hover { - color: @pink; - } + &:hover { + color: @pink; + } } //FONTS .fontLight { - font-family: "canada-type-gibson",sans-serif; - font-weight: 200; + font-family: "canada-type-gibson",sans-serif; + font-weight: 200; } .fontRegular { - font-family: "canada-type-gibson",sans-serif; - font-weight: 400; + font-family: "canada-type-gibson",sans-serif; + font-weight: 400; } // GENERAL TEXT STYLES .sectionHeader { - &:extend(.fontLight); - font-size: 34px; - color: @blueBright; - line-height: 1.2; - margin: 35px 0; - text-align: center; + &:extend(.fontLight); + font-size: 34px; + color: @blueBright; + line-height: 1.2; + margin: 35px 0; + text-align: center; - @media screen and (max-width: @tabletWidth) { - font-size: 30px; - } + @media screen and (max-width: @tabletWidth) { + font-size: 30px; + } } .subsectionHeader { - &:extend(.fontLight); - font-size: 31px; - color: @black; - line-height: 37px; - text-align: center; + &:extend(.fontLight); + font-size: 31px; + color: @black; + line-height: 37px; + text-align: center; } .h1, h1 { - &:extend(.fontLight); - font-size: 36px; - color: @pink; - line-height: 1.2; + &:extend(.fontLight); + font-size: 36px; + color: @pink; + line-height: 1.2; } .h2, h2 { - &:extend(.fontRegular); - font-size: 26px; - color: @pink; - line-height: 1.2; + &:extend(.fontRegular); + font-size: 26px; + color: @pink; + line-height: 1.2; } .h3, h3 { - &:extend(.fontLight); - font-size: 27px; - color: @pink; - line-height: 1.2; + &:extend(.fontLight); + font-size: 27px; + color: @pink; + line-height: 1.2; } .h4, h4 { - &:extend(.fontRegular); - font-size: 26px; - color: @black; - line-height: 1.2; + &:extend(.fontRegular); + font-size: 26px; + color: @black; + line-height: 1.2; } .h5, h5 { - &:extend(.fontLight); - font-size: 26px; - color: @black; - line-height: 1.2; + &:extend(.fontLight); + font-size: 26px; + color: @black; + line-height: 1.2; } .h6, h6 { - &:extend(.fontRegular); - color: @pink; - font-size: 15px; - line-height: 19px; + &:extend(.fontRegular); + color: @pink; + font-size: 15px; + line-height: 19px; } .copyText { - &:extend(.fontLight); - color: @blueDeep; - font-size: 18px; - line-height: 22px; + &:extend(.fontLight); + color: @blueDeep; + font-size: 18px; + line-height: 22px; } .copyTextMedium { - &:extend(.fontLight); - color: @blueDeep; - font-size: 17px; - line-height: 21px; + &:extend(.fontLight); + color: @blueDeep; + font-size: 17px; + line-height: 21px; } .copyTextSmall { - &:extend(.fontLight); - color: @blueDeep; - font-size: 15px; - line-height: 19px; + &:extend(.fontLight); + color: @blueDeep; + font-size: 15px; + line-height: 19px; } // SPECIALIZED TEXT STYLES .heroText { - &:extend(.fontLight); - font-size: 37px; - color: @white; - line-height: 44px; + &:extend(.fontLight); + font-size: 37px; + color: @white; + line-height: 44px; } .tourNavText { - &:extend(.fontLight); - font-size: 25px; - line-height: 30px; - color: @blueBright; + &:extend(.fontLight); + font-size: 25px; + line-height: 30px; + color: @blueBright; } .signInUpText { - &:extend(.fontLight); - font-size: 17px; - line-height: 20px; - color: @white; - text-transform: uppercase; + &:extend(.fontLight); + font-size: 17px; + line-height: 20px; + color: @white; + text-transform: uppercase; } .featureCircleH1 { - &:extend(.fontLight); - font-size: 20px; - color: @pink; - letter-spacing: 1.11px; - line-height: 24px; - margin-bottom: 22px; + &:extend(.fontLight); + font-size: 20px; + color: @pink; + letter-spacing: 1.11px; + line-height: 24px; + margin-bottom: 22px; } .caseStudyText { - &:extend(.fontRegular); - font-size: 23px; - color: @white; - line-height: 28px; + &:extend(.fontRegular); + font-size: 23px; + color: @white; + line-height: 28px; } .oldWayNewWayTH { - &:extend(.fontLight); - font-size: 24px; - color: @pink; - line-height: 29px; + &:extend(.fontLight); + font-size: 24px; + color: @pink; + line-height: 29px; } .blueBoxTitle { - &:extend(.fontRegular); - font-size: 43px; - color: @white; - line-height: 52px; - text-align: center; + &:extend(.fontRegular); + font-size: 43px; + color: @white; + line-height: 52px; + text-align: center; } .blueBoxCopy { - &:extend(.fontLight); - font-size: 43px; - color: @white; - line-height: 52px; + &:extend(.fontLight); + font-size: 43px; + color: @white; + line-height: 52px; } .galleriesPressTitle { - &:extend(.fontLight); - font-size: 30px; - color: @black; - line-height: 36px; - margin-bottom: 50px; + &:extend(.fontLight); + font-size: 30px; + color: @black; + line-height: 36px; + margin-bottom: 50px; } .featureBlogDesc { - &:extend(.fontLight); - font-size: 13px; - color: @blueBright; - line-height: 22.79px; + &:extend(.fontLight); + font-size: 13px; + color: @blueBright; + line-height: 22.79px; } .featureBlogTitle { - &:extend(.fontLight); - font-size: 17px; - color: @greyText; - line-height: 22.79px; - text-transform: uppercase; + &:extend(.fontLight); + font-size: 17px; + color: @greyText; + line-height: 22.79px; + text-transform: uppercase; } .teamName { - &:extend(.fontRegular); - color: @black; - font-size: 19px; + &:extend(.fontRegular); + color: @black; + font-size: 19px; } .footerText { - &:extend(.fontLight); - font-size: 14px; - color: @white; - line-height: 25px; + &:extend(.fontLight); + font-size: 14px; + color: @white; + line-height: 25px; } .subfooterText { - color: @blackish; - font-size: 13px; - line-height: 14px; + color: @blackish; + font-size: 13px; + line-height: 14px; } @@ -203,136 +203,136 @@ a { // DEVICES .button { - display: inline-block; - padding: 25px 40px; - &:extend(.fontRegular); - border: 1px solid; - font-size: 22px; - line-height: 26px; - text-decoration: none; - min-width: 265px; - text-align: center; + display: inline-block; + padding: 25px 40px; + &:extend(.fontRegular); + border: 1px solid; + font-size: 22px; + line-height: 26px; + text-decoration: none; + min-width: 265px; + text-align: center; - &.blue { - @bgColor: @blueBright; - color: @white; - background-color: @bgColor; - border-color: @bgColor; - &:hover { - background-color: fade(@bgColor,50); - } - } + &.blue { + @bgColor: @blueBright; + color: @white; + background-color: @bgColor; + border-color: @bgColor; + &:hover { + background-color: fade(@bgColor,50); + } + } - &.pink { - @bgColor: @pink; - color: @white; - background-color: @bgColor; - border-color: @bgColor; - &:hover { - background-color: fade(@bgColor,50); - } - } + &.pink { + @bgColor: @pink; + color: @white; + background-color: @bgColor; + border-color: @bgColor; + &:hover { + background-color: fade(@bgColor,50); + } + } - &.blue-overPic { - @bgColor: @blueBright; - color: @white; - background-color: @bgColor; - border-color: @bgColor; + &.blue-overPic { + @bgColor: @blueBright; + color: @white; + background-color: @bgColor; + border-color: @bgColor; - &:hover { - background-color: @white; - color: @bgColor; - } - } + &:hover { + background-color: @white; + color: @bgColor; + } + } - &.pink-overPic { - @bgColor: @pink; - color: @white; - background-color: @bgColor; - border-color: @bgColor; + &.pink-overPic { + @bgColor: @pink; + color: @white; + background-color: @bgColor; + border-color: @bgColor; - &:hover { - background-color: @white; - color: @bgColor; - } - } + &:hover { + background-color: @white; + color: @bgColor; + } + } - &.white-blue { - @bgColor: @white; - color: @blueBright; - background-color: @bgColor; - border-color: @blueBright; + &.white-blue { + @bgColor: @white; + color: @blueBright; + background-color: @bgColor; + border-color: @blueBright; - &:hover { - background-color: fade(@blueBright,50); - color: @white; - } - } + &:hover { + background-color: fade(@blueBright,50); + color: @white; + } + } - &.small { - &:extend(.fontLight); - padding: 5px 15px; - font-size: 14px; - color: @white; - background-color: transparent; - border-color: @white; - min-width: auto; + &.small { + &:extend(.fontLight); + padding: 5px 15px; + font-size: 14px; + color: @white; + background-color: transparent; + border-color: @white; + min-width: auto; - &:hover { - background-color: fade(@white,40); - border-color: fade(@white,40); - color: @white; - } - } + &:hover { + background-color: fade(@white,40); + border-color: fade(@white,40); + color: @white; + } + } - @media screen and (max-width: @smallWidth) { - min-width: initial; - } + @media screen and (max-width: @smallWidth) { + min-width: initial; + } } .chevron-divider { - background-image: url(../../images/svg/ascribe-chevron.svg); - background-position: bottom; - width: 100%; - background-size: 100%; - height: 150px; + background-image: url(../../images/svg/ascribe-chevron.svg); + background-position: bottom; + width: 100%; + background-size: 100%; + height: 150px; - @media screen and (max-width: @tabletWidth) { - background-size: 120%; - } + @media screen and (max-width: @tabletWidth) { + background-size: 120%; + } } .social-icon { - width: 21px; - height: 21px; - padding: 1px; - fill: @white; - background-color: @greySocial; - border-radius: 5px; + width: 21px; + height: 21px; + padding: 1px; + fill: @white; + background-color: @greySocial; + border-radius: 5px; - &:hover { - background-color: fade(@greySocial,40); - } + &:hover { + background-color: fade(@greySocial,40); + } } hr { - border: 0; - height: 2px; - background: @greyHr; - margin: 40px 0; + border: 0; + height: 2px; + background: @greyHr; + margin: 40px 0; } .blueGradient { - background-color: @blueBright; - /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#519cad+0,67c4da+100 */ - /* IE9 SVG, needs conditional override of 'filter' to 'none' */ - background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUxOWNhZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2N2M0ZGEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); - background: -moz-linear-gradient(top, rgba(81,156,173,1) 0%, rgba(103,196,218,1) 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(81,156,173,1)), color-stop(100%,rgba(103,196,218,1))); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* IE10+ */ - background: linear-gradient(to bottom, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#519cad', endColorstr='#67c4da',GradientType=0 ); /* IE6-8 */ + background-color: @blueBright; + /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#519cad+0,67c4da+100 */ + /* IE9 SVG, needs conditional override of 'filter' to 'none' */ + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUxOWNhZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2N2M0ZGEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(81,156,173,1) 0%, rgba(103,196,218,1) 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(81,156,173,1)), color-stop(100%,rgba(103,196,218,1))); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* IE10+ */ + background: linear-gradient(to bottom, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#519cad', endColorstr='#67c4da',GradientType=0 ); /* IE6-8 */ } diff --git a/assets/less/ascribe/_helpers.less b/assets/less/ascribe/_helpers.less index 02942e8..b51ccba 100644 --- a/assets/less/ascribe/_helpers.less +++ b/assets/less/ascribe/_helpers.less @@ -9,24 +9,24 @@ // to ensure the container has a height. Use .no-clearfix to reset a clearfix // when in a dicey spot .clearfix { - zoom: 1; - &:before, &:after { - content: ""; - display: table; - } - &:after { - clear: both; - } + zoom: 1; + &:before, &:after { + content: ""; + display: table; + } + &:after { + clear: both; + } } .no-clearfix { - zoom: 0; - &:before, - &:after { - display: none; - } - &:after { - clear: none; - } + zoom: 0; + &:before, + &:after { + display: none; + } + &:after { + clear: none; + } } // CENTERED @@ -34,157 +34,157 @@ @centeredpadding: 10px; .centered-header { - .clearfix; - max-width: 1120px + 2*@centeredpadding; - padding: 0 @centeredpadding; - width: 100%; - margin: 0 auto; + .clearfix; + max-width: 1120px + 2*@centeredpadding; + padding: 0 @centeredpadding; + width: 100%; + margin: 0 auto; } .centered-prodFeat { - .clearfix; - max-width: 930px + 2*@centeredpadding; - padding: 0 @centeredpadding; - width: 100%; - margin: 0 auto; + .clearfix; + max-width: 930px + 2*@centeredpadding; + padding: 0 @centeredpadding; + width: 100%; + margin: 0 auto; } .centered-content { - .clearfix; - max-width: 770px + 2*@centeredpadding; - padding: 0 @centeredpadding; - width: 100%; - margin: 0 auto; + .clearfix; + max-width: 770px + 2*@centeredpadding; + padding: 0 @centeredpadding; + width: 100%; + margin: 0 auto; } .centered-pricing { - .clearfix; - max-width: 880px + 2*@centeredpadding; - padding: 0 @centeredpadding; - width: 100%; - margin: 0 auto; + .clearfix; + max-width: 880px + 2*@centeredpadding; + padding: 0 @centeredpadding; + width: 100%; + margin: 0 auto; } .centered-content-padding { - .clearfix; - max-width: 950px; - padding: 0 @centeredpadding 50px; - width: 100%; - margin: 0 auto; - background-color: @white; + .clearfix; + max-width: 950px; + padding: 0 @centeredpadding 50px; + width: 100%; + margin: 0 auto; + background-color: @white; } .centered-categories { - .clearfix; - max-width: 1000px; - width: 100%; - margin: 0 auto; + .clearfix; + max-width: 1000px; + width: 100%; + margin: 0 auto; } .centered-footer { - .clearfix; - max-width: 650px + 2*@centeredpadding; - padding: 0 @centeredpadding; - width: 100%; - margin: 0 auto; + .clearfix; + max-width: 650px + 2*@centeredpadding; + padding: 0 @centeredpadding; + width: 100%; + margin: 0 auto; } // GENERAL LIST // TAKES AWAY PADDING AND LIST STYLE ul, ol { - padding:0; - margin:0; + padding:0; + margin:0; } // COLUMN SECTIONS .wrapper { - position: relative; - overflow:hidden; + position: relative; + overflow:hidden; } @paddingForCols: 30px; .ttl-columns { - font-size:0; - width:100%; - width: calc(~"100% +"@paddingForCols); - .column { - display: inline-block; - vertical-align: top; - padding-right: @paddingForCols; - font-size: 15px; + font-size:0; + width:100%; + width: calc(~"100% +"@paddingForCols); + .column { + display: inline-block; + vertical-align: top; + padding-right: @paddingForCols; + font-size: 15px; - } + } - .column-2 { - .column; - width: 50%; - @media screen and (max-width: @middleWidth) { - width: 100%; - } - } + .column-2 { + .column; + width: 50%; + @media screen and (max-width: @middleWidth) { + width: 100%; + } + } - .column-3 { - .column; - width: 100/3%; - @media screen and (max-width: @middleWidth) { - width: 100%; - } - } + .column-3 { + .column; + width: 100/3%; + @media screen and (max-width: @middleWidth) { + width: 100%; + } + } - .column-4 { - .column; - width: 25%; - @media screen and (max-width: @tabletWidth) { - width: 50%; - } - } + .column-4 { + .column; + width: 25%; + @media screen and (max-width: @tabletWidth) { + width: 50%; + } + } - .column-5 { - .column; - width: 20%; - @media screen and (max-width: @tabletWidth) { - width: 50%; - } - } + .column-5 { + .column; + width: 20%; + @media screen and (max-width: @tabletWidth) { + width: 50%; + } + } - .column-6 { - .column; - width: 100/6%; - @media screen and (max-width: @tabletWidth) { - width: 33%; - } - @media screen and (max-width: @phoneWidth) { - width: 50%; - } - } - .column-7 { - .column; - width: 100/7%; - @media screen and (max-width: @tabletWidth) { - width: 33%; - } - } + .column-6 { + .column; + width: 100/6%; + @media screen and (max-width: @tabletWidth) { + width: 33%; + } + @media screen and (max-width: @phoneWidth) { + width: 50%; + } + } + .column-7 { + .column; + width: 100/7%; + @media screen and (max-width: @tabletWidth) { + width: 33%; + } + } - .columnTwoThirds { - .column; - width: 66.6%; - @media screen and (max-width: @middleWidth) { - width: 100%; - } - } + .columnTwoThirds { + .column; + width: 66.6%; + @media screen and (max-width: @middleWidth) { + width: 100%; + } + } - .columnThreeQuarters { - .column; - width: 100 * 3/4%; - @media screen and (max-width: @tabletWidth) { - width: 100%; - } - } + .columnThreeQuarters { + .column; + width: 100 * 3/4%; + @media screen and (max-width: @tabletWidth) { + width: 100%; + } + } } .column-container { - .ttl-columns; + .ttl-columns; } // BORDER-BOX @@ -193,9 +193,9 @@ ul, ol { *, *:before, *:after { - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; } // EMBED OBJECTS @@ -204,39 +204,39 @@ img, embed, object, video { - max-width: 100%; - border: 0; - padding: 0; + max-width: 100%; + border: 0; + padding: 0; } // MOBILE-ONLY // Use this to only display something on mobile- and tablet-width devices. // Depending on project specs, you may wish to override this breakpoint. .phone-only { - display: none; + display: none; - @media screen and (max-width: @phoneWidth) { - display: inherit; - } + @media screen and (max-width: @phoneWidth) { + display: inherit; + } } .mobile-only { - display: none; + display: none; - @media screen and (max-width: @tabletWidth) { - display: inherit; - } + @media screen and (max-width: @tabletWidth) { + display: inherit; + } } .desktop-only { - @media screen and (max-width: @tabletWidth) { - display: none; - } + @media screen and (max-width: @tabletWidth) { + display: none; + } } .phone-and-up { - @media screen and (max-width: @phoneWidth) { - display: none; - } + @media screen and (max-width: @phoneWidth) { + display: none; + } } // MIXINS @@ -244,11 +244,11 @@ video { // TRANSITION // Applies a CSS transition between properties .transition(@property: all, @speed: 0.15s, @easing: ease-in-out) { - -webkit-transition: @property @speed @easing; - -moz-transition: @property @speed @easing; - -ms-transition: @property @speed @easing; - -o-transition: @property @speed @easing; - transition: @property @speed @easing; + -webkit-transition: @property @speed @easing; + -moz-transition: @property @speed @easing; + -ms-transition: @property @speed @easing; + -o-transition: @property @speed @easing; + transition: @property @speed @easing; } ///** @@ -268,8 +268,8 @@ video { // **/ .selection(@text-color, @background-color) { - &::-moz-selection {color: @text-color; background-color: @background-color;} - &::selection {color: @text-color; background-color: @background-color;} + &::-moz-selection {color: @text-color; background-color: @background-color;} + &::selection {color: @text-color; background-color: @background-color;} } // * =========================================================== * @@ -284,33 +284,33 @@ video { .placeholder(@color:#aaa, @element: 08121991) { - .inception (@arguments) when not (@element = 08121991) { - @{element}::-webkit-input-placeholder { - color: @color; - } - @{element}:-moz-placeholder { - color: @color; - } - @{element}::-moz-placeholder { - color: @color; - } - @{element}:-ms-input-placeholder { - color: @color; - } - } - .inception (@arguments) when (@element = 08121991) { - &::-webkit-input-placeholder { - color: @color; - } - &:-moz-placeholder { - color: @color; - } - &::-moz-placeholder { - color: @color; - } - &:-ms-input-placeholder { - color: @color; - } - } - .inception(@arguments); + .inception (@arguments) when not (@element = 08121991) { + @{element}::-webkit-input-placeholder { + color: @color; + } + @{element}:-moz-placeholder { + color: @color; + } + @{element}::-moz-placeholder { + color: @color; + } + @{element}:-ms-input-placeholder { + color: @color; + } + } + .inception (@arguments) when (@element = 08121991) { + &::-webkit-input-placeholder { + color: @color; + } + &:-moz-placeholder { + color: @color; + } + &::-moz-placeholder { + color: @color; + } + &:-ms-input-placeholder { + color: @color; + } + } + .inception(@arguments); } diff --git a/assets/less/vendor/colorbox.css b/assets/less/vendor/colorbox.css index 75392eb..8482b59 100644 --- a/assets/less/vendor/colorbox.css +++ b/assets/less/vendor/colorbox.css @@ -47,4 +47,4 @@ .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;} .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;} .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;} -.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;} \ No newline at end of file +.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;} diff --git a/assets/less/vendor/normalize.less b/assets/less/vendor/normalize.less index 6523472..59a3e25 100644 --- a/assets/less/vendor/normalize.less +++ b/assets/less/vendor/normalize.less @@ -7,9 +7,9 @@ */ html { - font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; /* 2 */ - -webkit-text-size-adjust: 100%; /* 2 */ + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ } /** @@ -17,12 +17,12 @@ html { */ body { - margin: 0; + margin: 0; } html, body { - height: 100%; + height: 100%; } /* HTML5 display definitions @@ -46,7 +46,7 @@ main, nav, section, summary { - display: block; + display: block; } /** @@ -58,8 +58,8 @@ audio, canvas, progress, video { - display: inline-block; /* 1 */ - vertical-align: baseline; /* 2 */ + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ } /** @@ -68,8 +68,8 @@ video { */ audio:not([controls]) { - display: none; - height: 0; + display: none; + height: 0; } /** @@ -79,7 +79,7 @@ audio:not([controls]) { [hidden], template { - display: none; + display: none; } /* Links @@ -90,7 +90,7 @@ template { */ a { - background: transparent; + background: transparent; } /** @@ -99,7 +99,7 @@ a { a:active, a:hover { - outline: 0; + outline: 0; } /* Text-level semantics @@ -110,7 +110,7 @@ a:hover { */ abbr[title] { - border-bottom: 1px dotted; + border-bottom: 1px dotted; } /** @@ -119,7 +119,7 @@ abbr[title] { b, strong { - font-weight: bold; + font-weight: bold; } /** @@ -127,7 +127,7 @@ strong { */ dfn { - font-style: italic; + font-style: italic; } /** @@ -136,8 +136,8 @@ dfn { */ h1 { - font-size: 2em; - margin: 0.67em 0; + font-size: 2em; + margin: 0.67em 0; } /** @@ -145,8 +145,8 @@ h1 { */ mark { - background: #ff0; - color: #000; + background: #ff0; + color: #000; } /** @@ -154,7 +154,7 @@ mark { */ small { - font-size: 80%; + font-size: 80%; } /** @@ -163,18 +163,18 @@ small { sub, sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; } sup { - top: -0.5em; + top: -0.5em; } sub { - bottom: -0.25em; + bottom: -0.25em; } /* Embedded content @@ -185,7 +185,7 @@ sub { */ img { - border: 0; + border: 0; } @@ -197,7 +197,7 @@ img { */ figure { - margin: 1em 40px; + margin: 1em 40px; } /** @@ -205,9 +205,9 @@ figure { */ hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; } /** @@ -215,7 +215,7 @@ hr { */ pre { - overflow: auto; + overflow: auto; } /** @@ -226,8 +226,8 @@ code, kbd, pre, samp { - font-family: monospace, monospace; - font-size: 1em; + font-family: monospace, monospace; + font-size: 1em; } /* Forms @@ -250,9 +250,9 @@ input, optgroup, select, textarea { - color: inherit; /* 1 */ - font: inherit; /* 2 */ - margin: 0; /* 3 */ + color: inherit; /* 1 */ + font: inherit; /* 2 */ + margin: 0; /* 3 */ } /** @@ -260,7 +260,7 @@ textarea { */ button { - overflow: visible; + overflow: visible; } /** @@ -272,7 +272,7 @@ button { button, select { - text-transform: none; + text-transform: none; } /** @@ -287,8 +287,8 @@ button, html input[type="button"], /* 1 */ input[type="reset"], input[type="submit"] { - -webkit-appearance: button; /* 2 */ - cursor: pointer; /* 3 */ + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ } /** @@ -297,7 +297,7 @@ input[type="submit"] { button[disabled], html input[disabled] { - cursor: default; + cursor: default; } /** @@ -306,8 +306,8 @@ html input[disabled] { button::-moz-focus-inner, input::-moz-focus-inner { - border: 0; - padding: 0; + border: 0; + padding: 0; } /** @@ -316,7 +316,7 @@ input::-moz-focus-inner { */ input { - line-height: normal; + line-height: normal; } /** @@ -329,8 +329,8 @@ input { input[type="checkbox"], input[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ } /** @@ -341,7 +341,7 @@ input[type="radio"] { input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { - height: auto; + height: auto; } /** @@ -351,10 +351,10 @@ input[type="number"]::-webkit-outer-spin-button { */ input[type="search"] { - -webkit-appearance: textfield; /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; /* 2 */ - box-sizing: content-box; + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; } /** @@ -365,7 +365,7 @@ input[type="search"] { input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; + -webkit-appearance: none; } /** @@ -373,9 +373,9 @@ input[type="search"]::-webkit-search-decoration { */ fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; } /** @@ -384,8 +384,8 @@ fieldset { */ legend { - border: 0; /* 1 */ - padding: 0; /* 2 */ + border: 0; /* 1 */ + padding: 0; /* 2 */ } /** @@ -393,7 +393,7 @@ legend { */ textarea { - overflow: auto; + overflow: auto; } /** @@ -402,7 +402,7 @@ textarea { */ optgroup { - font-weight: bold; + font-weight: bold; } /* Tables @@ -413,11 +413,11 @@ optgroup { */ table { - border-collapse: collapse; - border-spacing: 0; + border-collapse: collapse; + border-spacing: 0; } td, th { - padding: 0; -} \ No newline at end of file + padding: 0; +} diff --git a/assets/less/vendor/print.less b/assets/less/vendor/print.less index 8cdef30..16c13b8 100644 --- a/assets/less/vendor/print.less +++ b/assets/less/vendor/print.less @@ -1 +1 @@ -@media print { * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } a, a:visited { color: #444 !important; text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3{ page-break-after: avoid; } } \ No newline at end of file +@media print { * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } a, a:visited { color: #444 !important; text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3{ page-break-after: avoid; } } diff --git a/bootstrap.php.dist b/bootstrap.php.dist index b634b94..2bdb6ce 100644 --- a/bootstrap.php.dist +++ b/bootstrap.php.dist @@ -1,25 +1,25 @@ =5.4" - }, + "require": { + "php": ">=5.4" + }, "require-dev": { - "antecedent/patchwork": "1.2.*", + "antecedent/patchwork": "1.2.*", "phpunit/phpunit" : "*@stable", - "brianium/paratest" : "dev-master", + "brianium/paratest" : "dev-master", "10up/wp_mock" : "dev-master" } } diff --git a/content-blog.php b/content-blog.php index e0b4ce1..d49832d 100644 --- a/content-blog.php +++ b/content-blog.php @@ -8,16 +8,16 @@ $lname = get_the_author_meta('last_name'); $full_name = ''; if( empty($fname)){ - $full_name = $lname; + $full_name = $lname; } elseif( empty( $lname )){ - $full_name = $fname; + $full_name = $fname; } else { - //both first name and last name are present - $full_name = "{$fname} {$lname}"; + //both first name and last name are present + $full_name = "{$fname} {$lname}"; } if (strlen($full_name) <= 0) { - $full_name = 'ascribe'; + $full_name = 'ascribe'; } $url = get_the_permalink(); @@ -25,33 +25,33 @@ $url = get_the_permalink(); ?>
> -

- {$title}" ?> +

+ {$title}" ?> -
- + ID), 'blog-crop'); - echo "{$title} image"; + $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'blog-crop'); + echo "{$title} image"; - } - ?> -
-
- - by - on -
+ } + ?> + +
+ + by + on +
-
- Read More"; - } else { - the_content(); - } - ?> -
-
\ No newline at end of file +
+ Read More"; + } else { + the_content(); + } + ?> +
+ diff --git a/content-main.php b/content-main.php index 35d655a..b52fb41 100644 --- a/content-main.php +++ b/content-main.php @@ -1,4 +1,4 @@
- loopSubtemplates(); ?> -
\ No newline at end of file + loopSubtemplates(); ?> + diff --git a/content-noposts.php b/content-noposts.php index 154204c..5d10fba 100644 --- a/content-noposts.php +++ b/content-noposts.php @@ -1,7 +1,7 @@
-
-

No Posts

-
Sorry, there are no posts for this category!
-
-
\ No newline at end of file +
+

No Posts

+
Sorry, there are no posts for this category!
+
+ diff --git a/controller/classes/Subtemplate.php b/controller/classes/Subtemplate.php index 53738ef..3814311 100644 --- a/controller/classes/Subtemplate.php +++ b/controller/classes/Subtemplate.php @@ -8,1193 +8,1193 @@ class Subtemplate { - public function loopSubtemplates() { - global $post; - $id = $post->ID; - $result = ''; + public function loopSubtemplates() { + global $post; + $id = $post->ID; + $result = ''; - if (have_rows('subtemplate',$id)) { - while (have_rows('subtemplate',$id)) { - the_row(); + if (have_rows('subtemplate',$id)) { + while (have_rows('subtemplate',$id)) { + the_row(); - $subtemplateType = get_sub_field('subtemplate_type'); + $subtemplateType = get_sub_field('subtemplate_type'); - $subtemplateTitle = get_sub_field('section_title'); + $subtemplateTitle = get_sub_field('section_title'); - switch ($subtemplateType) { - case 'featurecirclesicons': - $result .= $this->featureCirclesIcons($subtemplateTitle); - break; - case 'featurecircles': - $result .= $this->featureCircles($subtemplateTitle); - break; - case 'casestudies': - $result .= $this->caseStudies($subtemplateTitle); - break; - case 'slides': - $result .= $this->slides($subtemplateTitle); - break; - case 'oldnew': - $result .= $this->oldNew($subtemplateTitle); - break; - case 'existingnew': - $result .= $this->existingNew($subtemplateTitle); - break; - case 'threecolumn': - $result .= $this->columns($subtemplateTitle); - break; + switch ($subtemplateType) { + case 'featurecirclesicons': + $result .= $this->featureCirclesIcons($subtemplateTitle); + break; + case 'featurecircles': + $result .= $this->featureCircles($subtemplateTitle); + break; + case 'casestudies': + $result .= $this->caseStudies($subtemplateTitle); + break; + case 'slides': + $result .= $this->slides($subtemplateTitle); + break; + case 'oldnew': + $result .= $this->oldNew($subtemplateTitle); + break; + case 'existingnew': + $result .= $this->existingNew($subtemplateTitle); + break; + case 'threecolumn': + $result .= $this->columns($subtemplateTitle); + break; - case 'productoverview': - $result .= $this->productOverview($subtemplateTitle); - break; - case 'getstartedfast': - $result .= $this->startedFast($subtemplateTitle); - break; + case 'productoverview': + $result .= $this->productOverview($subtemplateTitle); + break; + case 'getstartedfast': + $result .= $this->startedFast($subtemplateTitle); + break; - case 'bluebox': - $result .= $this->blueBox($subtemplateTitle); - break; - case 'calltoaction': - $result .= $this->callToAction($subtemplateTitle); - break; - case 'galleries': - $result .= $this->galleries($subtemplateTitle); - break; - case 'blogfeatures': - $result .= $this->blogFeatures(); - break; - case 'mediafeature': - $result .= $this->galleries($subtemplateTitle); - break; - case 'content': - $result .= $this->content($subtemplateTitle); - break; - case 'contentBoxed': - $result .= $this->contentBoxed($subtemplateTitle); - break; - case 'team': - $result .= $this->team($subtemplateTitle); - break; + case 'bluebox': + $result .= $this->blueBox($subtemplateTitle); + break; + case 'calltoaction': + $result .= $this->callToAction($subtemplateTitle); + break; + case 'galleries': + $result .= $this->galleries($subtemplateTitle); + break; + case 'blogfeatures': + $result .= $this->blogFeatures(); + break; + case 'mediafeature': + $result .= $this->galleries($subtemplateTitle); + break; + case 'content': + $result .= $this->content($subtemplateTitle); + break; + case 'contentBoxed': + $result .= $this->contentBoxed($subtemplateTitle); + break; + case 'team': + $result .= $this->team($subtemplateTitle); + break; - case 'teamGeneral': - $result .= $this->teamGeneral($subtemplateTitle); - break; - case 'image': - $result .= $this->image($subtemplateTitle); - break; - case 'faq': - $result .= $this->faq($subtemplateTitle); - break; - case 'values': - $result .= $this->values($subtemplateTitle); - break; - case 'careers': - $result .= $this->careers($subtemplateTitle); - break; - case 'mediadetail': - $result .= $this->mediaDetail($subtemplateTitle); - break; - case 'download': - $result .= $this->download($subtemplateTitle); - break; - case 'contact': - $result .= $this->contactPage($subtemplateTitle); - break; - case 'events': - $result .= $this->eventPage($subtemplateTitle); - break; - } - } - } + case 'teamGeneral': + $result .= $this->teamGeneral($subtemplateTitle); + break; + case 'image': + $result .= $this->image($subtemplateTitle); + break; + case 'faq': + $result .= $this->faq($subtemplateTitle); + break; + case 'values': + $result .= $this->values($subtemplateTitle); + break; + case 'careers': + $result .= $this->careers($subtemplateTitle); + break; + case 'mediadetail': + $result .= $this->mediaDetail($subtemplateTitle); + break; + case 'download': + $result .= $this->download($subtemplateTitle); + break; + case 'contact': + $result .= $this->contactPage($subtemplateTitle); + break; + case 'events': + $result .= $this->eventPage($subtemplateTitle); + break; + } + } + } - return $result; - } + return $result; + } - public function featureCirclesIcons($subtemplateTitle) { + public function featureCirclesIcons($subtemplateTitle) { - $featureCircles = ''; - if (have_rows('feature_circles_w_icon')) { - while (have_rows('feature_circles_w_icon')) { - the_row(); + $featureCircles = ''; + if (have_rows('feature_circles_w_icon')) { + while (have_rows('feature_circles_w_icon')) { + the_row(); - $title = get_sub_field('title'); - $icon = get_sub_field('icon')['url']; - $description = get_sub_field('description'); + $title = get_sub_field('title'); + $icon = get_sub_field('icon')['url']; + $description = get_sub_field('description'); - $featureCircles .= "
- {$title} Icon -

{$title}

-
{$description}
-
"; - } - } + $featureCircles .= "
+ {$title} Icon +

{$title}

+
{$description}
+
"; + } + } - $result = "
{$featureCircles}
"; + $result = "
{$featureCircles}
"; - return $result; - } - public function featureCircles($subtemplateTitle) { + return $result; + } + public function featureCircles($subtemplateTitle) { - $featureCircles = ''; - if (have_rows('feature_circles_w_icon')) { - while (have_rows('feature_circles_w_icon')) { - the_row(); + $featureCircles = ''; + if (have_rows('feature_circles_w_icon')) { + while (have_rows('feature_circles_w_icon')) { + the_row(); - $title = get_sub_field('title'); - $description = get_sub_field('description'); + $title = get_sub_field('title'); + $description = get_sub_field('description'); - $featureCircles .= "
-
-
-
-
-

{$title}

-
{$description}
-
-
-
-
-
"; - } - } + $featureCircles .= "
+
+
+
+
+

{$title}

+
{$description}
+
+
+
+
+
"; + } + } - $result = "
{$featureCircles}
"; + $result = "
{$featureCircles}
"; - return $result; - } - public function columns($subtemplateTitle) { + return $result; + } + public function columns($subtemplateTitle) { - $descriptiveColumns = ''; - $content = get_sub_field('content'); + $descriptiveColumns = ''; + $content = get_sub_field('content'); - if (have_rows('short_description')) { - while (have_rows('short_description')) { - the_row(); + if (have_rows('short_description')) { + while (have_rows('short_description')) { + the_row(); - $colTitle = get_sub_field('title'); - $colContent = get_sub_field('content'); + $colTitle = get_sub_field('title'); + $colContent = get_sub_field('content'); - $descriptiveColumns .= "
-

{$colTitle}

-
{$colContent}
-
"; - } - } + $descriptiveColumns .= "
+

{$colTitle}

+
{$colContent}
+
"; + } + } - $result = "

{$subtemplateTitle}

{$content}
{$descriptiveColumns}
"; + $result = "

{$subtemplateTitle}

{$content}
{$descriptiveColumns}
"; - return $result; - } - public function caseStudies($subtemplateTitle) { - $caseStudies = ''; - if (have_rows('case_study')) { - while (have_rows('case_study')) { - the_row(); + return $result; + } + public function caseStudies($subtemplateTitle) { + $caseStudies = ''; + if (have_rows('case_study')) { + while (have_rows('case_study')) { + the_row(); - $content = get_sub_field('content'); - $bgImage = get_sub_field('background_image')['url']; + $content = get_sub_field('content'); + $bgImage = get_sub_field('background_image')['url']; - $caseStudies .= "
-
-
{$content}
-
-
"; - } - } + $caseStudies .= "
+
+
{$content}
+
+
"; + } + } - $result = "
{$caseStudies}
"; + $result = "
{$caseStudies}
"; - return $result; - } - public function slides($subtemplateTitle) { - $caseStudies = ''; - if (have_rows('slides')) { - while (have_rows('slides')) { - the_row(); + return $result; + } + public function slides($subtemplateTitle) { + $caseStudies = ''; + if (have_rows('slides')) { + while (have_rows('slides')) { + the_row(); - $content = get_sub_field('content'); - $image = get_sub_field('image')['url']; - $imageAlt = get_sub_field('image')['alt']; + $content = get_sub_field('content'); + $image = get_sub_field('image')['url']; + $imageAlt = get_sub_field('image')['alt']; - $caseStudies .= "
-
- {$imageAlt} -
{$content}
-
-
"; - } - } + $caseStudies .= "
+
+ {$imageAlt} +
{$content}
+
+
"; + } + } - $result = "
{$caseStudies}
"; + $result = "
{$caseStudies}
"; - return $result; - } - public function oldNew($subtemplateTitle) { - $oldNewRows = ''; - if (have_rows('old_way__new_way')) { - while (have_rows('old_way__new_way')) { - the_row(); + return $result; + } + public function oldNew($subtemplateTitle) { + $oldNewRows = ''; + if (have_rows('old_way__new_way')) { + while (have_rows('old_way__new_way')) { + the_row(); - $oldway = get_sub_field('old_way_text'); - $newway = get_sub_field('new_way_text'); + $oldway = get_sub_field('old_way_text'); + $newway = get_sub_field('new_way_text'); - $oldNewRows .= " - {$oldway} - {$newway} - "; - } - } + $oldNewRows .= " + {$oldway} + {$newway} + "; + } + } - $result = "
-
-

{$subtemplateTitle}

- - - {$oldNewRows} -
Old WayNew Way
-
-
"; + $result = "
+
+

{$subtemplateTitle}

+ + + {$oldNewRows} +
Old WayNew Way
+
+
"; - return $result; - } - public function productOverview($subtemplateTitle) { + return $result; + } + public function productOverview($subtemplateTitle) { - $imageUrl = get_sub_field('image')['url']; - $imageAlt = get_sub_field('image')['alt']; - $headingSize = get_sub_field('heading_size'); + $imageUrl = get_sub_field('image')['url']; + $imageAlt = get_sub_field('image')['alt']; + $headingSize = get_sub_field('heading_size'); - $content = get_sub_field('content'); + $content = get_sub_field('content'); - $result = "
-
- {$imageAlt} -
-

{$subtemplateTitle}

-
{$content}
-
-
-
"; - return $result; - } - public function blueBox($subtemplateTitle) { + $result = "
+
+ {$imageAlt} +
+

{$subtemplateTitle}

+
{$content}
+
+
+
"; + return $result; + } + public function blueBox($subtemplateTitle) { - $content = get_sub_field('content'); + $content = get_sub_field('content'); $blueBoxCtaText = get_sub_field('bluebox_cta_text'); $blueBoxCtaLink = get_sub_field('bluebox_cta_link'); - $result = "
-
-
-

{$subtemplateTitle}

-
{$content}
+ $result = "
+
+ -
-
"; +
+
+
"; - return $result; - } - public function callToAction($subtemplateTitle) { + return $result; + } + public function callToAction($subtemplateTitle) { if ($subtemplateTitle) { $ctaTitle = "

$subtemplateTitle

"; } - $ctaText = get_sub_field('cta_button_text'); - $ctaLink = get_sub_field('cta_button_link'); - $backgroundImg = get_sub_field('image')['url']; + $ctaText = get_sub_field('cta_button_text'); + $ctaLink = get_sub_field('cta_button_link'); + $backgroundImg = get_sub_field('image')['url']; - $result = "
+ $result = "
{$ctaTitle} - {$ctaText} + {$ctaText}
-
"; +
"; - return $result; - } - public function galleries($subtemplateTitle) { - $galleryLink = get_sub_field('gallery_page'); - $galleriesImgUrl = get_sub_field('galleries_image')['url']; - $galleriesImgAlt = get_sub_field('galleries_image')['alt']; + return $result; + } + public function galleries($subtemplateTitle) { + $galleryLink = get_sub_field('gallery_page'); + $galleriesImgUrl = get_sub_field('galleries_image')['url']; + $galleriesImgAlt = get_sub_field('galleries_image')['alt']; - $galleryMarkup = ''; - if ($galleryLink) { - $galleryMarkup = "Read more"; - } + $galleryMarkup = ''; + if ($galleryLink) { + $galleryMarkup = "Read more"; + } - $result = "
-
-

{$subtemplateTitle}

- {$galleriesImgAlt} - {$galleryMarkup} -
-
"; + $result = "
+
+

{$subtemplateTitle}

+ {$galleriesImgAlt} + {$galleryMarkup} +
+
"; - return $result; - } - public function blogFeatures($page = "home") { - $blogFeatures = ''; + return $result; + } + public function blogFeatures($page = "home") { + $blogFeatures = ''; $subtemplateTitle = get_sub_field('section_title'); - if (have_rows('blog_features','option')) { - while (have_rows('blog_features','option')) { - the_row(); + if (have_rows('blog_features','option')) { + while (have_rows('blog_features','option')) { + the_row(); - $title = get_sub_field('feature_title'); - $feature = get_sub_field('post'); - $postTitle = $feature->post_title; - $url = get_permalink($feature->ID); - $content = substr($feature->post_content, 0, 144) . '...'; - $date = date('F Y',$feature->post_date); - $image = wp_get_attachment_image_src(get_post_thumbnail_id($feature->ID),'blog-feature-crop')[0]; + $title = get_sub_field('feature_title'); + $feature = get_sub_field('post'); + $postTitle = $feature->post_title; + $url = get_permalink($feature->ID); + $content = substr($feature->post_content, 0, 144) . '...'; + $date = date('F Y',$feature->post_date); + $image = wp_get_attachment_image_src(get_post_thumbnail_id($feature->ID),'blog-feature-crop')[0]; - if ($page == "home") { - $blogFeatures .= "
- {$postTitle} Image -

{$title}

-

{$postTitle}

-
"; + if ($page == "home") { + $blogFeatures .= "
+ {$postTitle} Image +

{$title}

+

{$postTitle}

+
"; - } - else { - $blogFeatures .= "
-

{$postTitle}

- -
{$content}
-
"; + } + else { + $blogFeatures .= "
+

{$postTitle}

+ +
{$content}
+
"; - } - } - } + } + } + } - if ($page == "home") { - $result = "
-
+ if ($page == "home") { + $result = "
+

{$subtemplateTitle}

-
- {$blogFeatures} -
-
-
"; - } - else { - $result = ""; - } +
+ {$blogFeatures} +
+
+
"; + } + else { + $result = ""; + } - return $result; - } - public function team($subtemplateTitle) { - $content = get_sub_field('content'); - $meetTeamLink = get_sub_field('meet_the_team_link'); - $numberOfPeople = get_sub_field('number_of_people_to_display'); + return $result; + } + public function team($subtemplateTitle) { + $content = get_sub_field('content'); + $meetTeamLink = get_sub_field('meet_the_team_link'); + $numberOfPeople = get_sub_field('number_of_people_to_display'); - $args = array( - 'post_type' => 'team', - 'order' => 'DESC', - 'posts_per_page' => $numberOfPeople - ); + $args = array( + 'post_type' => 'team', + 'order' => 'DESC', + 'posts_per_page' => $numberOfPeople + ); - $teamMembers = get_posts($args); - $teamMemberMarkup = ''; - if (!empty($teamMembers)) { - foreach ($teamMembers as $teamMember) { - $id = $teamMember->ID; - $name = $teamMember->post_title; - $role = get_field('role',$id); - $image = get_field('image',$id)['url']; - $hoverimage = get_field('hover_image',$id)['url']; - if (!$hoverimage) { - $hoverimage = $image; - } - $facebook = get_field('facebook_link',$id); + $teamMembers = get_posts($args); + $teamMemberMarkup = ''; + if (!empty($teamMembers)) { + foreach ($teamMembers as $teamMember) { + $id = $teamMember->ID; + $name = $teamMember->post_title; + $role = get_field('role',$id); + $image = get_field('image',$id)['url']; + $hoverimage = get_field('hover_image',$id)['url']; + if (!$hoverimage) { + $hoverimage = $image; + } + $facebook = get_field('facebook_link',$id); - $themeUrl = WPTHEME_TEMPLATE_URL . '/'; + $themeUrl = WPTHEME_TEMPLATE_URL . '/'; - if ($facebook) { - $facebookIcon = 'Picture of {$name} -

{$name}

-

{$role}

- {$facebook} - {$github} - {$linkedin} - {$twitter} - {$website} - "; - } - } + $teamMemberMarkup .= "
+ Picture of {$name} +

{$name}

+

{$role}

+ {$facebook} + {$github} + {$linkedin} + {$twitter} + {$website} +
"; + } + } - $result = "
-
+ $result = "
+

{$subtemplateTitle}

-
{$content}
-
{$teamMemberMarkup}
- Meet the Team -
-
"; +
{$content}
+
{$teamMemberMarkup}
+ Meet the Team +
+
"; - return $result; - } - public function teamGeneral($subtemplateTitle) { - $content = get_sub_field('content'); + return $result; + } + public function teamGeneral($subtemplateTitle) { + $content = get_sub_field('content'); - $args = array( - 'post_type' => 'team', - 'order' => 'DESC', - 'posts_per_page' => -1 - ); + $args = array( + 'post_type' => 'team', + 'order' => 'DESC', + 'posts_per_page' => -1 + ); - $teamMembers = get_posts($args); - $teamMemberMarkup = ''; - if (!empty($teamMembers)) { - foreach ($teamMembers as $teamMember) { - $id = $teamMember->ID; - $name = $teamMember->post_title; - $role = get_field('role',$id); - $image = get_field('image',$id)['url']; - $facebook = get_field('facebook_link',$id); + $teamMembers = get_posts($args); + $teamMemberMarkup = ''; + if (!empty($teamMembers)) { + foreach ($teamMembers as $teamMember) { + $id = $teamMember->ID; + $name = $teamMember->post_title; + $role = get_field('role',$id); + $image = get_field('image',$id)['url']; + $facebook = get_field('facebook_link',$id); - $themeUrl = WPTHEME_TEMPLATE_URL . '/'; + $themeUrl = WPTHEME_TEMPLATE_URL . '/'; - if ($facebook) { - $facebook = ""; - } + if ($facebook) { + $facebook = ""; + } - $github = get_field('github_link',$id); - if ($github) { - $github = ""; - } + $github = get_field('github_link',$id); + if ($github) { + $github = ""; + } - $linkedin = get_field('linkedin_link',$id); - if ($linkedin) { - $linkedin = ""; - } + $linkedin = get_field('linkedin_link',$id); + if ($linkedin) { + $linkedin = ""; + } - $twitter = get_field('twitter_link',$id); - if ($twitter) { - $twitter = ""; - } + $twitter = get_field('twitter_link',$id); + if ($twitter) { + $twitter = ""; + } - $website = get_field('personal_website_link',$id); - if ($website) { - $website = ""; - } + $website = get_field('personal_website_link',$id); + if ($website) { + $website = ""; + } - $teamMemberMarkup .= "
- Picture of {$name} -

{$name}

-

{$role}

- {$facebook} - {$github} - {$linkedin} - {$twitter} - {$website} -
"; - } - } + $teamMemberMarkup .= "
+ Picture of {$name} +

{$name}

+

{$role}

+ {$facebook} + {$github} + {$linkedin} + {$twitter} + {$website} +
"; + } + } - $result = "
-
-
+ $result = "
+
+

{$subtemplateTitle}

-
{$content}
-
{$teamMemberMarkup}
-
-
-
"; - - return $result; - } - public function content($subtemplateTitle) { - - $content = get_sub_field('content'); - - $bgColor = get_sub_field('background_color'); - - $result = "
-
-
-

{$subtemplateTitle}

-
{$content}
-
-
-
"; - - return $result; - } - public function contentBoxed($subtemplateTitle) { - - $content = get_sub_field('content'); - - $result = "
-
-
-

{$subtemplateTitle}

-
{$content}
-
-
-
"; - - return $result; - } - public function image($subtemplateTitle) { - - $image = get_sub_field('image')['url']; - $imageAlt = get_sub_field('image')['alt']; - - $result = "
-
-
-

{$subtemplateTitle}

-
{$imageAlt}
-
-
-
"; - - return $result; - } - public function faq($subtemplateTitle) { - $featuredFAQ = '"; - - $regularFAQ = '
'; - if (have_rows('regular_faqs')) { - while (have_rows('regular_faqs')) { - the_row(); - - $question = get_sub_field('question'); - $answer = get_sub_field('answer'); - - $regularFAQ .= "
Q: {$question}
-
A: {$answer}
"; - } - } - $regularFAQ .= "
"; - - $result = "
-
-
-

{$subtemplateTitle}

- {$featuredFAQ} - {$regularFAQ} -
-
-
"; - - return $result; - } - public function values($subtemplateTitle) { - $values = ''; - if (have_rows('ascribe_values')) { - while (have_rows('ascribe_values')) { - the_row(); - - $title = get_sub_field('value_title'); - $description = get_sub_field('value_description'); - - $values .= "
-

{$title}

-
{$description}
-
"; - } - } - - $result = "
-

{$subtemplateTitle}

-
{$values}
-
"; - - return $result; - } - public function careers($subtemplateTitle) { - $args = array( - 'post_type' => 'career', - 'order' => 'ASC' - ); - - $careers = get_posts($args); - $careerMarkup = ''; - if (!empty($careers)) { - foreach ($careers as $career) { - $id = $career->ID; - $name = $career->post_title; - $url = get_permalink($id); - - $careerMarkup .= "
  • {$name}
  • "; - } - } - - $result = "
    -
    -

    {$subtemplateTitle}

    -
      {$careerMarkup}
    -
    -
    "; - - return $result; - } - public function mediaDetail($subtemplateTitle) { - $image = get_sub_field('image')['url']; - - $args = array( - 'post_type' => 'presscoverage', - 'order' => 'ASC', - 'posts_per_page' => 50 - ); - - - $pressItems = get_posts($args); - $pressMarkup = ''; - if (!empty($pressItems)) { - foreach ($pressItems as $item) { - $id = $item->ID; - $name = $item->post_title; - $url = get_field('link_to_article',$id); - $pubDate= get_field('date_published',$id); - $quote = get_field('quote',$id); - - $pressMarkup .= "
    -

    {$name}

    - -
    {$quote}
    -
    "; - } - } - - $result = "
    -
    -
    -

    {$subtemplateTitle}

    - Media Companies -
    {$pressMarkup}
    - -
    -
    -
    "; - - return $result; - } - public function download($subtemplateTitle) { - $leftUrl = get_sub_field('left_button_url'); - $leftText = get_sub_field('left_button_text'); - $rightUrl = get_sub_field('right_button_url'); - $rightText = get_sub_field('right_button_text'); - - $result = "
    - -
    "; - - return $result; - } - public function contactPage($subtemplateTitle) { - $contactPoints = ''; - - $content = get_sub_field('content'); - - if (have_rows('contact_point')) { - while (have_rows('contact_point')) { - the_row(); - - $title = get_sub_field('contact_description'); - $contactInfo = make_clickable(get_sub_field('contact_details')); - - $contactPoints .= "
    -

    {$title}

    -
    {$contactInfo}
    -
    "; - } - } - - $result = "
    -
    -
    -

    {$subtemplateTitle}

    -
    -
    {$content}
    - -
    -
    -
    -
    "; - - return $result; - } - public function eventPage($subtemplateTitle) { - - $datePage = get_query_var('date'); - - if (empty($datePage)) { - return $this->mainEventPage($subtemplateTitle); - } - else { - - if (!preg_match('/2\d{7}$|all/',$datePage)) { - return $this->mainEventPage($subtemplateTitle); - } - - $args = ''; - if ($datePage === 'all') { - $args = array( - 'post_type' => 'event', - 'order' => 'DESC', - 'orderby' => 'meta_value', - 'meta_key' => 'date', - 'posts_per_page' => -1 - ); - } - else { - $firstOfMonth = DateTime::createFromFormat('Ymd',$datePage); - $month = $firstOfMonth->format('m'); - $year = $firstOfMonth->format('Y'); - $daysInMonth = cal_days_in_month(CAL_GREGORIAN,$month,$year); - $startDate = $year.$month.'01'; - $endDate = $year.$month.$daysInMonth; - - $args = array( - 'post_type' => 'event', - 'order' => 'ASC', - 'orderby' => 'meta_value', - 'meta_key' => 'date', - 'posts_per_page' => -1, - 'meta_query' => array( - array( - 'key' => 'date', - 'value' => $startDate, - 'compare' => '>=', - ), - array( - 'key' => 'date', - 'value' => $endDate, - 'compare' => '<=' - ) - ) - ); - } - - - - $events = get_posts($args); - $eventMarkup = ''; - $dateInLoop = ''; - $lastDate = ''; - if (!empty($events)) { - foreach ($events as $item) { - $id = $item->ID; - $name = $item->post_title; - $url = get_field('link_to_event',$id); - $pubDate= get_field('date',$id); - $quote = get_field('description',$id); - - $dateInLoop = date_create_from_format('F j, Y', $pubDate); - $dateInLoop = date_format($dateInLoop, 'F Y'); - $header = ''; - if ($dateInLoop !== $lastDate) { - $header = "

    {$dateInLoop}

    "; - } - - $eventMarkup .= "{$header} -
    -

    {$name}

    - -
    {$quote}
    -
    "; - - $lastDate = $dateInLoop; - } - } - else { - $eventMarkup = "

    There are no events for this time period

    "; - } - - $sidebar = $this->eventSidebar(); - - $result = "
    -
    -
    -
    -

    Events

    -
    {$eventMarkup}
    -
    - {$sidebar} -
    -
    -
    "; - - return $result; - } - - - - } - public function existingNew($subtemplateTitle) { - - $existing = get_sub_field('existing_marketplace_content'); - $new = get_sub_field('new_marketplace_content'); - - $result = "
    -
    -

    {$subtemplateTitle}

    -
    -
    Existing Marketplace
    -
    New Marketplace
    -
    -

    Existing Marketplace

    {$existing}
    -

    New Marketplace

    {$new}
    -
    -
    "; - - return $result; - } - public function startedFast($subtemplateTitle) { - - $content = get_sub_field('content'); - $apiImg = get_sub_field('api_image')['url']; - $whiteImg = get_sub_field('white_label_marketplace_image')['url']; - $apiText = get_sub_field('api_text'); - $whiteText = get_sub_field('white_label_text'); - - $result = "
    -
    -

    {$subtemplateTitle}

    -
    {$content}
    -
    -
    -

    API

    - API - {$apiText} -
    -
    -

    White Label Marketplace

    - White Label Marketplace - {$whiteText} -
    -
    - -
    -
    "; - - return $result; - } - - public function mainEventPage($subtemplateTitle) { - $today = date('Ymd'); - - $args = array( - 'post_type' => 'event', - 'order' => 'ASC', - 'orderby' => 'meta_value', - 'meta_key' => 'date', - 'posts_per_page' => 20, - 'meta_query' => array( - array( - 'key' => 'date', - 'value' => $today, //array - 'compare' => '>=', - ) - ) - ); - - $futureEvents = get_posts($args); - $futureMarkup = ''; - $dateInLoop = ''; - $lastDate = ''; - if (!empty($futureEvents)) { - foreach ($futureEvents as $item) { - $id = $item->ID; - $name = $item->post_title; - $url = get_field('link_to_event',$id); - $pubDate= get_field('date',$id); - $quote = get_field('description',$id); - - $dateInLoop = date_create_from_format('F j, Y', $pubDate); - $dateInLoop = date_format($dateInLoop, 'F Y'); - $header = ''; - if ($dateInLoop !== $lastDate) { - $header = "

    {$dateInLoop}

    "; - } - - $futureMarkup .= "{$header} -
    -

    {$name}

    - -
    {$quote}
    -
    "; - - $lastDate = $dateInLoop; - } - } - - $args = array( - 'post_type' => 'event', - 'order' => 'DESC', - 'orderby' => 'meta_value', - 'meta_key' => 'date', - 'posts_per_page' => 10, - 'meta_query' => array( - array( - 'key' => 'date', - 'value' => $today, //array - 'compare' => '<', - ) - ) - ); - - $pastEvents = get_posts($args); - $pastMarkup = ''; - $lastDate = ''; - if (!empty($pastEvents)) { - foreach ($pastEvents as $item) { - $id = $item->ID; - $name = $item->post_title; - $url = get_field('link_to_event',$id); - $pubDate= get_field('date',$id); - $quote = get_field('description',$id); - - $dateInLoop = date_create_from_format('F j, Y', $pubDate); - $dateInLoop = date_format($dateInLoop, 'F Y'); - $header = ''; - if ($dateInLoop !== $lastDate) { - - $header = "

    {$dateInLoop}

    "; - } - - $pastMarkup .= "{$header} -
    -

    {$name}

    - -
    {$quote}
    -
    "; - - $lastDate = $dateInLoop; - } - } - - $sidebar = $this->eventSidebar(); - - $result = "
    -
    -
    -
    -

    Upcoming Events

    -
    {$futureMarkup}
    -
    - {$sidebar} -
    -
    -
    -
    -
    -
    -
    -
    -

    Past Events

    -
    {$pastMarkup}
    -
    -
    -
    -
    "; - - return $result; - } - - public function eventSidebar() { - $today = date('Ymd'); - - $args = array( - 'post_type' => 'event', - 'order' => 'ASC', - 'orderby' => 'meta_value', - 'meta_key' => 'date', - 'posts_per_page' => -1, - 'meta_query' => array( - array( - 'key' => 'date', - 'value' => $today, //array - 'compare' => '>=', - ) - ) - ); - $url = get_home_url(); - $futureEvents = get_posts($args); - $futureListItems = ''; - $dateInLoop = ''; - $lastDate = ''; - if (!empty($futureEvents)) { - foreach ($futureEvents as $item) { - $id = $item->ID; - $pubDate= get_field('date',$id); - - $dateInLoop = date_create_from_format('F j, Y', $pubDate); - $dateTitle = date_format($dateInLoop, 'F Y'); - - $dateForLink = date_format($dateInLoop,'Y').date_format($dateInLoop,'m').'01'; - if ($dateTitle !== $lastDate) { - $url = get_home_url(); - $futureListItems .= "
  • {$dateTitle}
  • "; - } - - $lastDate = $dateTitle; - } - } - - $args = array( - 'post_type' => 'event', - 'order' => 'DESC', - 'orderby' => 'meta_value', - 'meta_key' => 'date', - 'posts_per_page' => -1, - 'meta_query' => array( - array( - 'key' => 'date', - 'value' => $today, //array - 'compare' => '<', - ) - ) - ); - - $pastEvents = get_posts($args); - $pastListItems = ''; - $lastDate = ''; - if (!empty($pastEvents)) { - foreach ($pastEvents as $item) { - $id = $item->ID; - $pubDate= get_field('date',$id); - - $dateInLoop = date_create_from_format('F j, Y', $pubDate); - $dateTitle = date_format($dateInLoop, 'F Y'); - - $dateForLink = date_format($dateInLoop,'Y').date_format($dateInLoop,'m').'01'; - if ($dateTitle !== $lastDate) { - - $pastListItems .= "
  • {$dateTitle}
  • "; - } - - $lastDate = $dateTitle; - } - } - - $result = ""; - - return $result; - } +
    {$content}
    +
    {$teamMemberMarkup}
    +
    +
    +
    "; + + return $result; + } + public function content($subtemplateTitle) { + + $content = get_sub_field('content'); + + $bgColor = get_sub_field('background_color'); + + $result = "
    +
    +
    +

    {$subtemplateTitle}

    +
    {$content}
    +
    +
    +
    "; + + return $result; + } + public function contentBoxed($subtemplateTitle) { + + $content = get_sub_field('content'); + + $result = "
    +
    +
    +

    {$subtemplateTitle}

    +
    {$content}
    +
    +
    +
    "; + + return $result; + } + public function image($subtemplateTitle) { + + $image = get_sub_field('image')['url']; + $imageAlt = get_sub_field('image')['alt']; + + $result = "
    +
    +
    +

    {$subtemplateTitle}

    +
    {$imageAlt}
    +
    +
    +
    "; + + return $result; + } + public function faq($subtemplateTitle) { + $featuredFAQ = '"; + + $regularFAQ = '
    '; + if (have_rows('regular_faqs')) { + while (have_rows('regular_faqs')) { + the_row(); + + $question = get_sub_field('question'); + $answer = get_sub_field('answer'); + + $regularFAQ .= "
    Q: {$question}
    +
    A: {$answer}
    "; + } + } + $regularFAQ .= "
    "; + + $result = "
    +
    +
    +

    {$subtemplateTitle}

    + {$featuredFAQ} + {$regularFAQ} +
    +
    +
    "; + + return $result; + } + public function values($subtemplateTitle) { + $values = ''; + if (have_rows('ascribe_values')) { + while (have_rows('ascribe_values')) { + the_row(); + + $title = get_sub_field('value_title'); + $description = get_sub_field('value_description'); + + $values .= "
    +

    {$title}

    +
    {$description}
    +
    "; + } + } + + $result = "
    +

    {$subtemplateTitle}

    +
    {$values}
    +
    "; + + return $result; + } + public function careers($subtemplateTitle) { + $args = array( + 'post_type' => 'career', + 'order' => 'ASC' + ); + + $careers = get_posts($args); + $careerMarkup = ''; + if (!empty($careers)) { + foreach ($careers as $career) { + $id = $career->ID; + $name = $career->post_title; + $url = get_permalink($id); + + $careerMarkup .= "
  • {$name}
  • "; + } + } + + $result = "
    +
    +

    {$subtemplateTitle}

    +
      {$careerMarkup}
    +
    +
    "; + + return $result; + } + public function mediaDetail($subtemplateTitle) { + $image = get_sub_field('image')['url']; + + $args = array( + 'post_type' => 'presscoverage', + 'order' => 'ASC', + 'posts_per_page' => 50 + ); + + + $pressItems = get_posts($args); + $pressMarkup = ''; + if (!empty($pressItems)) { + foreach ($pressItems as $item) { + $id = $item->ID; + $name = $item->post_title; + $url = get_field('link_to_article',$id); + $pubDate= get_field('date_published',$id); + $quote = get_field('quote',$id); + + $pressMarkup .= "
    +

    {$name}

    + +
    {$quote}
    +
    "; + } + } + + $result = "
    +
    +
    +

    {$subtemplateTitle}

    + Media Companies +
    {$pressMarkup}
    + +
    +
    +
    "; + + return $result; + } + public function download($subtemplateTitle) { + $leftUrl = get_sub_field('left_button_url'); + $leftText = get_sub_field('left_button_text'); + $rightUrl = get_sub_field('right_button_url'); + $rightText = get_sub_field('right_button_text'); + + $result = "
    + +
    "; + + return $result; + } + public function contactPage($subtemplateTitle) { + $contactPoints = ''; + + $content = get_sub_field('content'); + + if (have_rows('contact_point')) { + while (have_rows('contact_point')) { + the_row(); + + $title = get_sub_field('contact_description'); + $contactInfo = make_clickable(get_sub_field('contact_details')); + + $contactPoints .= "
    +

    {$title}

    +
    {$contactInfo}
    +
    "; + } + } + + $result = "
    +
    +
    +

    {$subtemplateTitle}

    +
    +
    {$content}
    + +
    +
    +
    +
    "; + + return $result; + } + public function eventPage($subtemplateTitle) { + + $datePage = get_query_var('date'); + + if (empty($datePage)) { + return $this->mainEventPage($subtemplateTitle); + } + else { + + if (!preg_match('/2\d{7}$|all/',$datePage)) { + return $this->mainEventPage($subtemplateTitle); + } + + $args = ''; + if ($datePage === 'all') { + $args = array( + 'post_type' => 'event', + 'order' => 'DESC', + 'orderby' => 'meta_value', + 'meta_key' => 'date', + 'posts_per_page' => -1 + ); + } + else { + $firstOfMonth = DateTime::createFromFormat('Ymd',$datePage); + $month = $firstOfMonth->format('m'); + $year = $firstOfMonth->format('Y'); + $daysInMonth = cal_days_in_month(CAL_GREGORIAN,$month,$year); + $startDate = $year.$month.'01'; + $endDate = $year.$month.$daysInMonth; + + $args = array( + 'post_type' => 'event', + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'date', + 'posts_per_page' => -1, + 'meta_query' => array( + array( + 'key' => 'date', + 'value' => $startDate, + 'compare' => '>=', + ), + array( + 'key' => 'date', + 'value' => $endDate, + 'compare' => '<=' + ) + ) + ); + } + + + + $events = get_posts($args); + $eventMarkup = ''; + $dateInLoop = ''; + $lastDate = ''; + if (!empty($events)) { + foreach ($events as $item) { + $id = $item->ID; + $name = $item->post_title; + $url = get_field('link_to_event',$id); + $pubDate= get_field('date',$id); + $quote = get_field('description',$id); + + $dateInLoop = date_create_from_format('F j, Y', $pubDate); + $dateInLoop = date_format($dateInLoop, 'F Y'); + $header = ''; + if ($dateInLoop !== $lastDate) { + $header = "

    {$dateInLoop}

    "; + } + + $eventMarkup .= "{$header} +
    +

    {$name}

    + +
    {$quote}
    +
    "; + + $lastDate = $dateInLoop; + } + } + else { + $eventMarkup = "

    There are no events for this time period

    "; + } + + $sidebar = $this->eventSidebar(); + + $result = "
    +
    +
    +
    +

    Events

    +
    {$eventMarkup}
    +
    + {$sidebar} +
    +
    +
    "; + + return $result; + } + + + + } + public function existingNew($subtemplateTitle) { + + $existing = get_sub_field('existing_marketplace_content'); + $new = get_sub_field('new_marketplace_content'); + + $result = "
    +
    +

    {$subtemplateTitle}

    +
    +
    Existing Marketplace
    +
    New Marketplace
    +
    +

    Existing Marketplace

    {$existing}
    +

    New Marketplace

    {$new}
    +
    +
    "; + + return $result; + } + public function startedFast($subtemplateTitle) { + + $content = get_sub_field('content'); + $apiImg = get_sub_field('api_image')['url']; + $whiteImg = get_sub_field('white_label_marketplace_image')['url']; + $apiText = get_sub_field('api_text'); + $whiteText = get_sub_field('white_label_text'); + + $result = "
    +
    +

    {$subtemplateTitle}

    +
    {$content}
    +
    +
    +

    API

    + API + {$apiText} +
    +
    +

    White Label Marketplace

    + White Label Marketplace + {$whiteText} +
    +
    + +
    +
    "; + + return $result; + } + + public function mainEventPage($subtemplateTitle) { + $today = date('Ymd'); + + $args = array( + 'post_type' => 'event', + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'date', + 'posts_per_page' => 20, + 'meta_query' => array( + array( + 'key' => 'date', + 'value' => $today, //array + 'compare' => '>=', + ) + ) + ); + + $futureEvents = get_posts($args); + $futureMarkup = ''; + $dateInLoop = ''; + $lastDate = ''; + if (!empty($futureEvents)) { + foreach ($futureEvents as $item) { + $id = $item->ID; + $name = $item->post_title; + $url = get_field('link_to_event',$id); + $pubDate= get_field('date',$id); + $quote = get_field('description',$id); + + $dateInLoop = date_create_from_format('F j, Y', $pubDate); + $dateInLoop = date_format($dateInLoop, 'F Y'); + $header = ''; + if ($dateInLoop !== $lastDate) { + $header = "

    {$dateInLoop}

    "; + } + + $futureMarkup .= "{$header} +
    +

    {$name}

    + +
    {$quote}
    +
    "; + + $lastDate = $dateInLoop; + } + } + + $args = array( + 'post_type' => 'event', + 'order' => 'DESC', + 'orderby' => 'meta_value', + 'meta_key' => 'date', + 'posts_per_page' => 10, + 'meta_query' => array( + array( + 'key' => 'date', + 'value' => $today, //array + 'compare' => '<', + ) + ) + ); + + $pastEvents = get_posts($args); + $pastMarkup = ''; + $lastDate = ''; + if (!empty($pastEvents)) { + foreach ($pastEvents as $item) { + $id = $item->ID; + $name = $item->post_title; + $url = get_field('link_to_event',$id); + $pubDate= get_field('date',$id); + $quote = get_field('description',$id); + + $dateInLoop = date_create_from_format('F j, Y', $pubDate); + $dateInLoop = date_format($dateInLoop, 'F Y'); + $header = ''; + if ($dateInLoop !== $lastDate) { + + $header = "

    {$dateInLoop}

    "; + } + + $pastMarkup .= "{$header} +
    +

    {$name}

    + +
    {$quote}
    +
    "; + + $lastDate = $dateInLoop; + } + } + + $sidebar = $this->eventSidebar(); + + $result = "
    +
    +
    +
    +

    Upcoming Events

    +
    {$futureMarkup}
    +
    + {$sidebar} +
    +
    +
    +
    +
    +
    +
    +
    +

    Past Events

    +
    {$pastMarkup}
    +
    +
    +
    +
    "; + + return $result; + } + + public function eventSidebar() { + $today = date('Ymd'); + + $args = array( + 'post_type' => 'event', + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'date', + 'posts_per_page' => -1, + 'meta_query' => array( + array( + 'key' => 'date', + 'value' => $today, //array + 'compare' => '>=', + ) + ) + ); + $url = get_home_url(); + $futureEvents = get_posts($args); + $futureListItems = ''; + $dateInLoop = ''; + $lastDate = ''; + if (!empty($futureEvents)) { + foreach ($futureEvents as $item) { + $id = $item->ID; + $pubDate= get_field('date',$id); + + $dateInLoop = date_create_from_format('F j, Y', $pubDate); + $dateTitle = date_format($dateInLoop, 'F Y'); + + $dateForLink = date_format($dateInLoop,'Y').date_format($dateInLoop,'m').'01'; + if ($dateTitle !== $lastDate) { + $url = get_home_url(); + $futureListItems .= "
  • {$dateTitle}
  • "; + } + + $lastDate = $dateTitle; + } + } + + $args = array( + 'post_type' => 'event', + 'order' => 'DESC', + 'orderby' => 'meta_value', + 'meta_key' => 'date', + 'posts_per_page' => -1, + 'meta_query' => array( + array( + 'key' => 'date', + 'value' => $today, //array + 'compare' => '<', + ) + ) + ); + + $pastEvents = get_posts($args); + $pastListItems = ''; + $lastDate = ''; + if (!empty($pastEvents)) { + foreach ($pastEvents as $item) { + $id = $item->ID; + $pubDate= get_field('date',$id); + + $dateInLoop = date_create_from_format('F j, Y', $pubDate); + $dateTitle = date_format($dateInLoop, 'F Y'); + + $dateForLink = date_format($dateInLoop,'Y').date_format($dateInLoop,'m').'01'; + if ($dateTitle !== $lastDate) { + + $pastListItems .= "
  • {$dateTitle}
  • "; + } + + $lastDate = $dateTitle; + } + } + + $result = ""; + + return $result; + } } diff --git a/controller/controller.inc.php b/controller/controller.inc.php index 46ddb85..465ec74 100644 --- a/controller/controller.inc.php +++ b/controller/controller.inc.php @@ -6,14 +6,14 @@ class Controller { - public function __construct() { - spl_autoload_register(function ($class) { - require_once 'classes/' . $class . '.php'; - }); - } + public function __construct() { + spl_autoload_register(function ($class) { + require_once 'classes/' . $class . '.php'; + }); + } - public function loopSubtemplates() { - $controller = new Subtemplate(); - return $controller->loopSubtemplates(); - } -} \ No newline at end of file + public function loopSubtemplates() { + $controller = new Subtemplate(); + return $controller->loopSubtemplates(); + } +} diff --git a/controller/header.php b/controller/header.php index 725cef8..9e46d76 100644 --- a/controller/header.php +++ b/controller/header.php @@ -16,18 +16,18 @@ $url = get_bloginfo('wpurl'); // if(isset($passInTitle)) { - $title = $passInTitle; + $title = $passInTitle; } else { - $title = get_the_title(); + $title = get_the_title(); } if (strpos($title, 'Home') !== false) { - $title = ''; + $title = ''; } else { - $title .= ' | '; + $title .= ' | '; } $title .= get_bloginfo(); // @@ -36,20 +36,20 @@ $title .= get_bloginfo(); $description = get_the_excerpt(); if (empty($description)) { - $content = get_field('subtemplate')[0]['content']; - if (!empty($content)) { - $description = substr(strip_tags($content),0,140)."..."; + $content = get_field('subtemplate')[0]['content']; + if (!empty($content)) { + $description = substr(strip_tags($content),0,140)."..."; - } + } } if (empty($description)) { - $description = get_bloginfo('description'); + $description = get_bloginfo('description'); } // // $image = get_field('header_image')['url']; if (empty($image)) { - $image = WPTHEME_TEMPLATE_URL.'/images/ico/apple-touch-icon-152x152.png'; + $image = WPTHEME_TEMPLATE_URL.'/images/ico/apple-touch-icon-152x152.png'; } -// \ No newline at end of file +// diff --git a/controller/init.php b/controller/init.php index cc4817f..d210a00 100644 --- a/controller/init.php +++ b/controller/init.php @@ -16,20 +16,20 @@ $url = get_bloginfo('wpurl'); // if(isset($passInTitle)) { - $title = $passInTitle; + $title = $passInTitle; } else { - $title = get_the_title(); + $title = get_the_title(); } if (strpos($title, 'Home') !== false) { - $title = ''; + $title = ''; } else { - $title .= ' | '; + $title .= ' | '; } $title .= get_bloginfo(); // @@ -38,21 +38,21 @@ $title .= get_bloginfo(); $description = get_the_excerpt(); if (empty($description)) { - $content = get_field('subtemplate')[0]['content']; - if (!empty($content)) { - $description = substr(strip_tags($content),0,140)."..."; + $content = get_field('subtemplate')[0]['content']; + if (!empty($content)) { + $description = substr(strip_tags($content),0,140)."..."; - } + } } if (empty($description)) { - $description = get_bloginfo('description'); + $description = get_bloginfo('description'); } // // $image = get_field('header_image')['url']; if (empty($image)) { - $image = WPTHEME_TEMPLATE_URL.'/images/ico/apple-touch-icon-152x152.png'; + $image = WPTHEME_TEMPLATE_URL.'/images/ico/apple-touch-icon-152x152.png'; } // @@ -60,4 +60,3 @@ if (empty($image)) { $signInLink = get_field('sign_in_link','option'); $signUpLink = get_field('sign_up_link','option'); // - diff --git a/footer.php b/footer.php index d8fe57a..d4016dd 100644 --- a/footer.php +++ b/footer.php @@ -14,147 +14,147 @@ $themeUrl = WPTHEME_TEMPLATE_URL . '/'; $facebook = get_field('facebook_url','option'); if ($facebook) { - $facebookIcon = '
  • "; + $facebook = "
  • "; } $github = get_field('github_url','option'); if ($github) { - $gitIcon = '
  • {$gitIcon}
  • "; + $github = "
  • {$gitIcon}
  • "; } $instagram = get_field('instagram_url','option'); if ($instagram) { - $instagramIcon = '
  • {$instagramIcon}
  • "; + $instagram = "
  • {$instagramIcon}
  • "; } $linkedin = get_field('linkedin_link','option'); if ($linkedin) { - $linkedIcon = '
  • {$linkedIcon}
  • "; + $linkedin = "
  • {$linkedIcon}
  • "; } $medium = get_field('medium_url','option'); if ($medium) { - $mediumIcon = '
  • {$mediumIcon}
  • "; + $medium = "
  • {$mediumIcon}
  • "; } $reddit = get_field('reddit_url','option'); if ($reddit) { - $redditIcon = '
  • {$redditIcon}
  • "; + $reddit = "
  • {$redditIcon}
  • "; } $tumblr = get_field('tumblr_url','option'); if ($tumblr) { - $tumblrIcon = '
  • {$tumblrIcon}
  • "; + $tumblr = "
  • {$tumblrIcon}
  • "; } $twitter = get_field('twitter_url','option'); if ($twitter) { - $twitIcon = '
  • "; + $twitter = "
  • "; } @@ -162,33 +162,33 @@ if ($twitter) { ?>
    - - + +
    diff --git a/functions.php b/functions.php index 35c6bf7..9a3cb38 100644 --- a/functions.php +++ b/functions.php @@ -35,8 +35,8 @@ add_filter( 'post_thumbnail_html', 'remove_thumbnail_dimensions', 10 ); add_filter( 'image_send_to_editor', 'remove_thumbnail_dimensions', 10 ); function remove_thumbnail_dimensions( $html ) { - $html = preg_replace( '/(width|height)=\"\d*\"\s/', "", $html ); - return $html; + $html = preg_replace( '/(width|height)=\"\d*\"\s/', "", $html ); + return $html; } //remove emoji script @@ -50,27 +50,27 @@ remove_action( 'admin_print_styles', 'print_emoji_styles' ); // TURN ON ACF SETTINGS PAGE if( function_exists('acf_add_options_page') ) { - acf_add_options_page(array( - 'page_title' => 'Theme General Settings', - 'menu_title' => 'Theme Settings', - 'menu_slug' => 'theme-general-settings', - 'capability' => 'edit_posts', - 'redirect' => false - )); + acf_add_options_page(array( + 'page_title' => 'Theme General Settings', + 'menu_title' => 'Theme Settings', + 'menu_slug' => 'theme-general-settings', + 'capability' => 'edit_posts', + 'redirect' => false + )); } //add excerpt to page function wpcodex_add_excerpt_support_for_pages() { - add_post_type_support( 'page', 'excerpt' ); + add_post_type_support( 'page', 'excerpt' ); } add_action( 'init', 'wpcodex_add_excerpt_support_for_pages' ); //Register Navigation function register_primary_nav_menu() { - register_nav_menu('landing-menu',__( 'Product Tour Navigation Menu' )); - register_nav_menu('main-footer-menu',__( 'Main Footer Navigation Menu' )); - register_nav_menu('lower-footer-menu',__( 'Lower Footer Navigation Menu' )); + register_nav_menu('landing-menu',__( 'Product Tour Navigation Menu' )); + register_nav_menu('main-footer-menu',__( 'Main Footer Navigation Menu' )); + register_nav_menu('lower-footer-menu',__( 'Lower Footer Navigation Menu' )); } add_action( 'init', 'register_primary_nav_menu'); @@ -80,9 +80,9 @@ add_theme_support( 'post-thumbnails' ); // ENABLE HR IN WSYWIG function enable_more_buttons($buttons) { - $buttons[] = 'hr'; + $buttons[] = 'hr'; - return $buttons; + return $buttons; } add_filter("mce_buttons", "enable_more_buttons"); @@ -91,14 +91,14 @@ add_filter("mce_buttons", "enable_more_buttons"); // THUMBNAIL ADD CUSTOM SIZE add_action( 'after_setup_theme', 'ttl_image_setup' ); function ttl_image_setup() { - add_image_size( 'blog-crop', 600, 350, true ); //(cropped) - add_image_size( 'blog-feature-crop', 300, 175, true ); //(cropped) + add_image_size( 'blog-crop', 600, 350, true ); //(cropped) + add_image_size( 'blog-feature-crop', 300, 175, true ); //(cropped) } // ADD QUERY VAR FOR EVENT PAGINATION add_filter('query_vars', 'add_my_var'); function add_my_var($public_query_vars) { - $public_query_vars[] = 'date'; - return $public_query_vars; -} \ No newline at end of file + $public_query_vars[] = 'date'; + return $public_query_vars; +} diff --git a/header.php b/header.php index 4632aaf..d53acd9 100644 --- a/header.php +++ b/header.php @@ -9,11 +9,11 @@ require 'controller/init.php'; $controller = new Controller(); if (!isset($headColour)) { - $headColour = ''; + $headColour = ''; } if (is_home()) { - $title = "Blog | ascribe"; + $title = "Blog | ascribe"; } ?> @@ -25,52 +25,52 @@ if (is_home()) { - - + + - <?php echo $title ?> - - - - - - - - + <?php echo $title ?> + + + + + + + + - - - - - + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - + + + - + >
    - diff --git a/home.php b/home.php index d317c3a..7148a2c 100644 --- a/home.php +++ b/home.php @@ -5,15 +5,15 @@ echo '
    '; echo '
    '; echo '
    '; if ( have_posts() ) { - while ( have_posts() ) { - the_post(); + while ( have_posts() ) { + the_post(); - get_template_part( 'content', 'blog' ); + get_template_part( 'content', 'blog' ); - } + } } else { - get_template_part( 'content', 'noposts' ); + get_template_part( 'content', 'noposts' ); } ?> @@ -25,4 +25,4 @@ echo '
    '; echo '
    '; echo '
    '; get_footer(); -?> \ No newline at end of file +?> diff --git a/humans.txt b/humans.txt index 63813ec..3eb4ada 100644 --- a/humans.txt +++ b/humans.txt @@ -1,21 +1,21 @@ /* TEAM */ - Developer: Territorial - Contact: us@territorial.ca - URI: http://territorial.ca + Developer: Territorial + Contact: us@territorial.ca + URI: http://territorial.ca /* THANKS */ - Template Design: 10up - URI: http://10up.com - Twitter: @10up - - Template Design: Eric Mann - URI: https://eamann.com - Twitter: @ericmann + Template Design: 10up + URI: http://10up.com + Twitter: @10up + + Template Design: Eric Mann + URI: https://eamann.com + Twitter: @ericmann + + Template Design: Luke Woodward + URI: http://lkwdwrd.com + Twitter: @lkwdwrd - Template Design: Luke Woodward - URI: http://lkwdwrd.com - Twitter: @lkwdwrd - /* SITE */ - Created: Thu Sep 17 2015 - Template: https://github.com/10up/generator-wp-make \ No newline at end of file + Created: Thu Sep 17 2015 + Template: https://github.com/10up/generator-wp-make diff --git a/includes/functions/core.php b/includes/functions/core.php index 9c907d3..cd2e6d8 100644 --- a/includes/functions/core.php +++ b/includes/functions/core.php @@ -11,13 +11,13 @@ namespace TenUp\ascribe\Core; * @return void. */ function setup() { - $n = function( $function ) { - return __NAMESPACE__ . "\\$function"; - }; + $n = function( $function ) { + return __NAMESPACE__ . "\\$function"; + }; - add_action( 'wp_enqueue_scripts', $n( 'scripts' ) ); + add_action( 'wp_enqueue_scripts', $n( 'scripts' ) ); - add_action( 'wp_enqueue_scripts', $n( 'styles' ) ); + add_action( 'wp_enqueue_scripts', $n( 'styles' ) ); } @@ -32,25 +32,25 @@ function setup() { */ function scripts( $debug = false ) { - wp_deregister_script('jquery'); - wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"), false, '1.3.2',true); - wp_enqueue_script('jquery'); + wp_deregister_script('jquery'); + wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"), false, '1.3.2',true); + wp_enqueue_script('jquery'); - wp_enqueue_script( - 'wptheme', - WPTHEME_TEMPLATE_URL . "/assets/js/ascribe.min.js", - array(), - WPTHEME_VERSION, - true - ); + wp_enqueue_script( + 'wptheme', + WPTHEME_TEMPLATE_URL . "/assets/js/ascribe.min.js", + array(), + WPTHEME_VERSION, + true + ); - wp_enqueue_script( - 'modernizr', - "https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js", - array(), - '2.8.3', - false - ); + wp_enqueue_script( + 'modernizr', + "https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js", + array(), + '2.8.3', + false + ); } @@ -65,12 +65,12 @@ function scripts( $debug = false ) { * @return void. */ function styles( $debug = false ) { - $min = ( $debug || defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; + $min = ( $debug || defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; - wp_enqueue_style( - 'wptheme', - WPTHEME_URL . "/assets/css/ascribe{$min}.css", - array(), - WPTHEME_VERSION - ); -} \ No newline at end of file + wp_enqueue_style( + 'wptheme', + WPTHEME_URL . "/assets/css/ascribe{$min}.css", + array(), + WPTHEME_VERSION + ); +} diff --git a/includes/readme.md b/includes/readme.md index 6a5898a..45d2b3c 100644 --- a/includes/readme.md +++ b/includes/readme.md @@ -1,3 +1,3 @@ # Includes -All theme classes, objects, and libraries should be hidden away in this `/includes` directory. \ No newline at end of file +All theme classes, objects, and libraries should be hidden away in this `/includes` directory. diff --git a/index.php b/index.php index 25af85c..9f2ae42 100644 --- a/index.php +++ b/index.php @@ -1,2 +1,2 @@ - - - ./tests/phpunit - - - - - ./includes - - - - - - - + bootstrap="bootstrap.php.dist" + backupGlobals="false" + processIsolation="false" + colors="false"> + + + ./tests/phpunit + + + + + ./includes + + + + + + + diff --git a/sidebar-blog.php b/sidebar-blog.php index 244f4f9..beb26e4 100644 --- a/sidebar-blog.php +++ b/sidebar-blog.php @@ -10,11 +10,11 @@ $banner = get_field('banner_for_blog_sidebar','option'); $image = ''; if ($banner) { - $image = "{$banner["; + $image = "{$banner["; } ?> \ No newline at end of file + + blogFeatures("sidebar"); ?> + diff --git a/single-post.php b/single-post.php index d4e5499..104944b 100644 --- a/single-post.php +++ b/single-post.php @@ -3,17 +3,17 @@ get_header(); get_template_part( 'template', 'blogheader' ); echo '
    '; if ( have_posts() ) { - while ( have_posts() ) { - the_post(); + while ( have_posts() ) { + the_post(); - get_template_part( 'content', 'blog' ); + get_template_part( 'content', 'blog' ); - } + } } else { - get_template_part( 'content', 'noposts' ); + get_template_part( 'content', 'noposts' ); } echo '
    '; get_footer(); -?> \ No newline at end of file +?> diff --git a/template-blogheader.php b/template-blogheader.php index f9c6cc5..e12262b 100644 --- a/template-blogheader.php +++ b/template-blogheader.php @@ -10,41 +10,41 @@ require 'controller/init.php'; ?>
    -
    - - - - -
    - 'main-footer-menu', 'container' => false ) ); ?> -
    -
    -
    +
    + + + + +
    + 'main-footer-menu', 'container' => false ) ); ?> +
    +
    +
    -
    -
    -

    ascribe blog

    +
    +
    +

    ascribe blog

    diff --git a/template-companyblue.php b/template-companyblue.php index 02684e9..0be2ecc 100644 --- a/template-companyblue.php +++ b/template-companyblue.php @@ -4,4 +4,4 @@ Template Name: Company Page - Blue */ $headColour = 'blue'; -require 'template.php'; \ No newline at end of file +require 'template.php'; diff --git a/template-companywhite.php b/template-companywhite.php index 251c9a2..7e29456 100644 --- a/template-companywhite.php +++ b/template-companywhite.php @@ -3,4 +3,4 @@ Template Name: Company Page - White */ $headColour = 'white'; -require 'template.php'; \ No newline at end of file +require 'template.php'; diff --git a/template-events.php b/template-events.php index a232f09..64ffd23 100644 --- a/template-events.php +++ b/template-events.php @@ -2,4 +2,4 @@ /* Template Name: Events */ -require 'template.php'; \ No newline at end of file +require 'template.php'; diff --git a/template-general.php b/template-general.php index ede7a68..260eb33 100644 --- a/template-general.php +++ b/template-general.php @@ -2,4 +2,4 @@ /* Template Name: General Content Page */ -require 'template.php'; \ No newline at end of file +require 'template.php'; diff --git a/template-header.php b/template-header.php index 9477d03..980ce32 100644 --- a/template-header.php +++ b/template-header.php @@ -9,27 +9,27 @@ require 'controller/init.php'; ?>
    -
    -
    - - - + +
    +
    +
    +
    + 'main-footer-menu', 'container' => false ) ); ?> +
    +
    diff --git a/template-tour.php b/template-tour.php index b8a2673..9bd45e9 100644 --- a/template-tour.php +++ b/template-tour.php @@ -14,36 +14,36 @@ $controller = new Controller(); ?>
    -
    -
    +
    +
    - - - - -
    -
    -
    -
    -

    - -
    -
    - 'main-footer-menu', 'container' => false ) ); ?> -
    -
    -
    + + + + +
    +
    +
    +
    +

    + +
    +
    + 'main-footer-menu', 'container' => false ) ); ?> +
    +
    +
    -
    - loopSubtemplates(); ?> -
    +
    + loopSubtemplates(); ?> +
    diff --git a/template.php b/template.php index ff7dea0..177241b 100644 --- a/template.php +++ b/template.php @@ -14,4 +14,4 @@ $controller = new Controller(); - \ No newline at end of file +