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
.fancy-box(@width, @height) { | |
.border-radius(6px); | |
.box-shadow(0px, 0px, 5px, rgba(0, 0, 0, 0.5)); | |
display: block; | |
background: rgb(0, 0, 0); | |
background: rgba(0, 0, 0, 0.4); | |
width: @width - 10; | |
height: @height - 9; | |
padding: 5px 5px 4px 5px; |
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
* { | |
margin: 0; | |
padding: 0; | |
} | |
*:focus { | |
outline: none; | |
} | |
body { |
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
// Header Navigation Drop Down Menu | |
window.jQuery(function ($) { | |
"use strict"; | |
var slideDownDuration, slideUpDuration, $activationTarget, navTimers; | |
function activateMenu() { | |
var id, $this, $menu; | |
id = $.data(this); |
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
<?php | |
// Safe Search and Replace on Database with Serialized Data v2.0.0 | |
// This script is to solve the problem of doing database search and replace | |
// when developers have only gone and used the non-relational concept of | |
// serializing PHP arrays into single database columns. It will search for all | |
// matching data on the database and change it, even if it's within a serialized | |
// PHP array. |
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
// Prevent empty hash anchors | |
$(document).delegate('a', 'click', function (e) { | |
if ($(this).attr('href') === '#') { | |
e.preventDefault(); | |
} | |
}); |
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
/* Schedule */ | |
$(function () { | |
var $scheduleButton, | |
$schedulePanel, | |
$scheduleScrollpane, | |
initializeScrollpane; | |
var animationDuration = 400; | |
var scheduleOpen = false; |
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
/* Twitter Feed */ | |
jQuery(function ($) { | |
var $twitterList = $('.home-twitter > .inner'); | |
if (!$twitterList.length) { | |
return; | |
} | |
// Twitter list has been filled with data |
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
<?php | |
global $post; | |
if ($post->post_parent) : | |
wp_list_pages(array( | |
'child_of' => $post->post_parent, | |
'title_li' => Null, | |
//'link_before' => '<span>', | |
//'link_after' => '</span>', | |
)); | |
endif; |
OlderNewer