This moves the location of javascript files, commonFramework, iFrameScript, sandbox, plugin, and all the less files. On gulp or gulp build these files are moved and revisioned. Places where they are references in jade/html are now removed and replaced with the use of a helper function `rev`. This function will take the required file and return a string referencing the revisioned file. This should alleviate the need for hard refreshing and will break caches when files change, so fixes for firefox caching issue as well. NOTE: @benmcmahon @quincylarson, This means files will need to be build on the server in production before doing a server restart/reload In production: 'npm run build' To build and revision js/css files `gulp` and `gulp build` will used in development npm install also needs to be run in production on initial deploy
57 lines
780 B
Plaintext
Executable File
57 lines
780 B
Plaintext
Executable File
//
|
|
// Utility classes
|
|
// --------------------------------------------------
|
|
|
|
|
|
// Floats
|
|
// -------------------------
|
|
|
|
.clearfix {
|
|
.clearfix();
|
|
}
|
|
.center-block {
|
|
.center-block();
|
|
}
|
|
.pull-right {
|
|
float: right !important;
|
|
}
|
|
.pull-left {
|
|
float: left !important;
|
|
}
|
|
|
|
|
|
// Toggling content
|
|
// -------------------------
|
|
|
|
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
|
.hide {
|
|
display: none !important;
|
|
}
|
|
.show {
|
|
display: block !important;
|
|
}
|
|
.invisible {
|
|
visibility: hidden;
|
|
}
|
|
.text-hide {
|
|
.text-hide();
|
|
}
|
|
|
|
|
|
// Hide from screenreaders and browsers
|
|
//
|
|
// Credit: HTML5 Boilerplate
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
}
|
|
|
|
|
|
// For Affix plugin
|
|
// -------------------------
|
|
|
|
.affix {
|
|
position: fixed;
|
|
}
|