dashing 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +202 -0
- data/bin/dashing +82 -0
- data/javascripts/batman.jquery.js +109 -0
- data/javascripts/batman.js +11811 -0
- data/javascripts/dashing.coffee +96 -0
- data/javascripts/es5-shim.js +1021 -0
- data/javascripts/jquery.js +4 -0
- data/lib/dashing.rb +109 -0
- data/templates/dashboard/%name%.erb.tt +7 -0
- data/templates/job/%name%.rb +4 -0
- data/templates/project/Gemfile +3 -0
- data/templates/project/README.md +0 -0
- data/templates/project/assets/fonts/fontawesome-webfont.eot +0 -0
- data/templates/project/assets/fonts/fontawesome-webfont.svg +255 -0
- data/templates/project/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/templates/project/assets/fonts/fontawesome-webfont.woff +0 -0
- data/templates/project/assets/images/favicon.ico +0 -0
- data/templates/project/assets/javascripts/application.coffee +24 -0
- data/templates/project/assets/javascripts/d3.v2.min.js +4 -0
- data/templates/project/assets/javascripts/dashing.gridster.coffee +32 -0
- data/templates/project/assets/javascripts/gridster/jquery.gridster.js +2890 -0
- data/templates/project/assets/javascripts/gridster/jquery.leanModal.min.js +5 -0
- data/templates/project/assets/javascripts/jquery.knob.js +646 -0
- data/templates/project/assets/javascripts/rickshaw.min.js +2 -0
- data/templates/project/assets/stylesheets/application.scss +229 -0
- data/templates/project/assets/stylesheets/font-awesome.css +303 -0
- data/templates/project/assets/stylesheets/jquery.gridster.css +57 -0
- data/templates/project/config.ru +18 -0
- data/templates/project/dashboards/layout.erb +32 -0
- data/templates/project/dashboards/sample.erb +25 -0
- data/templates/project/jobs/buzzwords.rb +9 -0
- data/templates/project/jobs/convergence.rb +13 -0
- data/templates/project/jobs/sample.rb +9 -0
- data/templates/project/lib/.empty_directory +1 -0
- data/templates/project/public/.empty_directory +1 -0
- data/templates/project/widgets/graph/graph.coffee +26 -0
- data/templates/project/widgets/graph/graph.html +5 -0
- data/templates/project/widgets/graph/graph.scss +51 -0
- data/templates/project/widgets/list/list.coffee +13 -0
- data/templates/project/widgets/list/list.html +15 -0
- data/templates/project/widgets/list/list.scss +52 -0
- data/templates/project/widgets/meter/meter.coffee +14 -0
- data/templates/project/widgets/meter/meter.html +5 -0
- data/templates/project/widgets/meter/meter.scss +37 -0
- data/templates/project/widgets/number/number.coffee +25 -0
- data/templates/project/widgets/number/number.html +9 -0
- data/templates/project/widgets/number/number.scss +35 -0
- data/templates/project/widgets/text/text.coffee +1 -0
- data/templates/project/widgets/text/text.html +5 -0
- data/templates/project/widgets/text/text.scss +25 -0
- data/templates/widget/%name%/%name%.coffee.tt +10 -0
- data/templates/widget/%name%/%name%.html +1 -0
- data/templates/widget/%name%/%name%.scss.tt +3 -0
- metadata +187 -0
@@ -0,0 +1,2 @@
|
|
1
|
+
Rickshaw={namespace:function(a,b){var c=a.split("."),d=typeof global!="undefined"?global:window,e=d.Rickshaw;for(var f=1,g=c.length;f<g;f++)currentPart=c[f],e[currentPart]=e[currentPart]||{},e=e[currentPart];return e},keys:function(a){var b=[];for(var c in a)b.push(c);return b},extend:function(a,b){for(var c in b)a[c]=b[c];return a}},function(a){function j(a){return b.call(a)===i}function k(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function l(a){if(m(a)!==h)throw new TypeError;var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c);return b}function m(a){switch(a){case null:return c;case void 0:return d}var b=typeof a;switch(b){case"boolean":return e;case"number":return f;case"string":return g}return h}function n(a){return typeof a=="undefined"}function p(a){var b=a.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1].replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g,"").replace(/\s+/g,"").split(",");return b.length==1&&!b[0]?[]:b}function q(a,b){var c=a;return function(){var a=r([t(c,this)],arguments);return b.apply(this,a)}}function r(a,b){var c=a.length,d=b.length;while(d--)a[c+d]=b[d];return a}function s(a,b){return a=o.call(a,0),r(a,b)}function t(a,b){if(arguments.length<2&&n(arguments[0]))return this;var c=a,d=o.call(arguments,2);return function(){var a=s(d,arguments);return c.apply(b,a)}}var b=Object.prototype.toString,c="Null",d="Undefined",e="Boolean",f="Number",g="String",h="Object",i="[object Function]",o=Array.prototype.slice,u=function(){},v=function(){function b(){}function c(){function d(){this.initialize.apply(this,arguments)}var a=null,c=[].slice.apply(arguments);j(c[0])&&(a=c.shift()),k(d,v.Methods),d.superclass=a,d.subclasses=[];if(a){b.prototype=a.prototype,d.prototype=new b;try{a.subclasses.push(d)}catch(e){}}for(var f=0,g=c.length;f<g;f++)d.addMethods(c[f]);return d.prototype.initialize||(d.prototype.initialize=u),d.prototype.constructor=d,d}function d(b){var c=this.superclass&&this.superclass.prototype,d=l(b);a&&(b.toString!=Object.prototype.toString&&d.push("toString"),b.valueOf!=Object.prototype.valueOf&&d.push("valueOf"));for(var e=0,f=d.length;e<f;e++){var g=d[e],h=b[g];if(c&&j(h)&&p(h)[0]=="$super"){var i=h;h=q(function(a){return function(){return c[a].apply(this,arguments)}}(g),i),h.valueOf=t(i.valueOf,i),h.toString=t(i.toString,i)}this.prototype[g]=h}return this}var a=function(){for(var a in{toString:1})if(a==="toString")return!1;return!0}();return{create:c,Methods:{addMethods:d}}}();a.exports?a.exports.Class=v:a.Class=v}(Rickshaw),Rickshaw.namespace("Rickshaw.Compat.ClassList"),Rickshaw.Compat.ClassList=function(){typeof document!="undefined"&&!("classList"in document.createElement("a"))&&function(a){"use strict";var b="classList",c="prototype",d=(a.HTMLElement||a.Element)[c],e=Object,f=String[c].trim||function(){return this.replace(/^\s+|\s+$/g,"")},g=Array[c].indexOf||function(a){var b=0,c=this.length;for(;b<c;b++)if(b in this&&this[b]===a)return b;return-1},h=function(a,b){this.name=a,this.code=DOMException[a],this.message=b},i=function(a,b){if(b==="")throw new h("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(b))throw new h("INVALID_CHARACTER_ERR","String contains an invalid character");return g.call(a,b)},j=function(a){var b=f.call(a.className),c=b?b.split(/\s+/):[],d=0,e=c.length;for(;d<e;d++)this.push(c[d]);this._updateClassName=function(){a.className=this.toString()}},k=j[c]=[],l=function(){return new j(this)};h[c]=Error[c],k.item=function(a){return this[a]||null},k.contains=function(a){return a+="",i(this,a)!==-1},k.add=function(a){a+="",i(this,a)===-1&&(this.push(a),this._updateClassName())},k.remove=function(a){a+="";var b=i(this,a);b!==-1&&(this.splice(b,1),this._updateClassName())},k.toggle=function(a){a+="",i(this,a)===-1?this.add(a):this.remove(a)},k.toString=function(){return this.join(" ")};if(e.defineProperty){var m={get:l,enumerable:!0,configurable:!0};try{e.defineProperty(d,b,m)}catch(n){n.number===-2146823252&&(m.enumerable=!1,e.defineProperty(d,b,m))}}else e[c].__defineGetter__&&d.__defineGetter__(b,l)}(self)},(typeof RICKSHAW_NO_COMPAT!="undefined"&&!RICKSHAW_NO_COMPAT||typeof RICKSHAW_NO_COMPAT=="undefined")&&new Rickshaw.Compat.ClassList,Rickshaw.namespace("Rickshaw.Graph"),Rickshaw.Graph=function(a){this.element=a.element,this.series=a.series,this.defaults={interpolation:"cardinal",offset:"zero",min:undefined,max:undefined},Rickshaw.keys(this.defaults).forEach(function(b){this[b]=a[b]||this.defaults[b]},this),this.window={},this.updateCallbacks=[];var b=this;this.initialize=function(a){this.validateSeries(a.series),this.series.active=function(){return b.series.filter(function(a){return!a.disabled})},this.setSize({width:a.width,height:a.height}),this.element.classList.add("rickshaw_graph"),this.vis=d3.select(this.element).append("svg:svg").attr("width",this.width).attr("height",this.height);var c=[Rickshaw.Graph.Renderer.Stack,Rickshaw.Graph.Renderer.Line,Rickshaw.Graph.Renderer.Bar,Rickshaw.Graph.Renderer.Area,Rickshaw.Graph.Renderer.ScatterPlot];c.forEach(function(a){if(!a)return;b.registerRenderer(new a({graph:b}))}),this.setRenderer(a.renderer||"stack",a),this.discoverRange()},this.validateSeries=function(a){if(!(a instanceof Array||a instanceof Rickshaw.Series)){var b=Object.prototype.toString.apply(a);throw"series is not an array: "+b}var c;a.forEach(function(a){if(!(a instanceof Object))throw"series element is not an object: "+a;if(!a.data)throw"series has no data: "+JSON.stringify(a);if(!(a.data instanceof Array))throw"series data is not an array: "+JSON.stringify(a.data);c=c||a.data.length;if(c&&a.data.length!=c)throw"series cannot have differing numbers of points: "+c+" vs "+a.data.length+"; see Rickshaw.Series.zeroFill()";var b=typeof a.data[0].x,d=typeof a.data[0].y;if(b!="number"||d!="number")throw"x and y properties of points should be numbers instead of "+b+" and "+d})},this.dataDomain=function(){var a=this.series[0].data;return[a[0].x,a.slice(-1).shift().x]},this.discoverRange=function(){var a=this.renderer.domain();this.x=d3.scale.linear().domain(a.x).range([0,this.width]),this.y=d3.scale.linear().domain(a.y).range([this.height,0]),this.y.magnitude=d3.scale.linear().domain(a.y).range([0,this.height])},this.render=function(){var a=this.stackData();this.discoverRange(),this.renderer.render(),this.updateCallbacks.forEach(function(a){a()})},this.update=this.render,this.stackData=function(){var a=this.series.active().map(function(a){return a.data}).map(function(a){return a.filter(function(a){return this._slice(a)},this)},this);this.stackData.hooks.data.forEach(function(c){a=c.f.apply(b,[a])});var c=d3.layout.stack();c.offset(b.offset);var d=c(a);this.stackData.hooks.after.forEach(function(c){d=c.f.apply(b,[a])});var e=0;return this.series.forEach(function(a){if(a.disabled)return;a.stack=d[e++]}),this.stackedData=d,d},this.stackData.hooks={data:[],after:[]},this._slice=function(a){if(this.window.xMin||this.window.xMax){var b=!0;return this.window.xMin&&a.x<this.window.xMin&&(b=!1),this.window.xMax&&a.x>this.window.xMax&&(b=!1),b}return!0},this.onUpdate=function(a){this.updateCallbacks.push(a)},this.registerRenderer=function(a){this._renderers=this._renderers||{},this._renderers[a.name]=a},this.configure=function(a){(a.width||a.height)&&this.setSize(a),Rickshaw.keys(this.defaults).forEach(function(b){this[b]=b in a?a[b]:b in this?this[b]:this.defaults[b]},this),this.setRenderer(a.renderer||this.renderer.name,a)},this.setRenderer=function(a,b){if(!this._renderers[a])throw"couldn't find renderer "+a;this.renderer=this._renderers[a],typeof b=="object"&&this.renderer.configure(b)},this.setSize=function(a){a=a||{};if(typeof window!==undefined)var b=window.getComputedStyle(this.element,null),c=parseInt(b.getPropertyValue("width")),d=parseInt(b.getPropertyValue("height"));this.width=a.width||c||400,this.height=a.height||d||250,this.vis&&this.vis.attr("width",this.width).attr("height",this.height)},this.initialize(a)},Rickshaw.namespace("Rickshaw.Fixtures.Color"),Rickshaw.Fixtures.Color=function(){this.schemes={},this.schemes.spectrum14=["#ecb796","#dc8f70","#b2a470","#92875a","#716c49","#d2ed82","#bbe468","#a1d05d","#e7cbe6","#d8aad6","#a888c2","#9dc2d3","#649eb9","#387aa3"].reverse(),this.schemes.spectrum2000=["#57306f","#514c76","#646583","#738394","#6b9c7d","#84b665","#a7ca50","#bfe746","#e2f528","#fff726","#ecdd00","#d4b11d","#de8800","#de4800","#c91515","#9a0000","#7b0429","#580839","#31082b"],this.schemes.spectrum2001=["#2f243f","#3c2c55","#4a3768","#565270","#6b6b7c","#72957f","#86ad6e","#a1bc5e","#b8d954","#d3e04e","#ccad2a","#cc8412","#c1521d","#ad3821","#8a1010","#681717","#531e1e","#3d1818","#320a1b"],this.schemes.classic9=["#423d4f","#4a6860","#848f39","#a2b73c","#ddcb53","#c5a32f","#7d5836","#963b20","#7c2626","#491d37","#2f254a"].reverse(),this.schemes.httpStatus={503:"#ea5029",502:"#d23f14",500:"#bf3613",410:"#efacea",409:"#e291dc",403:"#f457e8",408:"#e121d2",401:"#b92dae",405:"#f47ceb",404:"#a82a9f",400:"#b263c6",301:"#6fa024",302:"#87c32b",307:"#a0d84c",304:"#28b55c",200:"#1a4f74",206:"#27839f",201:"#52adc9",202:"#7c979f",203:"#a5b8bd",204:"#c1cdd1"},this.schemes.colorwheel=["#b5b6a9","#858772","#785f43","#96557e","#4682b4","#65b9ac","#73c03a","#cb513a"].reverse(),this.schemes.cool=["#5e9d2f","#73c03a","#4682b4","#7bc3b8","#a9884e","#c1b266","#a47493","#c09fb5"],this.schemes.munin=["#00cc00","#0066b3","#ff8000","#ffcc00","#330099","#990099","#ccff00","#ff0000","#808080","#008f00","#00487d","#b35a00","#b38f00","#6b006b","#8fb300","#b30000","#bebebe","#80ff80","#80c9ff","#ffc080","#ffe680","#aa80ff","#ee00cc","#ff8080","#666600","#ffbfff","#00ffcc","#cc6699","#999900"]},Rickshaw.namespace("Rickshaw.Fixtures.RandomData"),Rickshaw.Fixtures.RandomData=function(a){var b;a=a||1;var c=200,d=Math.floor((new Date).getTime()/1e3);this.addData=function(b){var e=Math.random()*100+15+c,f=b[0].length,g=1;b.forEach(function(b){var c=Math.random()*20,h=e/25+g++ +(Math.cos(f*g*11/960)+2)*15+(Math.cos(f/7)+2)*7+(Math.cos(f/17)+2)*1;b.push({x:f*a+d,y:h+c})}),c=e*.85}},Rickshaw.namespace("Rickshaw.Fixtures.Time"),Rickshaw.Fixtures.Time=function(){var a=(new Date).getTimezoneOffset()*60,b=this;this.months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],this.units=[{name:"decade",seconds:315576e3,formatter:function(a){return parseInt(a.getUTCFullYear()/10)*10}},{name:"year",seconds:31557600,formatter:function(a){return a.getUTCFullYear()}},{name:"month",seconds:2635200,formatter:function(a){return b.months[a.getUTCMonth()]}},{name:"week",seconds:604800,formatter:function(a){return b.formatDate(a)}},{name:"day",seconds:86400,formatter:function(a){return a.getUTCDate()}},{name:"6 hour",seconds:21600,formatter:function(a){return b.formatTime(a)}},{name:"hour",seconds:3600,formatter:function(a){return b.formatTime(a)}},{name:"15 minute",seconds:900,formatter:function(a){return b.formatTime(a)}},{name:"minute",seconds:60,formatter:function(a){return a.getUTCMinutes()}},{name:"15 second",seconds:15,formatter:function(a){return a.getUTCSeconds()+"s"}},{name:"second",seconds:1,formatter:function(a){return a.getUTCSeconds()+"s"}}],this.unit=function(a){return this.units.filter(function(b){return a==b.name}).shift()},this.formatDate=function(a){return a.toUTCString().match(/, (\w+ \w+ \w+)/)[1]},this.formatTime=function(a){return a.toUTCString().match(/(\d+:\d+):/)[1]},this.ceil=function(a,b){if(b.name=="month"){var c=new Date((a+b.seconds-1)*1e3),d=new Date(0);return d.setUTCFullYear(c.getUTCFullYear()),d.setUTCMonth(c.getUTCMonth()),d.setUTCDate(1),d.setUTCHours(0),d.setUTCMinutes(0),d.setUTCSeconds(0),d.setUTCMilliseconds(0),d.getTime()/1e3}if(b.name=="year"){var c=new Date((a+b.seconds-1)*1e3),d=new Date(0);return d.setUTCFullYear(c.getUTCFullYear()),d.setUTCMonth(0),d.setUTCDate(1),d.setUTCHours(0),d.setUTCMinutes(0),d.setUTCSeconds(0),d.setUTCMilliseconds(0),d.getTime()/1e3}return Math.ceil(a/b.seconds)*b.seconds}},Rickshaw.namespace("Rickshaw.Fixtures.Number"),Rickshaw.Fixtures.Number.formatKMBT=function(a){return a>=1e12?a/1e12+"T":a>=1e9?a/1e9+"B":a>=1e6?a/1e6+"M":a>=1e3?a/1e3+"K":a<1&&a>0?a.toFixed(2):a==0?"":a},Rickshaw.Fixtures.Number.formatBase1024KMGTP=function(a){return a>=0x4000000000000?a/0x4000000000000+"P":a>=1099511627776?a/1099511627776+"T":a>=1073741824?a/1073741824+"G":a>=1048576?a/1048576+"M":a>=1024?a/1024+"K":a<1&&a>0?a.toFixed(2):a==0?"":a},Rickshaw.namespace("Rickshaw.Color.Palette"),Rickshaw.Color.Palette=function(a){var b=new Rickshaw.Fixtures.Color;a=a||{},this.schemes={},this.scheme=b.schemes[a.scheme]||a.scheme||b.schemes.colorwheel,this.runningIndex=0,this.generatorIndex=0;if(a.interpolatedStopCount){var c=this.scheme.length-1,d,e,f=[];for(d=0;d<c;d++){f.push(this.scheme[d]);var g=d3.interpolateHsl(this.scheme[d],this.scheme[d+1]);for(e=1;e<a.interpolatedStopCount;e++)f.push(g(1/a.interpolatedStopCount*e))}f.push(this.scheme[this.scheme.length-1]),this.scheme=f}this.rotateCount=this.scheme.length,this.color=function(a){return this.scheme[a]||this.scheme[this.runningIndex++]||this.interpolateColor()||"#808080"},this.interpolateColor=function(){var a;return this.generatorIndex==this.rotateCount*2-1?(a=d3.interpolateHsl(this.scheme[this.generatorIndex],this.scheme[0])(.5),this.generatorIndex=0,this.rotateCount*=2):(a=d3.interpolateHsl(this.scheme[this.generatorIndex],this.scheme[this.generatorIndex+1])(.5),this.generatorIndex++),this.scheme.push(a),a}},Rickshaw.namespace("Graph.Ajax"),Rickshaw.Graph.Ajax=function(a){var b=this;this.dataURL=a.dataURL,$.ajax({url:this.dataURL,complete:function(c,d){d==="error"&&console.log("error loading dataURL: "+this.dataURL);var e=JSON.parse(c.responseText);if(typeof a.onData=="function"){var f=a.onData(e);e=f}a.series?a.series.forEach(function(a){var b=a.key||a.name;if(!b)throw"series needs a key or a name";e.forEach(function(c){var d=c.key||c.name;if(!d)throw"data needs a key or a name";if(b==d){var e=["color","name","data"];e.forEach(function(b){a[b]=a[b]||c[b]})}})}):a.series=e,b.graph=new Rickshaw.Graph(a),b.graph.render(),typeof a.onComplete=="function"&&a.onComplete(b)}})},Rickshaw.namespace("Rickshaw.Graph.Annotate"),Rickshaw.Graph.Annotate=function(a){var b=this.graph=a.graph;this.elements={timeline:a.element};var c=this;this.data={},this.elements.timeline.classList.add("rickshaw_annotation_timeline"),this.add=function(a,b){c.data[a]=c.data[a]||{boxes:[]},c.data[a].boxes.push({content:b})},this.update=function(){Rickshaw.keys(c.data).forEach(function(a){var b=c.data[a],d=c.graph.x(a);if(d<0||d>c.graph.x.range()[1]){b.element&&(b.element.style.display="none");return}if(!b.element){var e=b.element=document.createElement("div");e.classList.add("annotation"),this.elements.timeline.appendChild(e),e.addEventListener("click",function(a){e.classList.toggle("active"),b.line.classList.toggle("active")},!1)}b.element.style.left=d+"px",b.element.style.display="block",b.boxes.forEach(function(a){var e=a.element;e||(e=a.element=document.createElement("div"),e.classList.add("content"),e.innerHTML=a.content,b.element.appendChild(e),b.line=document.createElement("div"),b.line.classList.add("annotation_line"),c.graph.element.appendChild(b.line)),b.line.style.left=d+"px"})},this)},this.graph.onUpdate(function(){c.update()})},Rickshaw.namespace("Rickshaw.Graph.Axis.Time"),Rickshaw.Graph.Axis.Time=function(a){var b=this;this.graph=a.graph,this.elements=[],this.ticksTreatment=a.ticksTreatment||"plain",this.fixedTimeUnit=a.timeUnit;var c=new Rickshaw.Fixtures.Time;this.appropriateTimeUnit=function(){var a,b=c.units,d=this.graph.x.domain(),e=d[1]-d[0];return b.forEach(function(b){Math.floor(e/b.seconds)>=2&&(a=a||b)}),a||c.units[c.units.length-1]},this.tickOffsets=function(){var a=this.graph.x.domain(),b=this.fixedTimeUnit||this.appropriateTimeUnit(),d=Math.ceil((a[1]-a[0])/b.seconds),e=a[0],f=[];for(var g=0;g<d;g++)tickValue=c.ceil(e,b),e=tickValue+b.seconds/2,f.push({value:tickValue,unit:b});return f},this.render=function(){this.elements.forEach(function(a){a.parentNode.removeChild(a)}),this.elements=[];var a=this.tickOffsets();a.forEach(function(a){if(b.graph.x(a.value)>b.graph.x.range()[1])return;var c=document.createElement("div");c.style.left=b.graph.x(a.value)+"px",c.classList.add("x_tick"),c.classList.add(b.ticksTreatment);var d=document.createElement("div");d.classList.add("title"),d.innerHTML=a.unit.formatter(new Date(a.value*1e3)),c.appendChild(d),b.graph.element.appendChild(c),b.elements.push(c)})},this.graph.onUpdate(function(){b.render()})},Rickshaw.namespace("Rickshaw.Graph.Axis.Y"),Rickshaw.Graph.Axis.Y=function(a){var b=this,c=.1;this.initialize=function(a){this.graph=a.graph,this.orientation=a.orientation||"right";var c=a.pixelsPerTick||75;this.ticks=a.ticks||Math.floor(this.graph.height/c),this.tickSize=a.tickSize||4,this.ticksTreatment=a.ticksTreatment||"plain",a.element?(this.element=a.element,this.vis=d3.select(a.element).append("svg:svg").attr("class","rickshaw_graph y_axis"),this.element=this.vis[0][0],this.element.style.position="relative",this.setSize({width:a.width,height:a.height})):this.vis=this.graph.vis,this.graph.onUpdate(function(){b.render()})},this.setSize=function(a){a=a||{};if(!this.element)return;if(typeof window!="undefined"){var b=window.getComputedStyle(this.element.parentNode,null),d=parseInt(b.getPropertyValue("width"));if(!a.auto)var e=parseInt(b.getPropertyValue("height"))}this.width=a.width||d||this.graph.width*c,this.height=a.height||e||this.graph.height,this.vis.attr("width",this.width).attr("height",this.height*(1+c));var f=this.height*c;this.element.style.top=-1*f+"px"},this.render=function(){this.graph.height!==this._renderHeight&&this.setSize({auto:!0});var b=d3.svg.axis().scale(this.graph.y).orient(this.orientation);b.tickFormat(a.tickFormat||function(a){return a});if(this.orientation=="left")var d=this.height*c,e="translate("+this.width+", "+d+")";this.element&&this.vis.selectAll("*").remove(),this.vis.append("svg:g").attr("class",["y_ticks",this.ticksTreatment].join(" ")).attr("transform",e).call(b.ticks(this.ticks).tickSubdivide(0).tickSize(this.tickSize));var f=(this.orientation=="right"?1:-1)*this.graph.width;this.graph.vis.append("svg:g").attr("class","y_grid").call(b.ticks(this.ticks).tickSubdivide(0).tickSize(f)),this._renderHeight=this.graph.height},this.initialize(a)},Rickshaw.namespace("Rickshaw.Graph.Behavior.Series.Highlight"),Rickshaw.Graph.Behavior.Series.Highlight=function(a){this.graph=a.graph,this.legend=a.legend;var b=this,c={};this.addHighlightEvents=function(a){a.element.addEventListener("mouseover",function(d){b.legend.lines.forEach(function(b){if(a===b)return;c[b.series.name]=c[b.series.name]||b.series.color,b.series.color=d3.interpolateRgb(b.series.color,d3.rgb("#d8d8d8"))(.8).toString()}),b.graph.update()},!1),a.element.addEventListener("mouseout",function(a){b.legend.lines.forEach(function(a){c[a.series.name]&&(a.series.color=c[a.series.name])}),b.graph.update()},!1)},this.legend&&this.legend.lines.forEach(function(a){b.addHighlightEvents(a)})},Rickshaw.namespace("Rickshaw.Graph.Behavior.Series.Order"),Rickshaw.Graph.Behavior.Series.Order=function(a){this.graph=a.graph,this.legend=a.legend;var b=this;$(function(){$(b.legend.list).sortable({containment:"parent",tolerance:"pointer",update:function(a,c){var d=[];$(b.legend.list).find("li").each(function(a,b){if(!b.series)return;d.push(b.series)});for(var e=b.graph.series.length-1;e>=0;e--)b.graph.series[e]=d.shift();b.graph.update()}}),$(b.legend.list).disableSelection()}),this.graph.onUpdate(function(){var a=window.getComputedStyle(b.legend.element).height;b.legend.element.style.height=a})},Rickshaw.namespace("Rickshaw.Graph.Behavior.Series.Toggle"),Rickshaw.Graph.Behavior.Series.Toggle=function(a){this.graph=a.graph,this.legend=a.legend;var b=this;this.addAnchor=function(a){var c=document.createElement("a");c.innerHTML="✔",c.classList.add("action"),a.element.insertBefore(c,a.element.firstChild),c.onclick=function(b){a.series.disabled?(a.series.enable(),a.element.classList.remove("disabled")):(a.series.disable(),a.element.classList.add("disabled"))};var d=a.element.getElementsByTagName("span")[0];d.onclick=function(c){var d=a.series.disabled;if(!d)for(var e=0;e<b.legend.lines.length;e++){var f=b.legend.lines[e];if(a.series!==f.series&&!f.series.disabled){d=!0;break}}d?(a.series.enable(),a.element.classList.remove("disabled"),b.legend.lines.forEach(function(b){a.series!==b.series&&(b.series.disable(),b.element.classList.add("disabled"))})):b.legend.lines.forEach(function(a){a.series.enable(),a.element.classList.remove("disabled")})}},this.legend&&($(this.legend.list).sortable({start:function(a,b){b.item.bind("no.onclick",function(a){a.preventDefault()})},stop:function(a,b){setTimeout(function(){b.item.unbind("no.onclick")},250)}}),this.legend.lines.forEach(function(a){b.addAnchor(a)})),this._addBehavior=function(){this.graph.series.forEach(function(a){a.disable=function(){if(b.graph.series.length<=1)throw"only one series left";a.disabled=!0,b.graph.update()},a.enable=function(){a.disabled=!1,b.graph.update()}})},this._addBehavior(),this.updateBehaviour=function(){this._addBehavior()}},Rickshaw.namespace("Rickshaw.Graph.HoverDetail"),Rickshaw.Graph.HoverDetail=Rickshaw.Class.create({initialize:function(a){var b=this.graph=a.graph;this.xFormatter=a.xFormatter||function(a){return(new Date(a*1e3)).toUTCString()},this.yFormatter=a.yFormatter||function(a){return a.toFixed(2)};var c=this.element=document.createElement("div");c.className="detail",this.visible=!0,b.element.appendChild(c),this.lastEvent=null,this._addListeners(),this.onShow=a.onShow,this.onHide=a.onHide,this.onRender=a.onRender,this.formatter=a.formatter||this.formatter},formatter:function(a,b,c,d,e,f){return a.name+": "+e},update:function(a){a=a||this.lastEvent;if(!a)return;this.lastEvent=a;if(!a.target.nodeName.match(/^(path|svg|rect)$/))return;var b=this.graph,c=a.offsetX||a.layerX,d=a.offsetY||a.layerY,e=b.x.invert(c),f=b.stackedData,g=f.slice(-1).shift(),h=d3.scale.linear().domain([g[0].x,g.slice(-1).shift().x]).range([0,g.length]),i=Math.floor(h(e)),j=Math.min(i||0,f[0].length-1);for(var k=i;k<f[0].length-1;){if(!f[0][k]||!f[0][k+1])break;if(f[0][k].x<=e&&f[0][k+1].x>e){j=k;break}f[0][k+1]<=e?k++:k--}var e=f[0][j].x,l=this.xFormatter(e),m=b.x(e),n=0,o=b.series.active().map(function(a){return{order:n++,series:a,name:a.name,value:a.stack[j]}}),p,q=function(a,b){return a.value.y0+a.value.y-(b.value.y0+b.value.y)},r=b.y.magnitude.invert(b.element.offsetHeight-d);o.sort(q).forEach(function(a){a.formattedYValue=this.yFormatter.constructor==Array?this.yFormatter[o.indexOf(a)](a.value.y):this.yFormatter(a.value.y),a.graphX=m,a.graphY=b.y(a.value.y0+a.value.y),r>a.value.y0&&r<a.value.y0+a.value.y&&!p&&(p=a,a.active=!0)},this),this.element.innerHTML="",this.element.style.left=b.x(e)+"px",this.visible&&this.render({detail:o,domainX:e,formattedXValue:l,mouseX:c,mouseY:d})},hide:function(){this.visible=!1,this.element.classList.add("inactive"),typeof this.onHide=="function"&&this.onHide()},show:function(){this.visible=!0,this.element.classList.remove("inactive"),typeof this.onShow=="function"&&this.onShow()},render:function(a){var b=a.detail,c=a.domainX,d=a.mouseX,e=a.mouseY,f=a.formattedXValue,g=document.createElement("div");g.className="x_label",g.innerHTML=f,this.element.appendChild(g),b.forEach(function(a){var b=document.createElement("div");b.className="item",b.innerHTML=this.formatter(a.series,c,a.value.y,f,a.formattedYValue,a),b.style.top=this.graph.y(a.value.y0+a.value.y)+"px",this.element.appendChild(b);var d=document.createElement("div");d.className="dot",d.style.top=b.style.top,d.style.borderColor=a.series.color,this.element.appendChild(d),a.active&&(b.className="item active",d.className="dot active")},this),this.show(),typeof this.onRender=="function"&&this.onRender(a)},_addListeners:function(){this.graph.element.addEventListener("mousemove",function(a){this.visible=!0,this.update(a)}.bind(this),!1),this.graph.onUpdate(function(){this.update()}.bind(this)),this.graph.element.addEventListener("mouseout",function(a){a.relatedTarget&&!(a.relatedTarget.compareDocumentPosition(this.graph.element)&Node.DOCUMENT_POSITION_CONTAINS)&&this.hide()}.bind(this),!1)}}),Rickshaw.namespace("Rickshaw.Graph.JSONP"),Rickshaw.Graph.JSONP=function(a){var b=this;this.dataURL=a.dataURL,$.ajax({url:this.dataURL,dataType:"jsonp",success:function(c,d,e){d==="error"&&console.log("error loading dataURL: "+this.dataURL);if(typeof a.onData=="function"){var f=a.onData(c);c=f}a.series?a.series.forEach(function(a){var b=a.key||a.name;if(!b)throw"series needs a key or a name";c.forEach(function(c){var d=c.key||c.name;if(!d)throw"data needs a key or a name";if(b==d){var e=["color","name","data"];e.forEach(function(b){a[b]=a[b]||c[b]})}})}):a.series=c,b.graph=new Rickshaw.Graph(a),b.graph.render(),typeof a.onComplete=="function"&&a.onComplete(b)}})},Rickshaw.namespace("Rickshaw.Graph.Legend"),Rickshaw.Graph.Legend=function(a){var b=this.element=a.element,c=this.graph=a.graph,d=this;b.classList.add("rickshaw_legend");var e=this.list=document.createElement("ul");b.appendChild(e);var f=c.series.map(function(a){return a}).reverse();this.lines=[],this.addLine=function(a){var b=document.createElement("li");b.className="line";var c=document.createElement("div");c.className="swatch",c.style.backgroundColor=a.color,b.appendChild(c);var f=document.createElement("span");f.className="label",f.innerHTML=a.name,b.appendChild(f),e.appendChild(b),b.series=a,a.noLegend&&(b.style.display="none");var g={element:b,series:a};d.shelving&&(d.shelving.addAnchor(g),d.shelving.updateBehaviour()),d.highlighter&&d.highlighter.addHighlightEvents(g),d.lines.push(g)},f.forEach(function(a){d.addLine(a)}),c.onUpdate(function(){})},Rickshaw.namespace("Rickshaw.Graph.RangeSlider"),Rickshaw.Graph.RangeSlider=function(a){var b=this.element=a.element,c=this.graph=a.graph;$(function(){$(b).slider({range:!0,min:c.dataDomain()[0],max:c.dataDomain()[1],values:[c.dataDomain()[0],c.dataDomain()[1]],slide:function(a,b){c.window.xMin=b.values[0],c.window.xMax=b.values[1],c.update(),c.dataDomain()[0]==b.values[0]&&(c.window.xMin=undefined),c.dataDomain()[1]==b.values[1]&&(c.window.xMax=undefined)}})}),b[0].style.width=c.width+"px",c.onUpdate(function(){var a=$(b).slider("option","values");$(b).slider("option","min",c.dataDomain()[0]),$(b).slider("option","max",c.dataDomain()[1]),c.window.xMin==undefined&&(a[0]=c.dataDomain()[0]),c.window.xMax==undefined&&(a[1]=c.dataDomain()[1]),$(b).slider("option","values",a)})},Rickshaw.namespace("Rickshaw.Graph.Renderer"),Rickshaw.Graph.Renderer=Rickshaw.Class.create({initialize:function(a){this.graph=a.graph,this.tension=a.tension||this.tension,this.graph.unstacker=this.graph.unstacker||new Rickshaw.Graph.Unstacker({graph:this.graph}),this.configure(a)},seriesPathFactory:function(){},seriesStrokeFactory:function(){},defaults:function(){return{tension:.8,strokeWidth:2,unstack:!0,padding:{top:.01,right:0,bottom:.01,left:0},stroke:!1,fill:!1}},domain:function(){var a=[],b=this.graph.stackedData||this.graph.stackData(),c=this.unstack?b:[b.slice(-1).shift()];c.forEach(function(b){b.forEach(function(b){a.push(b.y+b.y0)})});var d=b[0][0].x,e=b[0][b[0].length-1].x;d-=(e-d)*this.padding.left,e+=(e-d)*this.padding.right;var f=this.graph.min==="auto"?d3.min(a):this.graph.min||0,g=this.graph.max||d3.max(a);if(this.graph.min==="auto"||f<0)f-=(g-f)*this.padding.bottom;return this.graph.max===undefined&&(g+=(g-f)*this.padding.top),{x:[d,e],y:[f,g]}},render:function(){var a=this.graph;a.vis.selectAll("*").remove();var b=a.vis.selectAll("path").data(this.graph.stackedData).enter().append("svg:path").attr("d",this.seriesPathFactory()),c=0;a.series.forEach(function(a){if(a.disabled)return;a.path=b[0][c++],this._styleSeries(a)},this)},_styleSeries:function(a){var b=this.fill?a.color:"none",c=this.stroke?a.color:"none";a.path.setAttribute("fill",b),a.path.setAttribute("stroke",c),a.path.setAttribute("stroke-width",this.strokeWidth),a.path.setAttribute("class",a.className)},configure:function(a){a=a||{},Rickshaw.keys(this.defaults()).forEach(function(b){if(!a.hasOwnProperty(b)){this[b]=this[b]||this.graph[b]||this.defaults()[b];return}typeof this.defaults()[b]=="object"?Rickshaw.keys(this.defaults()[b]).forEach(function(c){this[b][c]=a[b][c]!==undefined?a[b][c]:this[b][c]!==undefined?this[b][c]:this.defaults()[b][c]},this):this[b]=a[b]!==undefined?a[b]:this[b]!==undefined?this[b]:this.graph[b]!==undefined?this.graph[b]:this.defaults()[b]},this)},setStrokeWidth:function(a){a!==undefined&&(this.strokeWidth=a)},setTension:function(a){a!==undefined&&(this.tension=a)}}),Rickshaw.namespace("Rickshaw.Graph.Renderer.Line"),Rickshaw.Graph.Renderer.Line=Rickshaw.Class.create(Rickshaw.Graph.Renderer,{name:"line",defaults:function($super){return Rickshaw.extend($super(),{unstack:!0,fill:!1,stroke:!0})},seriesPathFactory:function(){var a=this.graph;return d3.svg.line().x(function(b){return a.x(b.x)}).y(function(b){return a.y(b.y)}).interpolate(this.graph.interpolation).tension(this.tension)}}),Rickshaw.namespace("Rickshaw.Graph.Renderer.Stack"),Rickshaw.Graph.Renderer.Stack=Rickshaw.Class.create(Rickshaw.Graph.Renderer,{name:"stack",defaults:function($super){return Rickshaw.extend($super(),{fill:!0,stroke:!1,unstack:!1})},seriesPathFactory:function(){var a=this.graph;return d3.svg.area().x(function(b){return a.x(b.x)}).y0(function(b){return a.y(b.y0)}).y1(function(b){return a.y(b.y+b.y0)}).interpolate(this.graph.interpolation).tension(this.tension)}}),Rickshaw.namespace("Rickshaw.Graph.Renderer.Bar"),Rickshaw.Graph.Renderer.Bar=Rickshaw.Class.create(Rickshaw.Graph.Renderer,{name:"bar",defaults:function($super){var a=Rickshaw.extend($super(),{gapSize:.05,unstack:!1});return delete a.tension,a},initialize:function($super,a){a=a||{},this.gapSize=a.gapSize||this.gapSize,$super(a)},domain:function($super){var a=$super(),b=this._frequentInterval();return a.x[1]+=parseInt(b.magnitude),a},barWidth:function(){var a=this.graph.stackedData||this.graph.stackData(),b=a.slice(-1).shift(),c=this._frequentInterval(),d=this.graph.x(b[0].x+c.magnitude*(1-this.gapSize));return d},render:function(){var a=this.graph;a.vis.selectAll("*").remove();var b=this.barWidth(),c=0,d=a.series.filter(function(a){return!a.disabled}).length,e=this.unstack?b/d:b;a.series.forEach(function(b){if(b.disabled)return;var d=a.vis.selectAll("path").data(b.stack).enter().append("svg:rect").attr("x",function(b){return a.x(b.x)+c}).attr("y",function(b){return a.y(b.y0+b.y)}).attr("width",e).attr("height",function(b){return a.y.magnitude(b.y)});Array.prototype.forEach.call(d[0],function(a){a.setAttribute("fill",b.color)}),this.unstack&&(c+=e)},this)},_frequentInterval:function(){var a=this.graph.stackedData||this.graph.stackData(),b=a.slice(-1).shift(),c={};for(var d=0;d<b.length-1;d++){var e=b[d+1].x-b[d].x;c[e]=c[e]||0,c[e]++}var f={count:0};return Rickshaw.keys(c).forEach(function(a){f.count<c[a]&&(f={count:c[a],magnitude:a})}),this._frequentInterval=function(){return f},f}}),Rickshaw.namespace("Rickshaw.Graph.Renderer.Area"),Rickshaw.Graph.Renderer.Area=Rickshaw.Class.create(Rickshaw.Graph.Renderer,{name:"area",defaults:function($super){return Rickshaw.extend($super(),{unstack:!1,fill:!1,stroke:!1})},seriesPathFactory:function(){var a=this.graph;return d3.svg.area().x(function(b){return a.x(b.x)}).y0(function(b){return a.y(b.y0)}).y1(function(b){return a.y(b.y+b.y0)}).interpolate(a.interpolation).tension(this.tension)},seriesStrokeFactory:function(){var a=this.graph;return d3.svg.line().x(function(b){return a.x(b.x)}).y(function(b){return a.y(b.y+b.y0)}).interpolate(a.interpolation).tension(this.tension)},render:function(){var a=this.graph;a.vis.selectAll("*").remove();var b=a.vis.selectAll("path").data(this.graph.stackedData).enter().insert("svg:g","g");b.append("svg:path").attr("d",this.seriesPathFactory()).attr("class","area"),this.stroke&&b.append("svg:path").attr("d",this.seriesStrokeFactory()).attr("class","line");var c=0;a.series.forEach(function(a){if(a.disabled)return;a.path=b[0][c++],this._styleSeries(a)},this)},_styleSeries:function(a){if(!a.path)return;d3.select(a.path).select(".area").attr("fill",a.color),this.stroke&&d3.select(a.path).select(".line").attr("fill","none").attr("stroke",a.stroke||d3.interpolateRgb(a.color,"black")(.125)).attr("stroke-width",this.strokeWidth),a.className&&a.path.setAttribute("class",a.className)}}),Rickshaw.namespace("Rickshaw.Graph.Renderer.ScatterPlot"),Rickshaw.Graph.Renderer.ScatterPlot=Rickshaw.Class.create(Rickshaw.Graph.Renderer,{name:"scatterplot",defaults:function($super){return Rickshaw.extend($super(),{unstack:!0,fill:!0,stroke:!1,padding
|
2
|
+
:{top:.01,right:.01,bottom:.01,left:.01},dotSize:4})},initialize:function($super,a){$super(a)},render:function(){var a=this.graph;a.vis.selectAll("*").remove(),a.series.forEach(function(b){if(b.disabled)return;var c=a.vis.selectAll("path").data(b.stack).enter().append("svg:circle").attr("cx",function(b){return a.x(b.x)}).attr("cy",function(b){return a.y(b.y)}).attr("r",function(b){return"r"in b?b.r:a.renderer.dotSize});Array.prototype.forEach.call(c[0],function(a){a.setAttribute("fill",b.color)})},this)}}),Rickshaw.namespace("Rickshaw.Graph.Smoother"),Rickshaw.Graph.Smoother=function(a){this.graph=a.graph,this.element=a.element;var b=this;this.aggregationScale=1,this.element&&$(function(){$(b.element).slider({min:1,max:100,slide:function(a,c){b.setScale(c.value),b.graph.update()}})}),b.graph.stackData.hooks.data.push({name:"smoother",orderPosition:50,f:function(a){var c=[];return a.forEach(function(a){var d=[];while(a.length){var e=0,f=0,g=a.splice(0,b.aggregationScale);g.forEach(function(a){e+=a.x/g.length,f+=a.y/g.length}),d.push({x:e,y:f})}c.push(d)}),c}}),this.setScale=function(a){if(a<1)throw"scale out of range: "+a;this.aggregationScale=a,this.graph.update()}},Rickshaw.namespace("Rickshaw.Graph.Unstacker"),Rickshaw.Graph.Unstacker=function(a){this.graph=a.graph;var b=this;this.graph.stackData.hooks.after.push({name:"unstacker",f:function(a){return b.graph.renderer.unstack?(a.forEach(function(a){a.forEach(function(a){a.y0=0})}),a):a}})},Rickshaw.namespace("Rickshaw.Series"),Rickshaw.Series=Rickshaw.Class.create(Array,{initialize:function(a,b,c){c=c||{},this.palette=new Rickshaw.Color.Palette(b),this.timeBase=typeof c.timeBase=="undefined"?Math.floor((new Date).getTime()/1e3):c.timeBase;var d=typeof c.timeInterval=="undefined"?1e3:c.timeInterval;this.setTimeInterval(d),a&&typeof a=="object"&&a instanceof Array&&a.forEach(function(a){this.addItem(a)},this)},addItem:function(a){if(typeof a.name=="undefined")throw"addItem() needs a name";a.color=a.color||this.palette.color(a.name),a.data=a.data||[],a.data.length==0&&this.length&&this.getIndex()>0?this[0].data.forEach(function(b){a.data.push({x:b.x,y:0})}):a.data.length==0&&a.data.push({x:this.timeBase-(this.timeInterval||0),y:0}),this.push(a),this.legend&&this.legend.addLine(this.itemByName(a.name))},addData:function(a){var b=this.getIndex();Rickshaw.keys(a).forEach(function(a){this.itemByName(a)||this.addItem({name:a})},this),this.forEach(function(c){c.data.push({x:(b*this.timeInterval||1)+this.timeBase,y:a[c.name]||0})},this)},getIndex:function(){return this[0]&&this[0].data&&this[0].data.length?this[0].data.length:0},itemByName:function(a){for(var b=0;b<this.length;b++)if(this[b].name==a)return this[b]},setTimeInterval:function(a){this.timeInterval=a/1e3},setTimeBase:function(a){this.timeBase=a},dump:function(){var a={timeBase:this.timeBase,timeInterval:this.timeInterval,items:[]};return this.forEach(function(b){var c={color:b.color,name:b.name,data:[]};b.data.forEach(function(a){c.data.push({x:a.x,y:a.y})}),a.items.push(c)}),a},load:function(a){a.timeInterval&&(this.timeInterval=a.timeInterval),a.timeBase&&(this.timeBase=a.timeBase),a.items&&a.items.forEach(function(a){this.push(a),this.legend&&this.legend.addLine(this.itemByName(a.name))},this)}}),Rickshaw.Series.zeroFill=function(a){var b,c=0,d=a.map(function(a){return a.data});while(c<Math.max.apply(null,d.map(function(a){return a.length})))b=Math.min.apply(null,d.filter(function(a){return a[c]}).map(function(a){return a[c].x})),d.forEach(function(a){(!a[c]||a[c].x!=b)&&a.splice(c,0,{x:b,y:0})}),c++},Rickshaw.namespace("Rickshaw.Series.FixedDuration"),Rickshaw.Series.FixedDuration=Rickshaw.Class.create(Rickshaw.Series,{initialize:function(a,b,c){var c=c||{};if(typeof c.timeInterval=="undefined")throw new Error("FixedDuration series requires timeInterval");if(typeof c.maxDataPoints=="undefined")throw new Error("FixedDuration series requires maxDataPoints");this.palette=new Rickshaw.Color.Palette(b),this.timeBase=typeof c.timeBase=="undefined"?Math.floor((new Date).getTime()/1e3):c.timeBase,this.setTimeInterval(c.timeInterval),this[0]&&this[0].data&&this[0].data.length?(this.currentSize=this[0].data.length,this.currentIndex=this[0].data.length):(this.currentSize=0,this.currentIndex=0),this.maxDataPoints=c.maxDataPoints,a&&typeof a=="object"&&a instanceof Array&&(a.forEach(function(a){this.addItem(a)},this),this.currentSize+=1,this.currentIndex+=1),this.timeBase-=(this.maxDataPoints-this.currentSize)*this.timeInterval;if(typeof this.maxDataPoints!="undefined"&&this.currentSize<this.maxDataPoints)for(var d=this.maxDataPoints-this.currentSize-1;d>0;d--)this.currentSize+=1,this.currentIndex+=1,this.forEach(function(a){a.data.unshift({x:((d-1)*this.timeInterval||1)+this.timeBase,y:0,i:d})},this)},addData:function($super,a){$super(a),this.currentSize+=1,this.currentIndex+=1;if(this.maxDataPoints!==undefined)while(this.currentSize>this.maxDataPoints)this.dropData()},dropData:function(){this.forEach(function(a){a.data.splice(0,1)}),this.currentSize-=1},getIndex:function(){return this.currentIndex}});
|
@@ -0,0 +1,229 @@
|
|
1
|
+
/*
|
2
|
+
//=require_directory .
|
3
|
+
//=require_tree ../../widgets
|
4
|
+
*/
|
5
|
+
// ----------------------------------------------------------------------------
|
6
|
+
// Sass declarations
|
7
|
+
// ----------------------------------------------------------------------------
|
8
|
+
$background-color: #222;
|
9
|
+
$text-color: #fff;
|
10
|
+
|
11
|
+
$background-warning-color-1: #e82711;
|
12
|
+
$background-warning-color-2: #9b2d23;
|
13
|
+
$text-warning-color: #fff;
|
14
|
+
|
15
|
+
$background-danger-color-1: #eeae32;
|
16
|
+
$background-danger-color-2: #ff9618;
|
17
|
+
$text-danger-color: #fff;
|
18
|
+
|
19
|
+
@-webkit-keyframes status-warning-background {
|
20
|
+
0% { background-color: $background-warning-color-1; }
|
21
|
+
50% { background-color: $background-warning-color-2; }
|
22
|
+
100% { background-color: $background-warning-color-1; }
|
23
|
+
}
|
24
|
+
@-webkit-keyframes status-danger-background {
|
25
|
+
0% { background-color: $background-danger-color-1; }
|
26
|
+
50% { background-color: $background-danger-color-2; }
|
27
|
+
100% { background-color: $background-danger-color-1; }
|
28
|
+
}
|
29
|
+
@mixin animation($animation-name, $duration, $function, $animation-iteration-count:""){
|
30
|
+
-webkit-animation: $animation-name $duration $function #{$animation-iteration-count};
|
31
|
+
-moz-animation: $animation-name $duration $function #{$animation-iteration-count};
|
32
|
+
-ms-animation: $animation-name $duration $function #{$animation-iteration-count};
|
33
|
+
}
|
34
|
+
|
35
|
+
// ----------------------------------------------------------------------------
|
36
|
+
// Base styles
|
37
|
+
// ----------------------------------------------------------------------------
|
38
|
+
html {
|
39
|
+
font-size: 100%;
|
40
|
+
-webkit-text-size-adjust: 100%;
|
41
|
+
-ms-text-size-adjust: 100%;
|
42
|
+
}
|
43
|
+
|
44
|
+
body {
|
45
|
+
margin: 0;
|
46
|
+
background-color: $background-color;
|
47
|
+
font-size: 20px;
|
48
|
+
color: $text-color;
|
49
|
+
font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
50
|
+
}
|
51
|
+
|
52
|
+
b, strong {
|
53
|
+
font-weight: bold;
|
54
|
+
}
|
55
|
+
|
56
|
+
a {
|
57
|
+
text-decoration: none;
|
58
|
+
color: inherit;
|
59
|
+
}
|
60
|
+
|
61
|
+
img {
|
62
|
+
border: 0;
|
63
|
+
-ms-interpolation-mode: bicubic;
|
64
|
+
vertical-align: middle;
|
65
|
+
}
|
66
|
+
|
67
|
+
img, object {
|
68
|
+
max-width: 100%;
|
69
|
+
}
|
70
|
+
|
71
|
+
iframe {
|
72
|
+
max-width: 100%;
|
73
|
+
}
|
74
|
+
|
75
|
+
table {
|
76
|
+
border-collapse: collapse;
|
77
|
+
border-spacing: 0;
|
78
|
+
width: 100%;
|
79
|
+
}
|
80
|
+
|
81
|
+
td {
|
82
|
+
vertical-align: middle;
|
83
|
+
}
|
84
|
+
|
85
|
+
ul, ol {
|
86
|
+
padding: 0;
|
87
|
+
margin: 0;
|
88
|
+
}
|
89
|
+
|
90
|
+
h1, h2, h3, h4, h5, p {
|
91
|
+
padding: 0;
|
92
|
+
margin: 0;
|
93
|
+
}
|
94
|
+
h1 {
|
95
|
+
margin-bottom: 12px;
|
96
|
+
text-align: center;
|
97
|
+
font-size: 30px;
|
98
|
+
font-weight: 300;
|
99
|
+
}
|
100
|
+
h2 {
|
101
|
+
text-transform: uppercase;
|
102
|
+
font-size: 80px;
|
103
|
+
font-weight: 700;
|
104
|
+
color: $text-color;
|
105
|
+
}
|
106
|
+
h3 {
|
107
|
+
font-size: 25px;
|
108
|
+
font-weight: 600;
|
109
|
+
color: $text-color;
|
110
|
+
}
|
111
|
+
|
112
|
+
// ----------------------------------------------------------------------------
|
113
|
+
// Base widget styles
|
114
|
+
// ----------------------------------------------------------------------------
|
115
|
+
.gridster {
|
116
|
+
margin: 0px auto;
|
117
|
+
}
|
118
|
+
|
119
|
+
.list-nostyle {
|
120
|
+
list-style: none;
|
121
|
+
}
|
122
|
+
|
123
|
+
.gridster ul {
|
124
|
+
list-style: none;
|
125
|
+
}
|
126
|
+
|
127
|
+
.gs_w {
|
128
|
+
width: 100%;
|
129
|
+
display: table;
|
130
|
+
cursor: pointer;
|
131
|
+
}
|
132
|
+
|
133
|
+
.widget {
|
134
|
+
padding: 25px 12px;
|
135
|
+
text-align: center;
|
136
|
+
width: 100%;
|
137
|
+
display: table-cell;
|
138
|
+
vertical-align: middle;
|
139
|
+
}
|
140
|
+
|
141
|
+
.widget.status-warning {
|
142
|
+
background-color: $background-warning-color-1;
|
143
|
+
@include animation(status-warning-background, 2s, ease, infinite);
|
144
|
+
|
145
|
+
.icon-warning-sign {
|
146
|
+
display: inline-block;
|
147
|
+
}
|
148
|
+
|
149
|
+
.title, .text-moreinfo {
|
150
|
+
color: $text-warning-color;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
.widget.status-danger {
|
155
|
+
color: $text-danger-color;
|
156
|
+
background-color: $background-danger-color-1;
|
157
|
+
@include animation(status-danger-background, 2s, ease, infinite);
|
158
|
+
|
159
|
+
.icon-warning-sign {
|
160
|
+
display: inline-block;
|
161
|
+
}
|
162
|
+
|
163
|
+
.title, .text-moreinfo {
|
164
|
+
color: $text-danger-color;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
.text-moreinfo {
|
169
|
+
margin-top: 12px;
|
170
|
+
font-size: 15px;
|
171
|
+
}
|
172
|
+
|
173
|
+
#save-gridster {
|
174
|
+
display: none;
|
175
|
+
position: fixed;
|
176
|
+
top: 0;
|
177
|
+
margin: 0px auto;
|
178
|
+
left: 50%;
|
179
|
+
z-index: 1000;
|
180
|
+
background: black;
|
181
|
+
width: 190px;
|
182
|
+
text-align: center;
|
183
|
+
border: 1px solid white;
|
184
|
+
border-top: 0px;
|
185
|
+
margin-left: -95px;
|
186
|
+
padding: 15px;
|
187
|
+
}
|
188
|
+
|
189
|
+
#save-gridster:hover {
|
190
|
+
padding-top: 25px;
|
191
|
+
}
|
192
|
+
|
193
|
+
#saving-instructions {
|
194
|
+
display: none;
|
195
|
+
padding: 10px;
|
196
|
+
width: 500px;
|
197
|
+
height: 122px;
|
198
|
+
z-index: 1000;
|
199
|
+
background: white;
|
200
|
+
top: 100px;
|
201
|
+
color: black;
|
202
|
+
font-size: 15px;
|
203
|
+
padding-bottom: 4px;
|
204
|
+
|
205
|
+
textarea {
|
206
|
+
white-space: nowrap;
|
207
|
+
width: 494px;
|
208
|
+
height: 80px;
|
209
|
+
}
|
210
|
+
}
|
211
|
+
|
212
|
+
#lean_overlay {
|
213
|
+
position: fixed;
|
214
|
+
z-index:100;
|
215
|
+
top: 0px;
|
216
|
+
left: 0px;
|
217
|
+
height:100%;
|
218
|
+
width:100%;
|
219
|
+
background: #000;
|
220
|
+
display: none;
|
221
|
+
}
|
222
|
+
|
223
|
+
|
224
|
+
// ----------------------------------------------------------------------------
|
225
|
+
// Clearfix
|
226
|
+
// ----------------------------------------------------------------------------
|
227
|
+
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
|
228
|
+
.clearfix:after { clear: both; }
|
229
|
+
.clearfix { zoom: 1; }
|
@@ -0,0 +1,303 @@
|
|
1
|
+
/* Font Awesome
|
2
|
+
the iconic font designed for use with Twitter Bootstrap
|
3
|
+
-------------------------------------------------------
|
4
|
+
The full suite of pictographic icons, examples, and documentation
|
5
|
+
can be found at: http://fortawesome.github.com/Font-Awesome/
|
6
|
+
|
7
|
+
License
|
8
|
+
-------------------------------------------------------
|
9
|
+
The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0:
|
10
|
+
http://creativecommons.org/licenses/by/3.0/ A mention of
|
11
|
+
'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable
|
12
|
+
source code is considered acceptable attribution (most common on the web).
|
13
|
+
If human readable source code is not available to the end user, a mention in
|
14
|
+
an 'About' or 'Credits' screen is considered acceptable (most common in desktop
|
15
|
+
or mobile software).
|
16
|
+
|
17
|
+
Contact
|
18
|
+
-------------------------------------------------------
|
19
|
+
Email: dave@davegandy.com
|
20
|
+
Twitter: http://twitter.com/fortaweso_me
|
21
|
+
Work: http://lemonwi.se co-founder
|
22
|
+
|
23
|
+
*/
|
24
|
+
@font-face {
|
25
|
+
font-family: "FontAwesome";
|
26
|
+
src: url('/assets/fontawesome-webfont.eot');
|
27
|
+
src: url('/assets/fontawesome-webfont.eot?#iefix') format('eot'), url('/assets/fontawesome-webfont.woff') format('woff'), url('/assets/fontawesome-webfont.ttf') format('truetype'), url('/assets/fontawesome-webfont.svg#FontAwesome') format('svg');
|
28
|
+
font-weight: normal;
|
29
|
+
font-style: normal;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* Font Awesome styles
|
33
|
+
------------------------------------------------------- */
|
34
|
+
[class^="icon-"]:before, [class*=" icon-"]:before {
|
35
|
+
font-family: FontAwesome;
|
36
|
+
font-weight: normal;
|
37
|
+
font-style: normal;
|
38
|
+
display: inline-block;
|
39
|
+
text-decoration: inherit;
|
40
|
+
}
|
41
|
+
a [class^="icon-"], a [class*=" icon-"] {
|
42
|
+
display: inline-block;
|
43
|
+
text-decoration: inherit;
|
44
|
+
}
|
45
|
+
/* makes the font 33% larger relative to the icon container */
|
46
|
+
.icon-large:before {
|
47
|
+
vertical-align: top;
|
48
|
+
font-size: 1.3333333333333333em;
|
49
|
+
}
|
50
|
+
.btn [class^="icon-"], .btn [class*=" icon-"] {
|
51
|
+
/* keeps button heights with and without icons the same */
|
52
|
+
|
53
|
+
line-height: .9em;
|
54
|
+
}
|
55
|
+
li [class^="icon-"], li [class*=" icon-"] {
|
56
|
+
display: inline-block;
|
57
|
+
width: 1.25em;
|
58
|
+
text-align: center;
|
59
|
+
}
|
60
|
+
li .icon-large[class^="icon-"], li .icon-large[class*=" icon-"] {
|
61
|
+
/* 1.5 increased font size for icon-large * 1.25 width */
|
62
|
+
|
63
|
+
width: 1.875em;
|
64
|
+
}
|
65
|
+
li[class^="icon-"], li[class*=" icon-"] {
|
66
|
+
margin-left: 0;
|
67
|
+
list-style-type: none;
|
68
|
+
}
|
69
|
+
li[class^="icon-"]:before, li[class*=" icon-"]:before {
|
70
|
+
text-indent: -2em;
|
71
|
+
text-align: center;
|
72
|
+
}
|
73
|
+
li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before {
|
74
|
+
text-indent: -1.3333333333333333em;
|
75
|
+
}
|
76
|
+
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
77
|
+
readers do not read off random characters that represent icons */
|
78
|
+
.icon-glass:before { content: "\f000"; }
|
79
|
+
.icon-music:before { content: "\f001"; }
|
80
|
+
.icon-search:before { content: "\f002"; }
|
81
|
+
.icon-envelope:before { content: "\f003"; }
|
82
|
+
.icon-heart:before { content: "\f004"; }
|
83
|
+
.icon-star:before { content: "\f005"; }
|
84
|
+
.icon-star-empty:before { content: "\f006"; }
|
85
|
+
.icon-user:before { content: "\f007"; }
|
86
|
+
.icon-film:before { content: "\f008"; }
|
87
|
+
.icon-th-large:before { content: "\f009"; }
|
88
|
+
.icon-th:before { content: "\f00a"; }
|
89
|
+
.icon-th-list:before { content: "\f00b"; }
|
90
|
+
.icon-ok:before { content: "\f00c"; }
|
91
|
+
.icon-remove:before { content: "\f00d"; }
|
92
|
+
.icon-zoom-in:before { content: "\f00e"; }
|
93
|
+
|
94
|
+
.icon-zoom-out:before { content: "\f010"; }
|
95
|
+
.icon-off:before { content: "\f011"; }
|
96
|
+
.icon-signal:before { content: "\f012"; }
|
97
|
+
.icon-cog:before { content: "\f013"; }
|
98
|
+
.icon-trash:before { content: "\f014"; }
|
99
|
+
.icon-home:before { content: "\f015"; }
|
100
|
+
.icon-file:before { content: "\f016"; }
|
101
|
+
.icon-time:before { content: "\f017"; }
|
102
|
+
.icon-road:before { content: "\f018"; }
|
103
|
+
.icon-download-alt:before { content: "\f019"; }
|
104
|
+
.icon-download:before { content: "\f01a"; }
|
105
|
+
.icon-upload:before { content: "\f01b"; }
|
106
|
+
.icon-inbox:before { content: "\f01c"; }
|
107
|
+
.icon-play-circle:before { content: "\f01d"; }
|
108
|
+
.icon-repeat:before { content: "\f01e"; }
|
109
|
+
|
110
|
+
/* \f020 doesn't work in Safari. all shifted one down */
|
111
|
+
.icon-refresh:before { content: "\f021"; }
|
112
|
+
.icon-list-alt:before { content: "\f022"; }
|
113
|
+
.icon-lock:before { content: "\f023"; }
|
114
|
+
.icon-flag:before { content: "\f024"; }
|
115
|
+
.icon-headphones:before { content: "\f025"; }
|
116
|
+
.icon-volume-off:before { content: "\f026"; }
|
117
|
+
.icon-volume-down:before { content: "\f027"; }
|
118
|
+
.icon-volume-up:before { content: "\f028"; }
|
119
|
+
.icon-qrcode:before { content: "\f029"; }
|
120
|
+
.icon-barcode:before { content: "\f02a"; }
|
121
|
+
.icon-tag:before { content: "\f02b"; }
|
122
|
+
.icon-tags:before { content: "\f02c"; }
|
123
|
+
.icon-book:before { content: "\f02d"; }
|
124
|
+
.icon-bookmark:before { content: "\f02e"; }
|
125
|
+
.icon-print:before { content: "\f02f"; }
|
126
|
+
|
127
|
+
.icon-camera:before { content: "\f030"; }
|
128
|
+
.icon-font:before { content: "\f031"; }
|
129
|
+
.icon-bold:before { content: "\f032"; }
|
130
|
+
.icon-italic:before { content: "\f033"; }
|
131
|
+
.icon-text-height:before { content: "\f034"; }
|
132
|
+
.icon-text-width:before { content: "\f035"; }
|
133
|
+
.icon-align-left:before { content: "\f036"; }
|
134
|
+
.icon-align-center:before { content: "\f037"; }
|
135
|
+
.icon-align-right:before { content: "\f038"; }
|
136
|
+
.icon-align-justify:before { content: "\f039"; }
|
137
|
+
.icon-list:before { content: "\f03a"; }
|
138
|
+
.icon-indent-left:before { content: "\f03b"; }
|
139
|
+
.icon-indent-right:before { content: "\f03c"; }
|
140
|
+
.icon-facetime-video:before { content: "\f03d"; }
|
141
|
+
.icon-picture:before { content: "\f03e"; }
|
142
|
+
|
143
|
+
.icon-pencil:before { content: "\f040"; }
|
144
|
+
.icon-map-marker:before { content: "\f041"; }
|
145
|
+
.icon-adjust:before { content: "\f042"; }
|
146
|
+
.icon-tint:before { content: "\f043"; }
|
147
|
+
.icon-edit:before { content: "\f044"; }
|
148
|
+
.icon-share:before { content: "\f045"; }
|
149
|
+
.icon-check:before { content: "\f046"; }
|
150
|
+
.icon-move:before { content: "\f047"; }
|
151
|
+
.icon-step-backward:before { content: "\f048"; }
|
152
|
+
.icon-fast-backward:before { content: "\f049"; }
|
153
|
+
.icon-backward:before { content: "\f04a"; }
|
154
|
+
.icon-play:before { content: "\f04b"; }
|
155
|
+
.icon-pause:before { content: "\f04c"; }
|
156
|
+
.icon-stop:before { content: "\f04d"; }
|
157
|
+
.icon-forward:before { content: "\f04e"; }
|
158
|
+
|
159
|
+
.icon-fast-forward:before { content: "\f050"; }
|
160
|
+
.icon-step-forward:before { content: "\f051"; }
|
161
|
+
.icon-eject:before { content: "\f052"; }
|
162
|
+
.icon-chevron-left:before { content: "\f053"; }
|
163
|
+
.icon-chevron-right:before { content: "\f054"; }
|
164
|
+
.icon-plus-sign:before { content: "\f055"; }
|
165
|
+
.icon-minus-sign:before { content: "\f056"; }
|
166
|
+
.icon-remove-sign:before { content: "\f057"; }
|
167
|
+
.icon-ok-sign:before { content: "\f058"; }
|
168
|
+
.icon-question-sign:before { content: "\f059"; }
|
169
|
+
.icon-info-sign:before { content: "\f05a"; }
|
170
|
+
.icon-screenshot:before { content: "\f05b"; }
|
171
|
+
.icon-remove-circle:before { content: "\f05c"; }
|
172
|
+
.icon-ok-circle:before { content: "\f05d"; }
|
173
|
+
.icon-ban-circle:before { content: "\f05e"; }
|
174
|
+
|
175
|
+
.icon-arrow-left:before { content: "\f060"; }
|
176
|
+
.icon-arrow-right:before { content: "\f061"; }
|
177
|
+
.icon-arrow-up:before { content: "\f062"; }
|
178
|
+
.icon-arrow-down:before { content: "\f063"; }
|
179
|
+
.icon-share-alt:before { content: "\f064"; }
|
180
|
+
.icon-resize-full:before { content: "\f065"; }
|
181
|
+
.icon-resize-small:before { content: "\f066"; }
|
182
|
+
.icon-plus:before { content: "\f067"; }
|
183
|
+
.icon-minus:before { content: "\f068"; }
|
184
|
+
.icon-asterisk:before { content: "\f069"; }
|
185
|
+
.icon-exclamation-sign:before { content: "\f06a"; }
|
186
|
+
.icon-gift:before { content: "\f06b"; }
|
187
|
+
.icon-leaf:before { content: "\f06c"; }
|
188
|
+
.icon-fire:before { content: "\f06d"; }
|
189
|
+
.icon-eye-open:before { content: "\f06e"; }
|
190
|
+
|
191
|
+
.icon-eye-close:before { content: "\f070"; }
|
192
|
+
.icon-warning-sign:before { content: "\f071"; }
|
193
|
+
.icon-plane:before { content: "\f072"; }
|
194
|
+
.icon-calendar:before { content: "\f073"; }
|
195
|
+
.icon-random:before { content: "\f074"; }
|
196
|
+
.icon-comment:before { content: "\f075"; }
|
197
|
+
.icon-magnet:before { content: "\f076"; }
|
198
|
+
.icon-chevron-up:before { content: "\f077"; }
|
199
|
+
.icon-chevron-down:before { content: "\f078"; }
|
200
|
+
.icon-retweet:before { content: "\f079"; }
|
201
|
+
.icon-shopping-cart:before { content: "\f07a"; }
|
202
|
+
.icon-folder-close:before { content: "\f07b"; }
|
203
|
+
.icon-folder-open:before { content: "\f07c"; }
|
204
|
+
.icon-resize-vertical:before { content: "\f07d"; }
|
205
|
+
.icon-resize-horizontal:before { content: "\f07e"; }
|
206
|
+
|
207
|
+
.icon-bar-chart:before { content: "\f080"; }
|
208
|
+
.icon-twitter-sign:before { content: "\f081"; }
|
209
|
+
.icon-facebook-sign:before { content: "\f082"; }
|
210
|
+
.icon-camera-retro:before { content: "\f083"; }
|
211
|
+
.icon-key:before { content: "\f084"; }
|
212
|
+
.icon-cogs:before { content: "\f085"; }
|
213
|
+
.icon-comments:before { content: "\f086"; }
|
214
|
+
.icon-thumbs-up:before { content: "\f087"; }
|
215
|
+
.icon-thumbs-down:before { content: "\f088"; }
|
216
|
+
.icon-star-half:before { content: "\f089"; }
|
217
|
+
.icon-heart-empty:before { content: "\f08a"; }
|
218
|
+
.icon-signout:before { content: "\f08b"; }
|
219
|
+
.icon-linkedin-sign:before { content: "\f08c"; }
|
220
|
+
.icon-pushpin:before { content: "\f08d"; }
|
221
|
+
.icon-external-link:before { content: "\f08e"; }
|
222
|
+
|
223
|
+
.icon-signin:before { content: "\f090"; }
|
224
|
+
.icon-trophy:before { content: "\f091"; }
|
225
|
+
.icon-github-sign:before { content: "\f092"; }
|
226
|
+
.icon-upload-alt:before { content: "\f093"; }
|
227
|
+
.icon-lemon:before { content: "\f094"; }
|
228
|
+
.icon-phone:before { content: "\f095"; }
|
229
|
+
.icon-check-empty:before { content: "\f096"; }
|
230
|
+
.icon-bookmark-empty:before { content: "\f097"; }
|
231
|
+
.icon-phone-sign:before { content: "\f098"; }
|
232
|
+
.icon-twitter:before { content: "\f099"; }
|
233
|
+
.icon-facebook:before { content: "\f09a"; }
|
234
|
+
.icon-github:before { content: "\f09b"; }
|
235
|
+
.icon-unlock:before { content: "\f09c"; }
|
236
|
+
.icon-credit-card:before { content: "\f09d"; }
|
237
|
+
.icon-rss:before { content: "\f09e"; }
|
238
|
+
|
239
|
+
.icon-hdd:before { content: "\f0a0"; }
|
240
|
+
.icon-bullhorn:before { content: "\f0a1"; }
|
241
|
+
.icon-bell:before { content: "\f0a2"; }
|
242
|
+
.icon-certificate:before { content: "\f0a3"; }
|
243
|
+
.icon-hand-right:before { content: "\f0a4"; }
|
244
|
+
.icon-hand-left:before { content: "\f0a5"; }
|
245
|
+
.icon-hand-up:before { content: "\f0a6"; }
|
246
|
+
.icon-hand-down:before { content: "\f0a7"; }
|
247
|
+
.icon-circle-arrow-left:before { content: "\f0a8"; }
|
248
|
+
.icon-circle-arrow-right:before { content: "\f0a9"; }
|
249
|
+
.icon-circle-arrow-up:before { content: "\f0aa"; }
|
250
|
+
.icon-circle-arrow-down:before { content: "\f0ab"; }
|
251
|
+
.icon-globe:before { content: "\f0ac"; }
|
252
|
+
.icon-wrench:before { content: "\f0ad"; }
|
253
|
+
.icon-tasks:before { content: "\f0ae"; }
|
254
|
+
|
255
|
+
.icon-filter:before { content: "\f0b0"; }
|
256
|
+
.icon-briefcase:before { content: "\f0b1"; }
|
257
|
+
.icon-fullscreen:before { content: "\f0b2"; }
|
258
|
+
|
259
|
+
.icon-group:before { content: "\f0c0"; }
|
260
|
+
.icon-link:before { content: "\f0c1"; }
|
261
|
+
.icon-cloud:before { content: "\f0c2"; }
|
262
|
+
.icon-beaker:before { content: "\f0c3"; }
|
263
|
+
.icon-cut:before { content: "\f0c4"; }
|
264
|
+
.icon-copy:before { content: "\f0c5"; }
|
265
|
+
.icon-paper-clip:before { content: "\f0c6"; }
|
266
|
+
.icon-save:before { content: "\f0c7"; }
|
267
|
+
.icon-sign-blank:before { content: "\f0c8"; }
|
268
|
+
.icon-reorder:before { content: "\f0c9"; }
|
269
|
+
.icon-list-ul:before { content: "\f0ca"; }
|
270
|
+
.icon-list-ol:before { content: "\f0cb"; }
|
271
|
+
.icon-strikethrough:before { content: "\f0cc"; }
|
272
|
+
.icon-underline:before { content: "\f0cd"; }
|
273
|
+
.icon-table:before { content: "\f0ce"; }
|
274
|
+
|
275
|
+
.icon-magic:before { content: "\f0d0"; }
|
276
|
+
.icon-truck:before { content: "\f0d1"; }
|
277
|
+
.icon-pinterest:before { content: "\f0d2"; }
|
278
|
+
.icon-pinterest-sign:before { content: "\f0d3"; }
|
279
|
+
.icon-google-plus-sign:before { content: "\f0d4"; }
|
280
|
+
.icon-google-plus:before { content: "\f0d5"; }
|
281
|
+
.icon-money:before { content: "\f0d6"; }
|
282
|
+
.icon-caret-down:before { content: "\f0d7"; }
|
283
|
+
.icon-caret-up:before { content: "\f0d8"; }
|
284
|
+
.icon-caret-left:before { content: "\f0d9"; }
|
285
|
+
.icon-caret-right:before { content: "\f0da"; }
|
286
|
+
.icon-columns:before { content: "\f0db"; }
|
287
|
+
.icon-sort:before { content: "\f0dc"; }
|
288
|
+
.icon-sort-down:before { content: "\f0dd"; }
|
289
|
+
.icon-sort-up:before { content: "\f0de"; }
|
290
|
+
|
291
|
+
.icon-envelope-alt:before { content: "\f0e0"; }
|
292
|
+
.icon-linkedin:before { content: "\f0e1"; }
|
293
|
+
.icon-undo:before { content: "\f0e2"; }
|
294
|
+
.icon-legal:before { content: "\f0e3"; }
|
295
|
+
.icon-dashboard:before { content: "\f0e4"; }
|
296
|
+
.icon-comment-alt:before { content: "\f0e5"; }
|
297
|
+
.icon-comments-alt:before { content: "\f0e6"; }
|
298
|
+
.icon-bolt:before { content: "\f0e7"; }
|
299
|
+
.icon-sitemap:before { content: "\f0e8"; }
|
300
|
+
.icon-umbrella:before { content: "\f0e9"; }
|
301
|
+
.icon-paste:before { content: "\f0ea"; }
|
302
|
+
|
303
|
+
.icon-user-md:before { content: "\f200"; }
|