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
48 lines
652 B
Plaintext
Executable File
48 lines
652 B
Plaintext
Executable File
.media {
|
|
// Proper spacing between instances of .media
|
|
margin-top: 15px;
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.media-right,
|
|
.media > .pull-right {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.media-left,
|
|
.media > .pull-left {
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.media-left,
|
|
.media-right,
|
|
.media-body {
|
|
display: table-cell;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.media-middle {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.media-bottom {
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
// Reset margins on headings for tighter default spacing
|
|
.media-heading {
|
|
margin-top: 0;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
// Media list variation
|
|
//
|
|
// Undo default ul/ol styles
|
|
.media-list {
|
|
padding-left: 0;
|
|
list-style: none;
|
|
}
|