This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.advert-white,.advert-white-consumer,.homepage-business-adverts,.homepage-consumer-adverts{position:absolute;width:700px;display:block;top:0}body,textarea{font-family:Arial,'Sans Serif'}*{margin:0;padding:0}a img{border:none}li,ol,ul{list-style-type:none}body{font-size:80%;color:#666}.advert-white{left:0;background:#fff;height:370px;z-index:9}.advert-white-consumer{left:0;background:#fff;height:370px;z-index:3}.homepage-consumer-adverts.homepage-hidden{display:block}.homepage-consumer-adverts{overflow:hidden;z-index:1}.homepage-consumer-adverts.banner-adverts{border:1px solid #ccc;padding:6px}.homepage-consumer-adverts.banner-adverts h2{margin-bottom:6px;background:#D31245;color:#FFF;text-align:center;font-size:22px;padding:5px 0}.homepage-consumer-adverts.banner-adverts .half-width-advert: first-of-type{margin-right:6px}.homepage-business-adverts{z-index:5;overflow:hidden}.homepage-business-adverts li{height:348px}.full-width-adverts{display:block;position:relative;overflow:hidden;height:370px}.full-width-ad |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// Why are you looking in here, dont you have some code to be writing | |
var serveStatic = require('serve-static'); | |
var path = require('path'); | |
var port = 35729; | |
module.exports = function( grunt ) { | |
grunt.loadNpmTasks('grunt-contrib-watch'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var oldSiteHtml = '<div class="fixed-banner" style="background:#4EA99E;"><div class="container" style="max-width:984px;"><p>lorem ipsum sit dolor amet concecutor <a href="#" id="newSite" class="fixed-banner-button-old">Go to the new site</a><a href="#" id="dismiss" class="fixed-banner-button-old">Dismiss</a></p></div></div>'; | |
$(oldSiteHtml).prependTo('body'); | |
var newSiteHtml = '<div class="fixed-banner" style="background:#166158;"><div class="container" style="max-width:1024px;"><p>lorem ipsum sit dolor amet concecutor <a href="#" id="oldSite" class="fixed-banner-button-new">Go back to the old site</a><a href="#" id="dismiss" class="fixed-banner-button-new">Dismiss</a></p></div></div>'; | |
$(newSiteHtml).prependTo('body'); | |
$('body').on('click', '#dismiss', function() { | |
$(this).closest('.fixed-banner').hide(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var del = require('del'); | |
var uglify = require('gulp-uglify'); | |
var gulpif = require('gulp-if'); | |
var exec = require('child_process').exec; | |
var notify = require('gulp-notify'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { // passing Jquery $ into the function | |
// Define variable for our overall function | |
var Timeline = { | |
// Define variables for the below function | |
timelineWrapper: $('.timeline'), | |
timelineItems: $('.timeline-wrapper'), | |
// Initialising functions (Function written below) | |
init: function(){ | |
this.timelineAlignment(); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { // passing Jquery $ into the function | |
// Define variable for our overall function | |
var Contact = { | |
// Define variables for the below function | |
contactItems: $('#block-views-studios-block .views-row'), // gets the container for each sidebar idem | |
selectDropdown: $( "#edit-submitted-studio"), // gets us the select element | |
// Initialising functions (Function written below) | |
init: function(){ | |
this.contactItemChanger(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var App = { | |
myProperty : 'someValue', | |
jqueryVar1 : $('.someClass'), | |
jqueryVar2 : $('.someOtherClass'), | |
jqueryVar3 : $('#id'), | |
myConfig:{ | |
useCaching:true, | |
language: 'en' | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function rem($pxval) { | |
$val: strip-unit($pxval); | |
$base: strip-unit($browser-default-font-size); | |
@if ($old-ie == true) { | |
@return $val * 1px; | |
} | |
@else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process.env.NODE_ENV = 'development'; | |
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
compass = require('gulp-compass'), | |
minifycss = require('gulp-minify-css'), | |
concat = require('gulp-concat'), | |
uglify = require('gulp-uglify'), | |
sourcemaps = require('gulp-sourcemaps'), |
NewerOlder