/* Set the body padding-top when above 980px to push the content down from below the navbar, which is fixed at >980px screen widths. */ pre { font-size: 12px; } .dropdown .dropdown-menu { display: none; } .dropdown.open .dropdown-menu { display: block; } @media (max-width: 480px) { .repo-link { display: none; } } /* Header link to GitHub */ .repo-link { float: right; margin-right: 10px; margin-top: 9px; } body.index-page #main-content p.badges { padding-bottom: 1px; } /* GitHub 'Star' badge */ body.index-page #main-content iframe.github-star-button { float: right; margin-top: -12px; margin-right: -15px; } /* Tweet button */ body.index-page #main-content iframe.twitter-share-button { float: right; margin-top: -12px; margin-right: 8px; } /* Travis CI badge */ body.index-page #main-content img.travis-build-image { float: right; margin-right: 8px; margin-top: -11px; margin-bottom: 0px; } /* Github source file badges */ a.github { float: right; margin-top: -12px; margin-right: 12px; } a.github:hover { text-decoration: none; } /* */ body hr { border-top: 1px dotted #A30000; } /* Force TOC text to not overrun */ #table-of-contents { overflow: hidden; margin: 0 0 20px 0; } /* Code blocks should scroll horizontally */ pre { overflow: auto; word-wrap: normal; white-space: pre; } /* Preserve the spacing of the navbar across different screen sizes. */ .navbar-inner { /*padding: 5px 0;*/ } @media (max-width: 979px) { .navbar .brand { margin-left: 0; padding-left: 0; } .navbar-inner .container-fluid { padding-left: 15px; } } .nav-list li.main { font-weight: bold; } .nav-list a { overflow: hidden; } .nav-list > li > a { padding: 2px 15px 3px; } /* Set the table of contents to static so it flows back into the content when viewed on tablets and smaller. */ @media (max-width: 767px) { #table-of-contents { position: static; } } /* When the page is in two-column layout, give the main content some room to breath on the left. */ @media (min-width: 768px) { #main-content { padding-left: 1em; } } /* Cutesy quote styling */ blockquote { font-family: Georgia, serif; font-size: 18px; font-style: italic; margin: 0.25em 0; padding: 0.25em 40px; line-height: 1.45; position: relative; color: #383838; border-left: none; } blockquote:before { display: block; content: "\201C"; font-size: 80px; position: absolute; left: -10px; top: -20px; color: #7a7a7a; } blockquote p:last-child { color: #999999; font-size: 14px; display: block; margin-top: 5px; } /*=== dabapps bootstrap styles ====*/ html{ width:100%; background: none; } body, .navbar .navbar-inner .container-fluid{ max-width: 1150px; margin: 0 auto; } body{ background: url("../img/grid.png") repeat-x; background-attachment: fixed; } /* custom navigation styles */ .navbar .navbar-inner{ background: #2C2C2C; color: white; border: none; border-top: 5px solid #A30000; } .navbar .navbar-inner .nav li, .navbar .navbar-inner .nav li a, .navbar .navbar-inner .brand{ color: white; } .nav-list > .active > a, .navbar .navbar-inner .nav li a:hover { background:#212121; color:white; } .navbar .navbar-inner .dropdown-menu li a, .navbar .navbar-inner .dropdown-menu li{ color: #A30000; } .navbar .navbar-inner .dropdown-menu li a:hover{ background: #eeeeee; color: #c20000; } /* custom general page styles */ .hero-unit h2, .hero-unit h1{ color: #A30000; } body a{ color: #A30000; } body a:hover{ color: #c20000; } /* subnavigation styles */ @media (min-width: 767px) { .sidebar-nav-fixed { position:fixed; width:19%; max-width: 240px; } .navbar { position: fixed; } .navbar .navbar-inner .container-fluid{ max-width: 1110px; } } /* sticky footer and footer */ html, body { height: 100%; } .wrapper { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -60px; } .body-content{ padding-top: 70px; padding-bottom: 70px; } @media (max-width: 979px) { .navbar-fixed-top .navbar-inner { padding: 0px; } } @media (max-width: 767px) { .body-content{ padding-top: 0px; } } @media (min-width: 768px) { footer.span12 { width: 95%; } } footer, .push { height: 60px; /* .push must be the same height as .footer */ } footer p { text-align: center; color: gray; border-top: 1px solid #DDD; padding-top: 10px; } footer a { color: gray; font-weight: bold; } footer a:hover { color: gray; } .btn-inverse { background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#606060), to(#404040)) !important; background-image: -webkit-linear-gradient(top, #606060, #404040) !important; } .modal-open .modal,.btn:focus{outline:none;} @media (max-width: 650px) { .repo-link.btn-inverse {display: none;} } td, th { padding: 0.25em; background-color: #f7f7f9; border-color: #e1e1e8; } table { border-color: white; margin-bottom: 0.6em; } .side-nav { overflow-y: scroll; } href='#n62'>62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
'use strict';
/**
* @license AngularJS
* (c) 2010-2011 AngularJS http://angularjs.org
* License: MIT
*/
(function(window) {
var filename = /^(.*\/)angular-bootstrap.js(#.*)?$/,
scripts = document.getElementsByTagName("SCRIPT"),
serverPath,
match,
globalVars = {};
for(var j = 0; j < scripts.length; j++) {
match = (scripts[j].src || "").match(filename);
if (match) {
serverPath = match[1];
}
}
function key(prop) {
return "ng-clobber_" + prop;
}
window.angularClobberTest = function(file) {
var varKey, prop,
clobbered = [];
for (prop in window) {
varKey = key(prop);
if (prop === 'event') { //skip special variables which keep on changing
continue;
}
else if (!globalVars.hasOwnProperty(varKey)) {
//console.log('new global variable found: ', prop);
try {
globalVars[varKey] = window[prop];
} catch(e) {} //ignore properties that throw exception when accessed (common in FF)
} else if (globalVars[varKey] !== window[prop] && !isActuallyNaN(window[prop]) && prop != 'jqLite') {
clobbered.push(prop);
console.error("Global variable clobbered by script " + file + "! Variable name: " + prop);
globalVars[varKey] = window[prop];
}
}
for (varKey in globalVars) {
prop = varKey.substr(11);
if (clobbered.indexOf(prop) == -1 &&
prop != 'event' &&
prop != 'jqLite' &&
!isActuallyNaN(globalVars[varKey]) &&
globalVars[varKey] !== window[prop]) {
delete globalVars[varKey];
console.warn("Global variable unexpectedly deleted in script " + file + "! " +
"Variable name: " + prop);
}
}
function isActuallyNaN(val) {
return isNaN(val) && (typeof val === 'number');
}
};
window.addScripts = function(scripts) {
delete window.addScripts;
delete window.angularFiles;
var prop, i;
// initialize the window property cache
for (prop in window) {
try {
globalVars[key(prop)] = window[prop];
} catch(e) {} //ignore properties that throw exception when accessed (common in FF)
}
// load the js scripts
for (i in scripts) {
var file = scripts[i].replace(/src\//, '');
document.write('<script type="text/javascript" src="' + serverPath + file + '" ' +
'onload="angularClobberTest(\'' + file + '\')"></script>');
}
}
function addCss(file) {
document.write('<link rel="stylesheet" type="text/css" href="' +
serverPath + '../css/' + file + '"/>');
}
addCss('angular.css');
document.write('<script type="text/javascript" src="' + serverPath + '../angularFiles.js' + '" ' +
'onload="addScripts(angularFiles.angularSrc)"></script>');
function onLoadListener() {
// empty the cache to prevent mem leaks
globalVars = {};
var config = angularJsConfig(document);
angularInit(config, document);
}
if (window.addEventListener) {
window.addEventListener('load', onLoadListener, false);
} else if (window.attachEvent) {
window.attachEvent('onload', onLoadListener);
}
})(window);