This file contains hidden or 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
//Rework Plugins | |
var plugins = { | |
calc:require("rework-calc"), | |
colorFunction: require("rework-color-function"), | |
customMedia:require("rework-custom-media"), | |
fontVariant:require("rework-font-variant"), | |
hexAlpha:require("rework-hex-alpha"), | |
import: require("rework-import"), | |
inherit:require("rework-inherit"), |
This file contains hidden or 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
//REM Calc font size | |
@function calculateRem($size) { | |
$remSize: $size / 16px; | |
@return $remSize * 1rem; | |
} | |
@mixin font-size($size) { | |
font-size: $size; /* ie8 fallback */ | |
font-size: calculateRem($size); |
This file contains hidden or 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
Ractive.partials.selectbox= require("../selectbox/selectbox.html"); | |
var flexinputs ={ | |
Input:require("./layouts/Input.html"), | |
InputAnchor:require("./layouts/InputAnchor.html"), | |
InputButton:require("./layouts/InputButton.html"), | |
InputSlectbox:require("./layouts/InputSelect.html"), | |
InputSelectboxAnchor:require("./layouts/InputSelectAnchor.html"), | |
InputSelectboxButton:require("./layouts/InputSelectButton.html"), | |
Selectbox:require("./layouts/Select.html"), | |
TripleSelect:require("./layouts/TripleSelect.html"), |
This file contains hidden or 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
<input class="flex-input-field" decorator="typeahead"> |
This file contains hidden or 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
// markup: <label class="css-label"><input type="checkbox" id="valueCheck" /><i class="css-checkbox"></i>Some Label</label> | |
.css-label{ | |
padding-left:20px; | |
position:relative; | |
input[type=checkbox]{ | |
position: absolute; | |
opacity: 0; | |
overflow: hidden; | |
clip: rect(0 0 0 0); | |
height:15px; |
This file contains hidden or 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 template_config(header, header_data, body, body_data){ | |
Handlebars.getTemplate = function(name) { | |
if (Handlebars.templates === undefined || Handlebars.templates[name] === undefined) { | |
$.ajax({ | |
url : 'templates/' + name + '.handlebars', | |
success : function(data) { | |
if (Handlebars.templates === undefined) { | |
Handlebars.templates = {}; | |
} | |
Handlebars.templates[name] = Handlebars.compile(data); |
This file contains hidden or 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 subjects = jQuery('#edit-field-course-subjects-taxonomy-und'); | |
function displayPrimarySubject(){ | |
var subjectVal =[]; | |
var subjectInput = subjects.find('input:checked'); | |
subjectInput.each(function(){ | |
var catVal= jQuery(this).val(); | |
subjectVal.push(catVal); | |
}); | |
var primarySubjectField= jQuery('#edit-field-primary-subject'); | |
if (subjectVal.length > 0){ |
This file contains hidden or 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
<!-- saved from url=(0034)http://dev.opusproofing.com/appup/ --> | |
<html><head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge; chrome=1" /> | |
<title></title> | |
<style type="text/css"> | |
body{ | |
background-color:transparent;background-image:url(images/6180_iadp_news_gradient.gif); | |
background-repeat:repeat-x;background-position:top left;background-attachment:scroll; |
This file contains hidden or 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
<html> | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--Preheader styles--> | |
<style> | |
.preheader{display:none;} | |
@media (max-device-width:480px) { | |
.preheader {display:block;} | |
} |
NewerOlder